Commit Graph

24 Commits

Author SHA1 Message Date
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 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 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 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 df8b49f387 feat: allow promoting users to admin role 2026-07-27 16:45:23 +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 c3ba7c1be3 fix: change admin role string to enterprise to match frontend logic 2026-07-27 15:19:11 +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 fc3140c262 Update Dockerfiles to Node 20 for Next.js compatibility 2026-07-27 14:06:26 +05:30
Mohan Ki b9454df5c9 Update docker config for production deployment 2026-07-27 13:53:10 +05:30
Mohan Ki 60dcb029dc Initial commit of CK-QR Platform 2026-07-27 13:42:18 +05:30