Commit Graph

45 Commits

Author SHA1 Message Date
Mohan Ki 506858ef92 Fix missing button tag and ignore ESLint warnings on build 2026-07-27 20:05:38 +05:30
Mohan Ki 542426a12a Implement email verification lockout and missing phase 2 items 2026-07-27 19:55:19 +05:30
Mohan Ki 2bfa741a71 feat(qr): Add Gradients, Inner Eye styling, and Logo Presets to Visual Customization Studio 2026-07-27 19:26:51 +05:30
Mohan Ki bd17947106 feat(auth): Introduce 5-day grace period for email verification before lockout 2026-07-27 19:16:17 +05:30
Mohan Ki 4fe25f3de5 feat(auth): Enforce global email verification for all users, restrict dashboard if unverified, add verification badges and banners 2026-07-27 19:11:58 +05:30
Mohan Ki 836693192e fix(api): Add missing app_settings creation to auto-migrate on server start to fix 500 error on live deployments 2026-07-27 19:05:12 +05:30
Mohan Ki 10e55d87a6 feat(admin): Convert settings layout to use tabbed navigation, isolating SMTP configuration 2026-07-27 19:00:45 +05:30
Mohan Ki b328b0429a feat: SMTP integration, dynamic app_settings for email, and email verification enforcement for tier upgrades 2026-07-27 18:54:19 +05:30
Mohan Ki 41e333b30e fix: Fix syntax errors introduced by shell interpolation in dashboard and edit pages 2026-07-27 18:47:54 +05:30
Mohan Ki 3a61488d26 feat: Add folder management, visual thumbnails in dashboard, and full-page editor 2026-07-27 18:45:37 +05:30
Mohan Ki 8b95c0d77b fix: resolve Untitled QR issue and make destination links clickable in Admin modal 2026-07-27 18:27:35 +05:30
Mohan Ki 2a2f09ccb7 feat: Add detailed user statistics view for admin with QR code list and scan counts 2026-07-27 18:05:38 +05:30
Mohan Ki 2e79d3a27c feat: Add Guest QR Generator, HomeNavbar, and enforce SVG tier limits 2026-07-27 17:31:09 +05:30
Mohan Ki 36c726f713 feat: add static vs dynamic QR code toggle to the create page 2026-07-27 17:17:36 +05:30
Mohan Ki 9aaf94625a feat: add SVG/PNG download options, track geolocation from CF headers, and fix analytics pie charts by parsing counts as integers 2026-07-27 17:00:54 +05:30
Mohan Ki fba969dd55 fix: change Next.js rewrites to redirects for short links to prevent proxy 500 error 2026-07-27 16:50:20 +05:30
Mohan Ki df8b49f387 feat: allow promoting users to admin role 2026-07-27 16:45:23 +05:30
Mohan Ki dc5ecd4efb fix: use window.location.origin instead of localhost:4001 for frontend display URL 2026-07-27 16:44:48 +05:30
Mohan Ki e6e448a2a9 fix: use FRONTEND_URL environment variable for dynamic qr code URL instead of BASE_URL 2026-07-27 16:41:02 +05:30
Mohan Ki 386071f48d fix: add missing qr_scans table creation to fix 500 error on /api/qr 2026-07-27 16:38:23 +05:30
Mohan Ki 8c17fac692 fix: remove duplicate pgPool and app.listen in server.js which crashed backend 2026-07-27 16:31:40 +05:30
Mohan Ki 69ad9d4820 fix: run auto-migration to add missing name column to qr_codes table on startup 2026-07-27 16:25:34 +05:30
Mohan Ki 2f645ef8f6 chore: add detailed error message for 500 response in generate qr code 2026-07-27 16:24:15 +05:30
Mohan Ki fec82a64db fix: increase express.json limit to 50mb to allow saving QR codes with large custom logos 2026-07-27 16:17:27 +05:30
Mohan Ki 0e379f4e15 fix: add cookie-parser middleware to fix 403 on protected routes, add autocomplete to login 2026-07-27 16:12:02 +05:30
Mohan Ki 5a7b4c7470 feat: add download option for QR codes in create and dashboard pages 2026-07-27 16:09:03 +05:30
Mohan Ki 0ddec84894 feat: sync qr code dot and eye colors, add logo upload support 2026-07-27 16:05:26 +05:30
Mohan Ki 2c16f8999d fix: qr generator preview now shows dynamically generated shortlink instead of destination URL 2026-07-27 16:01:45 +05:30
Mohan Ki 01c74fb29d feat: add next.config rewrites for shortlink routing and show domain in UI 2026-07-27 15:57:40 +05:30
Mohan Ki c6a0a13616 fix: explicit text color for qr editor inputs to fix legibility in light theme 2026-07-27 15:51:00 +05:30
Mohan Ki c3ba7c1be3 fix: change admin role string to enterprise to match frontend logic 2026-07-27 15:19:11 +05:30
Mohan Ki c55ac6225a fix: inject NEXT_PUBLIC_API_URL arg into frontend docker build 2026-07-27 15:16:23 +05:30
Mohan Ki 842dcc1f03 chore: promote mohan.k to admin 2026-07-27 15:13:14 +05:30
Mohan Ki 7de6b1dca5 fix: auto initialize postgres database on startup 2026-07-27 15:07:25 +05:30
Mohan Ki 83193358de fix: mount routes without /api prefix to support Traefik stripping 2026-07-27 15:05:07 +05:30
Mohan Ki e40eb03615 feat: make first registered user an admin 2026-07-27 14:30:44 +05:30
Mohan Ki 1c6dd53b2a Add expose ports so Traefik knows where to route traffic 2026-07-27 14:25:21 +05:30
Mohan Ki 1447f64b42 Remove host port bindings to fix Coolify deployment allocation errors 2026-07-27 14:11:55 +05:30
Mohan Ki 6c27bc094d Fix TypeScript config property for Next.js 16 build 2026-07-27 14:09:33 +05:30
Mohan Ki fc3140c262 Update Dockerfiles to Node 20 for Next.js compatibility 2026-07-27 14:06:26 +05:30
Mohan Ki 5e14c02777 Install recharts for analytics dashboard 2026-07-27 14:04:00 +05:30
Mohan Ki ceb0ec224a Rename docker-compose.yml to .yaml for Coolify compatibility 2026-07-27 14:00:50 +05:30
Mohan Ki b9454df5c9 Update docker config for production deployment 2026-07-27 13:53:10 +05:30
Mohan Ki 40667e54ac Add client code directly 2026-07-27 13:42:31 +05:30
Mohan Ki 60dcb029dc Initial commit of CK-QR Platform 2026-07-27 13:42:18 +05:30