Commit Graph

182 Commits

Author SHA1 Message Date
Settel
df3df75820 bugfix: http sites can't set cookies with secure=true 2022-03-26 23:13:36 +01:00
Settel
58a28b0d12 feat: admin can switch to another user 2022-03-25 20:46:08 +01:00
Settel
4951f0746f feat: gamemaster: show number of quotes already played 2022-03-25 14:24:03 +01:00
Settel
870ee5f330 bugfix: gamemaster page added to static resources when building server 2022-03-25 11:36:20 +01:00
Settel
278dcbc0b0 feat: gamemaster: change score 2022-03-25 11:30:51 +01:00
Settel
a1c02e4ae8 feat: admin page: display game state and gamemaster 2022-03-17 09:28:20 +01:00
Settel
0fd022a7b3 feat: getGames returns role and authcode of all players 2022-03-17 08:24:13 +01:00
Settel
abb86fc451 feat: admin page, show list of games 2022-03-16 17:10:50 +01:00
Settel
f0a93cca20 feat: output game id with log messages 2022-03-16 09:39:22 +01:00
Settel
5f58208140 feat: output game id with every log message 2022-03-16 09:17:58 +01:00
Settel
46ec4305ad chore: fix file permissions 2022-03-15 08:10:00 +01:00
Settel
c12e1d36f8 feat: state transition to collect quotes only when in state idle 2022-03-15 08:05:13 +01:00
Settel
5611f852b1 feat: don't score own quote 2022-03-15 07:39:38 +01:00
Settel
4fe057f5d9 data: Team Hogwarts 2022-03-15 07:29:15 +01:00
Settel
5798132e9b fix: workaround for routes like /play, /admin which really should have a trailing / 2022-03-09 09:09:04 +01:00
Settel
a74717788e style: whitespace change 2022-03-04 16:11:41 +01:00
Settel
5ba57ae81b refactor: build static go binary 2022-03-03 10:16:50 +01:00
Settel
60039fc562 data: changed name of admin user 2022-03-03 10:16:23 +01:00
Settel
1dfbd43e22 feat: use resources, renamed knyt -> knowyt 2022-03-03 08:40:14 +01:00
Settel
51d1b78191 chore: build cleanup 2022-03-03 07:19:34 +01:00
Settel
b477730140 feat: admin interface: cannot delete self 2022-03-03 07:19:19 +01:00
Settel
a89f197fdd feat: admin interface remove user 2022-03-02 14:18:21 +01:00
Settel
f6889725ba feat: admin interface modify user, create user 2022-03-02 13:42:24 +01:00
Settel
52fcdbd576 feat: modify player 2022-03-02 12:04:27 +01:00
Settel
1e64c27918 feat: admin interface: player's auth code 2022-03-01 12:40:09 +01:00
Settel
4f760bb5ed refactor: admin interface: number of quotes instead of quotes 2022-03-01 12:25:25 +01:00
Settel
e2ad380c6c feat: change game name 2022-03-01 09:41:30 +01:00
Settel
f2aa568b09 feat: admin interface shows number of quotes per player 2022-02-27 21:45:28 +01:00
Settel
addfcdea86 feat: admin interface, game name 2022-02-27 20:54:13 +01:00
Settel
237a0d0345 calculate number of quotes left/total, send to client 2021-12-03 18:36:19 +01:00
Settel
32f9fa68b3 don't crash on setupRound() when there're no more quotes 2021-12-03 17:23:42 +01:00
Settel
2eb4d73472 styling (WIP) 2021-11-09 22:28:52 +01:00
Settel
b7aa3f2f73 collect quotes styling (WIP) 2021-11-07 23:51:37 +01:00
Settel
e18e6a94c1 fixed logic error 2021-10-16 21:47:45 +02:00
Settel
d70f98bf48 update list of quotes after create/delete 2021-10-16 21:35:31 +02:00
Settel
fd8aaeef78 create new quote 2021-10-16 20:14:58 +02:00
Settel
1df31a6e35 save and remove quote 2021-10-16 19:36:39 +02:00
Settel
df5f3f8250 revert change in data 2021-10-16 16:58:39 +02:00
Settel
b50c6847d6 save quote 2021-10-16 16:57:28 +02:00
Settel
6f974195b2 remove quote 2021-10-16 16:16:37 +02:00
Settel
680ec9c6ce saveQuote, removeQuote (WIP) 2021-10-15 23:07:41 +02:00
Settel
48cd97ad5a fetch list of my quotes 2021-10-01 21:19:31 +02:00
Settel
b24f222533 collect quotes status added 2021-10-01 16:40:07 +02:00
Settel
d783ceba93 read game state on startup 2021-09-26 23:36:47 +02:00
Settel
c4f290303d finish game, proceed to finals 2021-09-24 20:46:57 +02:00
Settel
c0cebcfc55 finish game, proceed to finals 2021-09-24 20:46:10 +02:00
Settel
247f14559d finals table (WIP) 2021-09-21 07:57:33 +02:00
Settel
56bb29611b randomize order of sources 2021-09-20 16:53:49 +02:00
Settel
a00931d50a proceed to next round 2021-09-20 10:41:34 +02:00
Settel
b921f7b7ee save state 2021-09-19 23:31:24 +02:00
Settel
47ead87043 mark quote as played after reveal 2021-09-17 23:40:15 +02:00
Settel
dfda2d25cf update score 2021-09-17 23:21:06 +02:00
Settel
f65a5ca2a2 typo fix 2021-09-17 22:55:15 +02:00
Settel
176c2de757 removed REVEAL_START phase 2021-09-17 22:54:46 +02:00
Settel
06dd480939 added new quotes 2021-09-16 21:41:02 +02:00
Settel
f4b027d7a7 select random quote and sources 2021-09-11 14:03:44 +02:00
Settel
47199bb6eb populate round's sources (WIP) 2021-09-06 23:31:09 +02:00
Settel
e5d13e1ff0 refactoring 2021-09-06 23:18:34 +02:00
Settel
38810210ba setup test data 2021-09-06 22:38:20 +02:00
Settel
cd020e4a31 revelation of the source 2021-09-06 21:56:52 +02:00
Settel
ecfea20df1 refactoring 2021-09-06 21:26:55 +02:00
Settel
74b14ef337 refactoring 2021-09-06 21:23:14 +02:00
Settel
a1740b3467 revelation: show number of voters 2021-09-05 21:30:13 +02:00
Settel
e66a776e96 populate Revelation (WIP) 2021-09-05 01:51:10 +02:00
Settel
0e9799e846 syncdata: revelation 2021-09-05 01:19:02 +02:00
Settel
c4d7278625 refactoring 2021-09-05 01:18:46 +02:00
Settel
8213902159 animate on continue game 2021-09-03 21:53:58 +02:00
Settel
d79e3a8956 save and store selection 2021-08-30 18:21:14 +02:00
Settel
5d5c4a68aa send player state to clients 2021-08-30 12:24:28 +02:00
Settel
597aa65834 set selection 2021-08-30 10:55:07 +02:00
Settel
be0279fe89 select source 2021-08-27 14:43:14 +02:00
Settel
b3be0ba704 sort list of users 2021-08-26 12:35:33 +02:00
Settel
df78dafd85 Sources ring layout 2021-08-15 22:19:11 +02:00
Settel
5f5033e846 send quote and sources to clients 2021-08-15 17:43:00 +02:00
Settel
7ccef35f3d game: countdown to play state 2021-08-15 17:12:24 +02:00
Settel
75148d5e30 ReadySet animation 2021-08-14 14:28:38 +02:00
Settel
ead73a9c2d reset game 2021-08-14 13:21:53 +02:00
Settel
281baa5bd2 send game state and phase to client 2021-08-13 22:39:37 +02:00
Settel
0eb9bf3602 refactoring: renamed Statement to Quote 2021-08-13 21:37:32 +02:00
Settel
189d77ae58 refactoring of quotes structure 2021-08-13 21:08:26 +02:00
Settel
3cfd4ce795 load statements 2021-08-13 02:58:58 +02:00
Settel
d99e052234 start game 2021-08-13 01:07:06 +02:00
Settel
58eafa9e6a send game state to client 2021-08-12 23:41:47 +02:00
Settel
ab5416a547 stop engine when leaving /play 2021-08-12 23:08:22 +02:00
Settel
0014a81ce3 refined idle detection, send notification to clients 2021-08-09 16:24:27 +02:00
Settel
342483d62d track player's last access time 2021-08-09 14:48:44 +02:00
Settel
34132c7703 handle player's last access time 2021-08-09 11:16:30 +02:00
Settel
257c0975fb removed /api/gameinfo endpoint 2021-08-09 10:38:01 +02:00
Settel
b2d86fcb52 add mutexes 2021-08-09 10:36:19 +02:00
Settel
0585c60063 refactoring 2021-08-09 10:23:58 +02:00
Settel
1e478ffb3b fixed duplicate code 2021-08-09 10:22:32 +02:00
Settel
90e29d995a SyncData enhancement 2021-08-09 10:20:25 +02:00
Settel
09b61c7dc9 refactoring 2021-08-09 09:47:52 +02:00
Settel
cbc7369b8d refactoring 2021-08-08 21:57:49 +02:00
Settel
91d3fc9265 switched from id for authentication to authcode 2021-08-08 21:48:15 +02:00
Settel
ce46b6f027 gameinfo 2021-08-06 21:46:00 +02:00
Settel
00b1925969 check permissions 2021-08-05 16:36:39 +02:00
Settel
55503395a4 refactoring of PrivateHandleFunc() 2021-08-05 15:48:27 +02:00
Settel
2b3e2c7dc6 refactoring of game data 2021-08-05 15:35:18 +02:00
Settel
97b11d31d5 refactoring of client engine 2021-08-05 02:22:47 +02:00