Commit graph

84 commits

Author SHA1 Message Date
Francois G
2bb0328206 add tags support 2023-03-17 22:44:20 +01:00
Francois G
77283bdf75 fix base64 to json send 2023-03-17 21:19:34 +01:00
Francois G
d74013a13a Solve compatibility problem with new DB schema. To test use pac_test instead of pc in config.txt 2023-03-17 14:33:12 +01:00
jeffcheasey88
d3c9ad22e5 Parser & Fix puzzle's origin from db 2023-03-14 11:07:49 +01:00
Francois G
69acf0966e Add depend field on PuzzleElement response if puzzle is nextPart from another 2023-03-10 12:11:41 +01:00
Francois G
61f6046659 add badge route 2023-03-10 11:15:54 +01:00
jeffcheasey88
124eea7a5c Fix avatar 2023-03-10 11:01:23 +01:00
Francois G
5926d1d245 some tries to send images 2023-03-09 23:05:19 +01:00
Francois G
81d2f6feb2 Add playerDetails route 2023-03-09 22:24:36 +01:00
jeffcheasey88
89dc0ede9e Fix reception of the puzzle 2023-03-06 12:11:29 +01:00
jeffcheasey88
1eafa7e972 Fix leaderboard compare & add config for token expiration (in minutes) & advance on parser & Add Headers 2023-02-27 13:13:15 +01:00
jeffcheasey88
7e75c54092 flush and close buffer in every case 2023-02-27 10:41:15 +01:00
jeffcheasey88
0f9fc996f1 Fix non-loggin request headers & register id key 2023-02-26 19:57:06 +01:00
jeffcheasey88
792005e84d Respond empty json even if no one in leaderboard 2023-02-25 22:36:50 +01:00
Francois G
b5db4328f2 Add leaderboard route 2023-02-25 21:19:58 +01:00
Francois G
ec72b90020 Make source code file name more unique 2023-02-25 20:27:59 +01:00
Francois G
4b5d21345c Refactor spaghetti code I wrote + save source code in file system instead than in db 2023-02-25 19:40:16 +01:00
jeffcheasey88
64a88f7282 JWT refractor 2023-02-24 00:08:17 +01:00
jeffcheasey88
c915a96535 Fixing Yannick's problem 2023-02-23 16:26:57 +01:00
jeffcheasey88
688ff3cedd Merge remote-tracking branch 'origin/getPuzzleResponse' 2023-02-23 16:11:19 +01:00
Yannick Bour
cfe9d83d2c jwt login 2023-02-23 16:08:47 +01:00
Yannick Bour
fd66010226 jwt init 2023-02-23 16:07:47 +01:00
Francois G
67f6d48b85 Add route for puzzle response and beta puzzle score in response 2023-02-23 15:53:55 +01:00
jeffcheasey88
c2257beacb Get Score Route, wait for JWT & User 2023-02-23 14:32:15 +01:00
jeffcheasey88
4993cc33ee Fixing Jules'problem 2023-02-15 15:46:13 +01:00
jeffcheasey88
987e2648c2 Merge branch 'routes' 2023-02-15 15:38:17 +01:00
TheNagaki
1907173db5 Updated /register route with the new field in the database, updated DatabaseRepo for the same reason 2023-02-14 23:34:13 +01:00
TheNagaki
bbc752500a Added the /login and /register routes 2023-02-14 23:16:22 +01:00
jeffcheasey88
e794a93bee out UTF-8 & Update Puzzle Model 2023-02-14 15:00:30 +01:00
jeffcheasey88
1835ee6662 Adding routes /register & /login 2023-02-12 13:59:46 +01:00
jeffcheasey88
3693352e92 Register merged routes in Main 2023-02-10 09:40:22 +01:00
TheNagaki
80563cd86e Added ChapterElement and ChapterList as routes to respectively get a chapter by id and all the chapters.
Removed DatabaseQueries class and added DatabaseRepo to contain all the database queries; Edited PuzzleElement to remove all database-related code.
2023-02-09 22:42:33 +01:00
TheNagaki
79da7cb80c Implemented a route to get a single Puzzle (through the PuzzleElement class) and added the DatabaseQueries class (containing all the different SQL queries used). 2023-02-09 20:45:42 +01:00
jeffcheasey88
98533f91ea First Commit 2023-02-05 21:39:56 +01:00