Commit 2d2a3bc
Leaderboard backend (#63)
* feat: moved advent folder -> puzzles, added some comments
* feat(docker): start separation of dev and prod builds, add pytest functionality to backend
* feat(docker): added dev/prod to frontend, transition frontend to yarn
* fix: remove .vscode folder
* fix(makefile): restructured makefile a bit
* feat: removed .vscode folder from git
* feat(auth): get rudimentary autotesting in place, created clear_database function
* feat(test): added all tests for auth/register
* fix(puzzle): changed blueprint in routes/puzzle.py
* feat(auth): refactored registration system, database connections
* fix(auth): minor changes to constructor
* feat(auth): implement email verification endpoints
* feat(test): using fixtures
* feat(auth): finish autotests, still needs commenting
* feat(auth): finished writing tests for the most part
* feat(auth): complete tests for basic auth system
* fix(auth): removed duplicate clear_database function
* fix(auth): add basic lockout functionality
* update
* fix(auth): fix clear_database utility function
* leaderboard database complete no trigger
* fix(auth): change requests to conform with DB
* leaderboard backend complete no trigger
* fix(auth): add basic lockout to /login route
* leaderboard trigger implemented
* more triggers implemented on parts, questions, etc.
* almost done leaderboard tests
* leaderboard tests complete, besides jwt passing
* I have lost my sanity
* finished all but tests failing because mail not working
* updat
* removed useless puzzle test
* puzzle tests infinite loop, smtp
* first test leaderboard passing
* all tests uncommented but frozen on second
* finished all leaderboard and puzzle, puzzles not fully tested for 7 days (only 1 day)
Co-authored-by: Hanyuan Li <[email protected]>
Co-authored-by: Alice Wan <[email protected]>1 parent 47db08e commit 2d2a3bc
File tree
25 files changed
+10579
-9557
lines changed- backend
- common
- database
- puzzles
- calendar
- _2022
- routes
- test
- leaderboard
- puzzle
- database
- frontend
- src/components
25 files changed
+10579
-9557
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
0 commit comments