Skip to content

Commit 18c67f7

Browse files
authored
Merge pull request #626 from rusq/ent-tips
Enterprise tips and changelog update
2 parents 14b2fea + d4cf522 commit 18c67f7

File tree

6 files changed

+82
-1
lines changed

6 files changed

+82
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ files and emojis. Generate Slack Export without admin privileges.
3535
>
3636
> You are responsible for ensuring your use complies with your organisation’s
3737
> policies and Slack’s terms of service.
38+
>
39+
> **See [Enterprise Workspace Tips](doc/enterprise.md).**
3840
3941
## Description
4042

cmd/slackdump/internal/man/assets/changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# What's New?
22

3+
## v4.1.0
4+
5+
### New Features
6+
7+
- **MCP Server** (`slackdump mcp`): a read-only Model Context Protocol server
8+
for querying Slackdump archives with AI agents (Claude, GitHub Copilot,
9+
OpenCode, etc.). Supports both **stdio** and **HTTP** transports. Available
10+
tools: `load_source`, `list_channels`, `get_channel`, `list_users`,
11+
`get_messages`, `get_thread`, `get_workspace_info`, and `command_help`.
12+
13+
- **Auto-updater** (`slackdump tools update`): checks for a newer release on
14+
GitHub and optionally installs it. Pass `-auto` to update without prompts.
15+
Marked experimental; supports brew, apt, pacman, and direct binary replacement.
16+
17+
- **`-fail-hard` flag**: opt in to hard-failing on non-critical per-channel
18+
errors (e.g. `not_in_channel`, `channel_not_found`) across `archive`,
19+
`export`, and `dump`. By default these errors are skipped and logged.
20+
21+
- **`-member-only` in `list channels`**: the `-member-only` flag is now
22+
respected by `slackdump list channels` in addition to `archive`.
23+
24+
- **QR code input size override**: the maximum size of the QR code image paste
25+
field can be tuned via the `QR_CODE_SIZE` environment variable for workspaces
26+
that produce unusually large QR images.
27+
28+
### Bug Fixes
29+
30+
- Enterprise channel filtering: fixed incorrect channel filtering that could
31+
silently drop channels in Enterprise Grid workspaces.
32+
33+
- `not_in_channel` no longer aborts a full-workspace archive; the channel is
34+
skipped and the run continues (see also `-fail-hard` above).
35+
36+
- `IsMember` logic now falls back to the `C`-prefix heuristic for channels
37+
where the membership field is absent, fixing missing channels in
38+
`--member-only` runs.
39+
340
## v4.0.0
441

542
- New channel type filtering via `--chan-types` and wizard multi-select, wired through list/archive/export/resume flows.

doc/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- [Dumping messages and threads](usage-channels.md)
1313
- [Creating a Slack Export](usage-export.md)
1414
- [Downloading all Emojis](usage-emoji.md)
15+
- [Enterprise Workspace Tips](enterprise.md)
1516
- [Compiling from Sources](compiling.md)
1617
- [Troubleshooting](troubleshooting.md)
1718

doc/enterprise.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Enterprise Workspaces Tips
2+
3+
[Back to User Guide](README.md)
4+
5+
This section applies only in case your Slack Workspace is on Enterprise Plan.
6+
7+
> [!WARNING]
8+
> # Enterprise Workspaces Security Alerts
9+
>
10+
> Depending on your Slack plan and security settings, using Slackdump may
11+
> trigger Slack security alerts and/or notify workspace administrators of
12+
> unusual or automated access/scraping attempts.
13+
>
14+
> You are responsible for ensuring your use complies with your organisation’s
15+
> policies and Slack’s terms of service.
16+
17+
That said, here are some tips for safe operations without triggering the
18+
scraping alerts:
19+
20+
1. **Always use `-channel-users` flag**. This will avoid accessing the full
21+
user list, which may be long and may trigger the logout. Example:
22+
```shell
23+
slackdump archive -channel-users C01581023
24+
```
25+
2. **Avoid full channel listing**. Collect the URLs or Channel IDs of the
26+
channels that you need and create a text file with each URL or Channel ID on
27+
a separate line (see `slackdump help syntax`). Once you have collected
28+
everything you need, run:
29+
```shell
30+
slackdump archive -channel-users @list.txt
31+
```
32+
- If you only need to download DMs and the list is short, use
33+
`-chan-types im`. If the DM list is large, prefer tip #1 instead.
34+
For example:
35+
```shell
36+
slackdump archive -chan-types im
37+
```
38+
39+
[Back to User Guide](README.md)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require (
2828
github.com/pressly/goose/v3 v3.27.0
2929
github.com/pterm/pterm v0.12.82
3030
github.com/refraction-networking/utls v1.8.2
31-
github.com/rusq/chttp/v2 v2.0.0
31+
github.com/rusq/chttp/v2 v2.0.1
3232
github.com/rusq/encio v0.2.0
3333
github.com/rusq/fsadapter v1.1.0
3434
github.com/rusq/osenv/v2 v2.0.1

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,8 @@ github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDN
228228
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
229229
github.com/rusq/chttp/v2 v2.0.0 h1:9cO6VCWHjBZgET7XaezmgFHWBbcWoJuopInu8mmmSxo=
230230
github.com/rusq/chttp/v2 v2.0.0/go.mod h1:4E429epjP89evgAUlKNy5GLbr6phAUUNZ6yx6uaGDWE=
231+
github.com/rusq/chttp/v2 v2.0.1 h1:8YMNpBnKIMv2/PhXaMrSR/9KFcj3tkEfAUEljCzPSJo=
232+
github.com/rusq/chttp/v2 v2.0.1/go.mod h1:LQ4GhcfnbK2XqwXa2/RxUtuqnapQk1C2LNUkh8ysz8U=
231233
github.com/rusq/encio v0.2.0 h1:+EbYnoLrX/mfwjBp0HqozdfOB2EplNDgbA2vIQvnCuY=
232234
github.com/rusq/encio v0.2.0/go.mod h1:AP3lDpo/BkcHcOMNduBlZdd0sbwhruq6+NZtYm5Mxb0=
233235
github.com/rusq/fsadapter v1.1.0 h1:/tuzrPNGr4Tx2f8fPK+WudSRBLDvjjDaqVvto1yrVdk=

0 commit comments

Comments
 (0)