Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,12 @@ Fixed channel timelines so refreshed thread parents remain visible after direct
### [@thomasmaerz](https://github.com/thomasmaerz)
Fixed database dedupe joins for non-null keys, restoring fast dedupe previews on archives with many duplicate channel users.

### [@beeckrumi0000](https://github.com/beeckrumi0000) - ulises.millan
Fixed `resume -refresh` so `-member-only` also filters newly discovered channels.

---

**Total Contributors**: 33
**Total Contributors**: 34

This list is sorted by number of contributions. Every contribution, no matter how small, helps make Slackdump better for everyone!

Expand Down
7 changes: 7 additions & 0 deletions cmd/slackdump/internal/man/assets/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

### Bug Fixes

- `slackdump resume -refresh -member-only` now skips newly discovered public
channels that the current user has not joined (#758). Channels already in
the resume list are still processed.
- Fixed MCP archive switching so `load_source` waits for active reads before
closing the previous archive (#753). Failed opens or canceled waits leave
the previous archive active, queued reads can be canceled, and the server
closes the active archive at shutdown.
- Fix slow database deduplication on large channels (#750), including cleanup
after `resume -dedupe`. Existing archives automatically build a message index
on first open after upgrading; this can take extra time and disk space.
Expand Down
4 changes: 3 additions & 1 deletion cmd/slackdump/internal/mcp/assets/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ load_source(path="/path/to/another/archive.db")
```

`load_source` also works when the server was started with an initial archive —
it closes the current one and opens the new one.
it opens the new archive and waits for active reads before replacing the
current one. If opening fails or the wait is canceled, the current archive
remains active.

## Integrating with Claude Desktop

Expand Down
13 changes: 13 additions & 0 deletions cmd/slackdump/internal/resume/assets/resume.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,19 @@ steps:
slackdump convert -format <your-format> slackdump_20241231_150405
```

### Discovering new channels.

Use `-refresh` to discover additional channels while resuming an existing
archive. Add `-member-only` to skip newly discovered public channels that you
have not joined:

```plaintext
slackdump resume -refresh -member-only <archive>
```

The membership filter applies to newly discovered channels. Channels already
in the resume list are still processed, even if you are no longer a member.

### Deduplicating resume overlap.

Resume uses a lookback window to avoid missing edits, replies, and other
Expand Down
3 changes: 3 additions & 0 deletions internal/chunk/backend/dbase/dbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ func WithVerbose(v bool) Option {
}
}

// WithOnlyNewOrChangedUsers instructs to insert the user in consequent session
// only in case if it is a new user or the user details were updated. Default -
// to insert the user regardless.
func WithOnlyNewOrChangedUsers(v bool) Option {
return func(o *options) {
o.onlyNewOrChangedUsers = v
Expand Down
Loading