Fringg
1ce91749aa
fix: resolve sync 404 errors, user deletion FK constraint, and device limit not sent to RemnaWave
...
1. Remove pointless HWID reset during auto-sync deactivation — user
doesn't exist in panel, API returns 404, UUID is cleaned up below.
2. Clean up RESTRICT FK references (AdminAuditLog, WithdrawalRequest,
AdminRole, UserRole, AccessPolicy) before deleting user to prevent
IntegrityError on admin_audit_log_user_id_fkey.
3. Fix device limit not being sent to RemnaWave when
DEVICES_SELECTION_DISABLED_AMOUNT=0: treat 0 as "no forced override"
instead of sending hwidDeviceLimit:0 (which Remnawave interprets as
unlimited). Now falls through to subscription.device_limit from tariff.
4. Add info-level logging to POST /api/users (was debug) to match
existing PATCH logging for device limit diagnostics.
2026-02-25 11:53:49 +03:00
..
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-24 02:50:31 +03:00
2026-01-24 17:45:27 +03:00
2026-02-25 06:34:22 +03:00
2026-02-24 05:58:25 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-23 21:29:54 +03:00
2026-02-16 09:18:12 +03:00
2026-02-23 18:02:25 +03:00
2026-02-25 00:24:31 +03:00
2026-02-16 09:18:12 +03:00
2026-02-24 02:50:31 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-01-24 17:45:27 +03:00
2026-02-17 07:52:26 +03:00
2026-01-24 17:45:27 +03:00
2026-02-24 03:30:00 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 12:42:40 +03:00
2026-02-17 12:42:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-25 06:34:22 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-16 09:18:12 +03:00
2026-02-25 03:17:06 +03:00
2026-02-24 02:50:31 +03:00
2026-02-18 09:12:01 +03:00
2026-02-23 18:12:58 +03:00
2026-02-18 08:13:04 +03:00
2026-02-25 11:53:49 +03:00
2026-02-17 04:45:40 +03:00
2026-02-24 23:50:21 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 18:37:25 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-23 19:07:59 +03:00
2026-02-16 18:22:44 +03:00
2026-02-24 05:58:25 +03:00
2026-02-17 07:52:26 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-16 09:18:12 +03:00
2026-02-25 11:53:49 +03:00
2026-02-17 04:45:40 +03:00
2026-02-17 04:45:40 +03:00
2026-02-18 08:11:33 +03:00
2026-02-16 09:18:12 +03:00
2026-02-17 04:45:40 +03:00
2026-02-24 02:50:31 +03:00