3x-ui/database
Sora39831 83b61d9da4 feat(limit): add inbound device-limit enforcement with safe unban flow
- add inbound deviceLimit model/frontend fields and translations

- add CheckDeviceLimitJob with observation window and xray API ban/unban

- prevent job re-entrancy and restore users when limit is disabled

- reduce lock scope via snapshots to avoid blocking log parsing
2026-04-06 10:46:48 +08:00
..
model feat(limit): add inbound device-limit enforcement with safe unban flow 2026-04-06 10:46:48 +08:00
db.go fix: set AllowNativePasswords in MariaDB DSN to fix auth failure 2026-04-03 11:20:54 +08:00
db_test.go feat: refactor InitDB to be driver-agnostic with SQLite/MariaDB dispatch 2026-04-03 09:26:42 +08:00
migrate.go fix: address all code review issues for MariaDB support 2026-04-03 09:53:20 +08:00
migrate_test.go fix: address all code review issues for MariaDB support 2026-04-03 09:53:20 +08:00