Commit graph

107 commits

Author SHA1 Message Date
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
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
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
13f22aabbd Add support for custom error templates 2019-12-09 14:18:31 +01:00
Andrea Fazzi
3c19bbd4fb Add regions 2019-12-09 11:15:42 +01:00
Andrea Fazzi
45aa873a7e Add alerts for participants school subscription 2019-12-09 09:45:45 +01:00
Andrea Fazzi
06b9cfa0db Add categories 2019-12-09 08:27:46 +01:00
Andrea Fazzi
8f02b2eb5f Working on participant subscription workflow of school user 2019-12-07 11:44:19 +01:00
Andrea Fazzi
4b752f2e50 Add user modifier actions 2019-12-07 08:58:30 +01:00
Andrea Fazzi
768c8b84ca Split mail functionality in a separate package, improve multiuser features 2019-12-06 10:59:00 +01:00
Andrea Fazzi
502a451767 First implementation of send mail feature 2019-12-05 15:08:37 +01:00
Andrea Fazzi
1600110f6d Subscriber role 2019-12-03 15:24:01 +01:00
Andrea Fazzi
6cb74a5ebe Add School model 2019-12-03 12:21:28 +01:00
Andrea Fazzi
65f0aeadd0 Introducing flash messages and i18n support 2019-12-03 11:14:29 +01:00
Andrea Fazzi
2fb6cda55c Add errors package and improve style 2019-12-02 10:48:46 +01:00
Andrea Fazzi
43dd305835 Decoupling user credential from participant model 2019-11-29 12:44:43 +01:00
Andrea Fazzi
17f1be188e Refactor login.go 2019-11-22 11:16:27 +01:00
Andrea Fazzi
d19d1b04b9 Add Response prototype 2019-11-18 17:04:07 +01:00
Andrea Fazzi
a33cd9ac2d Quick prototyping of user authentication/authorization 2019-11-18 12:40:28 +01:00
Andrea Fazzi
da478d71c8 Implement MVC for Participant 2019-11-15 10:41:32 +01:00
Andrea Fazzi
46ce9b704c Generate Participant MVC 2019-11-14 15:04:11 +01:00
Andrea Fazzi
4263fcd035 Completed contest/question/answer MVC 2019-11-14 12:55:22 +01:00
Andrea Fazzi
71997176b7 Complete first iteration of question/answer MVC 2019-11-13 15:54:17 +01:00
Andrea Fazzi
dbccda3279 Add model/view for answers 2019-11-13 13:57:41 +01:00
Andrea Fazzi
fea4b6902b Implement Create for Question 2019-11-13 12:15:29 +01:00
Andrea Fazzi
94da7ad65f Add Answer model and fix active funcmap 2019-11-13 11:15:21 +01:00
Andrea Fazzi
6dbbc350bc First commit 2019-11-04 15:00:46 +01:00