Commit graph

56 commits

Author SHA1 Message Date
5481dbd2cf Refractor back for new versions of the framework 2023-07-26 17:03:21 +02:00
0249a7641f Modify playerDetails route to give the completions details and correct rank of player 2023-04-29 16:11:15 +02:00
jeffcheasey88
0b18622add Leaderboard only team with players 2023-04-24 13:13:20 +02:00
jeffcheasey88
09dbe344d5 Dynamic Leaderboard update on group update 2023-04-23 22:18:03 +02:00
jeffcheasey88
326016a93a GL Hot Fix 2023-04-22 14:34:24 +02:00
jeffcheasey88
209aa5b6ce Fix group dates & Answer Puzzle after event finished 2023-04-21 23:02:50 +02:00
0150fc3a23 Merge remote-tracking branch 'origin/SecureGroupsRoutes' 2023-04-21 10:00:11 +02:00
7509c38dc0 Bug fix makeCompetion if fileName is not in the resultSet 2023-04-20 18:47:15 +02:00
7f41864406 Be sure you cannot create two same groups or join two groups at the same event - TO BE TESTED 2023-04-20 13:35:25 +02:00
jeffcheasey88
7858752406 Tries 2023-04-18 13:17:53 +02:00
jeffcheasey88
d880d4eebe Test Parser + Trigger 2023-04-17 15:08:36 +02:00
jeffcheasey88
39a56ca16c Fix Boundary 2023-04-12 22:25:21 +02:00
jeffcheasey88
43d498a822 Fix login & Leaderboard 2023-04-12 17:49:35 +02:00
jeffcheasey88
e300d913cc Rules for groups & response 2023-04-12 10:08:52 +02:00
jeffcheasey88
1bbe38b540 Score in puzzle 2023-04-12 09:50:00 +02:00
jeffcheasey88
b954c518ec Fix register groups 2023-04-11 17:25:39 +02:00
jeffcheasey88
14e37b9e38 Fix groups 2023-04-10 17:00:57 +02:00
7dee5b60f9 Make chapter or puzzle optional for group 2023-04-10 14:51:36 +02:00
jeffcheasey88
fa6f0774a1 merged 2023-04-09 21:38:26 +02:00
jeffcheasey88
0a22f55e4e Group Join & Quit 2023-04-09 21:31:42 +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
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
jeffcheasey88
9c98ca573a Create Group 2023-04-03 23:55:41 +02:00
Francois G
241c55abe0 Take new groups table into account on register player 2023-03-29 10:13:39 +02:00
jeffcheasey88
05ff24de32 Add GroupList route & Refractor DatabaseQuery 2023-03-27 16:30:01 +02: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
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
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
Francois G
1c951e8581 Merge branch 'addRoutes' of github.com:Peer-at-Code/peer-at-code-backend into addRoutes 2023-03-10 11:08:23 +01:00
Francois G
7bc013bb46 Temp to get Xavier changes 2023-03-10 11:06:07 +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
jeffcheasey88
0f9fc996f1 Fix non-loggin request headers & register id key 2023-02-26 19:57:06 +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
jeffcheasey88
688ff3cedd Merge remote-tracking branch 'origin/getPuzzleResponse' 2023-02-23 16:11:19 +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
ee602af486 Fixing Jules problems again & Ensure sql connection 2023-02-18 10:42:10 +01:00