Commit Graph

18 Commits

Author SHA1 Message Date
Alice Gaudon 4db7217876 Controller: add useMiddleware method 2020-12-30 14:10:58 +01:00
Alice Gaudon b8905ea02b Move Controller.validate to static Validator.validate 2020-11-11 19:29:23 +01:00
Alice Gaudon ead3c8ce1e Controller: wrap use() middlewares to handle async 2020-11-11 19:29:23 +01:00
Alice Gaudon 88e5e19730 Replace custom logging system with tslog 2020-11-02 17:50:12 +01:00
Alice Gaudon 79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
Alice Gaudon b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
Alice Gaudon 7a1656ea7f Change public_url config field name to base_url 2020-07-24 12:59:44 +02:00
Alice Gaudon eb935bf52a Fix auth redirect_uri chain 2020-07-15 12:31:07 +02:00
Alice Gaudon 4b8a3b307d Integrate file upload form middleware into controllers 2020-07-11 11:08:57 +02:00
Alice Gaudon 9d63564719 Promote ValidationBag error handling to Application wide level 2020-06-14 21:48:50 +02:00
Alice Gaudon fa3e5bdb19 Support route parameter regex in controller route function 2020-06-14 21:48:19 +02:00
Alice Gaudon a15d496c53 Use formidable instead of multer 2020-06-14 21:47:18 +02:00
Alice Gaudon adf380c19d Add request parsing middlewares to controllers 2020-06-14 17:33:37 +02:00
Alice Gaudon 8755a152a6 Add PUT and DELETE REST methods to controllers 2020-06-14 11:43:49 +02:00
Alice Gaudon 0591daf93f Fix route regexps aren't global
+ Version 0.4.21
2020-05-02 11:35:04 +02:00
Alice Gaudon e1b5e7fdad Add Controller.validate and automatically handle validation errors 2020-04-25 16:09:47 +02:00
Alice Gaudon d676caa3dc Add validate method to Controller (for forms) 2020-04-25 09:33:33 +02:00
Alice Gaudon 662d12df68 Add sources 2020-04-22 17:49:58 +02:00