MohFarawati
d48497b992
refactor: drop toast + over-engineered extras, add inline admin feedback
...
CI / quality (push) Waiting to run
Phase 1 cleanup of the personal-site revamp. Backend/architecture untouched;
changes are limited to removing unused complexity and restoring feedback.
Removals
- Toast system: delete react-hot-toast, Toaster, QueryToastBridge, lib/toast,
the toggle/easter-egg calls, related i18n keys and the dependency.
- Contact protection: remove Turnstile + per-IP rate limiting
(lib/contact-guard, lib/contact-protection, admin screen, form widget,
app-config wiring, nav entry, test).
- Speculative specs: delete orders, products, downloads, project-inquiry.
Inline feedback (replaces toast, no new deps)
- Add lib/admin-feedback (withFlash/readFlash) and components/admin/admin-flash,
rendered centrally by AdminDashboardShell.
- Emit success/error messages for media, site-settings, portfolio, smtp,
marquee and maintenance actions; pages read them via searchParams.
- Contact form shows validation/delivery errors inline; success still
redirects to /success.
Docs
- Fix stale paths in frontend-system-* (components/root -> components/admin,
lib/root-navigation -> lib/admin-navigation, drop phantom src/) and remove
contact-protection references from docs and CLAUDE.md.
- Add docs/PHASE0_DIAGNOSIS.md (diagnosis report).
Note: proxy.ts self-fetch kept intentionally; it also drives maintenance mode.
2026-07-14 21:03:51 +02:00
MOH
4e8056cd04
Improve coming soon page
2026-05-12 09:16:00 +02:00
MOH
8add8b018a
Fix local admin routing and landing styles
2026-05-12 08:17:55 +02:00
MOH and Claude Sonnet 4.6
f490133345
Harden security, fix rate-limiting, and rename proxy
...
CI / quality (push) Has been cancelled
- Move admin login lockout from client cookie to AppConfig (DB), keyed
by hashed client IP — clearing browser cookies no longer bypasses it
- Replace rate-limit $transaction (TOCTOU) with atomic SQL
INSERT...ON CONFLICT...RETURNING; add stale-entry cleanup on each
submission to prevent table bloat
- Add 5 s module-level cache for middleware runtime state fetch, reducing
per-request DB roundtrips
- Rename middleware.ts → proxy.ts to resolve Next.js 16 deprecation
warning; update test import accordingly
- Require ADMIN_PASSWORD, ADMIN_AUTH_SECRET, ADMIN_BASIC_AUTH_USER, and
ADMIN_BASIC_AUTH_PASS in docker-compose.yml (:? syntax) — startup
fails loudly instead of using placeholder defaults
- Add set -e and informative echo lines to Dockerfile CMD for clearer
startup failure attribution
- Export requireAdminAuth() from lib/admin-auth for centralised use in
admin pages
- Add CLAUDE.md with architecture notes and working rules
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 22:05:50 +01:00
MOH
b0de1fd66f
Refine site footer layout and copy
2026-03-15 18:56:15 +01:00
MOH
cf957cbbe2
Refine homepage and restore hero
2026-03-15 18:26:31 +01:00
MOH
3e9edc5873
chore: save current workspace changes
2026-03-14 15:57:33 +01:00
MOH
db897e22bf
Refactor admin area and remove legacy root paths
CI / quality (push) Waiting to run
2026-03-13 16:14:04 +01:00
MOH
0d888af177
Remove experimental products section
CI / quality (push) Waiting to run
2026-03-11 23:26:46 +01:00
MOH
3c53430b12
Refine navigation states and fix toast centering
CI / quality (push) Waiting to run
2026-03-10 20:44:38 +01:00
MOH
77cc9dca87
Add Sonner-based notifications and UX polish
2026-03-10 17:43:26 +01:00
MOH
fd1d142b85
Restructure about page bento layout
2026-03-10 06:32:22 +01:00
MOH
6f20f28a96
Refine global card system
2026-03-10 06:09:03 +01:00
MOH
701c1b2a6c
Restore hero word accents and German umlauts
CI / quality (push) Waiting to run
2026-03-09 08:58:04 +01:00
MOH
25786ccf1d
Tighten subpage hero titles
CI / quality (push) Waiting to run
2026-03-09 08:52:54 +01:00
MOH
c517c68b23
Refine site hero copy and reusable badge
2026-03-09 08:51:17 +01:00
MOH
9d76eabb39
Add responsive branded header and sound controls
CI / quality (push) Waiting to run
2026-03-09 06:54:47 +01:00
MOH
5ca4819bcb
Add SMTP admin settings and contact form delivery
2026-03-08 06:27:09 +01:00
MOH
ac14214e9c
Refresh coming soon page with new brand direction
2026-03-08 05:21:55 +01:00
MOH
ed14160adb
Refine homepage services section and hero spacing
2026-03-08 05:19:13 +01:00
MOH
2bda611a3b
Refactor site hero and localized branding UI
2026-03-08 05:13:10 +01:00
MOH
0c2b67e378
Refactor site header, heroes, and design system
2026-03-08 00:29:51 +01:00
MOH
985fbe1745
Refine coming soon experience and global ambient UI
CI / quality (push) Waiting to run
2026-03-07 20:08:59 +01:00
MOH
ea64373853
Implement portfolio admin management
2026-03-07 16:06:20 +01:00
MOH
7f4277d1d7
Finalize multilingual routing and translations
CI / quality (push) Waiting to run
2026-03-07 14:10:30 +01:00
MOH
f86b7f39f7
feat: initialize mohfarawati app foundation
CI / quality (push) Waiting to run
2026-03-06 13:53:57 +01:00