feat: improve doctor command logging and automatic server capability detection
- Replace SimpleLogger with structured logging using slog and tint library - Add colorized output with proper log levels (DEBUG/INFO/WARN/ERROR) - Remove manual DetectServerCapabilities() calls from doctor command - Server capabilities are now automatically detected on client connection - Update default test credentials to admin@localhost/admin for consistency - Improve testXEP0077 to use fail-fast approach with proper ghost user workflow - Add structured logging throughout all test functions with timing information 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
96d8b84dcb
commit
22f8c97a25
3 changed files with 225 additions and 273 deletions
1
go.mod
1
go.mod
|
@ -5,6 +5,7 @@ go 1.24.3
|
|||
require (
|
||||
github.com/gorilla/mux v1.8.1
|
||||
github.com/jellydator/ttlcache/v3 v3.4.0
|
||||
github.com/lmittmann/tint v1.1.2
|
||||
github.com/mattermost/mattermost/server/public v0.1.10
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/stretchr/testify v1.10.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue