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
@@ -79,8 +79,8 @@ export default function Statistics() {
<div className='grid grid-cols-2 gap-2 md:grid-cols-4'>
{[
{
title: t('onlineIPCount'),
value: ServerTotal?.online_user_ips || 0,
title: t('onlineUsersCount'),
value: ServerTotal?.online_users || 0,
icon: 'uil:users-alt',
href: '/dashboard/servers',
},