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": "노드 트래픽",
"nodes": "노드",
"offlineNodeCount": "오프라인 노드 수",
"onlineIPCount": "온라인 IP 수",
"onlineNodeCount": "온라인 노드 수",
"onlineUsersCount": "온라인 사용자",
"pendingTickets": "처리 대기 중인 티켓",
"register": "등록",
"repurchase": "재구매",
+10
View File
@@ -33,6 +33,16 @@
"saveSuccess": "저장 성공",
"title": "초대 설정"
},
"logCleanup": {
"autoClear": "자동 정리 활성화",
"autoClearDescription": "활성화되면 시스템이 만료된 로그 기록을 자동으로 삭제합니다",
"clearDays": "보존 일수",
"clearDaysDescription": "로그를 보존할 일수; 이보다 오래된 로그는 삭제됩니다",
"clearDaysPlaceholder": "보존 일수를 입력하세요",
"description": "자동 로그 정리 규칙 및 보존 기간 구성",
"title": "로그 정리 설정"
},
"logSettings": "로그 설정",
"privacyPolicy": {
"description": "개인정보 처리방침 내용 편집 및 관리",
"title": "개인정보 처리방침"
+3
View File
@@ -50,6 +50,7 @@
"more": "더보기",
"notifySettingsTitle": "알림 설정",
"onlineDevices": "온라인 기기",
"onlyFirstPurchase": "첫 구매 전용",
"orderList": "주문 목록",
"password": "비밀번호",
"passwordPlaceholder": "새 비밀번호 입력 (선택 사항)",
@@ -59,6 +60,8 @@
"refererId": "추천인 ID",
"refererIdPlaceholder": "추천인 ID를 입력하세요",
"referralCode": "추천 코드",
"referralPercentage": "추천 비율",
"referralPercentagePlaceholder": "추천 비율 입력 (0-100)",
"referrerUserId": "추천인 (사용자 ID)",
"remove": "제거",
"resetLogs": "초기화 기록",