Commit Graph

143 Commits

Author SHA1 Message Date
MythEclipse
0060d1ba95 chore: modernize dependency set
- Remove deprecated packages: class-transformer, class-validator, fluent-ffmpeg, @types/fluent-ffmpeg
- Update remaining packages to latest versions via pnpm update --latest
- @discordjs/voice: ^0.19.1 → ^0.19.2
- @snazzah/davey: ^0.1.10 → ^0.1.11
- libsodium-wrappers: ^0.8.2 → ^0.8.4
- p-retry: ^6.2.0 → ^8.0.0
- pino: ^9.4.0 → ^10.3.1
- sodium-native: ^4.3.2 → ^5.1.0
- @types/node: ^24.10.1 → ^25.8.0
- pino-pretty: ^10.3.1 → ^13.1.3
- tsx: ^4.20.6 → ^4.22.0
- vitest: latest (preserved)
- @biomejs/biome: latest (preserved)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 04:18:33 +07:00
MythEclipse
895b47890c refactor: invoke ffmpeg without deprecated wrapper 2026-05-14 23:42:11 +07:00
MythEclipse
e5aa398e5c refactor: use esm-safe database migrations
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 23:23:07 +07:00
MythEclipse
954faf6c5a refactor: validate user state with zod 2026-05-14 23:11:25 +07:00
MythEclipse
5010a4d1f1 docs: record dependency modernization audit 2026-05-14 23:01:18 +07:00
MythEclipse
203aa9a589 style: organize imports after dashboard rebuild 2026-05-14 21:19:43 +07:00
MythEclipse
196ca1b784 feat: serve React dashboard from public/app when available
Check for public/app/index.html before falling back to the old
public/index.html so the React moderation dashboard is served at
the root in production while preserving the legacy frontend during
the transition period.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 21:16:03 +07:00
MythEclipse
a812182218 fix: harden dashboard message state 2026-05-14 21:10:24 +07:00
MythEclipse
cb2cfc76f2 fix: import dashboard event type from websocket client 2026-05-14 21:03:38 +07:00
MythEclipse
ae02556f75 feat: add moderation review dashboard
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 21:01:57 +07:00
MythEclipse
fbf0f11db1 fix: align dashboard message api shape 2026-05-14 20:55:05 +07:00
MythEclipse
0a7965e1d4 fix: remove unused dashboard type import 2026-05-14 20:47:51 +07:00
MythEclipse
2d56012bf5 feat: add dashboard api clients 2026-05-14 20:46:21 +07:00
MythEclipse
c3f2d01e9b a 2026-05-14 20:27:35 +07:00
MythEclipse
298048aaaf fix: isolate frontend typescript config 2026-05-14 20:26:38 +07:00
MythEclipse
71a28085d2 feat: scaffold react dashboard 2026-05-14 20:24:41 +07:00
MythEclipse
da5e191b0f fix: make moderation index migration portable 2026-05-14 20:19:47 +07:00
MythEclipse
558d65342b feat: add moderation query indexes 2026-05-14 20:14:42 +07:00
MythEclipse
44368e646f fix: reanalyze edited messages 2026-05-14 20:10:16 +07:00
MythEclipse
dbfc6866f9 refactor: keep message capture on fast path 2026-05-14 20:03:02 +07:00
MythEclipse
d8aeefb739 fix: preserve ui state broadcasts in routes 2026-05-14 19:58:37 +07:00
MythEclipse
08cd515d8a fix: preserve ui state broadcasts in routes 2026-05-14 19:55:26 +07:00
MythEclipse
c81a499535 refactor: split api routes by concern 2026-05-14 19:46:47 +07:00
MythEclipse
3fb1fcb72c fix: remove unused analysis import 2026-05-14 19:41:18 +07:00
MythEclipse
243a18ecad fix: harden analysis queue scheduling 2026-05-14 19:39:25 +07:00
MythEclipse
f14e893cb7 feat: debounce ai analysis by conversation 2026-05-14 19:32:44 +07:00
MythEclipse
54cd4e0386 fix: type llm moderation test fixtures 2026-05-14 19:28:56 +07:00
MythEclipse
65ab5ecb32 fix: harden llm moderation parsing 2026-05-14 19:26:54 +07:00
MythEclipse
81253e4ffe feat: add strict llm moderation client 2026-05-14 19:21:15 +07:00
MythEclipse
ce35b335d0 test: cover conversation context edge cases 2026-05-14 19:16:46 +07:00
MythEclipse
2b4e2a7ab7 feat: add conversation context builder 2026-05-14 19:10:13 +07:00
MythEclipse
2d511e08db style: format message query changes 2026-05-14 19:06:17 +07:00
MythEclipse
13078e7c3c fix: resolve message query test diagnostics 2026-05-14 19:02:19 +07:00
MythEclipse
298fc968cf test: cover message query pagination 2026-05-14 19:01:01 +07:00
MythEclipse
7a8883f623 test: cover message query pagination 2026-05-14 19:00:03 +07:00
MythEclipse
0c54ac4ba8 test: cover message query pagination 2026-05-14 18:54:13 +07:00
MythEclipse
9f5f8a3090 feat: add cursor-based message queries 2026-05-14 18:48:02 +07:00
MythEclipse
8ab7aaa32d fix: harden moderation broadcaster 2026-05-14 18:44:47 +07:00
MythEclipse
01dc9b1836 feat: add typed moderation broadcaster
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 18:40:34 +07:00
MythEclipse
49d4bbf781 chore: remove obsolete migration documentation files 2026-05-14 16:40:43 +07:00
MythEclipse
4fbbc056bb docs: add postgresql setup completion documentation 2026-05-14 16:26:12 +07:00
MythEclipse
47ae7f8650 chore: remove temporary test files 2026-05-14 16:25:45 +07:00
MythEclipse
35269b5bef feat: configure postgresql as primary database with neon connection
- Updated .env to use PostgreSQL (neondb) instead of SQLite
- Updated drizzle.ts to support DATABASE_URL connection string
- Regenerated migrations for PostgreSQL syntax
- Bot successfully connects and operates with PostgreSQL
- All database operations working correctly
2026-05-14 16:25:39 +07:00
MythEclipse
c63a61460c docs: add comprehensive drizzle orm migration final summary 2026-05-14 16:21:35 +07:00
MythEclipse
9889d20edd feat: add programmatic migration runner for better PostgreSQL support 2026-05-14 16:21:02 +07:00
MythEclipse
b580430eb6 docs: add drizzle orm migration completion summary 2026-05-14 16:17:25 +07:00
MythEclipse
b9d0a06d01 fix: update drizzle config to read env vars directly for CLI compatibility 2026-05-14 16:14:48 +07:00
MythEclipse
b600dad011 fix: correct import ordering and update tests for drizzle-orm migration 2026-05-14 15:47:03 +07:00
MythEclipse
50d4517079 refactor: remove old database adapter files 2026-05-14 15:43:52 +07:00
MythEclipse
9ff0f0bede feat: update application initialization for drizzle 2026-05-14 15:43:16 +07:00