mattermost-plugin-shelfmark/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. a4ee9379eb
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
ci / plugin-ci (push) Has been cancelled
Validate channel existence and Shelfmark reachability on config change
Add early validation in OnConfigurationChange to verify the configured
channel exists in Mattermost and the Shelfmark server is reachable,
giving admins immediate feedback instead of discovering issues at runtime.

- Add Ping() method to shelfmark.Client for lightweight reachability check
- Add validateConfiguration() on Plugin that checks channel + Shelfmark
- Add i18n messages for channel not found and Shelfmark unreachable
- Add unit tests for Ping and validateConfiguration

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 17:55:08 +01:00
..
shelfmark Validate channel existence and Shelfmark reachability on config change 2026-03-18 17:55:08 +01:00
.gitignore Initial plugin scaffold from the mattermost-plugin-starter-template 2026-03-16 10:41:22 +01:00
api.go Add Team ID restriction to limit plugin to a specific team 2026-03-18 13:13:40 +01:00
configuration.go Validate channel existence and Shelfmark reachability on config change 2026-03-18 17:55:08 +01:00
configuration_test.go Fix concurrency bugs, error handling, and add comprehensive unit tests 2026-03-17 17:17:38 +01:00
i18n.go Validate channel existence and Shelfmark reachability on config change 2026-03-18 17:55:08 +01:00
i18n_test.go Add i18n support for user-facing messages and rewrite README 2026-03-17 17:55:33 +01:00
job.go Add book request functionality to RHS panel 2026-03-18 12:52:11 +01:00
job_test.go Fix concurrency bugs, error handling, and add comprehensive unit tests 2026-03-17 17:17:38 +01:00
kvstore.go Add book request functionality to RHS panel 2026-03-18 12:52:11 +01:00
kvstore_test.go Fix concurrency bugs, error handling, and add comprehensive unit tests 2026-03-17 17:17:38 +01:00
main.go Initial plugin scaffold from the mattermost-plugin-starter-template 2026-03-16 10:41:22 +01:00
plugin.go Add Team ID restriction to limit plugin to a specific team 2026-03-18 13:13:40 +01:00
plugin_test.go Validate channel existence and Shelfmark reachability on config change 2026-03-18 17:55:08 +01:00
requestbook.go Add i18n support for user-facing messages and rewrite README 2026-03-17 17:55:33 +01:00
requestbook_test.go Add i18n support for user-facing messages and rewrite README 2026-03-17 17:55:33 +01:00