Commit Graph

22 Commits

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