Commit Graph

26 Commits

Author SHA1 Message Date
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
Vojtěch Káně
fdc080a250 Implement switching to next question 2021-02-06 21:17:31 +01:00
Vojtěch Káně
de49bcd4b5 Update Go libraries 2021-02-06 21:15:22 +01:00
Vojtěch Káně
6ba649532c Pass data to JS through DOM not to confuse GoHTML syntax highlighters 2021-02-06 21:14:52 +01:00
Vojtěch Káně
59586abe51 Print executed queries in devDb to simplify development 2021-02-06 21:12:35 +01:00
Vojtěch Káně
a3786f56cf Add gitignore for ent generated files 2021-02-06 19:16:01 +01:00
Vojtěch Káně
84131562a9 Add common dev environment in Nix 2021-01-21 18:18:44 +01:00
Vojtěch Káně
28e22e3422 Initial commit 2020-12-03 23:07:44 +01:00