Commit graph

36 commits

Author SHA1 Message Date
jeffcheasey88
5609822241 Merge branch 'main' of https://git.peerat.dev/Peer-at-Code/peer-at-code-backend 2023-04-10 14:52:45 +02:00
jeffcheasey88
5f7573f0cd tmpTest 2023-04-10 14:52:42 +02:00
7dee5b60f9 Make chapter or puzzle optional for group 2023-04-10 14:51:36 +02:00
e119911fef Merge branch 'main' of https://git.peerat.dev/Peer-at-Code/peer-at-code-backend to take JeffCheasey88 changes into account 2023-04-09 21:02:10 +02:00
909350972a Update puzzle response to ensure 0 point on bad response which was not the case before 2023-04-09 21:02:03 +02:00
jeffcheasey88
0585e073e5 merging 2023-04-09 17:57:27 +02:00
jeffcheasey88
22a0026939 Refractor webserver to framework & starting of the ORM (will be continuing later) 2023-04-09 17:54:38 +02:00
109ab984b3 Remove unused method, organize imports and format all files 2023-04-09 08:40:13 +02:00
Francois G
611b45a5bd change date system to match UI attends that I didn't understand well at first 2023-04-08 18:09:58 +02:00
Francois G
14905a489a Add route for groups leaderboard 2023-04-08 17:33:19 +02:00
Francois G
e5794f382d add config line for users files path 2023-04-08 10:22:12 +02:00
jeffcheasey88
9c98ca573a Create Group 2023-04-03 23:55:41 +02:00
jeffcheasey88
05ff24de32 Add GroupList route & Refractor DatabaseQuery 2023-03-27 16:30:01 +02:00
Francois G
f290fca5ab Forget to add new Group file :) 2023-03-20 15:16:53 +01:00
Francois G
6442ebdf19 Manage group as Object and no more String for leaderboard and playerDetails 2023-03-20 15:16:11 +01:00
Francois G
71c7e4e02c Return all badge info in player details route 2023-03-19 20:19:36 +01:00
Francois G
2d6b5c9005 Fix leaderboard calculation and add a ranking to player in details and leaderboard 2023-03-19 15:16:05 +01:00
Francois G
e983ab5445 make school group always first in json player 2023-03-19 10:42:55 +01:00
Francois G
241abea7ad change groups from string to array and little fix for tags 2023-03-18 23:52:01 +01:00
Francois G
f4d322e716 change json tags to array 2023-03-18 23:25:10 +01:00
Francois G
1216f3f12a change tags from string to Set<String> and commit now to rebase from main changes 2023-03-18 23:25:10 +01:00
Francois G
2bb0328206 add tags support 2023-03-17 22:44:20 +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
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
81d2f6feb2 Add playerDetails route 2023-03-09 22:24:36 +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
Francois G
b5db4328f2 Add leaderboard route 2023-02-25 21:19:58 +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
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
jeffcheasey88
e794a93bee out UTF-8 & Update Puzzle Model 2023-02-14 15:00:30 +01:00
jeffcheasey88
3693352e92 Register merged routes in Main 2023-02-10 09:40:22 +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