Commit Graph

114 Commits

Author SHA1 Message Date
AudricV
2f96d16e54
[Client] Provide valid HTML on error page 2023-03-29 08:57:35 +02:00
AudricV
0712aa3a76
[Client] Add Flask-APScheduler to the licenses page 2023-03-29 08:55:24 +02:00
Thomas Rubini
f500347da6
Merge pull request #111 from ThomasRubini/jsDoc 2023-03-28 20:58:03 +02:00
Thomas Rubini
c81217f07b
remove lang selection from questions 2023-03-28 20:56:59 +02:00
5544eb439d
Merge branch 'main' into gamelimit 2023-03-27 23:54:59 +02:00
eb0d9082f1
Merge pull request #121 from ThomasRubini/stopgame
added game timeout
2023-03-27 23:47:24 +02:00
c9541ae89e
Merge branch 'main' into gamelimit 2023-03-27 23:46:55 +02:00
22ba243c60 added game timeout 2023-03-27 23:41:58 +02:00
Thomas Rubini
5c62e0bd23
Show message when password is invalid 2023-03-27 17:19:36 +02:00
Thomas Rubini
9433d625f9
add admin auth method 2023-03-27 17:12:49 +02:00
Thomas Rubini
17d39ceb91
add decorator to restrict admin endpoints 2023-03-27 16:57:41 +02:00
67b026a78c added game limiter 2023-03-27 16:24:45 +02:00
Thomas Rubini
f3a27be971
do not use UUID type for compatibility with old MariaDB servers 2023-03-26 16:22:20 +02:00
Thomas Rubini
daeea9cfd7
implement api route /getReaction 2023-03-26 16:12:10 +02:00
Thomas Rubini
ef5ed73c9e
added REACTION_UUID field to Reaction 2023-03-26 15:42:22 +02:00
Thomas Rubini
135c91ad19
use text utility methods when possible 2023-03-25 20:41:04 +01:00
Thomas Rubini
25e29d5c33
refactor SQL relationship names 2023-03-25 20:37:15 +01:00
Thomas Rubini
ccac9c302c
Connect npc view to backend 2023-03-25 20:17:05 +01:00
Thomas Rubini
55018c90bb
add utility fucntions to query texts from locales 2023-03-25 20:16:48 +01:00
Thomas Rubini
1862ef9274
Remove debug calls to print() 2023-03-24 11:43:03 +01:00
Thomas Rubini
d9d2b24859
fix css resource path 2023-03-23 21:06:11 +01:00
e020de963b
Merge pull request #114 from ThomasRubini/playerlistEndpoint
can see player before joining game
2023-03-20 16:44:22 +01:00
Djalim Simaila
cc3728b62f can see player before joining game 2023-03-20 16:39:37 +01:00
Thomas Rubini
c69edc3248
Merge pull request #113 from ThomasRubini/admin_html 2023-03-20 16:37:30 +01:00
Audric V
e9ac9523f6
Merge pull request #109 from ThomasRubini/client_add-game-backgrounds-blur-filter
[Client] Add blur filter for game backgrounds to increase visibility of texts
2023-03-20 16:34:15 +01:00
Cazals Mathias
ede7a45ae5 update questions file in for admin 2023-03-20 16:02:52 +01:00
Cazals Mathias
54ec4bf618 update admin files 2023-03-20 15:55:40 +01:00
Thomas Rubini
d951660bed
Merge pull request #112 from ThomasRubini/questions 2023-03-20 15:52:13 +01:00
Thomas Rubini
1220e570fb
Generate /admin/questions using flask template 2023-03-20 15:51:37 +01:00
Djalim Simaila
3b2d4ca693 added missing docstring in game_lobby.js 2023-03-20 15:11:57 +01:00
Djalim Simaila
e72f9a9790 added missing docstring in game_start_page.js 2023-03-20 15:11:57 +01:00
8d878d8eff added docstring to the game.js file 2023-03-20 15:11:57 +01:00
AudricV
7a06129346
[Client] Add blur filter for game backgrounds to increase visibility of texts 2023-03-20 14:26:33 +01:00
Thomas Rubini
30d903db38
fix tab 2023-03-20 14:17:54 +01:00
AudricV
e83591c9ef
[Client] Add button to go back to the home page on game results view
This button has been placed at the top right of the page.

Also merge some common properties into a single one.
2023-03-20 13:43:46 +01:00
Thomas Rubini
05295f30fb
query all places at once 2023-03-19 12:22:19 +01:00
Thomas Rubini
8041be1fea
query all npcs at once 2023-03-19 12:18:16 +01:00
Thomas Rubini
7a2a23729d
refactor error message for npc reaction 2023-03-19 12:08:26 +01:00
Thomas Rubini
4438e8f2ff
remove code 500 on invalid npc 2023-03-19 12:06:05 +01:00
Thomas Rubini
c2aeede354
make backend use database to return images 2023-03-19 12:05:50 +01:00
Thomas Rubini
4d7ac75ecc
move reaction files 2023-03-19 11:12:04 +01:00
Thomas Rubini
066943d8a8
change reaction import system to read from a directory + add default npc image 2023-03-19 11:11:52 +01:00
Thomas Rubini
23dc6962d8
add npc reaction images to database 2023-03-19 10:43:27 +01:00
Thomas Rubini
3aae90aab8
add autoincrement to some primary keys 2023-03-19 10:29:13 +01:00
Thomas Rubini
98a4635a12
update places view and connect with backend 2023-03-18 23:09:24 +01:00
Thomas Rubini
12eb1afa84
update backend to delete traits in db 2023-03-18 19:03:39 +01:00
Thomas Rubini
8451100415
add button to delete trait 2023-03-18 19:03:31 +01:00
Thomas Rubini
0a130fe955
connect traits view with backend 2023-03-18 18:41:38 +01:00
Thomas Rubini
ab0b6efccc
fix id not being reset on new traits 2023-03-18 18:41:38 +01:00
Thomas Rubini
f73f0801d7
add "Add new" button for traits 2023-03-18 18:41:38 +01:00