Vojtěch Káně
|
04563d3c28
|
Support listening on a unix socket
|
2021-11-01 00:21:37 +01:00 |
|
Vojtěch Káně
|
08c6afeecd
|
Add tooltips on homepage
|
2021-09-24 01:25:04 +02:00 |
|
Vojtěch Káně
|
46ccc879da
|
Add help page explaining how to create a new quiz
|
2021-07-03 16:42:36 +02:00 |
|
Vojtěch Káně
|
b0e8a43331
|
Show user friendly error messages on homepage.
|
2021-07-03 16:22:17 +02:00 |
|
Vojtěch Káně
|
08b8aad09d
|
Improve README.md
|
2021-07-03 15:20:48 +02:00 |
|
Vojtěch Káně
|
c121593938
|
Clarify homepage wording
|
2021-07-03 14:19:56 +02:00 |
|
Vojtěch Káně
|
51c559b7e0
|
Filter source in Nix build to prevent spurious rebuilds
|
2021-05-04 10:51:12 +02:00 |
|
Vojtěch Káně
|
f1ca80cbae
|
Compare codes case insensitive
|
2021-05-03 17:50:54 +02:00 |
|
Vojtěch Káně
|
5f9ac3d4a9
|
Implement creating new games
|
2021-04-27 16:37:48 +02:00 |
|
Vojtěch Káně
|
ee91f3d7f8
|
Indent CSS with tabs
|
2021-04-27 10:21:53 +02:00 |
|
Vojtěch Káně
|
9d2ff6a2ba
|
Styling of the in-game names display
|
2021-04-25 20:40:07 +02:00 |
|
Vojtěch Káně
|
3e9ec38ec5
|
Update the dev script to reload on static files as they are embedded into the binary
|
2021-04-25 20:27:55 +02:00 |
|
Vojtěch Káně
|
7a94ba8fff
|
Use secure websocket connection when loaded over HTTPS
|
2021-04-25 19:57:14 +02:00 |
|
Vojtěch Káně
|
9f9f5faa9c
|
Add NixOS module
|
2021-04-25 15:18:29 +02:00 |
|
Vojtěch Káně
|
ab3ee4366b
|
Embed static files and HTML templates into the binary
|
2021-04-25 15:17:39 +02:00 |
|
Vojtěch Káně
|
49f00e0665
|
Accept basic configuration through environment variables
|
2021-04-25 14:33:23 +02:00 |
|
Vojtěch Káně
|
339af2ebca
|
Make breaks between questions
|
2021-04-25 14:09:08 +02:00 |
|
Vojtěch Káně
|
5dae8a7ad7
|
Better error handling in handlers.game
|
2021-04-25 14:03:54 +02:00 |
|
Vojtěch Káně
|
531687bac3
|
Enable post-build tests
|
2021-04-25 13:46:22 +02:00 |
|
Vojtěch Káně
|
3df6c47464
|
Show remaining time to answer
|
2021-04-24 12:35:56 +02:00 |
|
Vojtěch Káně
|
fc8a18e5bb
|
Improve styling
|
2021-04-22 20:17:45 +02:00 |
|
Vojtěch Káně
|
e0c0348db2
|
Remove debug print from newTemplateCache
|
2021-04-21 12:13:03 +02:00 |
|
Vojtěch Káně
|
1e31b770ca
|
Add OnDelete annotation to each edge
|
2021-04-21 12:10:28 +02:00 |
|
Vojtěch Káně
|
52f2e238e1
|
Remove custom table names as ent uses sensible defaults
The only consequence is renaming option to choice
|
2021-04-21 12:06:10 +02:00 |
|
Vojtěch Káně
|
ea24ed2f1d
|
Declare dependencies of go generate and run go mod tidy
|
2021-04-21 11:59:00 +02:00 |
|
Vojtěch Káně
|
2963efc498
|
Update Go dependencies
|
2021-04-20 19:59:02 +02:00 |
|
Vojtěch Káně
|
2dd4b1cf40
|
dev helpers: use up to date Go
|
2021-04-20 19:54:52 +02:00 |
|
Vojtěch Káně
|
34feb5bb64
|
Enable builds on GitHub actions
|
2021-04-20 16:13:56 +02:00 |
|
Vojtěch Káně
|
de7b9072ef
|
Write a Nix expression for building the binary
Update the tooling as well
|
2021-04-20 12:09:19 +02:00 |
|
Vojtěch Káně
|
688f87922d
|
Display results
|
2021-04-01 16:36:38 +02:00 |
|
Vojtěch Káně
|
de28e7ab8c
|
handlers.nextQuestion: return HTTP Status no content
Also remove debug print
|
2021-04-01 16:33:55 +02:00 |
|
Vojtěch Káně
|
bdcbb8c283
|
Display session code to organisers
|
2021-04-01 13:48:51 +02:00 |
|
Vojtěch Káně
|
a5bc7c6984
|
Implement session creation
|
2021-03-29 20:37:52 +02:00 |
|
Vojtěch Káně
|
782f96ebbd
|
Fill Session.Started
|
2021-03-24 19:30:00 +01:00 |
|
Vojtěch Káně
|
e2e7130e40
|
Fix Model.SaveAnswer
|
2021-03-24 18:09:46 +01:00 |
|
Vojtěch Káně
|
10cab78b6f
|
Add tests for Model.SaveAnswer
|
2021-03-21 16:28:07 +01:00 |
|
Vojtěch Káně
|
e5412eba87
|
Pass current time to model methods by arguments to make them purer and therefore more testable
|
2021-03-21 15:30:42 +01:00 |
|
Vojtěch Káně
|
22fd8ec17f
|
README: fix typo
|
2021-02-18 14:52:53 +01:00 |
|
Vojtěch Káně
|
32b3b35a2f
|
Support go generate for ent codegen
|
2021-02-18 14:52:42 +01:00 |
|
Vojtěch Káně
|
41ae2283b1
|
Update ent
The package changed its import path so we had to reflect
|
2021-02-18 14:51:45 +01:00 |
|
Vojtěch Káně
|
b91e4cec55
|
Tidy go.mod
|
2021-02-16 10:44:22 +01:00 |
|
Vojtěch Káně
|
cc74774950
|
Use uuid.Nil instead of uuid.New() in ent schema initializers
It is used just to carry the sql.Scanner and sql.Valuer interface.
|
2021-02-15 17:15:59 +01:00 |
|
Vojtěch Káně
|
20bb2aa6bb
|
Add README with developers documentation
|
2021-02-15 16:24:46 +01:00 |
|
Vojtěch Káně
|
c4b717ab2c
|
Remove run-db.sh replaced by definition in flake.nix
|
2021-02-15 15:14:36 +01:00 |
|
Vojtěch Káně
|
9d37cb3ebb
|
Initial model testing environment
|
2021-02-15 14:51:07 +01:00 |
|
Vojtěch Káně
|
e4ab598b49
|
Use UUIDs for AskedQuestions as well
|
2021-02-15 13:21:38 +01:00 |
|
Vojtěch Káně
|
e677014d75
|
Fix typos
|
2021-02-08 08:59:28 +01:00 |
|
Vojtěch Káně
|
4fc9aa50d1
|
Accept answers
|
2021-02-07 18:29:36 +01:00 |
|
Vojtěch Káně
|
753b164c58
|
Animate question change
|
2021-02-07 18:24:15 +01:00 |
|
Vojtěch Káně
|
d54808d229
|
Fix players rendering
|
2021-02-06 21:18:35 +01:00 |
|