Commit graph

120 commits

Author SHA1 Message Date
d167c84605 Remove schema ignore tag for captcha from School struct 2022-12-07 14:59:08 +01:00
1f9d3606ce Add CC header to mail sent after school subscription 2022-12-07 11:16:16 +01:00
e7e5041c85 Replace OIEF with CEF 2022-12-07 09:20:46 +01:00
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
a602eced73 Merge branch 'preload_school' 2022-03-15 11:23:44 +01:00
4cc13a007d Preload school region 2022-03-15 11:18:52 +01:00
8641a43e68 Modify mail template 2022-02-03 18:12:55 +01:00
d3f040da33 Add PreviousParticipantsSelection 2022-02-03 16:20:39 +01:00
87595f1d63 Add 'italiane' in the mail template 2022-02-02 11:35:32 +01:00
209ab40e42 Rename OEF in OIEF and change date; add new participant and school fields 2022-02-01 18:32:03 +01:00
f0ceaf730c Add ESTERO as region 2021-03-01 17:53:37 +01:00
Andrea Fazzi
4de256e9fb Add export rank script and preload region when reading all schools 2021-01-12 13:51:05 +01:00
02fc36f723 Replace r.RemoteAddr with r.Header.Get("X-Forwarded-For") 2021-01-10 18:04:34 +01:00
aa50b09156 Print debug info for X-Forwarded-For 2021-01-10 17:57:20 +01:00
a723587860 Merge branch 'master' of ssh://git.andreafazzi.eu:10022/andrea/oef 2021-01-10 17:49:29 +01:00
d884404956 Add debug info to catch forwarded client IP 2021-01-10 17:49:03 +01:00
Andrea Fazzi
c97792e762 Improve ranking 2021-01-05 12:28:40 +01:00
7faac499e3 Merge branch 'production' 2021-01-05 11:43:42 +01:00
e0f5b12575 Add rank in contest show view 2021-01-05 11:37:49 +01:00
Andrea Fazzi
855936879d Limit response EndTime to contest EndTime when the last one is before the first one 2021-01-04 11:45:52 +01:00
919fda3637 Remove debug statements and improve contest's timing information 2021-01-02 17:30:39 +01:00
62b26cc7b2 Add some statistical info to contest view 2021-01-02 12:12:38 +01:00
4d77e9c586 Increase contest description length 2020-12-31 18:06:24 +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
36eed0709c Add flag to reset StartTime value 2020-12-26 15:29:11 +01:00
67fbb581fc Resolve record not found bug when updating participants 2020-12-24 18:05:24 +01:00
7df7386a97 Merge branch 'master' into production 2020-12-24 14:07:55 +01:00
Andrea Fazzi
91d4649b3d Increase question text size 2020-12-16 15:37:42 +01:00
7bd0f2c316 Preload Category for ReadAll queries 2020-12-14 17:18:03 +01:00
eaa9c405aa Fix countdown and reset response StartTime when len(SingleResponses) is zero 2020-03-04 09:18:24 +01:00
587b35326b Finish first regression test for participant response 2020-03-03 16:51:53 +01:00
Andrea Fazzi
2be776305f Add env var to skip captcha when regression testing 2020-02-12 11:14:04 +01:00
1bb38bb002 School subscription captcha first iteration 2020-02-12 09:50:35 +01:00
Andrea Fazzi
ea99d47b9a Working on school subscription regression test 2020-02-08 12:27:13 +01:00
Andrea Fazzi
324cc2a350 Add markdown parser 2020-02-05 14:39:56 +01:00
4965ccf0f9 Working on contest description 2020-02-05 14:12:08 +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
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