Commit graph

80 commits

Author SHA1 Message Date
b06eba6698 Protect responses from participants 2020-02-05 10:10:27 +01:00
e40bedc91c Fix regression: ambiguity between user_id and model_id 2020-02-03 17:12:15 +01:00
Andrea Fazzi
b9e6c5dbe1 Fix ambiguity between user_id and model_id in user token 2020-02-03 14:13:01 +01:00
Andrea Fazzi
368de33447 Improve response UI 2020-02-03 12:52:56 +01:00
Andrea Fazzi
92543c7750 Remove debug log from response.go 2020-01-31 15:20:11 +01:00
4823379f42 Encode form values in gen_targets 2020-01-31 15:03:26 +01:00
ee6184fe43 Fix isActive 2020-01-29 09:34:46 +01:00
f5781db5b0 Add error for question order string empty 2020-01-28 17:01:24 +01:00
Andrea Fazzi
f7d0fa4b39 Use new error template for errors 2020-01-28 15:04:28 +01:00
55a3605bd0 Implement a template for errors 2020-01-28 14:36:31 +01:00
Andrea Fazzi
45d28dfbd6 Fix school subscription mail body 2020-01-27 14:40:34 +01:00
Andrea Fazzi
18a22ee32c Add suggestions sections 2020-01-27 14:21:08 +01:00
Andrea Fazzi
f9164034dd Fix test, improve error handling 2020-01-27 13:15:51 +01:00
f35410e0ae Refactoring usermodifier 2020-01-27 11:43:56 +01:00
d027e84807 Refactor user modifier 2020-01-27 08:35:37 +01:00
61f4ca1842 Display createdby and updatedby for schools also (as admin) 2020-01-24 17:19:49 +01:00
Andrea Fazzi
29da5958f8 Fix modifiers 2020-01-24 10:55:01 +01:00
Andrea Fazzi
ae15f35792 Autocreate response only when logged as administrator 2020-01-23 10:23:06 +01:00
7ca88395e6 Fix test 2020-01-23 09:15:27 +01:00
39520a9acc Don't create responses from web interface 2020-01-21 17:25:06 +01:00
420eae4cf4 Add contest director and school responsible 2020-01-20 12:07:02 +01:00
Andrea Fazzi
d85f66d256 Fix tests 2020-01-17 11:06:28 +01:00
06f96f1ccc Move PathPattern into config package 2020-01-17 07:59:57 +01:00
22965dc1f4 Add models file 2020-01-15 16:42:35 +01:00
82de4b68fb Completed renderer, orm and mail sender refactoring 2020-01-15 13:40:35 +01:00
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
013f9717b4 Produce test db using import script 2020-01-11 08:03:56 +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
766ba387a6 import_contest prototype script 2020-01-08 15:41:04 +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
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
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