Commit graph

40 commits

Author SHA1 Message Date
ca17d60709 Refactoring handlers 2020-01-24 07:15:23 +01:00
2ece2dcba4 Fix tests 2020-01-23 17:54:41 +01:00
Andrea Fazzi
819a3caad6 Refactor error handling 2020-01-23 12:50:50 +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
Andrea Fazzi
75ce2c54ab Improve comment 2020-01-20 12:54:57 +01:00
420eae4cf4 Add contest director and school responsible 2020-01-20 12:07:02 +01:00
Andrea Fazzi
d1a7d1a0db Add test for create school as admin 2020-01-17 12:53:35 +01:00
7f20441abf Working on tests 2020-01-17 12:11:13 +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
Andrea Fazzi
8a4afd970e Working on better path patterns 2020-01-16 12:47:35 +01:00
22965dc1f4 Add models file 2020-01-15 16:42:35 +01:00
50eaa518f5 Remove global vars 2020-01-15 13:44:48 +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
Andrea Fazzi
3f61d86465 Begin handler refactor 2020-01-14 09:43:27 +01:00
3308d35503 Fix issues with handlers_test 2020-01-14 07:57:02 +01:00
Andrea Fazzi
3e8300c2a3 Fixing global vars in handlers 2020-01-13 16:33:20 +01:00
a2af636a85 Working on handlers<->orm test 2020-01-13 08:14:58 +01:00
Andrea Fazzi
a259571955 Begin working on tests 2020-01-11 09:11:49 +01:00
766ba387a6 import_contest prototype script 2020-01-08 15:41:04 +01:00
Andrea Fazzi
a590a57b65 Working on http client 2020-01-02 13:01:21 +01:00
Andrea Fazzi
7df11d017d Protect API handler with role filters 2020-01-02 09:48:20 +01:00
Andrea Fazzi
e94c4b9afa Protect POST, DELETE routes 2019-12-19 13:56:54 +01:00
Andrea Fazzi
ab683dca42 Fix participant template 2019-12-18 13:00:45 +01:00
Andrea Fazzi
a3be8fe8db Fix role and templates for participants 2019-12-18 12:34:42 +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
98114bfab1 Add role.go 2019-12-04 12:20:34 +01:00
Andrea Fazzi
519f6438b5 Working on authorization 2019-12-04 10:11:18 +01:00
Andrea Fazzi
1600110f6d Subscriber role 2019-12-03 15:24:01 +01:00
Andrea Fazzi
65f0aeadd0 Introducing flash messages and i18n support 2019-12-03 11:14:29 +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
a33cd9ac2d Quick prototyping of user authentication/authorization 2019-11-18 12:40:28 +01:00
Andrea Fazzi
12f2a7a1d5 Fix login redirect path 2019-11-18 10:41:22 +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