Commit Graph

337 Commits

Author SHA1 Message Date
Thomas Rubini
38f682a2d6
add example import script 2023-03-09 14:40:44 +01:00
Thomas Rubini
42e4b43f0c
Do not link SQLAlchemy models to Flask 2023-03-09 14:40:42 +01:00
Thomas Rubini
99a9032826
fix wrong comments 2023-03-06 10:37:53 +01:00
Thomas Rubini
ff5056ab61
add comments to SQL tables 2023-02-27 13:52:44 +01:00
2b6673d4a9
Merge pull request #84 from ThomasRubini/api_doc
add API documentation yaml
2023-02-16 12:02:26 +01:00
Thomas Rubini
a5b63e158c
regenerate docs
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-16 12:01:01 +01:00
Thomas Rubini
cd4d0b9e47
Translate API docs in english
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-16 11:57:52 +01:00
Thomas Rubini
e9d3781a30
Merge pull request #83 from ThomasRubini/css_refactor 2023-02-16 11:43:56 +01:00
AudricV
4b6cbc9214
[Client] Refactor legal game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:19 +01:00
AudricV
b5648ebf53
[Client] Refactor lobby game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:19 +01:00
AudricV
c0486c70f2
[Client] Refactor gameplay game style
- Order properties alphabetically
- Use colors variables from global style and move gameplay colors into
  variables
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:41:03 +01:00
AudricV
14747b53b7
[Client] Refactor start game style
- Order properties alphabetically
- Use colors variables from global style
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:08:37 +01:00
AudricV
97473aea56
[Client] Refactor global game style
- Order properties alphabetically
- Move colors into variables
- Merge some common properties between selectors into a common declaration
- Do some minor improvements
2023-02-16 11:08:37 +01:00
Thomas Rubini
a014878e0e
Merge pull request #82 from ThomasRubini/fix 2023-02-16 11:08:15 +01:00
7cfcf1af2a fixed : get reaction description, desc was moved 2023-02-16 11:06:18 +01:00
Thomas Rubini
59735916a1
add API documentation yaml
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-16 09:50:01 +01:00
54ec5640f1
Merge pull request #78 from ThomasRubini/sql
added datadump
2023-02-16 09:39:44 +01:00
394bff7945 added datadump 2023-02-16 09:37:22 +01:00
Thomas Rubini
7b3b2c868d
Merge pull request #77 from ThomasRubini/err_handler 2023-02-16 09:24:14 +01:00
Thomas Rubini
5c713c409b
add error handler 2023-02-16 09:23:41 +01:00
Thomas Rubini
8d83d2afa0
Merge pull request #73 from ThomasRubini/APP 2023-02-16 08:30:06 +01:00
Thomas Rubini
c50b73477c
Remove last occurences of 'APP' 2023-02-16 08:28:58 +01:00
Thomas Rubini
dbf4086e56
Merge pull request #71 from ThomasRubini/refactor 2023-02-11 22:44:05 +01:00
Thomas Rubini
5c796ba90e
refactor tests 2023-02-11 22:43:14 +01:00
Thomas Rubini
f4002b4ac7
create all tables on startup 2023-02-11 22:43:14 +01:00
Thomas Rubini
653151c8bd
refactor app to follow python and flask best practices 2023-02-11 22:43:11 +01:00
Thomas Rubini
dbb64dcf11
cleanup imports in __init__
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-03 15:45:18 +01:00
Thomas Rubini
7b72ab0fc5
move DESC_LID to T_TRAIT
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-03 15:31:18 +01:00
Thomas Rubini
c5fceb9663
Merge pull request #69 from ThomasRubini/flask_sqlalchemy 2023-02-03 14:30:53 +01:00
Thomas Rubini
3aae91e17a
replace sqlalchemy with flask_sqlalchemyin requirements.txt 2023-02-03 14:29:54 +01:00
Thomas Rubini
0dc59450a7 use flask-sqlalchemy instead of sqlalchemy
Co-authored-by: Djalim Simaila <DjalimSimaila@users.noreply.github.com>
2023-02-03 13:25:10 +00:00
Thomas Rubini
2ceddbe860
Merge pull request #68 from ThomasRubini/question_timeout 2023-02-03 14:24:42 +01:00
9e936f906c game question timeout set to 2sec 2023-02-03 13:24:04 +00:00
Thomas Rubini
406e3dd35c
Merge pull request #67 from ThomasRubini/compress_imgs 2023-02-03 14:21:13 +01:00
fb28fe7464 compressed background images 2023-02-03 13:18:52 +00:00
Thomas Rubini
57d49644e8
Merge pull request #66 from ThomasRubini/readme_contributors 2023-01-17 14:43:19 +01:00
Thomas Rubini
f03f47ab30
Update contributors in README 2023-01-17 14:42:02 +01:00
649ca0de6a
Merge pull request #65 from ThomasRubini/doc
api docs again
2023-01-16 23:50:42 +01:00
d2cb03c8be api docs again 2023-01-16 23:49:43 +01:00
b95a68b698
Merge pull request #64 from ThomasRubini/doc
api docs
2023-01-16 23:48:24 +01:00
fd0711c19a api docs 2023-01-16 23:46:59 +01:00
AudricV
6f7edb3887
Merge pull request #63 from ThomasRubini/client_game-fixes-and-improvements
[Client] Game fixes and improvements
2023-01-16 23:46:06 +01:00
AudricV
c8f33e7d45
[Client] Fix game background position on some screens 2023-01-16 23:44:56 +01:00
AudricV
8a6fcdce9e
[Client] Hide all other suspect buttons when a suspect is selected as the culprit 2023-01-16 23:43:28 +01:00
AudricV
06d3faad87
[Client] Show game background based on current view
Also reformat the game JavaScript file
2023-01-16 23:17:34 +01:00
AudricV
c21727bbd9
Merge pull request #62 from ThomasRubini/client_favicon
[Client] Add favicons
2023-01-16 22:53:18 +01:00
AudricV
afbc52baef
[Client] Add favicons to HTML pages
All resolutions have been added, so the client can choose the best appropriate
resolution.
2023-01-16 22:51:55 +01:00
AudricV
f43bf7c2be
[Client] Add favicons
Favicons added are PNG images only, with resolutions 32x32, 64x64, 128x128,
192x192, 256x256 and 512x512.

They should work on browsers supported by the game.
2023-01-16 22:50:29 +01:00
4b2f58eae0
Merge pull request #61 from ThomasRubini/data_typos
typos
2023-01-16 16:41:04 +01:00
cb58548c94 typos 2023-01-16 16:39:51 +01:00