No description
- Go 58.1%
- Makefile 19.3%
- TypeScript 18%
- JavaScript 4.2%
- SCSS 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Replace NPM variable with BUN in Makefile - Update all npm commands to use bun instead - Update build/setup.mk to check for bun availability - Remove .nvmrc (nvm is for Node version management) - Remove webapp/.npmrc (bun uses exact versions by default) - Replace package-lock.json with bun.lock - CI workflows already use setup-bun, no changes needed there |
||
| .github/workflows | ||
| assets | ||
| build | ||
| server | ||
| webapp | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| .gitpod.yml | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| plugin.json | ||
| README.md | ||
Cleanup Channel
A Mattermost plugin that lets system administrators remove all messages from a channel.
Features
- Channel menu action: "Remove all messages" appears in the channel header menu for system administrators only.
- Slash command:
/cleanup-channelremoves all messages from the current channel (system administrators only). - Defense in depth: Both the web app and server verify that the user is a system administrator before performing any cleanup.
Build
make dist
The plugin bundle is written to dist/com.fmartingr.mattermost-plugin-cleanup-channel-*.tar.gz.
Usage
- Upload and enable the plugin in System Console → Plugins → Plugin Management.
- As a system administrator, open a channel and use the channel header menu (⋯) → Remove all messages.
- Or run
/cleanup-channelin the channel you want to clean up.
Both actions ask for confirmation before deleting messages.
Development
make deploy
Requires a local Mattermost server configured for plugin development. See the Mattermost plugin developer guide.