Commit Graph

80 Commits

Author SHA1 Message Date
fe772c4e14 WebSocketListener: make cookies+session optional 2020-07-19 17:37:10 +02:00
4291f73a55 WebSocketListener: add app field getter 2020-07-19 12:21:56 +02:00
197b963e4c Add cache interface 2020-07-19 12:01:22 +02:00
e9a20c82ed Fix chmod check and relax mail 2020-07-15 15:39:08 +02:00
583a5a92de Fix config file security check access path 2020-07-15 15:22:16 +02:00
249098a587 Enforce config file permissions 2020-07-15 15:13:52 +02:00
9ce345d99d Don't start in production if important security fields are misconfigured 2020-07-15 15:06:29 +02:00
74dac9b314 Trust loopback proxy 2020-07-15 12:35:14 +02:00
eb935bf52a Fix auth redirect_uri chain 2020-07-15 12:31:07 +02:00
634edda704 RedirectBackComponent: fix it and integrate it into NunjucksComponent 2020-07-15 10:24:01 +02:00
6885f3da1c Add configurable maxAge for session cookie, defaults to 30 days 2020-07-14 15:06:46 +02:00
d6266e4396 Promote auth view to core 2020-07-14 15:06:30 +02:00
c2b35b473d Fix magic link buttons url scheme 2020-07-12 11:54:19 +02:00
3561614f96 Promote some views to wms-core 2020-07-12 11:47:47 +02:00
7da68f2715 Fix magic link lobby email display 2020-07-12 10:32:21 +02:00
172b977fcf Improve reliability of RedirectBackComponent 2020-07-11 12:09:05 +02:00
0e96a285ac Properly split routing in 2 steps: init, handle 2020-07-11 11:46:16 +02:00
4b8a3b307d Integrate file upload form middleware into controllers 2020-07-11 11:08:57 +02:00
6cf153c36b Use gzip compression 2020-07-09 14:18:05 +02:00
6bdfc9b4b7 Add CSRF route excluders 2020-07-08 13:28:22 +02:00
5b80c3ac07 Add 401 unauthorized http error 2020-07-08 11:33:13 +02:00
724d59daba Fix core version grabbing 2020-07-08 11:09:27 +02:00
afdfadd34e Add CsrfProtectionComponent tests and fix missing promise await 2020-07-08 10:58:57 +02:00
001e24488b Add option to disable command line arguments when instanciating an app 2020-07-08 09:52:16 +02:00
e72bb08a66 Add frontend support for custom flashed data keys 2020-07-06 10:42:46 +02:00
ca39c3e538 Fix mail settings and add mail from 2020-06-27 18:15:02 +02:00
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