Commit Graph

533 Commits

Author SHA1 Message Date
Thomas Rubini
77f09b953f
Merge pull request #58 from ThomasRubini/legal_pages_improvements 2023-01-16 14:29:01 +01:00
Thomas Rubini
1739693fa5
put real host in legal page 2023-01-16 14:16:12 +01:00
AudricV
31d78793b5
[Client] Improve legal mentions template 2023-01-16 13:54:19 +01:00
AudricV
4b0f9b6a2d
[Client] Add missing libraries to the licenses page 2023-01-16 13:54:19 +01:00
AudricV
594f5e7754
[Server] Remove unused dependencies from requirements 2023-01-16 13:54:14 +01:00
e9dee419b8
Merge pull request #57 from ThomasRubini/readme
typos
2023-01-16 10:47:41 +01:00
f652d804ef typos 2023-01-16 10:46:59 +01:00
Thomas Rubini
5a0a4d81e4
Merge pull request #56 from ThomasRubini/sqlalchemy_timeout 2023-01-16 10:38:46 +01:00
Thomas Rubini
176c432def
Fix sqlachemy timeout 2023-01-16 10:35:26 +01:00
22c396e92f
Merge pull request #55 from ThomasRubini/readme
Readme
2023-01-16 10:28:07 +01:00
3f4f398f3b Added contributors 2023-01-16 10:27:05 +01:00
AudricV
81e2e1ad6c
Merge pull request #54 from ThomasRubini/client_game-room-players-design-improvements
[Client] Improve game room players name design
2023-01-16 09:46:03 +01:00
AudricV
5329e30ea6
[Client] Improve game room players name design 2023-01-16 09:42:53 +01:00
AudricV
6e42a5c11b
Merge pull request #53 from ThomasRubini/client_game-fix-introduction-next-button
[Client] Fix game introduction next button
2023-01-16 09:28:58 +01:00
AudricV
fc645540f2
[Client] Fix game introduction next button
Add missing next_btn CSS class to introduction_next_btn button.
2023-01-16 09:25:34 +01:00
a6abf99f68
Merge pull request #52 from ThomasRubini/bugfix
Bugfix
2023-01-16 09:18:51 +01:00
56aa031d51 score is fixed 2023-01-16 09:17:47 +01:00
2147dc7a9e can no longer ask other questions while one is displayed 2023-01-16 09:17:44 +01:00
9287a9f30a lobby redirect to / if no gameid was given 2023-01-16 09:16:27 +01:00
Thomas Rubini
c11985edbf
Merge pull request #51 from ThomasRubini/client_error-handling 2023-01-16 09:15:26 +01:00
AudricV
b1e8796640
[Client] Handle connexion errors and invalid API responses
An alert is shown to the user and errors are logged to the console.
Also reformat the function code style.
2023-01-16 09:10:09 +01:00
Thomas Rubini
bd84671098
Merge pull request #50 from ThomasRubini/gamefinished 2023-01-16 09:07:34 +01:00
Thomas Rubini
73a81edcbb
replace gamefinshed with gamefinished 2023-01-16 09:02:00 +01:00
a8fc8b139d
Merge pull request #49 from ThomasRubini/python_refactor
Python refactor
2023-01-15 21:58:02 +01:00
a8fd082308 False is not None 2023-01-15 21:57:03 +01:00
4a1014e75c remove game when it finished 2023-01-15 21:56:01 +01:00
4101552658 doctring for non route functions 2023-01-15 21:53:40 +01:00
7d049565a7 refactored according to flake8 and pylint linting 2023-01-15 20:54:53 +01:00
Thomas Rubini
993f93843c
Merge pull request #47 from ThomasRubini/licence 2023-01-15 17:27:18 +01:00
Thomas Rubini
b9f4210696
put everyone in the licence 2023-01-15 17:23:06 +01:00
AudricV
635a8016fd
Merge pull request #48 from ThomasRubini/client_show-waiting-for-host
[Client] Show the waiting for host message for everyone except game owner
2023-01-15 17:20:56 +01:00
AudricV
158adfe507
[Client] Show the waiting for host message for everyone except game owner
Also add documentation of the hideJoinRoomView function and remove an extra
blank line
2023-01-15 17:18:53 +01:00
a9186d7e98 typos + added more contents 2023-01-15 16:18:45 +01:00
AudricV
f3d27a7db1
Merge pull request #46 from ThomasRubini/client_fix-suspect-answer-interrogation
[Client] Fix suspect answer interrogation position
2023-01-15 15:10:51 +01:00
02c7ea6bbc added readme content 2023-01-15 13:57:37 +01:00
AudricV
378af1b044
[Client] Fix suspect answer interrogation position 2023-01-15 13:35:54 +01:00
AudricV
158335bb34
Merge pull request #45 from ThomasRubini/client_socket-io-selfhost-and-credit
[Client] Self-host Socket.IO library and credit the library in the licenses page
2023-01-15 13:17:58 +01:00
AudricV
d4be98edb1
[Client] Credit Socket.IO in the licenses page 2023-01-15 13:16:47 +01:00
AudricV
1405235002
[Client] Use local version of Socket.IO in game pages 2023-01-15 13:16:46 +01:00
AudricV
9332fd4a05
[Client] Self-host Socket.IO library
The version 4.4.1 is added with this commit, with the minified version and its
source map.
2023-01-15 13:16:46 +01:00
2c396141b7
Merge pull request #44 from ThomasRubini/typo
fixed a typo
2023-01-15 13:12:46 +01:00
c523991a4b fixed a typo 2023-01-15 13:10:49 +01:00
Thomas Rubini
9c04b041fa
Merge pull request #43 from ThomasRubini/origin_env 2023-01-15 13:06:04 +01:00
AudricV
a8f19fde72
Merge pull request #42 from ThomasRubini/client_cookies-availability-and-legal-links-errors
[Client] Add cookie check availability and legal links on game pages when the game cannot be played
2023-01-15 12:55:08 +01:00
Thomas Rubini
ea42ed1f22
Put authorized origin in env 2023-01-15 12:46:25 +01:00
e2b6336507
Merge pull request #41 from ThomasRubini/npc_images
add npc image
2023-01-15 12:24:15 +01:00
SujetDelta
eeba658ad1 add npc image 2023-01-15 12:22:34 +01:00
AudricV
fa9024167b
[Client] Add legal links on game pages when the game cannot be played 2023-01-15 12:04:20 +01:00
AudricV
ce640ff158
[Client] Add cookie availability check
If cookies are not allowed, the game cannot be played. That's the reason why an
alert error message is show in this case, in order to prevent the user to play
the game.
2023-01-15 12:04:19 +01:00
AudricV
a13b1d0ada
[Client] Remove localStorage requirement
As we use cookies for the game and that localStorage is only used to save the
theme set on the start page, it isn't needed to use it, as the dark theme would
be set as a fallback.

In order to show a cookies requirement message if they are disabled, we need to
remove the one of the localStorage, as when cookies access is disabled,
localStorage cannot be accessed.
2023-01-15 12:04:19 +01:00