Commit Graph

91 Commits

Author SHA1 Message Date
root f5292f8b6c fix the errors in dashboard 2026-05-23 19:03:15 -04:00
root c6cebdd125 feat: sync pricing currency with selected language
Switch to MAD when Arabic is selected, EUR for French, USD for English.
Currency still overridable via the manual toggle.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 04:48:46 -04:00
root 9dc084ee50 fix forgot password style 2026-05-23 04:47:37 -04:00
root 90401189f8 fix: unify auth page styles and remove duplicate nav/footer
Updated forgot-password and reset-password pages to use stone-based
color tokens with proper dark mode variants, matching the unified
marketplace style. Also removed the dashboard PublicHeader/Footer
from these pages (always embedded=true) to eliminate the duplicate
navbar and footer when accessed via the marketplace proxy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 04:45:42 -04:00
root 07fba16ff2 unfied style 2026-05-23 04:35:47 -04:00
root fd10d0db6a style: unify marketplace color system across all pages (light + dark)
Apply a consistent design token set across every public page:
- Page bg: stone-50 / dark:stone-950
- Cards/surfaces: white / dark:stone-900 (via .card class)
- Primary text: stone-900 / dark:stone-100
- Secondary text: stone-600 / dark:stone-400
- Muted/label: stone-500 / dark:stone-500, stone-400 / dark:stone-500
- Accent kicker: amber-700 / dark:amber-400
- Image placeholder: stone-100 / dark:stone-800
- Primary button: stone-900 white / dark:white dark:stone-900
- Amber button: amber-500 white / dark:amber-400 dark:stone-900
- Status available: emerald-100 emerald-700 / dark:emerald-950/50 dark:emerald-400
- Status unavailable: rose-100 rose-700 / dark:rose-950/50 dark:rose-400

Also: remove dead medium-theme CSS overrides from globals.css,
add dark:[color-scheme:dark] to date/time inputs so browser
native pickers adapt, and unify amber accent to amber-400 in dark.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 03:06:46 -04:00
root b82a5d4633 fix: prevent flash of light theme on marketplace load
Add inline script to root layout that reads the stored theme preference
from cookie/localStorage synchronously before React hydrates, eliminating
the light→dark flash for users who prefer dark mode.

Also guard the theme storage write with the hydrated flag so the initial
render does not overwrite a stored 'dark' preference with 'light'.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 02:54:10 -04:00
root 4268e5c379 remove medium theme, fix navbar re-render, fix Node 2026-05-23 02:42:38 -04:00
root dcd62f35ac fix: remove medium theme, fix navbar re-render, fix Node.js env loading
- Remove 'medium' theme from dashboard and marketplace; keep only light/dark
- Marketplace: move public pages into (public)/ route group so header/footer
  persist across navigations without re-rendering (eliminates usePathname)
- MarketplaceShell is now a pure context provider; chrome lives in
  (public)/layout.tsx which Next.js holds stable across navigations
- WorkspaceFrame: remove history.replaceState and standalone-route logic
- Docker API: bypass npm run dev to avoid node --env-file in containers
- Add scripts/run-with-env-file.cjs for Node.js < 20.6 compatibility;
  update apps/api/package.json dev script to use it

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 02:41:02 -04:00
root 8f93bb89f6 update Traefik 2026-05-23 01:39:21 -04:00
root 48ecde2a51 db management fix 2026-05-22 17:21:52 -04:00
root bae4942276 pgmanage fix 2026-05-22 13:08:36 -04:00
root fc4d099d4f add portainer 2026-05-22 12:22:14 -04:00
root 3e856e093d add portainer to production 2026-05-22 12:18:49 -04:00
root 72f2a13574 add logs to forgot password 2026-05-22 10:40:17 -04:00
root b9197bcb5d add tests and registry 2026-05-22 02:58:59 -04:00
root 99c429d69c vuln fix 2026-05-22 02:43:13 -04:00
root 191fb3cb4e fix languages 2026-05-22 02:20:20 -04:00
root cc462e2c01 fix registry 2026-05-21 18:10:45 -04:00
root 159d89524d fix test:integration 2026-05-21 15:11:01 -04:00
root c1eff5259e node:20-bookworm 2026-05-21 15:04:30 -04:00
root eb2d4fead0 update npm packages 2026-05-21 14:50:07 -04:00
root bd96a72ce2 fix test image name for cicd 2026-05-21 14:37:00 -04:00
root e6a7b00596 test runner test 2026-05-21 14:18:36 -04:00
root 0ca3127bce cicd 2026-05-21 13:02:50 -04:00
root db43862cea add develop to start cicd 2026-05-21 13:02:03 -04:00
root f009ca10c6 refractor code, 2026-05-21 12:35:49 -04:00
root e74681e810 fix the upload issue and add driver license upload 2026-05-20 22:54:09 -04:00
root 32170acbb3 clear error deploy prod 2026-05-20 16:42:36 -04:00
root d138949a12 fix marketplace error 2026-05-20 16:28:55 -04:00
root 4ab34c4d76 fix navbar lang switcher 2026-05-20 14:59:25 -04:00
root fb15883f8e update website home and dashboard 2026-05-20 14:52:26 -04:00
root d4f7de5762 dashboard fix 2026-05-19 21:25:38 -04:00
root 7ac0098c7f fix forgot password and add runscripts 2026-05-17 23:25:03 -04:00
root f30f6e9796 fix signin 2026-05-17 18:59:53 -04:00
root 5ea1780134 fix admin pages 2026-05-17 17:37:13 -04:00
root 0b73504455 add admin user 2026-05-17 17:10:29 -04:00
root 8be98062b2 fix signin 2026-05-17 16:46:57 -04:00
root 5bc6772f64 fix the email sent 2026-05-17 16:36:34 -04:00
root 459f6c953e fix singup prod 2026-05-17 16:26:00 -04:00
root d81565ca71 fix prod 2026-05-17 15:36:17 -04:00
root 58a3787f29 fic dev and prod 2026-05-17 09:18:31 -04:00
root 52a6c95d1e fix the environment dev and prod 2026-05-17 09:18:09 -04:00
root 84285335a4 remove company website pages 2026-05-17 08:53:19 -04:00
root f52e53519c fix frontend redirection 2026-05-17 00:59:59 -04:00
root be98e3e65d fix production db 2026-05-17 00:35:35 -04:00
root 1294109c55 fix production 2026-05-16 20:31:35 -04:00
root 1b929dd892 fix types package: point main/types to compiled dist output
Node.js was loading src/index.ts at runtime (raw TypeScript) because
main pointed to the source. At runtime it tried to resolve './damage'
without an extension which fails in Node's ESM resolver.

Pointing main to dist/index.js makes Node load the compiled CommonJS
output produced by `tsc` during the build step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 20:30:44 -04:00
root f6f6d4db06 update db password 2026-05-16 20:17:28 -04:00
root 340a55c400 update example env with actual db password
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 20:16:51 -04:00