Commit Graph

40 Commits

Author SHA1 Message Date
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
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
1862ef9274
Remove debug calls to print() 2023-03-24 11:43:03 +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
1220e570fb
Generate /admin/questions using flask template 2023-03-20 15:51:37 +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
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
0a130fe955
connect traits view with backend 2023-03-18 18:41:38 +01:00
Thomas Rubini
969ef67c08
add traits back office view 2023-03-18 18:41:38 +01:00
Thomas Rubini
2e1e69584f
add back office places view 2023-03-18 16:09:42 +01:00
Thomas Rubini
5ac435b3f3
remove get_or_empty() function 2023-03-18 16:03:48 +01:00
Thomas Rubini
b9abe99673
add npc list to admin index 2023-03-18 15:57:36 +01:00
Thomas Rubini
92c6d089e7
add back office npc view 2023-03-18 15:48:58 +01:00
Thomas Rubini
6c07221b7d
Finish set_questions endpoint 2023-03-16 14:39:51 +01:00
Thomas Rubini
04be0b641e
add setQuestions endpoint and access it from js 2023-03-12 12:57:42 +01:00
Thomas Rubini
e1ea41b6d1
add 'go back' buttons 2023-03-12 12:57:42 +01:00
Thomas Rubini
f3fa09e25f
implement get_questions() API 2023-03-12 12:57:42 +01:00
Thomas Rubini
f546ef5efd
add admin API 2023-03-12 12:57:42 +01:00
Thomas Rubini
5d79915829
add admin pages 2023-03-12 12:57:42 +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
Thomas Rubini
5c713c409b
add error handler 2023-02-16 09:23:41 +01:00
Thomas Rubini
c50b73477c
Remove last occurences of 'APP' 2023-02-16 08:28:58 +01:00
Thomas Rubini
653151c8bd
refactor app to follow python and flask best practices 2023-02-11 22:43:11 +01:00
fd0711c19a api docs 2023-01-16 23:46:59 +01:00
Thomas Rubini
3011c4b2b5
rename app name from truthseeker to truthinquiry 2023-01-16 14:36:49 +01:00