Commit Graph

14 Commits

Author SHA1 Message Date
NotII
f0d18a9e67 Add dashboard navigation and request timeouts
Added 'Back to Dashboard' buttons to all admin dashboard pages for improved navigation. Introduced AbortSignal timeouts to API client and middleware requests to prevent hanging network calls. Also enabled messaging customers from the order details page if Telegram info is available.
2025-10-30 18:35:09 +00:00
NotII
bfc60012cf Add admin dashboard pages and restructure admin route
Introduces new admin dashboard pages for alerts, bans, invites, orders, settings, status, and vendors under app/dashboard/admin/. Moves the main admin page to the new dashboard structure and adds a shared admin layout. Updates sidebar configuration and adds supporting components and hooks for admin features.
2025-10-18 15:19:10 +01:00
NotII
1d7b378cd3 Update middleware.ts 2025-10-16 00:41:51 +01:00
NotII
4fb6d3f740 Add admin dashboard and middleware protection
Introduces an admin dashboard page with cards for inviting vendors, banning users, and viewing recent orders. Adds middleware logic to restrict /admin routes to the 'admin1' user and updates route matching. Also updates git-info.json with latest commit metadata.
2025-10-15 17:17:43 +01:00
NotII
d05d7b4938 other 2025-04-06 16:20:01 +01:00
NotII
3413e3b1e8 ugh 2025-03-23 23:53:45 +00:00
NotII
991593c301 Update middleware.ts 2025-03-23 22:20:43 +00:00
NotII
e3e630c211 fix 2025-03-23 22:14:05 +00:00
NotII
6ab5a9ac43 hmm 2025-03-23 21:59:28 +00:00
NotII
615282702a Update middleware.ts 2025-03-23 21:58:38 +00:00
NotII
8d7d9b9e1c cleanup 2025-03-23 21:25:37 +00:00
NotII
87a58a6736 fix alot of things 2025-03-14 16:48:08 +00:00
NotII
20d5559832 other 2025-03-10 17:39:37 +00:00
g
80eb0a6c1b Create middleswares 2025-02-07 22:21:26 +00:00