Commit graph

66 commits

Author SHA1 Message Date
jeffcheasey88
9ba9ab12c7 Leaderboard dynamic & Lock System & Refractor WebSocket + Headers 2023-04-10 22:46:18 +02:00
jeffcheasey88
14e37b9e38 Fix groups 2023-04-10 17:00:57 +02:00
jeffcheasey88
eac490f040 Little edit 2023-04-09 23:03:08 +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
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
87c4fd8bc1 Secure route needing login and update some http errors codes 2023-04-09 17:10:49 +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
6442ebdf19 Manage group as Object and no more String for leaderboard and playerDetails 2023-03-20 15:16:11 +01:00
jeffcheasey88
a4b4ef8beb Tiens Tiens Tiens 2023-03-19 21:00:07 +01:00
jeffcheasey88
288cf33f1c Merge remote-tracking branch 'origin/18-03-2023' 2023-03-19 20:50:06 +01:00
Francois G
71c7e4e02c Return all badge info in player details route 2023-03-19 20:19:36 +01:00
Francois G
a47992e19a Fix json, timestamp is now a String, it was include as native data (not recognise in javascript parser) for all chapters list 2023-03-19 17:25:55 +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
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
005596f28f add start and end date in chapters list 2023-03-18 23:25:10 +01:00
jeffcheasey88
a100c5e672 Fix json, timestamp is now a String, it was include as native data (not recognise in javascript parser) 2023-03-18 23:09:04 +01:00
jeffcheasey88
d4fcf57144 Upgrade Route System 2023-03-18 15:14:03 +01:00
jeffcheasey88
3863fb659b Merge branch 'main' of https://github.com/Peer-at-Code/peer-at-code-backend 2023-03-18 15:04:56 +01:00
jeffcheasey88
7174a24ca8 ah ? 2023-03-18 15:04:50 +01:00
jeffcheasey88
eb5f62c19d Update not logged-in system 2023-03-18 14:38:17 +01:00
jeffcheasey88
d319394d0c Merge remote-tracking branch 'origin/17-03-2023' 2023-03-18 01:21:31 +01:00
jeffcheasey88
f23e139b9f Add Unit Test System & Fix player details 2023-03-18 01:20:06 +01:00
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