mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-19 08:30:30 -04:00
- Add test_hooks_lifecycle.py with tests for: - Implemented RPC returning correct hook list - OnActivate success/failure propagation - OnDeactivate best-effort semantics - OnConfigurationChange error handling - Add test_hooks_messages.py with tests for: - MessageWillBePosted allow/reject/modify/dismiss semantics - MessageWillBeUpdated with old/new post handling - Notification hooks (Posted/Updated/Deleted) - MessagesWillBeConsumed list filtering/modification - Fix @hook decorator to preserve async handlers - Use separate async wrapper for coroutine functions - Enables proper async detection in hook runner Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src/mattermost_plugin | ||
| tests | ||
| pyproject.toml | ||