Commit graph

54 commits

Author SHA1 Message Date
9ab95fd063 Preload User when reading all participants 2022-05-03 14:58:11 +02:00
352b319aad Preload School.Region for user different from school 2022-03-15 11:34:20 +01:00
4cc13a007d Preload school region 2022-03-15 11:18:52 +01:00
209ab40e42 Rename OEF in OIEF and change date; add new participant and school fields 2022-02-01 18:32:03 +01:00
787908de2f Add String method to user model 2020-12-29 19:18:18 +01:00
286f6f083f Add some log messaging trying to debug participant creation bug 2020-12-29 18:58:58 +01:00
a3a7c43bc6 Add some log messaging for participant creation process 2020-12-29 18:53:13 +01:00
ada7a9a28b Delete responses for unsubscribed participants 2020-12-28 12:23:41 +01:00
67fbb581fc Resolve record not found bug when updating participants 2020-12-24 18:05:24 +01:00
7bd0f2c316 Preload Category for ReadAll queries 2020-12-14 17:18:03 +01:00
Andrea Fazzi
324cc2a350 Add markdown parser 2020-02-05 14:39:56 +01:00
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
f7d0fa4b39 Use new error template for errors 2020-01-28 15:04:28 +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
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
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
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
13f22aabbd Add support for custom error templates 2019-12-09 14:18:31 +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
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