Commit Graph
83 Commits
Author SHA1 Message Date
Pascal 28714a8cbc feat(hunt): Add bingo board to hunts 2026-08-07 18:59:24 +02:00
Pascal 8e5e60da87 refactor(hunt): Style hunt admin 2026-08-03 01:57:35 +02:00
Pascal 2d8669708d fix(i18n): fix lang format 2026-07-31 19:31:54 +02:00
Pascal 3623701548 feat(settings): add sidebar visibility state to settings store 2026-07-31 19:31:08 +02:00
Pascal 5fe4557d94 refactor(app): simplify head link and meta rendering, add more titles and descriptions 2026-07-31 19:22:48 +02:00
Pascal 0f49f20c07 chore(deps): update Vue 2026-07-31 13:00:56 +02:00
Pascal 21e8da08a6 feat(health): add database connectivity check to health endpoint 2026-07-31 02:52:08 +02:00
Pascal 4fdea21913 style(eslint): fix conflicting formatting of self-closing tags 2026-07-31 02:27:01 +02:00
Pascal 45865d3122 feat(quest): add support for private images in answers 2026-07-31 02:14:34 +02:00
Pascal de0eaee521 feat(team): add team settings with edit, leave, and kick functionality 2026-07-31 01:48:31 +02:00
Pascal e664cf3b96 feat(landing): add landing page layout and content 2026-07-31 01:32:00 +02:00
Pascal 24632742ef feat(quest): add full CRUD and image handling for hunt quests 2026-07-31 01:03:54 +02:00
Pascal 77becc453e feat(hunt): add public flag to hunts and implement hunt creation page
- Add 'public' boolean column to Hunt model with default true
- Update hunt admin UI to toggle 'public' flag
- Implement new hunt creation page with form supporting all hunt properties
- Add sidebar navigation item for hunt creation for authorized users
- Adjust home API to filter hunts by public flag only
2026-07-30 23:33:34 +02:00
Pascal aa4632cab8 feat(admin): add user role management with promotion feature 2026-07-30 23:13:38 +02:00
Pascal 370ba3406f refactor(hunt): replace admin middleware with auth and implement membership state
- Change middleware from 'admin' to 'auth' on hunt and quest admin pages
- Add global hunt store to track current hunt ID and membership status
- Use hunt store membership state to conditionally display admin UI elements
- Handle fetch errors gracefully with alerts and back navigation buttons
- Update admin UI logic to depend on membership state instead of user role
- Add membership state update after API calls in hunt, quest, teams, and admin pages
- Refactor UI templates to show error messages when fetch fails
- Centralize membership logic for better authorization control in frontend
2026-07-30 22:33:47 +02:00
Pascal cfda014760 refactor(auth): simplify authorization checks to use membership only
- Remove explicit ADMIN role checks in API handlers
- Replace combined creator/member role checks with membership-only filters
- Update seed data roles to reflect changed authorization logic
- Add migration to insert hunt creators as members for consistent checks
- Prevent removal of hunt creator as a member with new explicit check
- Adjust related user role updates and queries accordingly
- Upgrade dependencies including nuxt and zod for compatibility
2026-07-30 21:59:36 +02:00
Pascal a6053855b8 Remove api logging for health check 2026-06-29 21:55:06 +02:00
Pascal bebe3564d6 Add api logging 2026-06-29 21:11:26 +02:00
Pascal c490344cb6 Remove unnecessary log on diashow 2026-06-29 21:02:24 +02:00
Pascal 2d90f91f2b Order picture wall quests by order 2025-10-16 21:12:41 +02:00
Pascal 7aed6cbb84 Revert update nuxt 2025-10-16 20:55:20 +02:00
Pascal baca5415c3 Fix type errors 2025-10-16 20:44:52 +02:00
Pascal c80fc61539 Add picture wall filtering and bump nuxt 2025-10-16 20:30:05 +02:00
Pascal b43e8b9219 Cleanup admin quest 2025-10-06 12:36:11 +02:00
Pascal ae1f65f262 Persist hideAnswer switch 2025-10-06 12:19:07 +02:00
Pascal cbd126c7a2 Fix showcase hidden first place 2025-10-06 12:13:33 +02:00
Pascal a0cef9565b fix 2025-10-01 00:34:08 +02:00
Pascal 146e48d42d Last minute fixes 2025-10-01 00:31:31 +02:00
Pascal 66f1f5f336 Use correct text for finalizing 2025-09-18 00:55:19 +02:00
Pascal da037597eb prettier 2025-09-15 16:10:00 +02:00
Pascal 280dfee53b Add SEO info 2025-09-15 16:08:53 +02:00
Pascal 1ff48b0ece Reduce clickable fullsize images size 2025-09-15 15:45:51 +02:00
Pascal 1c7d09bfcb Include administrated hunts in home 2025-09-15 15:45:07 +02:00
Pascal 165e3d1559 Translate static texts 2025-09-15 15:44:50 +02:00
Pascal 0c5a6963d3 Prevent submitting answer when no team 2025-09-15 15:16:37 +02:00
Pascal 33c7e2335f Add metrics 2025-09-15 00:13:57 +02:00
Pascal be5b042380 Add top margin to upload modal 2025-09-14 18:56:40 +02:00
Pascal c542916c99 Update prisma 2025-09-14 18:46:23 +02:00
Pascal 600ccb4207 Add colors to quest list 2025-09-14 18:18:18 +02:00
Pascal 527c9b7428 Reduce min name length 2025-09-14 17:57:24 +02:00
Pascal 5c66430cb4 Compress answers and show upload progress 2025-09-14 17:45:34 +02:00
Pascal b6b43618a7 Set prisma version in dockerfile 2025-09-11 23:29:52 +02:00
Pascal e167a11434 Set prisma targets 2025-09-11 23:25:43 +02:00
Pascal 308ac9838e prettier 2025-09-11 23:19:04 +02:00
Pascal 3e1bfa46d9 Add pic upload for hunt admins 2025-09-11 23:18:02 +02:00
Pascal 5d4e802796 Add line breaks to description 2025-09-11 22:51:23 +02:00
Pascal 86a66aad37 Add imprint 2025-08-30 17:56:52 +02:00
Pascal e763e3adf0 Translate invite code and start help page 2025-08-30 17:31:19 +02:00
Pascal c2c52dbe45 Fix i18n bugs 2025-08-30 16:36:39 +02:00
Pascal 7948fed103 Start i18n on static texts 2025-08-21 20:52:59 +02:00