feat: добавлена возможность ручного ввода времени и трафика

- Добавлены custom input поля для expiration (секунды) и traffic (МБ)
- Добавлена функциональность редактирования клиента
- Исправлена migration 007 (AFTER expires_at)
- Удалены дублирующиеся миграции (0025, 0044, 0053, 0057)
- Удалён старый init.sql (заменён на 001_init.sql)
- Добавлены переводы для custom полей на 6 языках
This commit is contained in:
infosave2007
2025-11-08 10:45:05 +03:00
parent b6cf9cbab7
commit bbb0fbeeb9
15 changed files with 305 additions and 816 deletions
+4
View File
@@ -208,6 +208,10 @@ INSERT INTO translations (language_code, translation_key, translation_value) VAL
('en', 'clients.traffic_limit', 'Traffic Limit'),
('en', 'clients.unlimited', 'Unlimited'),
('en', 'clients.overlimit', 'Over Limit'),
('en', 'clients.custom_seconds', 'Custom (seconds)'),
('en', 'clients.custom_mb', 'Custom (MB)'),
('en', 'clients.enter_seconds', 'Enter seconds'),
('en', 'clients.enter_megabytes', 'Enter megabytes'),
('en', 'backups.title', 'Server Backups'),
('en', 'backups.create', 'Create Backup'),
('en', 'backups.restore', 'Restore'),