MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 2 callersFunctionMt
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionN
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionNew
(t time.Time)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:88
↓ 2 callersFunctionNewCookieFileAuth
NewCookieFileAuth creates new auth provider from token and Mozilla cookie file.
auth/file.go:29
↓ 2 callersFunctionNewCookieOnlyAuth
NewCookieOnlyAuth uses workspace name and dCookie to get the token value and returns a ValueAuth.
auth/value.go:80
↓ 2 callersFunctionNewCoordinator
NewCoordinator creates a new Coordinator.
internal/convert/transform/dump_coordinator.go:37
↓ 2 callersFunctionNewDBSearchFile
(chunkID int64, n int, sf *slack.File)
internal/chunk/backend/dbase/repository/dbsearch_file.go:30
↓ 2 callersFunctionNewDBSearchMessage
(chunkID int64, idx int, sm *slack.SearchMessage)
internal/chunk/backend/dbase/repository/dbsearch_msg.go:35
↓ 2 callersFunctionNewDeduplicatingFileProcessor
NewDeduplicatingFileProcessor creates a new file processor that skips downloading files that already exist in the database.
internal/convert/transform/fileproc/dedup.go:40
↓ 2 callersFunctionNewDumpStorage
NewDumpStorage returns the file storage of the slackdumpdump format. fsys is the root of the dump.
source/filestorage.go:327
↓ 2 callersFunctionNewERC
(cd *chunk.Directory, lg *slog.Logger)
internal/chunk/backend/directory/erc.go:51
↓ 2 callersFunctionNewEntityListFromString
NewEntityListFromString creates an EntityList from a space-separated list of entities.
internal/structures/entity_list.go:160
↓ 2 callersFunctionNewFilepickModel
(ptrStr *string, f filemgr.Model, validateFn func(s string) error)
cmd/slackdump/internal/ui/updaters/filepick.go:37
↓ 2 callersFunctionNewMockChannelRepository
NewMockChannelRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_channel.go:36
↓ 2 callersFunctionNewMockTransformer
NewMockTransformer creates a new mock instance.
internal/chunk/mock_chunk/mock_chunk.go:32
↓ 2 callersFunctionNewMockUserRepository
NewMockUserRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_user.go:36
↓ 2 callersFunctionNewMockWorkspaceInfo
NewMockWorkspaceInfo creates a new mock instance.
mocks/mock_processor/mock_processor.go:321
↓ 2 callersFunctionNewMockWriteCloser
NewMockWriteCloser creates a new mock instance.
internal/mocks/mock_io/mock_io.go:84
↓ 2 callersFunctionNewMockcreateOpener
NewMockcreateOpener creates a new mock instance.
internal/mocks/mock_cache/mock_cache.go:92
↓ 2 callersFunctionNewMockmanager
NewMockmanager creates a new mock instance.
cmd/slackdump/internal/workspace/mocks_test.go:35
↓ 2 callersFunctionNewMultiSelect
(v *[]string, m *huh.MultiSelect[string])
cmd/slackdump/internal/ui/updaters/multiselect.go:36
↓ 2 callersFunctionNewSearchFileRepository
()
internal/chunk/backend/dbase/repository/dbsearch_file.go:68
↓ 2 callersFunctionNewSearchMessageRepository
()
internal/chunk/backend/dbase/repository/dbsearch_msg.go:76
↓ 2 callersFunctionNewServer
NewServer returns a new Server, it requires the chunk file handle in rs, and an ID of the user that will be returned by AuthTest in currentUserID.
internal/chunk/chunktest/server.go:39
↓ 2 callersFunctionNewSourceEncoder
(src source.Sourcer, fsa fsadapter.FS, enc chunk.Encoder, opts ...Option)
internal/convert/src2enc.go:42
↓ 2 callersFunctionNewValueCookiesAuth
(token string, cookies []*http.Cookie)
auth/value.go:58
↓ 2 callersMethodNormalised
Normalised returns the normalised BuildInfo: - version has v prefix - Build is in 2006-01-02 15:04:05Z format. - commit is unchanged, so may be "Homeb
cmd/slackdump/internal/cfg/cfg.go:136
↓ 2 callersFunctionNt
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionOe
(t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callersMethodOffset
Offset returns the last read offset of the record in ReadSeeker.
internal/chunk/player.go:56
↓ 2 callersFunctionOpen
Open attempts to open the database at given path for reading.
internal/chunk/backend/dbase/source.go:87
↓ 2 callersFunctionOpenDump
OpenDump opens the data in dump format (Slackdump v1.1.0+) from filesystem fsys, and the given name. It will scan for file attachments. If you need
source/dump.go:52
↓ 2 callersFunctionOpenStandardStorage
OpenStandardStorage returns the resolver for the export's standard storage format.
source/filestorage.go:192
↓ 2 callersFunctionOt
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callersMethodOverlay
Overlay overlays the other EntityList on the el, overriding entities. Thus, other EntityList will have a priority over el.
internal/structures/entity_list.go:116
↓ 2 callersFunctionParseThreadID
ParseThreadID parses the thread id (ie. p1577694990000400) and returns time.Time.
internal/structures/slacktime.go:30
↓ 2 callersFunctionPe
(t)
internal/viewer/static/htmx.min.js:1
↓ 2 callersMethodPostJSON
PostJSON posts a request to the edge API. The request is marshalled to JSON and the response is unmarshalled to the req, which must be a pointer to a
internal/edge/edge.go:207
↓ 2 callersFunctionRandString
(sz int)
internal/fixtures/randstring.go:20
↓ 2 callersFunctionRe
()
internal/viewer/static/htmx.min.js:1
↓ 2 callersMethodRead
Read mocks base method.
internal/mocks/mock_io/mock_io.go:57
↓ 2 callersFunctionRecordFiles
RecordFiles returns a checkbox parameter for Record Files flag.
cmd/slackdump/internal/ui/cfgui/common_params.go:56
↓ 2 callersFunctionRender
Render renders the string formatted as markdown into a string with escape sequences for the terminal output. The width of output is calculated based
cmd/slackdump/internal/golang/base/base.go:175
↓ 2 callersMethodRenderCanvas
RenderCanvas renders the full canvas tab page for channelID to w.
internal/viewer/handlers.go:105
↓ 2 callersMethodRenderCanvas
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:52
↓ 2 callersMethodRenderCanvasContent
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:53
↓ 2 callersMethodRenderChannel
RenderChannel renders the full conversation page for channelID to w.
internal/viewer/handlers.go:48
↓ 2 callersMethodRenderChannel
(ctx context.Context, channelID string, w io.Writer)
internal/viewer/viewer.go:49
↓ 2 callersMethodRenderThread
RenderThread renders the full thread page for (channelID, threadTS) to w. threadTS must be a clean timestamp (not the "p…" Slack URL form).
internal/viewer/handlers.go:67
↓ 2 callersMethodRenderThread
(ctx context.Context, channelID, threadTS string, w io.Writer)
internal/viewer/viewer.go:50
↓ 2 callersMethodRenderUser
(ctx context.Context, userID string, w io.Writer)
internal/viewer/viewer.go:51
↓ 2 callersMethodReset
Reset should reset the model to its initial state.
cmd/slackdump/internal/ui/bubbles/menu/focusmodel.go:25
↓ 2 callersMethodRestore
Restore restores the index to the original channels slice (minus the lost data from DMs).
internal/structures/index.go:191
↓ 2 callersMethodRunNoTransform
RunNoTransform should run the main controller loop without enabling transformation logic.
cmd/slackdump/internal/archive/archive.go:278
↓ 2 callersFunctionSave
Save saves the config to the file.
cmd/slackdump/internal/apiconfig/apiconfig.go:63
↓ 2 callersMethodSearchMessages
SearchMessages is called for each message chunk that is retrieved.
processor/processor.go:78
↓ 2 callersMethodSelect
Select selects the existing workspace with "name".
internal/cache/manager.go:324
↓ 2 callersMethodSessions
(ctx context.Context)
internal/chunk/backend/dbase/source.go:447
↓ 2 callersMethodSetAlias
(id, alias string)
internal/chunk/backend/dbase/source.go:135
↓ 2 callersMethodSetFocus
(b bool)
cmd/slackdump/internal/ui/bubbles/menu/model.go:154
↓ 2 callersFunctionSetWspFlags
(fs *flag.FlagSet)
cmd/slackdump/internal/workspace/wspcfg/wspcfg.go:48
↓ 2 callersFunctionShowUI
ShowUI shows the authentication menu. If quicklogin is set to true, it will quit after the user has successfully authenticated.
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:64
↓ 2 callersMethodSize
()
cmd/slackdump/internal/workspace/list_format.go:83
↓ 2 callersFunctionSkipIfRoot
(t *testing.T)
internal/fixtures/fixtures.go:124
↓ 2 callersMethodSlackString
SlackString returns the time as a slack timestamp (i.e. "1234567890.123456").
internal/fasttime/fasttime.go:47
↓ 2 callersFunctionSliceToTestResult
SliceToTestResult converts a slice of values to a slice of TestResult.
internal/testutil/iter.go:112
↓ 2 callersFunctionSt
(r,e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionStaticFS
StaticFS returns the embedded viewer static assets.
internal/viewer/staticfs.go:12
↓ 2 callersMethodStop
Stop waits for all transfers to finish, and stops the downloader.
downloader/downloader.go:320
↓ 2 callersMethodStreamChannelsEx
StreamChannelsEx requests the channels from the API and returns an iterator of channel chunks.
channels.go:97
↓ 2 callersMethodString
()
auth/browser/browser_string.go:19
↓ 2 callersMethodString
()
source/source.go:126
↓ 2 callersMethodString
()
internal/structures/entity_list.go:57
↓ 2 callersMethodString
()
internal/chunk/backend/dbase/dbase.go:44
↓ 2 callersMethodString
()
internal/format/type_string.go:21
↓ 2 callersMethodString
()
stream/stream.go:102
↓ 2 callersFunctionTe
(e,o,i,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callersMethodThreadMessage
(id, threadTS, msgTS string)
internal/viewer/renderer/routes.go:93
↓ 2 callersMethodThreadParent
ThreadParent returns the thread parent message for the given thread. It returns ErrNotFound if the thread is not found.
internal/chunk/file.go:225
↓ 2 callersFunctionTime
Time asks the user to enter a date and time. For simplicity, the date and time are entered in two separate prompts. The date is optional, and if it
cmd/slackdump/internal/ui/time.go:40
↓ 2 callersMethodToChunk
(ctx context.Context, enc chunk.Encoder, _ int64)
source/chunkdir.go:220
↓ 2 callersMethodTransform
Transform is the function that should be passed to the Channel processor. It will not block if the internal buffer is full. Buffer size can be set wi
internal/convert/transform/export_coordinator.go:159
↓ 2 callersMethodType
Type returns the authentication type that should be used for the current slack creds. If the auth type wasn't tested on the system that the slackdump
internal/cache/auth.go:71
↓ 2 callersFunctionU
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionUn
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionUnGZIP
UnGZIP decompresses a gzip file and returns a temporary file handler. it must be removed after use. It expects r to contain a gzip file data.
internal/osext/compression.go:28
↓ 2 callersFunctionUnGZIPTo
(r io.Reader, dir, mask string)
internal/osext/compression.go:32
↓ 2 callersMethodUnderline
(char ...string)
cmd/slackdump/internal/workspace/list_format.go:87
↓ 2 callersMethodValidate
()
internal/network/limits.go:149
↓ 2 callersMethodValidate
Validate validates the input parameters.
internal/convert/export.go:89
↓ 2 callersFunctionValidateEntityList
ValidateEntityList validates a space-separated list of entities.
internal/structures/entity_list.go:187
↓ 2 callersFunctionValidateToken
(token string)
internal/structures/structures.go:46
↓ 2 callersMethodView
()
cmd/slackdump/internal/ui/updaters/bool.go:60
↓ 2 callersFunctionWithBufferSize
WithBufferSize sets the size of the channel IDs buffer. This is the number of channel IDs that will be queued without blocking before the [transform.
internal/convert/transform/export_coordinator.go:80
↓ 2 callersFunctionWithEnterprise
WithEnterprise sets the enterprise flag. Setting the flag to true forces the use of the edge client, even if the workspace is not an enterprise works
internal/client/client.go:89
↓ 2 callersFunctionWithLogger
WithLogger allows to use an external log library, that satisfies the *slog.Logger.
downloader/downloader.go:124
↓ 2 callersFunctionWithQuickLogin
()
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:58
↓ 2 callersFunctionWithSeed
WithSeed allows you to specify the seed for the random number generator.
internal/chunk/obfuscate/obfuscate.go:50
↓ 2 callersFunctionWithTitle
(title string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:54
↓ 2 callersFunctionWithVerbose
(v bool)
internal/chunk/backend/dbase/dbase.go:80
← previousnext →1,001–1,100 of 4,254, ranked by callers