MCPcopy Create free account

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 2 callersMethodinsertSearchMessages
(ctx context.Context, tx repository.PrepareExtContext, dbchunkID int64, _ string, mm []slack.SearchMessage)
internal/chunk/backend/dbase/split.go:266
↓ 2 callersMethodinsertUsers
insertUsers inserts users into the database using the connection tx. Depending on the options it will insert all or only new or updated users.
internal/chunk/backend/dbase/split.go:218
↓ 2 callersMethodinsertWorkspaceInfo
(ctx context.Context, tx repository.PrepareExtContext, dbchunkID int64, info *slack.AuthTestResponse)
internal/chunk/backend/dbase/split.go:161
↓ 2 callersFunctionintArg
intArg extracts a named int argument from a tool call request. The MCP protocol serialises numbers as float64, so we convert accordingly.
internal/mcp/server.go:300
↓ 2 callersFunctionisDumpJSONFile
(name string)
source/dump.go:127
↓ 2 callersMethodisLastPage
()
internal/edge/emoji.go:64
↓ 2 callersFunctionisRecoverable
isRecoverable returns true if the status code is a recoverable error.
internal/network/network.go:202
↓ 2 callersFunctionisTerm
(name string)
cmd/slackdump/internal/diag/obfuscate.go:137
↓ 2 callersFunctionje
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionke
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionkeyRune
(r rune)
cmd/slackdump/internal/ui/cfgui/model_test.go:153
↓ 2 callersFunctionlatest
(ctx context.Context, src source.Resumer, includeThreads bool, skipCompleteThreads bool, lookBack time.Duratio
cmd/slackdump/internal/resume/resume.go:294
↓ 2 callersFunctionlist
(ctx context.Context, m manager, formatter formatFunc)
cmd/slackdump/internal/workspace/list.go:78
↓ 2 callersFunctionlist
(ctx context.Context, sess *slackdump.Session, l lister[T], filename string)
cmd/slackdump/internal/list/common.go:110
↓ 2 callersFunctionlistArgsFn
(teamID string, prefix string)
cmd/slackdump/internal/list/wizard.go:52
↓ 2 callersMethodlistChannels
(ctx context.Context, proc processor.Channels, p *slack.GetConversationsParameters, fn func(context.Context, *
stream/stream.go:289
↓ 2 callersMethodlistFiles
List returns the list of workspace files with full path.
internal/cache/manager.go:255
↓ 2 callersFunctionload
load loads the data from the file in the cache directory, and returns the data as a slice of T.
internal/cache/cache.go:132
↓ 2 callersFunctionload
(t *testing.T, s string)
internal/viewer/renderer/slack_fixtures_test.go:35
↓ 2 callersFunctionloadSecrets
loadSecrets load secrets from the files in secrets slice.
cmd/slackdump/main.go:259
↓ 2 callersFunctionloadStorage
loadStorage determines the type of the file storage used and initialises appropriate Storage implementation.
source/export.go:88
↓ 2 callersMethodloadUsers
loadUsers tries to load the users from the file. If the file does not exist or is older than maxAge, it returns an error.
internal/cache/usercache.go:37
↓ 2 callersFunctionmarshalFileFSA
(fs fsadapter.FS, filename string, data any)
internal/structures/index.go:221
↓ 2 callersFunctionmaybeAppendExt
maybeAppendExt appends the extension to the filename if it's empty.
internal/cache/manager.go:125
↓ 2 callersFunctionmaybeAppendExt
maybeAppendExt adds a filename extension ext if the filename has missing, or a different extension.
cmd/slackdump/internal/apiconfig/new.go:109
↓ 2 callersFunctionmaybeprint
(v any)
internal/viewer/renderer/slack.go:164
↓ 2 callersMethodmbeTransformChannel
(ctx context.Context, channelID string)
internal/chunk/control/processors.go:106
↓ 2 callersMethodmbeTransformThread
(ctx context.Context, channelID string, threadID string)
internal/chunk/control/processors.go:124
↓ 2 callersFunctionmessageSeq
(mm []slack.Message)
internal/viewer/alias_test.go:121
↓ 2 callersFunctionmessageSeq
(mm []slack.Message)
internal/convert/html_test.go:375
↓ 2 callersMethodmessageTimestamps
()
internal/chunk/chunk.go:257
↓ 2 callersMethodmkSuperprocessor
(ctx context.Context, rec *chunk.Recorder, conv processor.Conversations)
internal/chunk/control/control.go:96
↓ 2 callersFunctionmostFrequentMember
mostFrequentMember attempts to identify the current user in the index. It uses the DMs of the index. If DMs are empty, or it's unable to identify the
internal/structures/index.go:270
↓ 2 callersFunctionmustLoadSource
(t *testing.T, path string)
cmd/slackdump/internal/diag/merge_test.go:537
↓ 2 callersMethodnewAccumulator
(ctx context.Context, channel *slack.Channel)
internal/convert/transform/export.go:219
↓ 2 callersFunctionnewChanFilter
newChanFilter creates a new channel filter.
internal/chunk/control/processors.go:152
↓ 2 callersFunctionnewConfirmForm
()
cmd/slackdump/internal/ui/updaters/filepick_new.go:43
↓ 2 callersMethodnewConvTransformer
newConvTransformer creates a new conversation transformer.
internal/chunk/control/control.go:59
↓ 2 callersFunctionnewGenerator
(s Streamer, p superprocessor, flags Flags, list *structures.EntityList)
internal/chunk/control/runner.go:94
↓ 2 callersFunctionnewProgramWrap
(m *Model)
cmd/slackdump/internal/ui/cfgui/cfgui.go:32
↓ 2 callersFunctionnewSlackClient
newSlackClient is a shared helper that dials Slack and runs an auth-test.
internal/client/client.go:96
↓ 2 callersMethodnewUserCollector
helpers newUserCollector creates a new user collector.
internal/chunk/control/options.go:88
↓ 2 callersFunctionnewUserIter
newUserIter returns an iterator that will emit only new or updated users. TODO: It may be desirable to write a test for this.
internal/chunk/backend/dbase/split.go:190
↓ 2 callersMethodnext
next returns the next item in the pool.
internal/client/strategy.go:22
↓ 2 callersMethodnextPage
()
internal/edge/emoji.go:68
↓ 2 callersFunctionnormalizeOutput
(format datafmt, output string)
cmd/slackdump/internal/convertcmd/convert.go:126
↓ 2 callersFunctionnt
(r,o,i)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionnvl
(s string)
cmd/slackdump/internal/ui/cfgui/model.go:263
↓ 2 callersFunctionobfuscate
(ctx context.Context, obf obfuscator, w io.Writer, r io.Reader)
internal/chunk/obfuscate/obfuscate.go:82
↓ 2 callersFunctionopenTestZip
(t *testing.T, name string)
source/export_test.go:39
↓ 2 callersMethodparseRelease
(resp *http.Response)
cmd/slackdump/internal/diag/updater/github/github.go:123
↓ 2 callersFunctionparseRetryAfter
(resp *http.Response)
internal/edge/edge.go:328
↓ 2 callersFunctionparseSlackMd
(s string)
internal/viewer/renderer/slack_text_parser.go:20
↓ 2 callersFunctionpipeAndUpdateFiles
pipeAndUpdateFiles scans the messages and sends all the files discovered to the filesC.
processors.go:120
↓ 2 callersFunctionpipeTestSuite
(t *testing.T, msgs []types.Message, dir string)
processors_test.go:101
↓ 2 callersFunctionpleaseWait
(ctx context.Context, msg string)
auth/auth.go:156
↓ 2 callersMethodpopulate
(files []fs.FileInfo)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:191
↓ 2 callersMethodpopulateThreads
populateThreads scans the message slice for threads, if it discovers the message with ThreadTimestamp, it calls the dumpFn on it. dumpFn should return
thread.go:79
↓ 2 callersFunctionprintConfigOK
printConfigOK outputs the confirmation message to the user.
cmd/slackdump/internal/apiconfig/new.go:74
↓ 2 callersMethodprintDebug
(w io.Writer)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:347
↓ 2 callersFunctionprintProgress
()
contrib/replit_drive_backup/drive-upload-folder.mjs:441
↓ 2 callersFunctionprint_msg
print_message prints the message ``m``, indenting the line with ``indent``
contrib/messages_json_parsing/python/print_messages.py:22
↓ 2 callersMethodprocChanMsg
procChanMsg processes the message slice mm, for each threaded message, it sends the thread request on threadC. It returns thread count in the mm and
stream/conversation.go:329
↓ 2 callersMethodprocChannelInfo
procChannelInfo fetches the channel info and passes it to the processor.
stream/conversation.go:406
↓ 2 callersFunctionprocThreadMsg
(ctx context.Context, proc processor.Conversations, channel *slack.Channel, threadTS string, threadOnly bool,
stream/conversation.go:368
↓ 2 callersFunctionprocessLink
processLink parses the link and sends it to the appropriate output channel.
stream/conversation.go:156
↓ 2 callersFunctionprofileTargetID
(m slack.Message)
internal/viewer/template.go:202
↓ 2 callersFunctionproxyRequest
(urlPath, options = {})
contrib/replit_drive_backup/drive-upload-folder.mjs:105
↓ 2 callersMethodprunableChunkIDs
(ctx context.Context, db sqlx.QueryerContext, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:244
↓ 2 callersFunctionpwRepair
pwRepair attempts to repair the playwright installation.
auth/browser/client.go:242
↓ 2 callersFunctionqe
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callersFunctionqrCharLimit
qrCharLimit returns the effective character limit for the QR code input field.
auth/auth_ui/huh.go:293
↓ 2 callersFunctionqueryxContext
(ctx context.Context, db sqlx.QueryerContext, stmt string, args ...any)
internal/chunk/backend/dbase/repository/dedupe.go:417
↓ 2 callersFunctionrandString
(n int)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:260
↓ 2 callersFunctionrawDump
(w io.Writer, cl *http.Client, ep string, v url.Values)
cmd/slackdump/internal/diag/rawoutput.go:173
↓ 2 callersFunctionreadEntityIndex
readEntityList is a rather naïve implementation that reads the entire file up to maxEntries entities (empty lines are skipped), and populates the slic
internal/structures/entity_list.go:211
↓ 2 callersMethodreadWsp
readWsp reads the workspace file name from the reader.
internal/cache/manager.go:394
↓ 2 callersMethodrecord
(b []byte)
internal/edge/edge.go:246
↓ 2 callersFunctionreinstall
(runopts *playwright.RunOptions)
auth/browser/client.go:263
↓ 2 callersFunctionrelativePrefix
(outputPath string)
internal/convert/html.go:293
↓ 2 callersMethodremoveDoubleDots
(uri string)
internal/convert/transform/fileproc/avatar.go:65
↓ 2 callersFunctionremoveFunc
(dry bool)
cmd/slackdump/internal/diag/uninstall.go:159
↓ 2 callersMethodrenderAttachment
(ctx context.Context, buf *strings.Builder, msgTS string, a slack.Attachment)
internal/viewer/renderer/slack.go:147
↓ 2 callersFunctionreplaceOnWindows
replaceOnWindows handles binary replacement on Windows by creating a batch script that will replace the executable after the current process exits. Th
cmd/slackdump/internal/diag/updater/autoupdate.go:441
↓ 2 callersFunctionresolveDBPath
resolveDBPath resolves the database file, name, and optional storages for the given path, which may be either a direct database file or a directory.
source/database.go:56
↓ 2 callersFunctionresultLogger
(lg *slog.Logger)
cmd/slackdump/internal/archive/archive.go:341
↓ 2 callersMethodrndstr
rndstr returns a random string of length base+add.
internal/chunk/obfuscate/obfuscate.go:264
↓ 2 callersFunctionrunProcessFuncs
runProcessFuncs runs processFn sequentially and return results of execution.
processors.go:74
↓ 2 callersFunctionrunSearch
(ctx context.Context, s Streamer, sp supersearcher, stype SearchType, query string)
internal/chunk/control/runner.go:360
↓ 2 callersFunctionsafeAnchorID
(s string)
internal/viewer/template.go:206
↓ 2 callersFunctionsave
save saves the users to a file, naming the file based on the filename and the suffix. The file will be saved in the cache directory.
internal/cache/cache.go:98
↓ 2 callersFunctionsave
(filename string, r any)
cmd/slackdump/internal/diag/edge.go:177
↓ 2 callersMethodsaveChannels
saveChannels saves channels to a file, naming the file based on the filename and the suffix. The file will be saved in the dirname.
internal/cache/channelcache.go:36
↓ 2 callersFunctionsayBool
(b bool)
cmd/slackdump/internal/bootstrap/files_test.go:26
↓ 2 callersFunctionsearchFileWorker
(ctx context.Context, s Streamer, sf processor.FileSearcher, query string)
internal/chunk/control/workers.go:69
↓ 2 callersFunctionsearchMsgWorker
(ctx context.Context, s Streamer, ms processor.MessageSearcher, query string)
internal/chunk/control/workers.go:59
↓ 2 callersMethodselectDefault
selectDefault selects the default workspace if it exists.
internal/cache/manager.go:292
↓ 2 callersMethodselected
()
cmd/slackdump/internal/diag/uninstall.go:62
↓ 2 callersFunctionseqErr
seqErr returns an iter.Seq2 that immediately yields an error.
internal/mcp/tools_test.go:47
↓ 2 callersMethodset
set sets the channel info in the cache under the respective key.
stream/cache.go:25
← previousnext →1,201–1,300 of 4,254, ranked by callers