Commit Graph
21 Commits
Author SHA1 Message Date
Pascal 01d1e5fb60 test(integration): add real-stack integration test suite with PGlite
Docker Image CI / test (push) Successful in 1m47s
Tests / unit (push) Successful in 57s
Tests / integration (push) Successful in 1m38s
Docker Image CI / deploy (push) Failing after 8s
- PGlite (in-memory WASM Postgres) hosted in a child process, exposed
  via TCP socket; real migrations applied with prisma migrate deploy
- Vitest harness (vitest.integration.config.ts, global-setup spawns
  PGlite + built Nuxt server, per-test TRUNCATE, factories, cookie-jar
  API client); no mocks, zero production code changes
- 50 tests across auth, hunt, team, submit, review, showcase, diashow
  incl. SuperJSON envelope check; *.itest.ts keeps bun test untouched
- CI: parallel unit + integration jobs in .github/workflows/test.yml
- tests/ covered by nuxt typecheck via tests/tsconfig.json reference
2026-08-13 23:10:07 +02:00
Pascal 0f49f20c07 chore(deps): update Vue 2026-07-31 13:00:56 +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 7aed6cbb84 Revert update nuxt 2025-10-16 20:55:20 +02:00
Pascal c80fc61539 Add picture wall filtering and bump nuxt 2025-10-16 20:30:05 +02:00
Pascal ae1f65f262 Persist hideAnswer switch 2025-10-06 12:19:07 +02:00
Pascal 33c7e2335f Add metrics 2025-09-15 00:13:57 +02:00
Pascal c542916c99 Update prisma 2025-09-14 18:46:23 +02:00
Pascal 5c66430cb4 Compress answers and show upload progress 2025-09-14 17:45:34 +02:00
Pascal 5d1a029a54 Add typecheck 2025-08-21 00:17:01 +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 0e4015905c Add matomo tracking 2025-08-16 12:53:00 +02:00
Pascal 4189c95d38 Start admin pages 2025-08-09 14:58:38 +02:00
Pascal 5b56809bac Docs 2025-08-05 22:41:00 +02:00
Pascal 9320adb6cd Add login and register 2025-08-04 20:23:19 +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 28b42762fe Add hunt detail 2025-08-01 01:14:34 +02:00
Pascal 15f4f74cb7 Add stuff 2025-07-31 22:50:39 +02:00
Pascal 07c434dba8 Initial commit 2025-07-31 21:31:11 +02:00