Commit Graph

111 Commits

Author SHA1 Message Date
DanielS
410289a519 Fix typings and company name access
All checks were successful
Staging Build / build (push) Successful in 2m38s
2026-06-25 00:07:08 +02:00
DanielS
49607f484f Add email send to password reset
Some checks failed
Staging Build / build (push) Failing after 25s
2026-06-24 23:56:52 +02:00
DanielS
2120698192 Clean admin settings page, remove duplicate imports and partner code
All checks were successful
Staging Build / build (push) Successful in 2m41s
2026-06-24 23:39:33 +02:00
DanielS
a9a5dd4e6f Cleanup admin settings page, remove duplicate imports and partner code
Some checks failed
Staging Build / build (push) Failing after 25s
2026-06-24 23:37:40 +02:00
DanielS
520599986c Add user lock/unlock functionality and remove partner management
Some checks failed
Staging Build / build (push) Failing after 26s
2026-06-24 23:29:16 +02:00
DanielS
864bb3a0c1 Fix companies actions, add assignCompanyToUser, cleanup duplicates
All checks were successful
Staging Build / build (push) Successful in 2m41s
2026-06-24 23:11:02 +02:00
DanielS
82c89b70bf Add company CRUD, admin sidebar order, partner/company pages
Some checks failed
Staging Build / build (push) Failing after 25s
2026-06-24 23:05:15 +02:00
DanielS
ac0b0f607d Add Partner/Firmen links, migration for companies and partner relationship
All checks were successful
Staging Build / build (push) Successful in 2m40s
2026-06-24 22:51:02 +02:00
DanielS
4e86ad7a9d Rename companies to partners and update UI
All checks were successful
Staging Build / build (push) Successful in 2m44s
2026-06-24 22:29:51 +02:00
DanielS
7a14aa0f75 feat: add company management and user-company assignment in admin panel
All checks were successful
Staging Build / build (push) Successful in 2m35s
2026-06-24 17:12:40 +02:00
DanielS
6b66cc5c41 feat: add lock/unlock button to partner table in Einstellungen
All checks were successful
Staging Build / build (push) Successful in 2m34s
2026-06-24 17:05:16 +02:00
DanielS
cd04309e3e feat: add user role management (admin/partner/gesperrt) with login block
All checks were successful
Staging Build / build (push) Successful in 2m44s
2026-06-24 14:26:25 +02:00
DanielS
26de6820e3 feat: add Einstellungen, SMTP and DB-Tools links to admin sidebar
All checks were successful
Staging Build / build (push) Successful in 2m36s
2026-06-24 14:04:24 +02:00
DanielS
9fbab07e1a fix: resolve header logout state synchronization issue
All checks were successful
Staging Build / build (push) Successful in 2m39s
2026-06-24 13:31:30 +02:00
DanielS
fe1d15090a feat: hide all demo badges when demo mode is disabled
All checks were successful
Staging Build / build (push) Successful in 2m36s
2026-06-24 13:19:00 +02:00
DanielS
3c60889e2a feat: implement admin validation middleware, DB integrity scan, automatic schema repair, and reindexing dashboard 2026-06-24 13:06:23 +02:00
DanielS
6e5cee0180 refactor: rename proxy.ts to middleware.ts and update function name to middleware 2026-06-24 13:02:28 +02:00
DanielS
f2db40fa36 fix: resolve client-side connection timeout by stripping internal port 8000 on Supabase URL rewriting
All checks were successful
Staging Build / build (push) Successful in 2m36s
2026-06-24 11:00:44 +02:00
DanielS
0968f1a753 ci: add docker prune step to clean up Gitea runner cache after push
All checks were successful
Staging Build / build (push) Successful in 2m35s
2026-06-24 10:57:25 +02:00
DanielS
ac5bd766a4 ci: add docker image prune -f to staging workflow deployment script 2026-06-24 10:56:00 +02:00
DanielS
5c8c198fc5 fix: production login error masking, resolve navbar hydration mismatch, and gracefully handle database render errors
All checks were successful
Staging Build / build (push) Successful in 2m15s
2026-06-24 10:54:00 +02:00
DanielS
e1f47ddcd0 feat: add role selection to user creation and UI updates
All checks were successful
Staging Build / build (push) Successful in 2m16s
2026-06-24 01:58:01 +02:00
DanielS
934879e5cf fix: redirect to home page on sign out 2026-06-24 01:40:17 +02:00
DanielS
4a17ea378e feat: make orders list clearer and put navbar globally except for admin area
All checks were successful
Staging Build / build (push) Successful in 2m14s
2026-06-24 01:37:01 +02:00
DanielS
e829006b77 feat: update contact link on homepage to point to caspos.de/kontakt/
Some checks failed
Staging Build / build (push) Failing after 1m56s
2026-06-24 01:26:44 +02:00
DanielS
76e46c08a4 feat: update privacy policy links to point to caspos.de/datenschutz/
Some checks failed
Staging Build / build (push) Has been cancelled
2026-06-24 01:25:41 +02:00
DanielS
01c46be9ef add zulip dummy for quick access
Some checks failed
Staging Build / build (push) Has been cancelled
2026-06-24 01:23:30 +02:00
DanielS
f09cec4e25 fix: ignore network errors during concurrent session check to prevent false-positive logouts
All checks were successful
Staging Build / build (push) Successful in 2m18s
2026-06-24 01:14:33 +02:00
DanielS
b34ed79d2b feat: implement next redirect flow, remove inactivity auto-logout, and add concurrent session termination notification
All checks were successful
Staging Build / build (push) Successful in 2m14s
2026-06-24 01:09:17 +02:00
DanielS
47664c0aae fix: resolve mixed content errors by synchronizing client supabase URL protocol with window location protocol
All checks were successful
Staging Build / build (push) Successful in 2m18s
2026-06-24 00:57:22 +02:00
DanielS
5662b9f770 feat: allow admin to order licenses and query all partner end customers
All checks were successful
Staging Build / build (push) Successful in 2m15s
2026-06-24 00:32:20 +02:00
DanielS
a56eb93ffc feat: handle redirects for admin in /order page and implement next query param on login
All checks were successful
Staging Build / build (push) Successful in 2m19s
2026-06-24 00:29:46 +02:00
DanielS
615b0719f1 feat: redirect user dynamically based on role instead of /protected after login
All checks were successful
Staging Build / build (push) Successful in 2m14s
2026-06-24 00:23:51 +02:00
DanielS
62e3c7804a feat: fix logout button, inactivity tracker, and concurrent session termination
All checks were successful
Staging Build / build (push) Successful in 2m16s
2026-06-24 00:15:59 +02:00
DanielS
9878cdb2a2 feat: add CASPOS Store brand and Demo badge to admin sidebar footer
All checks were successful
Staging Build / build (push) Successful in 2m16s
2026-06-24 00:12:45 +02:00
DanielS
f19fda5494 feat: enforce admin role checks in layouts and navbar navigation
All checks were successful
Staging Build / build (push) Successful in 2m16s
2026-06-24 00:05:16 +02:00
DanielS
7b22889e23 feat: add partner list and customer list explorer to admin settings
All checks were successful
Staging Build / build (push) Successful in 2m19s
2026-06-24 00:02:27 +02:00
DanielS
bdbf840529 feat: lock down registration and enforce partner-only logins
All checks were successful
Staging Build / build (push) Successful in 2m19s
2026-06-23 23:59:22 +02:00
DanielS
b71b84da1b migration: create public.customers table with RLS
All checks were successful
Staging Build / build (push) Successful in 2m18s
2026-06-23 23:52:57 +02:00
DanielS
1b4e998cf9 feat: add admin settings page with toggle switch for demo banner
All checks were successful
Staging Build / build (push) Successful in 2m16s
2026-06-23 23:43:22 +02:00
DanielS
a99adb88d6 feat: update navbar links, settings labels, dark mode text color, and banner toggle hook 2026-06-23 23:43:16 +02:00
DanielS
dd2c3859e9 feat: add custom navbar with inline supabase clients and custom dropdown
All checks were successful
Staging Build / build (push) Successful in 2m22s
2026-06-23 23:27:23 +02:00
DanielS
0729dd21be Implement dynamic SMTP setting loader, admin product dependency matrix UI, recursive deselect cascade, and backend catalog validation
All checks were successful
Staging Build / build (push) Successful in 2m19s
2026-06-23 04:42:50 +02:00
DanielS
de1d228fb2 feat: port all auth forms to Next.js Server Actions to avoid exposing Supabase API to the browser
All checks were successful
Staging Build / build (push) Successful in 2m19s
2026-06-23 04:39:00 +02:00
DanielS
3228c76675 fix: use maybeSingle for settings query to avoid failing when the table is empty
All checks were successful
Staging Build / build (push) Successful in 2m18s
2026-06-23 04:36:16 +02:00
DanielS
b039da3ff8 fix: force dynamic rendering on admin users page to load data at request-time
All checks were successful
Staging Build / build (push) Successful in 2m20s
2026-06-23 04:29:58 +02:00
DanielS
07eb18c61c debug: print detailed error message when loading admin users fails
All checks were successful
Staging Build / build (push) Successful in 2m25s
2026-06-23 04:11:14 +02:00
DanielS
5ba9869400 feat: create users and settings tables, replace getSession with getUser
All checks were successful
Staging Build / build (push) Successful in 2m29s
2026-06-23 04:05:39 +02:00
DanielS
9542fdfe4a migration: add order_number and order_hash columns to orders
All checks were successful
Staging Build / build (push) Successful in 2m27s
2026-06-23 04:02:36 +02:00
DanielS
88f18246ce feat: split pricing into one-time and monthly totals, fix invoice pdf rendering
Some checks failed
Staging Build / build (push) Has been cancelled
2026-06-23 04:01:03 +02:00