Commit Graph

141 Commits

Author SHA1 Message Date
Settel
9d4c6916a6 bugfix: bind to all interfaces by default (needed for Podman/Docker) 2023-06-04 11:22:49 +02:00
Settel
a78ed70f05 feat: setup game and create admin user 2023-06-03 23:05:06 +02:00
Settel
846f137b7a feat: setup app, create admin user (WIP) 2023-06-03 22:39:36 +02:00
Settel
7cd0639708 fix bug in IsInitialized() 2023-01-29 17:49:47 +01:00
Settel
cfd16e8e6c refactor CheckSetup() 2023-01-29 16:14:23 +01:00
Settel
37198001a3 add new role "setup" if game is not initialized yet 2023-01-29 16:06:13 +01:00
Settel
a243deb79e init game when database is empty
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
bind server to interface given by CLI option
2023-01-29 15:06:46 +01:00
Settel
15d1dca106 feat: remove game 2022-12-16 15:48:10 +01:00
Settel
9821353cfb feat: remove game (WIP) 2022-12-15 15:20:15 +01:00
Settel
13ff778bc8 feat: remove game (WIP) 2022-12-15 10:55:13 +01:00
Settel
e152d33da0 feat: remove game (WIP) 2022-12-15 10:40:28 +01:00
Settel
decb7ad693 refactor: extract removePlayerById(), so it's reusable 2022-12-15 10:11:42 +01:00
Settel
014f78b040 refactor: renamed deletePlayer -> removePlayer for consistency 2022-12-12 23:01:47 +01:00
Settel
b2e402f4bb chore: fix linter warnings 2022-12-12 22:50:28 +01:00
Settel
893ada71a8 feat: reject users on disabled games, except admin in cameo 2022-12-10 22:01:42 +01:00
Settel
a2c95abde9 feat: add new game state 'disabled' 2022-12-10 19:58:24 +01:00
Settel
4827ff10b7 bugfix: set cameo flag only for admin user (clone user object) 2022-12-09 20:48:33 +01:00
Settel
1be050a543 chore: update log prefix 2022-11-06 17:12:42 +01:00
Settel
6aac24d118 feat: prepend log messages with prefix 2022-11-06 17:07:35 +01:00
Settel
2f58916cba feat: log failed and successful login attempts
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-06 17:00:28 +01:00
Settel
786a1c46f1 bugfix: fix compiler warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-06 15:44:48 +01:00
Settel
eb703f86b1 refactor: use new Log class 2022-11-06 15:41:13 +01:00
Settel
62b0f429d7 bugfix: debounce save quote API call 2022-10-05 09:38:42 +02:00
Settel
7f4786a44d chores: use Nuxt3's .output/ directory instead of Nuxt2's dist/ directory 2022-09-01 19:18:13 +02:00
Settel
4b81042955 bugfix: fix Go linter warnings 2022-08-28 20:01:30 +02:00
Settel
ba5f72117e feat: save creation date along with quote and sort them from oldest to latest 2022-08-28 17:24:45 +02:00
Settel
e61c6644c1 bugfix: show up to 10 sources (instead of 12) 2022-05-03 21:05:00 +02:00
Settel
952b4d4bcc feat: /api/userinfo endpoint includes lang 2022-04-24 19:22:13 +02:00
Settel
c624f71b7f feat: set game language 2022-04-24 18:22:23 +02:00
Settel
4f8c55a8e3 feat: use fileutil.SaveFile() to save file via tempfile 2022-04-13 11:26:07 +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
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
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