Commit Graph

547 Commits

Author SHA1 Message Date
Thomas Rubini
d1adaee78c
Store hosting information in .env 2023-04-03 22:10:23 +02:00
Audric V
7e64dc69d3
Merge pull request #148 from ThomasRubini/client_admin-pages-improvements-part-2
[Client] Second part of admin pages improvements
2023-04-03 21:56:32 +02:00
Audric V
5bb8c68229
Merge pull request #149 from ThomasRubini/grammar_mistakes
Fix some grammar mistakes
2023-04-03 19:50:47 +02:00
Thomas Rubini
c64060a388
Fix some grammar mistakes 2023-04-03 19:30:19 +02:00
Thomas Rubini
0f61011a3f
Fix some grammar mistakes 2023-04-03 19:27:15 +02:00
AudricV
b0afabfde6
[Client] Add logout link on JavaScript disabled dialog for admin pages
Also remove an unneeded CSS class in the dialog message.
2023-04-03 18:58:25 +02:00
AudricV
b2c9268168
[Client] Display JavaScript requirement alert dialog on admin pages which require it and change yellow color
- Display JavaScript requirement alert dialog as a fixed element centered
horizontally and vertically;
- Use light gold color as the yellow color of admin pages.
2023-04-03 18:58:25 +02:00
AudricV
bec8f87620
[Client] Improve login button on admin login page
Add an icon and a title on the login button to improve its accessibility and
design.
2023-04-03 18:58:25 +02:00
AudricV
68c62b5e03
[Client] Improve traits management admin page
- Fix HTML, improve style of the feature and add its dedicated CSS file;
- Improve admin traits' JavaScript and fix addition of a trait where there is
no one already present;
- Remove unneeded admin.js file, as all its functions have been improved and
split into separate files.
2023-04-03 18:58:24 +02:00
AudricV
0707dce218
[Client] Improve reaction images management on NPC admin page
- Fix HTML and improve style of the feature;
- Improve admin NPC's JavaScript and fix addition of a reaction image where
there is no one already present;
- Allow upload of images with image/jpg MIME type;
- Fix attribute name of a hidden input;
- Apply the hover effects of links and buttons on their focus, for all admin
pages.
2023-04-03 18:33:25 +02:00
AudricV
2b20185ff5
[Client] Improve places admin page + fix its JavaScript
- Use proper HTML;
- Add specific CSS of this page in a dedicated file;
- Add common header;
- Move places' JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-03 18:33:24 +02:00
AudricV
4d46c62aae
[Client] Improve questions on admin page + fix its JavaScript and deduplicate common style
- Use proper HTML;
- Add CSS file specific to this page;
- Deduplicate common style by moving it into the admin_ui CSS file and do the
corresponding changes in the admin CSS and HTML files;
- Add common header;
- Move questions's JavaScript in a dedicated file, improve its code and fix its
access to DOM elements.
2023-04-03 18:33:24 +02:00
d7ec28eacf
Merge pull request #146 from ThomasRubini/waitMessageFix
changed wait message on solo games
2023-04-02 16:05:16 +02:00
bea9d86b5d changed wait message on solo games 2023-04-02 16:04:13 +02:00
470471732e
Merge pull request #145 from ThomasRubini/intro_text
changed introduction text and fixed in place inspector picture
2023-04-02 15:56:23 +02:00
25502abe6d changed introduction text and fixed in place inspector picture 2023-04-02 15:29:40 +02:00
0b9f653d76
Merge pull request #144 from ThomasRubini/ergonomicChanges
Ergonomic changes
2023-04-02 15:13:40 +02:00
1dfbbfd1c1 fixed back button not being shown in title screen 2023-04-02 15:05:37 +02:00
019a4f9bc1 added a little wait message on emotion and culprit choosing page 2023-04-02 14:57:55 +02:00
7c16615c79 added feedback on some button clics 2023-04-02 14:51:30 +02:00
Thomas Rubini
9a505722bc
add GAME_GAME_TIMEOUT to CI env 2023-04-02 12:42:52 +02:00
Thomas Rubini
e7b43d0190
Change key to 'trait_id' 2023-04-02 12:30:56 +02:00
Thomas Rubini
cd1c829273
Actually fix console spam 2023-04-02 12:28:23 +02:00
d156955554
Merge pull request #143 from ThomasRubini/discordbotUpdatesFixFix
learned to program in python
2023-04-02 00:27:04 +02:00
0ea543ac92
Merge pull request #142 from ThomasRubini/w3cFix
W3c fix
2023-04-02 00:26:44 +02:00
3f0314c078 section not Section 2023-04-02 00:26:16 +02:00
94e6dc07d8 learned to program in python 2023-04-02 00:24:38 +02:00
763ed82ad1 re-pass w3c validation 2023-04-02 00:23:16 +02:00
71e93041ad
Merge pull request #141 from ThomasRubini/discordbotUpdatesFix
fix spam in server output
2023-04-02 00:13:25 +02:00
2a08560ab8 fix spam in server output 2023-04-02 00:12:51 +02:00
Thomas Rubini
37ad681c8d
Explicitely return no error in /deleteNpc 2023-04-02 00:09:47 +02:00
Thomas Rubini
22cfaf5cac
handle the case when there are no reactions 2023-04-02 00:08:35 +02:00
70159744e5
Merge pull request #140 from ThomasRubini/discordbotUpdates
update discord bot status when games are deleted
2023-04-01 19:16:02 +02:00
Thomas Rubini
9936746c05
explicitely mark SQLAlchemy dependency version 2023-04-01 19:12:09 +02:00
7dd266ed1b update discord bot status when games are deleted 2023-04-01 19:11:31 +02:00
Thomas Rubini
aae23d7298
Merge branch 'main' of gitschool:ThomasRubini/SAE-A2-TruthInquiry 2023-04-01 19:03:47 +02:00
Thomas Rubini
172d5fc2a2
move ADMIN_PASSWORD to the right section 2023-04-01 19:03:44 +02:00
ccd4b5a825
Merge pull request #139 from ThomasRubini/licences
added licences
2023-04-01 19:01:14 +02:00
Thomas Rubini
c5108d1b30
Merge pull request #138 from ThomasRubini/reactions 2023-04-01 18:59:16 +02:00
10b9f02ca6 added licences 2023-04-01 18:59:08 +02:00
Thomas Rubini
d9ddb96e80
remove reaction_id with trait_id 2023-04-01 18:55:51 +02:00
Thomas Rubini
93409c5e54
allow to add and delete reactions (backend) 2023-04-01 18:54:08 +02:00
b2df45f425
Merge pull request #137 from ThomasRubini/image_compression
compressed image even more
2023-04-01 18:37:31 +02:00
Djalim Simaila
5e6ba33771 compressed image even more 2023-04-01 18:35:56 +02:00
Thomas Rubini
1cd238b4ab
add content type form 2023-04-01 18:19:56 +02:00
Thomas Rubini
d5199a6ef1
allow to add and delete reactions (frontend only) 2023-04-01 17:48:25 +02:00
Thomas Rubini
3a8680e41a
add reactions images to npc view 2023-04-01 17:48:24 +02:00
Thomas Rubini
4d56dd8d2f
add backref from Reactions to Npcs 2023-04-01 17:06:19 +02:00
4c4aeb3edb
Merge pull request #136 from ThomasRubini/graphicalRefactor
Graphical refactor + other fix
2023-04-01 17:01:28 +02:00
Djalim Simaila
71c54cdfa9 fixed textbox disapearing in interogation + npc not going neutral after question 2023-04-01 16:49:43 +02:00