26 Commits
Author SHA1 Message Date
Pascal 45865d3122 feat(quest): add support for private images in answers 2026-07-31 02:14:34 +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 baca5415c3 Fix type errors 2025-10-16 20:44:52 +02:00
Pascal a0cef9565b fix 2025-10-01 00:34:08 +02:00
Pascal 66f1f5f336 Use correct text for finalizing 2025-09-18 00:55:19 +02:00
Pascal 280dfee53b Add SEO info 2025-09-15 16:08:53 +02:00
Pascal 0c5a6963d3 Prevent submitting answer when no team 2025-09-15 15:16:37 +02:00
Pascal be5b042380 Add top margin to upload modal 2025-09-14 18:56:40 +02:00
Pascal 5c66430cb4 Compress answers and show upload progress 2025-09-14 17:45:34 +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 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
Pascal 16956d12f4 Add eslint 2025-08-20 23:40:00 +02:00
Pascal cc544322b2 Switch to translatable data 2025-08-20 23:18:40 +02:00
Pascal fe00df6c2d Styling 2025-08-14 21:55:01 +02:00
Pascal 5146e8e490 Reuse common dateStyle 2025-08-14 20:20:54 +02:00
Pascal 24f933fbaa Use composition for translation 2025-08-14 19:56:49 +02:00
Pascal 900414727f Move review to separate model 2025-08-13 23:53:36 +02:00
Pascal 4189c95d38 Start admin pages 2025-08-09 14:58:38 +02:00
Pascal 8aa8be7e9f Remember uploaded images 2025-08-04 19:34:50 +02:00
Pascal 7d974a857c Add image upload to s3 2025-08-02 00:58:40 +02:00
Pascal 624bb7e124 Add quest page 2025-08-01 22:15:30 +02:00
Pascal 13ad0eeb56 Fix sluggy on empty slugs 2025-08-01 01:38:08 +02:00
Pascal 03527b2fe0 Add dynamic title 2025-08-01 01:31:11 +02:00
Pascal 28b42762fe Add hunt detail 2025-08-01 01:14:34 +02:00