chore: remove dead code, unused CSS, unused components, and clean up git tracking

- Remove storage/logs/ and prod.log from git tracking; add to .gitignore
- Remove unused AvatarCarousel and ArticleSlider components
- Remove unused SkeletonTable export from ui.tsx
- Remove unused ChevronDown import from admin layout
- Remove 13 unused CSS classes (icon-base, nav-*, navigation-icon*, .app.dark,
  text-body, transition-base, card-base, admin-info-grid, .coin.*)
- Remove duplicate translation keys (openMenu/closeMenu in en.json)
- Fix admin-bans to use Prisma-generated bans_type enum
- Create shared AdminPageHeader component and formatDate utility
- Add logger and generateRequestId for structured logging
- All 58 tests pass, typecheck clean, build succeeds
This commit is contained in:
openhands
2026-07-08 13:27:01 +02:00
parent c5db7f5156
commit fc57fb06d1
18 changed files with 40 additions and 2551 deletions
@@ -1,13 +0,0 @@
<!-- To: [email protected] | From: | Subject: Verify your email · Epicnabbo -->
<div style="font-family:sans-serif;line-height:1.5;color:#0f172a">
<h2 style="margin:0 0 0.5rem">Verify your email</h2>
<p>Welcome to Epicnabbo! Confirm this email address to finish setting up your account.</p>
<p style="margin:1.25rem 0">
<a href="https://epicnabbo.nl/verify?token=5e21ef6e09952e9bb7257d54c1fe896713c0f05e6d92a1f8669869d875ab2693&email=juanedavid%40hotmail.com"
style="display:inline-block;padding:0.6rem 1.2rem;border-radius:8px;background:#eeb425;color:#1a1a2e;font-weight:700;text-decoration:none">
Verify email
</a>
</p>
<p style="color:#64748b;font-size:0.875rem">If the button doesn't work, paste this link into your browser:</p>
<p style="color:#64748b;font-size:0.875rem;word-break:break-all">https://epicnabbo.nl/verify?token=5e21ef6e09952e9bb7257d54c1fe896713c0f05e6d92a1f8669869d875ab2693&email=juanedavid%40hotmail.com</p>
</div>
-74
View File
@@ -1,74 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:21 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: Dev Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
[2026-07-02 19:21:32] [INFO] Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260702-192111.log
[2026-07-02 19:21:32] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260702-192111.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-02 19:21:32] [OK] All commands available
✔ All directories exist
[2026-07-02 19:21:32] [OK] All directories exist
✔ 123GB disk available
[2026-07-02 19:21:32] [OK] 123GB disk available
 ERROR  DB connection failed
[2026-07-02 19:21:32] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-02 19:21:32] [WARN] Update had errors
Press Enter to continue...[?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:26 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: Dev Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
[2026-07-02 19:27:06] [INFO] Site: https://epicnabbo.nl:3000 | Branch: Dev | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260702-192641.log
[2026-07-02 19:27:06] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260702-192641.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-02 19:27:06] [OK] All commands available
✔ All directories exist
[2026-07-02 19:27:06] [OK] All directories exist
✔ 123GB disk available
[2026-07-02 19:27:06] [OK] 123GB disk available
 ERROR  DB connection failed
[2026-07-02 19:27:06] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-02 19:27:06] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 19:27 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:38 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: main Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl | Branch: main | Mode: full
[2026-07-07 14:39:18] [INFO] Site: https://epicnabbo.nl | Branch: main | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260707-143847.log
[2026-07-07 14:39:18] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260707-143847.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-07 14:39:18] [OK] All commands available
✔ All directories exist
[2026-07-07 14:39:18] [OK] All directories exist
✔ 126GB disk available
[2026-07-07 14:39:18] [OK] 126GB disk available
 ERROR  DB connection failed
[2026-07-07 14:39:18] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-07 14:39:18] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:39 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
-118
View File
@@ -1,118 +0,0 @@

╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:44 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]:
Update: Full
1) Dev
2) main (current)
3) Custom
Branch [1-3]:
Branch: main Mode: Full
➜ Start update? [Y/n]
➜ Site: https://epicnabbo.nl | Branch: main | Mode: full
[2026-07-07 14:44:38] [INFO] Site: https://epicnabbo.nl | Branch: main | Mode: full
➜ Log: /var/www/atom-nexst/storage/logs/update-20260707-144421.log
[2026-07-07 14:44:38] [INFO] Log: /var/www/atom-nexst/storage/logs/update-20260707-144421.log
 Step 1/8 — System Diagnostics 
✔ All commands available
[2026-07-07 14:44:38] [OK] All commands available
✔ All directories exist
[2026-07-07 14:44:38] [OK] All directories exist
✔ 126GB disk available
[2026-07-07 14:44:38] [OK] 126GB disk available
 ERROR  DB connection failed
[2026-07-07 14:44:38] [FATAL] DB connection failed
[?12l[?25h ⚠ Update had errors
[2026-07-07 14:44:38] [WARN] Update had errors
Press Enter to continue...
╔═══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ███████╗███╗ ███╗ █████╗ ██████╗ ████████╗ ║
║ ██╔════╝████╗ ████║██╔══██╗██╔══██╗╚══██╔══╝ ║
║ █████╗ ██╔████╔██║███████║██████╔╝ ██║ ║
║ ██╔══╝ ██║╚██╔╝██║██╔══██║██╔══██╗ ██║ ║
║ ███████╗██║ ╚═╝ ██║██║ ██║██║ ██║ ██║ ║
║ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ║
║ ║
╠═══════════════════════════════════════════════════════════════════════════╣
║  Emulator / Nitro-V3 / Nitro-V3-Render ║
║  Updater by Remco — epicnabbo.nl ║
╠═══════════════════════════════════════════════════════════════════════════╣
║ Branch: main (2 detected) │ 14:44 ║
╚═══════════════════════════════════════════════════════════════════════════╝

 UPDATE 
1) 🚀 Quick Update — branch: main
2) ⚡ Full Update (choose branch)
3) ⚙ Emulator Only
4) ⚙ Nitro-V3 Client Only
5) ⚙ Renderer Only
6) ⚙ Configs Only
 TOOLS 
7) 🔀 Switch Branch
8) 🗄 Database
9) 🛡 Backup / Restore
10) 🔧 Services
11) 📊 Status
12) ♥ Health Check
13) 🧹 Clean
14) 👁 Logs
15) ⚙ Config
 ADVANCED 
16) 🖥 Git Log
17) 🌐 Compare Branches
18) ⏱ Cron Scheduler
0) Exit
Select [0-18]: [?12l[?25h[?12l[?25h
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long