syntaxbullet
aca5538d57
chore: improve DX scripts, fix test suite, and harden tooling
...
Deploy to Production / test (push) Successful in 32s
Scripts:
- remote.sh: remove unused open_browser() function
- deploy-remote.sh: add DB backup before deploy, --skip-backup flag, step numbering
- db-backup.sh: fix macOS compat (xargs -r is GNU-only), use portable approach
- db-restore.sh: add safety backup before restore, SQL file validation, file size display
- logs.sh: default to no-follow with --tail=100, order-independent arg parsing
- docker-cleanup.sh: add Docker health check, colored output
- test-sequential.sh: exclude *.integration.test.ts by default, add --integration flag
- simulate-ci.sh: pass --integration flag (has real DB)
Tests:
- db.test.ts: fix mock path from ./DrizzleClient to @shared/db/DrizzleClient
- server.settings.test.ts: rewrite mocks for gameSettingsService (old config/saveConfig removed)
- server.test.ts: add missing config.lootdrop and BotClient mocks, complete DrizzleClient chain
- indexes.test.ts: rename to indexes.integration.test.ts (requires live DB)
Config:
- package.json: test script uses sequential runner, add test:ci and db:restore aliases
- deploy.yml: use --integration flag in CI (has Postgres service)
2026-02-13 14:39:02 +01:00
syntaxbullet
141c3098f8
feat: standardize command error handling (Sprint 4)
...
- Create withCommandErrorHandling utility in bot/lib/commandUtils.ts
- Migrate economy commands: daily, exam, pay, trivia
- Migrate inventory command: use
- Migrate admin/moderation commands: warn, case, cases, clearwarning,
warnings, note, notes, create_color, listing, webhook, refresh,
terminal, featureflags, settings, prune
- Add 9 unit tests for the utility
- Update AGENTS.md with new recommended error handling pattern
2026-02-13 14:23:37 +01:00
syntaxbullet
228005322e
feat(commands): add beta feature flag support to command system
...
- Add beta and featureFlag properties to Command interface
- Add beta access check in CommandHandler before command execution
- Show beta feature message to non-whitelisted users
2026-02-12 14:45:58 +01:00
syntaxbullet
9a2fc101da
chore: Enhance database debugging setup and expand test mocks for Drizzle queries and Discord API interactions.
Deploy to Production / test (push) Failing after 29s
Deploy to Production / build (push) Has been skipped
Deploy to Production / deploy (push) Has been skipped
2026-01-30 16:12:15 +01:00
syntaxbullet
2a72beb0ef
feat: Implement new settings pages and refactor application layout and navigation with new components and hooks.
2026-01-16 12:49:17 +01:00
syntaxbullet
2f73f38877
feat: Add web admin page for quest management and refactor Discord bot's quest UI to use new components.
2026-01-15 17:21:49 +01:00
syntaxbullet
1e20a5a7a0
refactor: migrate bot handlers to centralized logger
2026-01-14 17:58:28 +01:00
syntaxbullet
915f1bc4ad
fix(economy): improve daily cooldown message and consolidate UserError class
2026-01-14 16:26:27 +01:00
syntaxbullet
4af2690bab
feat: implement branded discord embeds and versioning
2026-01-14 16:10:23 +01:00
syntaxbullet
35bd1f58dd
feat: trivia command!
2026-01-11 14:37:17 +01:00
syntaxbullet
4a691ac71d
feat: (ui) first dynamic data
2026-01-09 15:22:13 +01:00
syntaxbullet
bea6c33024
feat(settings): group commands by category in system tab
2026-01-08 22:55:40 +01:00
syntaxbullet
9caa95a0d8
feat(settings): support toggling disabled commands and auto-reload bot on save
2026-01-08 22:44:48 +01:00
syntaxbullet
19206b5cc7
fix: address security review findings, implement real cache clearing, and fix lifecycle promises
2026-01-08 21:29:09 +01:00
syntaxbullet
0f6cce9b6e
feat: implement administrative control panel with real-time bot actions
2026-01-08 21:19:16 +01:00
syntaxbullet
fff90804c0
feat(dash): Revamp dashboard UI with glassmorphism and real bot data
2026-01-08 20:58:57 +01:00
syntaxbullet
17cb70ec00
feat: integrate real data into dashboard
...
- Created dashboard service with DB queries for users, economy, events
- Added client stats provider with 30s caching for Discord metrics
- Implemented /api/stats endpoint aggregating all dashboard data
- Created useDashboardStats React hook with auto-refresh
- Updated Dashboard.tsx to display real data with loading/error states
- Added comprehensive test coverage (11 tests passing)
- Replaced all mock values with live Discord and database metrics
2026-01-08 18:50:44 +01:00
syntaxbullet
017f5ad818
refactor: fix stale imports
2026-01-08 16:39:34 +01:00
syntaxbullet
2b641c952d
refactor: move config loading to shared directory
2026-01-08 16:15:55 +01:00
syntaxbullet
88b266f81b
refactor: initial moves
2026-01-08 16:09:26 +01:00