Commit graph

248 commits

Author SHA1 Message Date
Francois G
5926d1d245 some tries to send images 2023-03-09 23:05:19 +01:00
Francois G
432f29c6f3 Forget to ensure connection 2023-03-09 22:26:47 +01:00
Francois G
81d2f6feb2 Add playerDetails route 2023-03-09 22:24:36 +01:00
Francois G
05108526fd Add playerDetails route 2023-03-09 22:11:16 +01:00
jeffcheasey88
e28304c19a JavaParser, starting variable zone with test ! 2023-03-09 18:11:10 +01:00
jeffcheasey88
89dc0ede9e Fix reception of the puzzle 2023-03-06 12:11:29 +01:00
jeffcheasey88
80bfa7816f Disconnect if token not valid 2023-02-27 14:52:42 +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
8b90a99823 jwt token Issuer, also in verification 2023-02-26 20:08:37 +01:00
jeffcheasey88
434e0ddea6 Refractor jwt values 2023-02-26 20:01:18 +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
0ba27533e9 jwt login 2023-02-23 16:08:47 +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
48727370d7 Parser v0 & hide void 2023-02-23 13:51:28 +01:00
jeffcheasey88
d23abb4379 Java Parser V0 2023-02-23 13:30:29 +01:00
jeffcheasey88
b1674d44a1 Refractor config to take another element that String 2023-02-22 15:22:34 +01:00
Francois G
eace65ad53 Add HTTPS support to API (mandatory for domain name in .dev) 2023-02-22 14:45:51 +01:00
jeffcheasey88
ee602af486 Fixing Jules problems again & Ensure sql connection 2023-02-18 10:42:10 +01:00
jeffcheasey88
c953971ef3 Fix password hash 2023-02-15 23:20:42 +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
209b0eeeb4 Added the /login and /register routes (part where I actually submit the database requests) 2023-02-14 23:21:26 +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
a793a0cb44 Refractor for Database elements 2023-02-10 19:56:43 +01:00
jeffcheasey88
3693352e92 Register merged routes in Main 2023-02-10 09:40:22 +01:00
jeffcheasey88
65177b21fc Merge branch 'main' into routes 2023-02-10 09:30:45 +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
27f0b3718b Added Chapter and Puzzle classes to the model to represent a chapter of the application (characterised by an id, a name and a list of puzzles) and a puzzle (characterised by an id, a name and a content). 2023-02-09 22:36:11 +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
Francois G
2c797b393e Change route name from 'puzzle' to 'puzzles' 2023-02-09 19:15:07 +01:00
jeffcheasey88
89bf52624f Remove javax import and upgrade one little regex 2023-02-09 12:34:47 +01:00
jeffcheasey88
b3b598cc0a Get PuzzleList from the database 2023-02-08 23:30:38 +01:00
jeffcheasey88
a3b1c06455 DataBase connection & Configuration Class 2023-02-08 22:54:43 +01:00
jeffcheasey88
98533f91ea First Commit 2023-02-05 21:39:56 +01:00