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
1a7b3397f6
last update
CI / quality (push) Waiting to run
2026-07-14 20:10:38 +02:00
MOH
cc6db94977
Merge branch 'main' of https://git.mohfarawati.de/mohs/sass-mohfarawati
CI / quality (push) Has been cancelled
2026-05-23 09:47:30 +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
mohs
7041cefca4
Enable init for app container
CI / quality (push) Has been cancelled
2026-04-24 17:19:38 +00:00
MOH and Claude Sonnet 4.6
868eb80374
Simplify hero backgrounds and add entrance animations
...
- Replace animated blob/wave/noise backdrop with clean static gradient
(radial ellipse highlights + linear fade) in hero-motion-backdrop
- Remove all framer-motion from background layer; delete unused CSS
classes: hero-blob, hero-sheet-glow, hero-sheet-wave, hero-sheet-noise,
hero-title-shift keyframe, and responsive blob media queries
- Add framer-motion stagger entrance to HeroContentMotion, HeroMotionItem,
and HeroTitle (slide-up + fade on mount)
- Refactor coming-soon page to use HeroContentMotion/HeroMotionItem
instead of MotionFade (whileInView unreliable above the fold)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-17 22:48:51 +01: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
6caf723695
refine admin cards and form headers
CI / quality (push) Has been cancelled
2026-03-15 08:59:19 +01:00
MOH
623b492787
Remove locale debugging logs
CI / quality (push) Waiting to run
2026-03-15 08:36:43 +01:00
MOH
635d54cb0e
Use internal origin for runtime locale state
CI / quality (push) Waiting to run
2026-03-15 08:33:27 +01:00
MOH
4da093bb24
Add runtime locale diagnostics
CI / quality (push) Waiting to run
2026-03-15 08:30:10 +01:00
MOH
1cd907b2fb
Add logging for site localization saves
CI / quality (push) Waiting to run
2026-03-15 08:26:46 +01:00
MOH
288e4b37d7
Fix request locale resolution in site pages
CI / quality (push) Waiting to run
2026-03-15 08:20:39 +01:00
MOH
c18128c965
Fix runtime default locale resolution
CI / quality (push) Waiting to run
2026-03-15 06:02:27 +01:00
MOH
9b8409a7d3
Fix toaster locale crash
CI / quality (push) Waiting to run
2026-03-15 05:29:44 +01:00
MOH
060d48f9c4
Fix dynamic locale fallback resolution
CI / quality (push) Waiting to run
2026-03-15 05:27:19 +01:00
MOH
27df4ad2fe
Unify dynamic locale routing
CI / quality (push) Waiting to run
2026-03-15 05:12:33 +01:00
MOH
dfed5ec831
Fix coming soon locale caching
CI / quality (push) Waiting to run
2026-03-15 04:46:44 +01:00
MOH
3eb9238268
moh/admin-portfolio-ux-improvements
CI / quality (push) Waiting to run
2026-03-15 04:42:09 +01:00
MOH
364f761420
Fix dynamic default locale routing
2026-03-15 04:41:08 +01:00
MOH
50c3f5cce9
Fix maintenance redirects and admin host detection
2026-03-15 04:33:07 +01:00
MOH
5d3f77962a
Add admin site settings sections and locale defaults
2026-03-15 04:06:33 +01:00
MOH
3e9edc5873
chore: save current workspace changes
2026-03-14 15:57:33 +01:00
MOH
143b441d0c
docs: add project documentation and initial specs
2026-03-14 13:29:32 +01:00
MOH
35734bd2d9
Remove admin entrypoints from public site
CI / quality (push) Has been cancelled
2026-03-13 17:53:01 +01:00
MOH
fef44ded80
Add dedicated local admin domain routing
2026-03-13 17:48:45 +01:00
MOH
bfd7adccac
Expose site URL to app container
CI / quality (push) Waiting to run
2026-03-13 16:26:14 +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
e32ac4cacb
Upgrade app to Next.js 16
CI / quality (push) Waiting to run
2026-03-13 15:50:37 +01:00
MOH
f14116b56c
Fix internal admin route for subdomain
CI / quality (push) Has been cancelled
2026-03-12 00:24:08 +01:00
MOH
87a597c872
Move admin area to root subdomain
CI / quality (push) Waiting to run
2026-03-12 00:15:12 +01:00
MOH
e7dab6f0ef
Adjust maintenance status card
CI / quality (push) Waiting to run
2026-03-11 23:57:16 +01:00
MOH
0d888af177
Remove experimental products section
CI / quality (push) Waiting to run
2026-03-11 23:26:46 +01:00
MOH
64976d6e12
Add sitemap and portfolio category SEO routes
CI / quality (push) Waiting to run
2026-03-11 23:13:36 +01:00
MOH
cff416dd83
refactor toast system to use react-hot-toast
CI / quality (push) Waiting to run
2026-03-11 21:09:45 +01:00
MOH
03384c1bda
fix sonner
CI / quality (push) Waiting to run
2026-03-11 17:47:51 +01:00
MOH
7956b073e9
Refactor portfolio admin and views
2026-03-11 17:46:35 +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
2b7914fc9a
Fix marquee RTL rendering and add subtle shadow
2026-03-10 20:18:37 +01:00
MOH
814447ae5d
Optimize local fonts and remove hero motion
2026-03-10 18:38:59 +01:00
MOH
743f6746e0
Remove locale switch jump from header nav
CI / quality (push) Waiting to run
2026-03-10 18:11:39 +01:00
MOH
4b86e9cb2c
Stabilize header nav width across locales
2026-03-10 18:09:00 +01:00
MOH
7877c8ae63
Refine Sonner layout and timing
2026-03-10 18:07:47 +01:00
MOH
67447bbe4b
Make Sonner width fit toast content
2026-03-10 17:53:19 +01:00
MOH
981afc9e33
fix header transition
CI / quality (push) Waiting to run
2026-03-10 17:47:33 +01:00
MOH
77cc9dca87
Add Sonner-based notifications and UX polish
2026-03-10 17:43:26 +01:00
MOH
eceb0f3a54
Remove header block entrance motion
2026-03-10 17:42:02 +01:00