Commit Graph

13 Commits

Author SHA1 Message Date
david 1b5776951c fix: update auth-simple test to mock headers function 2026-03-31 09:18:14 -07:00
david b8a3c3a7be fix: update test setup to use PrismaPg adapter 2026-03-31 03:39:35 -07:00
david 1729dacdec test: add Next.js 16 params Promise handling regression tests 2026-03-31 00:52:04 -07:00
david 42217e182e test: add regression tests for ID validation with Prisma v7 2026-03-31 00:24:28 -07:00
david 77de648200 test: update mocks for Prisma v7 stricter type checking 2026-03-31 00:00:50 -07:00
david b0aaffbecf chore: fix linting errors in tests and api routes 2026-03-30 22:58:33 -07:00
david 5d1755f082 chore: add variant scoring fields, fix tie handling, and fix test files for normalizedName 2026-03-30 22:48:31 -07:00
david 4d9cbc9259 fix: add site_admin support to tournament permissions and fix session cache issues 2026-03-30 22:09:50 -07:00
david d821dd7ce2 fix: include participants in getManageableTournaments query 2026-03-30 21:34:16 -07:00
david 710e4f811e test: add comprehensive tests for player deduplication, permissions, and user management 2026-03-30 21:31:55 -07:00
david 3a78f354ad feat: add recalculateAllElo function for idempotent ELO recalculation 2026-03-30 21:28:09 -07:00
david 576dfda619 fix: resolve remaining TypeScript and linting errors
- Fixed unused variables in unit tests (elo.test.ts, permissions.test.ts)
- Fixed unused variables in E2E tests (account-acceptance.test.ts, elo-ratings.test.ts, epic1-auth-registration.test.ts, global.setup.ts)
- Fixed 'any' type usage in EditTournamentForm.test.tsx and auth-simple.test.ts
- Fixed unescaped quotes and apostrophes in React components
- Fixed TypeScript type errors in Navigation.tsx, test-api/page.tsx, and matches/upload/page.tsx
- Fixed missing useEffect dependency in tournaments/[id]/entry/page.tsx
- Updated eslint config to exclude test-api directory
- All tests now pass linting and build successfully
2026-03-29 21:20:20 -07:00
david 123df671f5 nextjs-rewrite (#5)
Reviewed-on: #5
Co-authored-by: David Gwilliam <dhgwilliam@gmail.com>
Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
2026-03-30 02:30:13 +00:00