feat: Add log cleanup settings and update localization files

- Introduced log cleanup settings in the admin panel, allowing configuration of automatic log clearing and retention periods.
- Updated English, Spanish, French, German, and other localization files to include new log cleanup settings.
- Added new fields for referral percentage and first purchase only in user settings.
- Implemented API endpoints for getting and updating log settings.
- Enhanced the admin dashboard with a new log cleanup form component.
This commit is contained in:
web
2025-09-01 10:25:04 -07:00
parent d4b37e4997
commit 6ccf9b8bdc
88 changed files with 827 additions and 125 deletions
+1 -1
View File
@@ -7,8 +7,8 @@
"nodeTraffic": "Tráfego do Nó",
"nodes": "nós",
"offlineNodeCount": "Contagem de nós offline",
"onlineIPCount": "Contagem de IPs Online",
"onlineNodeCount": "Contagem de nós online",
"onlineUsersCount": "Usuários Online",
"pendingTickets": "Tickets pendentes",
"register": "Registrar",
"repurchase": "recompra",
+10
View File
@@ -33,6 +33,16 @@
"saveSuccess": "Salvo com Sucesso",
"title": "Configurações de Convite"
},
"logCleanup": {
"autoClear": "Ativar Limpeza Automática",
"autoClearDescription": "Quando ativado, o sistema limpará automaticamente os registros de log expirados",
"clearDays": "Dias de Retenção",
"clearDaysDescription": "Número de dias para reter logs; logs mais antigos que isso serão limpos",
"clearDaysPlaceholder": "Insira os dias de retenção",
"description": "Configure regras de limpeza automática de logs e período de retenção",
"title": "Configurações de Limpeza de Logs"
},
"logSettings": "Configurações de Logs",
"privacyPolicy": {
"description": "Edite e gerencie o conteúdo da política de privacidade",
"title": "Política de Privacidade"
+3
View File
@@ -50,6 +50,7 @@
"more": "Mais",
"notifySettingsTitle": "Configurações de Notificação",
"onlineDevices": "Dispositivos Online",
"onlyFirstPurchase": "Apenas a Primeira Compra",
"orderList": "Lista de Pedidos",
"password": "Senha",
"passwordPlaceholder": "Digite a nova senha (opcional)",
@@ -59,6 +60,8 @@
"refererId": "ID do Referente",
"refererIdPlaceholder": "Digite o ID do referenciador",
"referralCode": "Código de Indicação",
"referralPercentage": "Porcentagem de Referência",
"referralPercentagePlaceholder": "Insira a porcentagem de referência (0-100)",
"referrerUserId": "Referente (ID do Usuário)",
"remove": "Remover",
"resetLogs": "Registros de Redefinição",