MCPcopy Create free account

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 2 callersFunctionsetActiveChannel
(link)
internal/viewer/static/viewer.js:32
↓ 2 callersMethodshorten
shorten returns a shortened version of a path.
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:476
↓ 2 callersFunctionshouldFallbackToListChannels
(err error)
channels.go:158
↓ 2 callersFunctionshow
(m *menu, onMatch func(cmd *base.Command) error)
cmd/slackdump/internal/wizard/wizard.go:142
↓ 2 callersFunctionsleep
(ms)
contrib/replit_drive_backup/drive-upload-folder.mjs:76
↓ 2 callersMethodstmtLatestRows
stmtLatestRows returns the statement that selects the latest chunk for each entity.
internal/chunk/backend/dbase/repository/generic.go:234
↓ 2 callersFunctiontestAvatarPath
()
cmd/slackdump/internal/diag/merge_test.go:737
↓ 2 callersFunctiontestAvatarUser
()
cmd/slackdump/internal/diag/merge_test.go:720
↓ 2 callersFunctiontestConfigWithParams
(n int)
cmd/slackdump/internal/ui/cfgui/model_test.go:157
↓ 2 callersFunctiontestConnDSN
(t *testing.T, dsn string)
internal/chunk/backend/dbase/repository/repository_test.go:55
↓ 2 callersFunctiontestIMChannel
(id, name, teamID string)
cmd/slackdump/internal/diag/merge_test.go:662
↓ 2 callersFunctiontestMessagesChunk
(channelID string, msgs ...slack.Message)
cmd/slackdump/internal/diag/merge_test.go:575
↓ 2 callersMethodthreadCond
threadCond returns a condition for selecting messages that are part of a thread with additional filtering of thread_broadcast subtype.
internal/chunk/backend/dbase/repository/dbmessage.go:198
↓ 2 callersMethodthreadFile
(channelID, threadID string)
source/dump.go:222
↓ 2 callersFunctiontimeOffsets
timeOffsets returns a map of the timestamp to the chunk offset and index of the message with this timestamp within the message slice. It converts the
internal/chunk/file.go:448
↓ 2 callersFunctiontmpl
tmpl executes the given template text on data, writing the result to w.
cmd/slackdump/internal/golang/help/help.go:32
↓ 2 callersMethodtoEntry
()
cmd/slackdump/internal/ui/bubbles/btime/btime.go:219
↓ 2 callersFunctiontoFSpath
(p string)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:516
↓ 2 callersFunctiontoIter
(mm []slack.Message)
source/chunkdir.go:84
↓ 2 callersFunctiontokenFromMultipart
tokenFromMultipart extracts token from the multipart form.
auth/browser/extractors.go:86
↓ 2 callersFunctiontoslice
toslice creates a slice of IN type containing the keys from m.
types/types.go:20
↓ 2 callersMethodtryLoad
(ctx context.Context, filename string)
internal/cache/auth.go:235
↓ 2 callersFunctionucd
ucd detects user cache dir and returns slack cache directory name.
cmd/slackdump/internal/cfg/cache.go:29
↓ 2 callersFunctionun
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionunmarshalEvents
(r io.Reader)
internal/chunk/obfuscate/obfuscate_test.go:107
↓ 2 callersFunctionunmarshalFileFS
unmarshalFileFS unmarshals the file with filename from the fsys into data.
internal/structures/index.go:233
↓ 2 callersMethodupdateTime
()
cmd/slackdump/internal/ui/bubbles/btime/btime.go:207
↓ 2 callersMethodurl
(path string, params url.Values)
cmd/slackdump/internal/diag/updater/github/github.go:159
↓ 2 callersFunctionurlsafe
(s string)
auth/value.go:109
↓ 2 callersMethoduserHandler
(w http.ResponseWriter, r *http.Request)
internal/viewer/handlers.go:227
↓ 2 callersFunctionuserReplacer
userReplacer returns a replacer that replaces all user IDs with their DisplayNames.
internal/format/format.go:120
↓ 2 callersFunctionuserWorker
(ctx context.Context, s Streamer, up processor.Users)
internal/chunk/control/workers.go:29
↓ 2 callersMethoduserattr
userattr finds the user by ID and calls a function fn with that user. If the user index is not initialised, it will return the ID, otherwise, if the u
internal/structures/user_index.go:85
↓ 2 callersFunctionusersTeam
usersTeam returns the team ID of the team with the most users.
cmd/slackdump/internal/resume/resume.go:393
↓ 2 callersMethodvalidate
()
cmd/slackdump/internal/dump/dump.go:165
↓ 2 callersFunctionvalidateAlias
(raw string)
internal/viewer/handlers.go:612
↓ 2 callersFunctionvalidateCache
validateCache tests whether the provided file info meets the requirements for a valid cache file. It returns an error if the file does not meet the re
internal/cache/cache.go:74
↓ 2 callersFunctionvalueIter
(it iter.Seq2[D, error])
internal/chunk/backend/dbase/source.go:245
↓ 2 callersFunctionverifyChannelCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/dedupe_test.go:566
↓ 2 callersFunctionverifyChannelUserChunkForTest
(t *testing.T, db *sqlx.DB, channelID, userID string, expectedChunkID int64)
internal/chunk/backend/dbase/repository/dedupe_test.go:542
↓ 2 callersFunctionverifyFileChunkForTest
(t *testing.T, db *sqlx.DB, fileID string, expectedChunkID int64)
internal/chunk/backend/dbase/repository/dedupe_test.go:550
↓ 2 callersFunctionverifyMessageChunkInChannelForTest
(t *testing.T, db *sqlx.DB, msgID int64, channelID string, expectedChunkID int64)
internal/chunk/backend/dbase/repository/dedupe_test.go:518
↓ 2 callersFunctionverifyUserChunkForTest
(t *testing.T, db *sqlx.DB, userID string, expectedChunkID int64)
internal/chunk/backend/dbase/repository/dedupe_test.go:526
↓ 2 callersFunctionvn
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionwalkDir
walkDir walks through the directory with given name on the filesystem fsys, calling the callback function cb for every JSON file it encounters.
source/export.go:241
↓ 2 callersMethodwebapiURL
(endpoint string)
internal/edge/edge.go:351
↓ 2 callersFunctionwithFragment
(raw, fragment string)
internal/viewer/renderer/routes.go:193
↓ 2 callersFunctionworker
worker is the function that runs in a separate goroutine and downloads emoji received from emojiC. The result of the operation is sent to resultC chan
cmd/slackdump/internal/emoji/emojidl/emoedge.go:194
↓ 2 callersFunctionwriteLimits
(w io.Writer, cfg network.Limits)
cmd/slackdump/internal/apiconfig/apiconfig.go:91
↓ 2 callersFunctionwspInfo
(ctx context.Context, m manager, current string, wsps []string)
cmd/slackdump/internal/workspace/list.go:145
↓ 2 callersFunctionye
(e,t,n,r)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunction$n
()
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctionA
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctionAe
(l,e,c)
internal/viewer/static/htmx.min.js:1
↓ 1 callersMethodAlias
(id string)
internal/viewer/alias_test.go:215
↓ 1 callersMethodAliases
Aliases returns the list of aliases.
internal/viewer/handlers.go:575
↓ 1 callersMethodAll
(ctx context.Context, conn sqlx.ExtContext, sessionID int64, chunkTypeID ...chunk.ChunkType)
internal/chunk/backend/dbase/repository/dbchunk.go:125
↓ 1 callersMethodAll
All should return all sessions in the database.
internal/chunk/backend/dbase/repository/session.go:62
↓ 1 callersMethodAllChannelIDs
AllChannelIDs returns all the channels in the chunkfile.
internal/chunk/file.go:368
↓ 1 callersMethodAllForID
AllForID returns all messages in a channel.
internal/chunk/backend/dbase/repository/dbmessage.go:140
↓ 1 callersMethodAllForID
(ctx context.Context, conn sqlx.QueryerContext, channelID string)
internal/chunk/backend/dbase/repository/dbmessage.go:183
↓ 1 callersMethodAllForThread
AllForThread returns all messages in a thread, including parent message.
internal/chunk/backend/dbase/repository/dbmessage.go:144
↓ 1 callersMethodAllForThread
(ctx context.Context, conn sqlx.QueryerContext, channelID, threadID string)
internal/chunk/backend/dbase/repository/dbmessage.go:215
↓ 1 callersMethodAllMessages
AllMessages returns all channel messages without thread messages.
source/export.go:149
↓ 1 callersMethodAllMessages
(ctx context.Context, channelID string)
internal/chunk/backend/dbase/source.go:276
↓ 1 callersMethodAllOfType
(ctx context.Context, conn sqlx.QueryerContext, typeID ...chunk.ChunkType)
internal/chunk/backend/dbase/repository/dbchannel.go:91
↓ 1 callersMethodAllOfType
AllOfType returns an iterator that yields all latest rows type T for the chunk type typeID.
internal/chunk/backend/dbase/repository/generic.go:260
↓ 1 callersMethodAllThreadMessages
(ctx context.Context, channelID, threadID string)
internal/chunk/backend/dbase/source.go:285
↓ 1 callersFunctionAn
(t)
internal/viewer/static/htmx.min.js:1
↓ 1 callersMethodAppID
(a string)
internal/chunk/obfuscate/ids.go:50
↓ 1 callersFunctionAppendMessenger
PrependMessenger prepends the Messenger to the Conversations.
processor/processor.go:226
↓ 1 callersFunctionArchiveController
ArchiveController returns the default archive controller initialised based on global configuration parameters.
cmd/slackdump/internal/archive/archive.go:287
↓ 1 callersMethodAsyncDownloader
(ctx context.Context, queueC <-chan Request)
downloader/downloader.go:352
↓ 1 callersFunctionAuthReset
AuthReset removes the cached credentials.
internal/cache/auth.go:277
↓ 1 callersMethodAuthTestContext
(ctx context.Context)
internal/client/pool.go:62
↓ 1 callersMethodAuthenticate
(ctx context.Context)
auth/browser/client.go:88
↓ 1 callersMethodAutoUpdate
AutoUpdate attempts to update slackdump to the latest version.
cmd/slackdump/internal/diag/updater/autoupdate.go:50
↓ 1 callersFunctionAvatarPath
(u *slack.User)
internal/convert/transform/fileproc/avatar.go:56
↓ 1 callersFunctionB
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersFunctionBe
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 1 callersMethodBindings
()
cmd/slackdump/internal/workspace/workspaceui/select.go:90
↓ 1 callersMethodBindings
()
cmd/slackdump/internal/ui/cfgui/keymap.go:46
↓ 1 callersMethodBindings
()
cmd/slackdump/internal/ui/bubbles/menu/keymap.go:40
↓ 1 callersMethodBindings
()
cmd/slackdump/internal/ui/bubbles/pager/pager.go:53
↓ 1 callersFunctionBn
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersMethodBotProfile
(bp *slack.BotProfile)
internal/chunk/obfuscate/obfuscate.go:366
↓ 1 callersFunctionBt
(e)
internal/viewer/static/htmx.min.js:1
↓ 1 callersMethodByTag
(ctx context.Context, tag string)
cmd/slackdump/internal/diag/updater/updater.go:40
↓ 1 callersMethodCacheChannels
CacheChannels saves channels to cache.
internal/cache/manager.go:460
↓ 1 callersMethodChannelInfo
ChannelInfo accepts the fileID (so it can treat channel or thread exports equally). If in doubt, use channelID as the fileID.
source/chunkdir.go:115
↓ 1 callersMethodChannelInfo
ChannelInfo is called for each channel that is retrieved.
internal/chunk/backend/directory/conversations.go:124
↓ 1 callersMethodChannelInfo
(ctx context.Context, channelID string)
internal/chunk/backend/dbase/source.go:315
↓ 1 callersMethodChannelInfo
(ctx context.Context, channelID string)
cmd/slackdump/internal/diag/sdv1/source.go:97
↓ 1 callersMethodChannelUsers
(ctx context.Context, channelID string, threadTS string, cu []string)
internal/chunk/backend/directory/conversations.go:231
↓ 1 callersMethodChannels
Channels is called for each channel chunk that is retrieved.
processor/processor.go:72
↓ 1 callersMethodChannels
Channels called by Stream, scans the channel list ch and if the channel matches the filter, and is not excluded or duplicate, it sends the channel ID
internal/chunk/control/processors.go:165
↓ 1 callersMethodChannels
(ctx context.Context, ch []slack.Channel)
internal/chunk/control/processors.go:200
↓ 1 callersMethodChannels
(c ...slack.Channel)
internal/chunk/obfuscate/obfuscate.go:387
↓ 1 callersMethodChannels
Channels returns all channels. If the channel info is not available, it will attempt to get all channels.
internal/chunk/backend/dbase/source.go:177
↓ 1 callersMethodClientDMs
(ctx context.Context)
internal/edge/client.go:133
← previousnext →1,301–1,400 of 4,254, ranked by callers