Commit Graph

140 Commits

Author SHA1 Message Date
Settel
4f8c55a8e3 feat: use fileutil.SaveFile() to save file via tempfile 2022-04-13 11:26:07 +02:00
Settel
91286db402 data: removed team Jellyfish (Einstein/St. Exupery/Edison/...) 2022-04-12 14:30:05 +02:00
Settel
4c34172e62 feat: show player id, game id on click 2022-04-12 14:27:49 +02:00
Settel
6305c7beda feat: user last logged in/created 2022-04-12 14:16:03 +02:00
Settel
3f7a27b2de feat: create game 2022-04-09 22:25:52 +02:00
Settel
30904da68d feat: create game (WIP) 2022-04-09 21:27:54 +02:00
Settel
4fca931673 feat: save and load game state 2022-04-03 21:20:32 +02:00
Settel
8f87f331cc bugfix: fixed crash b/c state.json had empty UUID as key for a newly created user 2022-04-03 14:37:57 +02:00
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