Commit Graph

254 Commits

Author SHA1 Message Date
b043513fe8 Bug fixes and app settings 2020-06-27 17:12:50 +02:00
10257b8294 ManyModelRelation: add cloneReduceToOne method 2020-06-27 14:58:39 +02:00
ec5b2b9aa0 Revamp model system
- Add model relations
- Get rid of SQL_CALC_FOUND_ROWS (deprecated)
- Eager loading
2020-06-27 14:45:05 +02:00
c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
94286dc833 auto update: add git fetch command 2020-06-15 12:58:27 +02:00
9363873898 Format response for validation errors 2020-06-15 12:58:15 +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
fa42b8991b Add query customization to model pagination 2020-06-14 21:47:51 +02:00
362343171c Add non-verbose mode for mysql query logging 2020-06-14 21:47:36 +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
a2ef0f6a42 Fix http requests logging 2020-06-14 16:04:50 +02:00
98566811c3 Provide extended option to urlencoded middleware 2020-06-14 15:08:56 +02:00
6026037aa8 Add support for authenticating user against custom request-proof matching 2020-06-14 11:59:02 +02:00
8755a152a6 Add PUT and DELETE REST methods to controllers 2020-06-14 11:43:49 +02:00
e63b5d21fe Add left join to query builder 2020-06-14 11:43:31 +02:00
e965303777 Add logging full http requests cli arg 2020-06-14 11:43:00 +02:00
e2cb322001 Fix some models properties 2020-06-14 11:41:44 +02:00
499c66240b Add command line interface and allow rolling back migrations 2020-06-05 14:32:39 +02:00
91b9e51a7d Wrap each migration in a transaction 2020-06-04 17:27:05 +02:00
0970ff3116 Make model primaryKey dynamic (allows for composite primary keys) 2020-06-04 14:59:41 +02:00
b85fbe6c21 Log accept header for every request 2020-06-04 10:15:24 +02:00
6a4b44035e Add MailController helper class 2020-06-03 14:14:42 +02:00
8ccf073139 Add MagicLinkAuthController helper class 2020-06-03 13:44:47 +02:00
384bd2fc17 Fix magic_link view data 2020-05-10 00:26:15 +02:00
309344d1c0 Fix missing fields when creating a new MagicLink 2020-05-09 23:38:06 +02:00
e574b6e778 Add magic links 2020-05-09 23:23:19 +02:00
26fdc94e9b Add UserEmail.fromUser() 2020-05-05 17:17:29 +02:00
924104f700 Add auto update component 2020-05-05 15:19:23 +02:00
424a86fe53 Validator: add custom value transform function for display
+ Version 0.4.22
2020-05-04 22:06:20 +02:00
0591daf93f Fix route regexps aren't global
+ Version 0.4.21
2020-05-02 11:35:04 +02:00
fc5344c629 Fix bad place of use for redis pass 2020-04-25 18:32:00 +02:00
6868411aa7 Add configurable redis pass 2020-04-25 18:26:46 +02:00
e1b5e7fdad Add Controller.validate and automatically handle validation errors 2020-04-25 16:09:47 +02:00
49fc92df5c Add UserEmail.getMainFromUser 2020-04-25 16:09:13 +02:00
b13d70bfc0 Improve validation messages and add more validation rules 2020-04-25 16:08:53 +02:00
8882df4c0d Improve verbosity of auth error 2020-04-25 16:08:20 +02:00
0207ad5001 Add register callback to optionally save more models 2020-04-25 09:36:20 +02:00
faeafbd68d Pass session to auth methods 2020-04-25 09:35:49 +02:00
9b7ec1e516 Nunjucks: distinguish application version from core version 2020-04-25 09:35:25 +02:00
d676caa3dc Add validate method to Controller (for forms) 2020-04-25 09:33:33 +02:00
b401c9732c Add minLength and maxLength to Validator 2020-04-25 09:33:15 +02:00
de777bc844 Make redis prefix configurable 2020-04-25 09:32:59 +02:00
ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00
7db6c0e0c7 Add retry in indication to TooManyRequests http error 2020-04-24 11:17:58 +02:00
3397fd8216 Fix jail logic 2020-04-24 11:13:29 +02:00
2d22e702ab Fix TooManyRequests http code 2020-04-24 11:11:03 +02:00
7cac813a24 Add throttling utils
See https://gitlab.com/ArisuOngaku/wms/issues/35
2020-04-24 10:54:21 +02:00
3bf4f93b74 Force an application to register migrations 2020-04-23 16:03:54 +02:00
6469de499f Add NunjucksComponent 2020-04-23 11:18:23 +02:00
1c661cee5e Switch to local npm registry publishing and move ts type deps to dev 2020-04-23 11:16:05 +02:00
b94e772269 Add missing dependencies and remove useless index.js 2020-04-22 18:06:15 +02:00
662d12df68 Add sources 2020-04-22 17:49:58 +02:00