MCPcopy Create free account

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 1 callersMethodchannelsFull
(_ context.Context, csv *csv.Writer, u []slack.User, chans []slack.Channel)
internal/format/csv.go:107
↓ 1 callersMethodchannelsFull
(_ context.Context, w io.Writer, u []slack.User, cc []slack.Channel)
internal/format/text.go:195
↓ 1 callersFunctionchooseBrowser
(ctx context.Context)
auth/auth_ui/huh.go:205
↓ 1 callersFunctionchunk2db
chunk2db converts the chunk source to the database format, it creates the database in the directory dir.
cmd/slackdump/internal/convertcmd/to_database.go:84
↓ 1 callersFunctionchunksJSONL
chunksJSONL returns a reader for the b []byte, which assumed to be a gzip-compressed bytes slice. It panics on error.
internal/fixtures/chunk.go:36
↓ 1 callersFunctionclearConnectionError
()
internal/viewer/static/viewer.js:63
↓ 1 callersFunctionclearErrorAfter
(t time.Duration)
cmd/slackdump/internal/ui/filepicker.go:49
↓ 1 callersMethodclient
client returns the appropriate client from playwright.Playwright.
auth/browser/browser.go:82
↓ 1 callersFunctioncloseSidePanel
()
internal/viewer/static/viewer.js:25
↓ 1 callersFunctioncn
(t,n,r)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctioncollectAll
collectAll collects all file from the directory and calls callback function fn for each file.
internal/chunk/directory.go:159
↓ 1 callersFunctioncollectWorker
(fileC <-chan collectedFile, resultsC chan<- resultt[T], fn func(string, *File) ([]T, error))
internal/chunk/directory.go:210
↓ 1 callersFunctionconvert
convert is a simple single-threaded conversion function, that, given a source and a target, converts the source data to the target format.
internal/convert/convert.go:131
↓ 1 callersFunctionconvertChannels
(ctx context.Context, dps *dirproc.Search, filename string, chans map[string]struct{})
cmd/slackdump/internal/diag/search.go:219
↓ 1 callersFunctionconvertCookies
(pwc []playwright.Cookie)
auth/browser/client.go:199
↓ 1 callersFunctionconvertFile
(ctx context.Context, erc chunk.Encoder, path string, outputDir string, ignoreCopyErr bool)
cmd/slackdump/internal/diag/v1.go:118
↓ 1 callersFunctionconvertUsers
(ctx context.Context, dpu *dirproc.Users, filename string)
cmd/slackdump/internal/diag/search.go:240
↓ 1 callersFunctioncopyAvatars
copyAvatars copies avatars for all users from avst into trgFSA. Errors are logged as warnings and do not abort the operation.
cmd/slackdump/internal/diag/merge.go:453
↓ 1 callersMethodcopyAvatars
(users []slack.User)
internal/convert/html.go:201
↓ 1 callersMethodcopyChannelFiles
(ctx context.Context, ch slack.Channel, threadRoots []string)
internal/convert/html.go:147
↓ 1 callersMethodcopyFiles
copyFiles is a pipeline function that extracts files from messages and calls the file copier.
internal/convert/dump.go:95
↓ 1 callersMethodcopyStaticAssets
()
internal/convert/html.go:229
↓ 1 callersMethodcopyworker
(req <-chan copyrequest)
internal/convert/export.go:300
↓ 1 callersFunctioncountDriveFolder
(folderId)
contrib/replit_drive_backup/drive-upload-folder.mjs:345
↓ 1 callersMethodcountDuplicates
(ctx context.Context, db sqlx.QueryerContext, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:226
↓ 1 callersFunctioncpArchivePicker
()
cmd/slackdump/internal/resume/wizard.go:105
↓ 1 callersFunctioncpIncludeThreads
()
cmd/slackdump/internal/resume/wizard.go:87
↓ 1 callersFunctioncpLookback
()
cmd/slackdump/internal/resume/wizard.go:128
↓ 1 callersFunctioncpOnlyNewUsers
()
cmd/slackdump/internal/resume/wizard.go:96
↓ 1 callersFunctioncpRefresh
()
cmd/slackdump/internal/resume/wizard.go:78
↓ 1 callersFunctioncreateTestTarGz
createTestTarGz creates a tar.gz file with the given contents for testing.
cmd/slackdump/internal/diag/updater/autoupdate_test.go:579
↓ 1 callersFunctioncreateTestZip
createTestZip creates a zip file with the given contents for testing.
cmd/slackdump/internal/diag/updater/autoupdate_test.go:547
↓ 1 callersFunctioncreatefile
(t *testing.T, dir string, name string, contents string)
internal/chunk/filemgr_test.go:82
↓ 1 callersFunctionct
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctioncubicWait
cubicWait is the wait time function. Time is calculated as (x+2)^3 seconds, where x is the current attempt number. The maximum wait time is capped at
internal/network/network.go:209
↓ 1 callersFunctiondAbs
(d time.Duration)
internal/network/network_test.go:80
↓ 1 callersFunctiondb2chunk
db2chunk converts the database to the chunk format, writing to the directory dir.
cmd/slackdump/internal/convertcmd/to_chunk.go:72
↓ 1 callersFunctiondbConvert
(ctx context.Context, src, dir string, cflg convertflags)
cmd/slackdump/internal/convertcmd/to_database.go:144
↓ 1 callersFunctiondbConvertFast
dbConvertFast converts the chunk source to the database format.
cmd/slackdump/internal/convertcmd/to_database.go:54
↓ 1 callersFunctiondebugConfigUI
(ctx context.Context)
cmd/slackdump/internal/diag/wizdebug.go:108
↓ 1 callersFunctiondebugDumpUI
(ctx context.Context)
cmd/slackdump/internal/diag/wizdebug.go:75
↓ 1 callersFunctiondebugprint
(a ...any)
cmd/slackdump/internal/resume/resume.go:343
↓ 1 callersFunctiondefSelKeymap
()
cmd/slackdump/internal/workspace/workspaceui/select.go:94
↓ 1 callersFunctiondelAllWsp
(m manager, confirm bool)
cmd/slackdump/internal/workspace/del.go:67
↓ 1 callersFunctiondelMessages
(ctx context.Context, cl *slack.Client, channelID string, msgs []slack.Message)
cmd/slackdump/internal/diag/thread.go:175
↓ 1 callersFunctiondelOneWsp
(m manager, args []string)
cmd/slackdump/internal/workspace/del.go:88
↓ 1 callersFunctiondeleteChunksByID
(ctx context.Context, tx *sqlx.Tx, ids []int64, chunkTypes []chunk.ChunkType)
internal/chunk/backend/dbase/repository/dedupe.go:277
↓ 1 callersFunctiondeleteDuplicates
(ctx context.Context, tx *sqlx.Tx, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:264
↓ 1 callersFunctiondeleteSessionChunks
(ctx context.Context, tx *sqlx.Tx, sessionID int64)
internal/chunk/backend/dbase/repository/cleanup.go:104
↓ 1 callersFunctiondeleteThread
(ctx context.Context, client *slack.Client, url string)
cmd/slackdump/internal/diag/thread.go:159
↓ 1 callersFunctiondetectAndRead
detectAndRead detects the filetype by consequently trying to unmarshal the data. It will return [dump] that will have [dumptype] and one of the membe
cmd/slackdump/internal/format/dump.go:102
↓ 1 callersFunctiondetectLinux
detectLinux detects the package manager on Linux.
cmd/slackdump/internal/diag/updater/platform/platform.go:122
↓ 1 callersFunctiondetectMacOS
detectMacOS detects if slackdump is installed via Homebrew on macOS.
cmd/slackdump/internal/diag/updater/platform/platform.go:107
↓ 1 callersMethoddirRouter
()
internal/chunk/chunktest/dirserver.go:56
↓ 1 callersMethoddirectUserList
directUserList tries to get users from the direct message channels. It is much slower than getting users from the public channels, as it uses convers
internal/edge/userlist.go:277
↓ 1 callersFunctiondoFile
doFile obfuscates the file src, placing the obfuscated file in trg.
internal/chunk/obfuscate/directory.go:76
↓ 1 callersFunctiondownload
download downloads all files from messages and posts into a __uploads directory in the archive.
cmd/slackdump/internal/diag/hydrate.go:165
↓ 1 callersMethoddownload
saveFileWithLimiter saves the file to specified directory, it will use the provided limiter l for throttling.
downloader/downloader.go:264
↓ 1 callersFunctiondt
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctiondump
dump generates the files in slackdump format.
cmd/slackdump/internal/dump/dump.go:176
↓ 1 callersMethoddumpChannel
dumpChannel fetches messages from the conversation identified by channelID. processFn will be called on each batch of messages returned from API.
messages.go:96
↓ 1 callersFunctiondumpCookiesMozilla
dumpCookiesMozilla dumps cookies in Mozilla format.
cmd/slackdump/internal/diag/info/auth.go:66
↓ 1 callersFunctiondumpv3
(ctx context.Context, sess client.Slack, fsa fsadapter.FS, p dumpparams)
cmd/slackdump/internal/dump/dump.go:199
↓ 1 callersFunctiondumpv31
(ctx context.Context, client client.Slack, fsa fsadapter.FS, p dumpparams)
cmd/slackdump/internal/dump/dump.go:281
↓ 1 callersFunctionemptyMessages
()
internal/viewer/handlers.go:649
↓ 1 callersFunctionen
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctionenableLogColors
(strNocolor string)
cmd/slackdump/internal/cfg/cfg.go:99
↓ 1 callersFunctionencodeAllChannelMsg
(ctx context.Context, rec processor.Conversations, src source.Sourcer, channels []slack.Channel)
internal/convert/src2enc.go:143
↓ 1 callersFunctionencodeChannels
(ctx context.Context, rec processor.Channels, src source.Sourcer)
internal/convert/src2enc.go:103
↓ 1 callersFunctionencodeUsers
(ctx context.Context, rec processor.Users, src source.Sourcer)
internal/convert/src2enc.go:116
↓ 1 callersFunctionencodeWorkspaceInfo
(ctx context.Context, rec processor.WorkspaceInfo, src source.Sourcer)
internal/convert/src2enc.go:132
↓ 1 callersMethodensure
ensure ensure that the relevant processors are created.
internal/chunk/backend/directory/erc.go:65
↓ 1 callersFunctionensureFolderPath
(relDir, rootId)
contrib/replit_drive_backup/drive-upload-folder.mjs:170
↓ 1 callersFunctionet
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctionexpWait
(attempt int)
internal/network/network.go:218
↓ 1 callersFunctionexportWithDB
exportWithDB runs the export with the database backend.
cmd/slackdump/internal/export/v3.go:42
↓ 1 callersFunctionextract
(target, archive string)
cmd/slackdump/internal/diag/hydrate.go:128
↓ 1 callersFunctionextractFromTarGz
extractFromTarGz extracts a binary from a tar.gz archive and returns the path to the extracted file.
cmd/slackdump/internal/diag/updater/autoupdate.go:501
↓ 1 callersFunctionextractFromZip
extractFromZip extracts a binary from a zip archive and returns the path to the extracted file.
cmd/slackdump/internal/diag/updater/autoupdate.go:565
↓ 1 callersFunctionextractToken
extractToken extracts token from the request.
auth/browser/extractors.go:43
↓ 1 callersFunctionextractTokenPost
extractTokenPost extracts token from the request body.
auth/browser/extractors.go:73
↓ 1 callersFunctionfakeProgress
fakeProgress starts a fake spinner and returns a channel that must be closed once the operation completes. interval is interval between iterations. If
cmd/slackdump/internal/bootstrap/progress.go:72
↓ 1 callersFunctionfetchEmoji
fetchEmoji downloads one emoji file from uri into the filename dir/name.png within the filesystem adapter fsa.
cmd/slackdump/internal/emoji/emojidl/emoji.go:184
↓ 1 callersFunctionfileThumbLinks
fileThumbLinks returns slice of pointers to all thumbnail URLs of the file.
internal/structures/files/files.go:55
↓ 1 callersMethodfindThreadFile
(channelID, threadID string)
source/dump.go:239
↓ 1 callersMethodfindThreadInChannel
(channelID, threadID string)
source/dump.go:226
↓ 1 callersMethodfirstAvailable
()
internal/cache/manager.go:312
↓ 1 callersMethodfooter
()
cmd/slackdump/internal/ui/bubbles/menu/model.go:248
↓ 1 callersMethodfooter
()
cmd/slackdump/internal/ui/bubbles/pager/pager.go:131
↓ 1 callersFunctionformatJSONfile
formatJSONfile formats a single json file in the dump format.
cmd/slackdump/internal/format/dump.go:37
↓ 1 callersFunctionformatSrc
formatSrc formats the source with the given formatter and writes the result into fsa. If el is specified, it is used to filter the channels that are f
cmd/slackdump/internal/format/source.go:39
↓ 1 callersMethodfromIndex
(index map[string]bool)
internal/structures/entity_list.go:251
↓ 1 callersFunctionfromReaderWithIndex
fromReaderWithIndex creates a new chunk File from the io.ReadSeeker and index. USE WITH CAUTION: It does not check if the file corresponds to the ind
internal/chunk/file.go:99
↓ 1 callersFunctionge
(t,e,n)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctiongenerateEmojis
(n int)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:252
↓ 1 callersFunctiongenerateThread
(ctx context.Context, cl *slack.Client, channelID string, numMsg int)
cmd/slackdump/internal/diag/thread.go:125
↓ 1 callersFunctiongetChannel
(ctx context.Context, src source.Sourcer, ch slack.Channel)
cmd/slackdump/internal/format/source.go:101
↓ 1 callersFunctiongetMessages
(ctx context.Context, cl *slack.Client, ui *structures.SlackLink)
cmd/slackdump/internal/diag/thread.go:195
↓ 1 callersFunctiongetThread
(ctx context.Context, src source.Sourcer, chanID string, ts string)
cmd/slackdump/internal/format/source.go:134
↓ 1 callersFunctiongetUsers
(ctx context.Context, dmp *dump, isOnline bool)
cmd/slackdump/internal/format/dump.go:167
← previousnext →1,801–1,900 of 4,254, ranked by callers