Commit Graph

151 Commits

Author SHA1 Message Date
10b9f02ca6 added licences 2023-04-01 18:59:08 +02:00
Djalim Simaila
5e6ba33771 compressed image even more 2023-04-01 18:35:56 +02:00
Thomas Rubini
4d56dd8d2f
add backref from Reactions to Npcs 2023-04-01 17:06:19 +02:00
Djalim Simaila
71c54cdfa9 fixed textbox disapearing in interogation + npc not going neutral after question 2023-04-01 16:49:43 +02:00
Djalim Simaila
fa554ef6e8 simple chat css 2023-04-01 16:49:43 +02:00
579d4ab0b9 Compressed pictures even more for even more faster loads 2023-04-01 16:49:43 +02:00
874dca1b0c Compressed pictures even more for even more faster loads 2023-04-01 16:49:36 +02:00
dda75ff4d4 Compressed pictures for faster load 2023-04-01 16:49:12 +02:00
de0ce9762e Compressed pictures for faster load 2023-04-01 16:48:53 +02:00
f91af841a3 Stylised suspect names 2023-04-01 16:48:01 +02:00
d41df3e478 showing reaction pictures in result page 2023-04-01 16:48:01 +02:00
ed8b928ebc hide button on solo game + fixed player list updates in lobby + fixed joining a already started game 2023-04-01 16:48:01 +02:00
a66f8e61e6 added chat 2023-04-01 16:48:01 +02:00
feae6929c4 atomic commit 2023-04-01 16:48:00 +02:00
AudricV
186e66a103
[Client] Improve NPC admin page + move and fix its JavaScript into a separate file
- Style all button and inputs on admin pages with Roboto Mono font (and
sans-serif as a fallback) with 1em font size;
- Remove unneeded transition effect property declaration on text hover, as the
regular declaration is applied when switching from hover state to regular
state.
- Add NPC dedicated stylesheet in which specific NPC style has been added;
- Use an icon where the picture of a NPC is not available (like when adding a
new one) and provide the NPC picture as the picture instead of the edition page
itself;
- Move NPC's JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-01 15:05:19 +02:00
AudricV
6b1d278712
[Client] Improve admin index page
- Use proper HTML;
- Add common CSS to all administration pages and specific CSS to this one;
- Add common header;
- Remove unneeded script in the index page.
2023-04-01 15:03:16 +02:00
AudricV
af02671812
[Client] Improve admin login page 2023-04-01 14:55:53 +02:00
61b044689f
Merge pull request #133 from ThomasRubini/jsfix
fix change not going neutral after question timeout
2023-03-31 12:35:17 +02:00
Thomas Rubini
a778756f3c
add logout button to admin panel 2023-03-31 11:16:03 +02:00
8873e1a14a added solo game flag 2023-03-31 07:19:53 +02:00
cd074c26de fix change not going neutral after question timeout 2023-03-30 19:27:06 +02:00
98afa0452f fix discord bot updates 2023-03-30 18:42:10 +02:00
b1d50b5bdc
Merge pull request #130 from ThomasRubini/check_inputs
added some check
2023-03-30 18:17:02 +02:00
Thomas Rubini
e40cd622a6 added some check 2023-03-30 18:15:39 +02:00
c1db569d1b deffered npc image, speed ups game creation 2023-03-30 16:18:05 +02:00
Thomas Rubini
4835f0b077
Merge branch 'main' of gitschool:ThomasRubini/SAE-A2-TruthInquiry 2023-03-29 10:11:58 +02:00
Thomas Rubini
3c8f9a1ada
Allow to delete npcs 2023-03-29 10:11:55 +02:00
Audric V
61de799253
Merge pull request #127 from ThomasRubini/client_improve-game-pages
[Client] Improve game pages
2023-03-29 09:57:31 +02:00
Thomas Rubini
c330253306
handle adding a new Npc 2023-03-29 09:57:18 +02:00
AudricV
40c4e47327
[Client] Improve legal pages design
- Change background color to game's grey to fix hover color of footer links;
- Move footer links at the bottom of the page;
- Change game's blue color to match this color with accessibility
recommendations.
2023-03-29 09:55:11 +02:00
AudricV
8aed3a99da
[Client] Improve unsupported browser and footer code and design 2023-03-29 09:55:10 +02:00
Thomas Rubini
da0c50988f
remove typo 2023-03-29 09:55:00 +02:00
Thomas Rubini
fb75ee1c3a
Rename js admin functions 2023-03-29 09:53:57 +02:00
AudricV
c6687748a2
[Client] Improve homepage code 2023-03-29 09:52:10 +02:00
AudricV
5966483e85
[Client] Improve lobby HTML code 2023-03-29 09:52:10 +02:00
AudricV
4acbb6214a
[Client] Improve game HTML code 2023-03-29 09:52:10 +02:00
AudricV
0d4b8ed3ac
Change meta HTML tag in legal pages
This is required in order to pass W3C validation on these pages.
2023-03-29 08:57:36 +02:00
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