Commit graph

108 commits

Author SHA1 Message Date
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
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