Commit graph

86 commits

Author SHA1 Message Date
3bb8dde670 Encapsulate orm behaviour in the Database struct 2020-01-15 11:27:00 +01:00
2ad7e3d180 Working on db refactoring 2020-01-14 16:28:27 +01:00
Andrea Fazzi
3f61d86465 Begin handler refactor 2020-01-14 09:43:27 +01:00
3308d35503 Fix issues with handlers_test 2020-01-14 07:57:02 +01:00
Andrea Fazzi
3e8300c2a3 Fixing global vars in handlers 2020-01-13 16:33:20 +01:00
a2af636a85 Working on handlers<->orm test 2020-01-13 08:14:58 +01:00
Andrea Fazzi
a259571955 Begin working on tests 2020-01-11 09:11:49 +01:00
013f9717b4 Produce test db using import script 2020-01-11 08:03:56 +01:00
Andrea Fazzi
a4f0169dcf Fix SchoolID in testdata 2020-01-10 14:52:06 +01:00
be38ba9f57 Fix testdata 2020-01-10 14:31:55 +01:00
Andrea Fazzi
359cca07ed Working on participants import 2020-01-10 12:56:25 +01:00
c07bb4ded9 Working on fake data for tests 2020-01-10 12:07:11 +01:00
Andrea Fazzi
b9fadab25b Download fake data 2020-01-09 12:09:47 +01:00
478eaf05b7 Generalize import functions 2020-01-09 09:04:33 +01:00
c875a73b9a Editing a test contest toml file 10/25 2020-01-08 17:14:15 +01:00
766ba387a6 import_contest prototype script 2020-01-08 15:41:04 +01:00
02795fd740 Rename GetAll in ReadAll 2020-01-08 09:24:48 +01:00
f05c7918da Remove getModel from client package 2020-01-08 09:21:41 +01:00
deda73d5af Merge branch 'master' of ssh://git.andreafazzi.eu:10022/andrea/oef 2020-01-08 09:19:34 +01:00
a6368c8bb4 Working on import_contest script 2020-01-08 09:17:47 +01:00
Andrea Fazzi
766b54322a Working on contest toml import 2020-01-07 18:33:11 +01:00
Andrea Fazzi
a590a57b65 Working on http client 2020-01-02 13:01:21 +01:00
Andrea Fazzi
7df11d017d Protect API handler with role filters 2020-01-02 09:48:20 +01:00
Andrea Fazzi
44faee0140 Manage out of time errors 2019-12-29 17:23:50 +01:00
Andrea Fazzi
e94c4b9afa Protect POST, DELETE routes 2019-12-19 13:56:54 +01:00
Andrea Fazzi
96485fc9f3 Working on response/contest time management 2019-12-19 12:12:56 +01:00
Andrea Fazzi
560ba79ab8 Improve participant contest view 2019-12-19 07:38:10 +01:00
Andrea Fazzi
ab683dca42 Fix participant template 2019-12-18 13:00:45 +01:00
Andrea Fazzi
a3be8fe8db Fix role and templates for participants 2019-12-18 12:34:42 +01:00
Andrea Fazzi
95249fe665 Fetch given single responses from DB and implement random order 2019-12-18 11:49:52 +01:00
Andrea Fazzi
3a5e99c3da Merge branch 'response_2' of ssh://git.andreafazzi.eu:10022/andrea/oef into response_2 2019-12-18 10:46:44 +01:00
Andrea Fazzi
f5a12d2ea4 Fix questions order generator 2019-12-18 10:46:39 +01:00
Andrea Fazzi
1e4ba14973 Split AnswersIDs if not empty 2019-12-18 09:57:07 +01:00
Andrea Fazzi
f0c937c438 Merge branch 'response_2' of ssh://git.andreafazzi.eu:10022/andrea/oef into response_2 2019-12-18 09:49:05 +01:00
Andrea Fazzi
c19631e65b Encode/decode single responses 2019-12-18 09:47:37 +01:00
Andrea Fazzi
bce666f7f3 Implement question order generator 2019-12-16 18:05:12 +01:00
Andrea Fazzi
973ff5a1af Fix user modifier for response 2019-12-16 07:50:18 +01:00
Andrea Fazzi
24ad134e66 Merge branch 'master' into response_2 2019-12-13 13:25:51 +01:00
Andrea Fazzi
06030bb0c7 Implement question order generator 2019-12-13 13:25:33 +01:00
Andrea Fazzi
bcf2e1be4d Working on participant response 2019-12-13 12:55:11 +01:00
Andrea Fazzi
2aa98c1bbb Add NumQuestions and NumAnswersPerQuestion 2019-12-13 08:32:20 +01:00
Andrea Fazzi
23fb973590 Fix CreatedBy and UpdatedBy 2019-12-09 18:07:43 +01:00
Andrea Fazzi
a9437536d0 Remove debug print 2019-12-09 15:54:24 +01:00
Andrea Fazzi
95db1e79b3 Fix template bug 2019-12-09 15:48:02 +01:00
Andrea Fazzi
39dfbad706 Do not hide create participant button as admin 2019-12-09 15:43:54 +01:00
Andrea Fazzi
92a1f141a0 Fetch all categories before updating participant 2019-12-09 15:23:44 +01:00
Andrea Fazzi
8ceb259ca8 Hide creator/updater details for non admin 2019-12-09 15:17:30 +01:00
Andrea Fazzi
e22d0ce16e Debug user_id claims 2019-12-09 14:58:39 +01:00
Andrea Fazzi
4baffb2dcc Bump license 2019-12-09 14:21:36 +01:00
Andrea Fazzi
13f22aabbd Add support for custom error templates 2019-12-09 14:18:31 +01:00