Commit Graph

212 Commits

Author SHA1 Message Date
Alice Gaudon 3a4606b328 ModelQuery: allow specifying raw value for sortBy() 2020-09-06 12:25:53 +02:00
Alice Gaudon 23d54c4f03 Version 0.22.0-rc.1 2020-09-06 10:54:03 +02:00
Alice Gaudon 27bd7400e2 ModelQuery: fix backticks on ORDER BY and remove extra useless spaces 2020-09-05 16:09:52 +02:00
Alice Gaudon e403dfa863 ModelQuery: fix field disambiguation 2020-09-05 15:51:44 +02:00
Alice Gaudon 9e38b003f9 Model relations: add recursive query and recursive relation 2020-09-05 14:56:19 +02:00
Alice Gaudon 7b739ff056 ModelQueryResult: also return model original data 2020-09-04 22:44:30 +02:00
Alice Gaudon e29b6369af ModelQuery: add groupWhere and test it 2020-09-04 22:16:20 +02:00
Alice Gaudon 823f5d0d26 ModelQuery: fix count() queries 2020-09-04 18:51:41 +02:00
Alice Gaudon 6a4898cbda ModelRelation: add pagination 2020-09-04 18:01:29 +02:00
Alice Gaudon 8358c3fd4e Version 0.21.9 2020-09-04 15:10:56 +02:00
Alice Gaudon 4a9352e235 Version 0.21.8 2020-09-03 12:46:33 +02:00
Alice Gaudon 3bad149cdb Do not compile ts config/ files 2020-09-03 08:06:27 +02:00
Alice Gaudon d0191abf6d Version 0.21.6 2020-09-02 16:29:28 +02:00
Alice Gaudon 788be3dfa6 Version 0.21.5 2020-09-02 14:09:05 +02:00
Alice Gaudon 3e13ba0202 Version 0.21.4 2020-08-30 18:57:07 +02:00
Alice Gaudon fae5c68cd0 Auth: always populate req.models.user, thus reducing db requests 2020-08-30 17:31:51 +02:00
Alice Gaudon 28349b791e Fix ModelQuery.count() 2020-08-30 13:31:19 +02:00
Alice Gaudon 649fe41be3 Mysql: set default charset to utf8mb4 on pools 2020-08-30 11:25:26 +02:00
Alice Gaudon 6eb462ae28 Version 0.21.0 2020-08-30 10:36:53 +02:00
Alice Gaudon f3818b680f Version 0.21.0-rc.2 2020-08-28 17:40:15 +02:00
Alice Gaudon cf8039c2c7 Version 0.21.0-rc.1 2020-08-28 16:53:53 +02:00
Alice Gaudon 1aeb4e098d Version 0.20.6 2020-08-28 15:41:19 +02:00
Alice Gaudon 9913d36ce9 Version 0.20.5 2020-08-28 14:16:58 +02:00
Alice Gaudon 4ab615c457 Validator: break on first failed step to avoid further errors 2020-08-26 15:02:24 +02:00
Alice Gaudon 66ec3c0b47 Validator: add more information when exception is thrown in verifyStep 2020-08-26 14:56:34 +02:00
Alice Gaudon 9709aa1d46 Version 0.20.5-rc.2 2020-08-26 14:42:00 +02:00
Alice Gaudon 52780ebf7c Upgrade dependencies 2020-08-26 14:31:49 +02:00
Alice Gaudon 4554389527 Version 0.20.5-rc.1 2020-08-26 14:19:34 +02:00
Alice Gaudon cf4827933f Version 0.20.4 2020-08-26 14:05:41 +02:00
Alice Gaudon 4a13e8849d Update package.json for public release 2020-08-25 18:29:10 +02:00
Alice Gaudon 84f2f7118a Csrf protection test: migrate to supertest 2020-08-05 12:06:21 +02:00
Alice Gaudon fa737fe900 Version 0.20.2 2020-07-30 10:52:10 +02:00
Alice Gaudon 3b0dbc1bb9 Version 0.20.1 2020-07-29 16:18:00 +02:00
Alice Gaudon 5685490048 Version 0.20.0 2020-07-28 15:05:25 +02:00
Alice Gaudon c0dd48d064 Fix missing fields by default and fix model construction flow 2020-07-24 15:40:40 +02:00
Alice Gaudon 4b6829bfd6 Version 0.19.0 2020-07-24 13:00:35 +02:00
Alice Gaudon f03d74412c Version 0.18.0 2020-07-20 17:32:50 +02:00
Alice Gaudon fe772c4e14 WebSocketListener: make cookies+session optional 2020-07-19 17:37:10 +02:00
Alice Gaudon 4291f73a55 WebSocketListener: add app field getter 2020-07-19 12:21:56 +02:00
Alice Gaudon 197b963e4c Add cache interface 2020-07-19 12:01:22 +02:00
Alice Gaudon e9a20c82ed Fix chmod check and relax mail 2020-07-15 15:39:08 +02:00
Alice Gaudon 583a5a92de Fix config file security check access path 2020-07-15 15:22:16 +02:00
Alice Gaudon 74f8b48d27 Version 0.16.0 2020-07-15 15:14:10 +02:00
Alice Gaudon 7a96790f97 Version 0.15.5 2020-07-15 12:35:22 +02:00
Alice Gaudon eb935bf52a Fix auth redirect_uri chain 2020-07-15 12:31:07 +02:00
Alice Gaudon 634edda704 RedirectBackComponent: fix it and integrate it into NunjucksComponent 2020-07-15 10:24:01 +02:00
Alice Gaudon ceeff7b7b1 Version 0.13.9 2020-07-14 15:07:17 +02:00
Alice Gaudon a0c385bbbe Version 0.13.8 2020-07-12 11:54:41 +02:00
Alice Gaudon 3561614f96 Promote some views to wms-core 2020-07-12 11:47:47 +02:00
Alice Gaudon 7da68f2715 Fix magic link lobby email display 2020-07-12 10:32:21 +02:00
Alice Gaudon 172b977fcf Improve reliability of RedirectBackComponent 2020-07-11 12:09:05 +02:00
Alice Gaudon 0cb03ab32e Version 0.13.0 2020-07-11 11:46:41 +02:00
Alice Gaudon 883ec737db Version 0.12.0 2020-07-11 11:16:21 +02:00
Alice Gaudon 9ef8985b71 Upgrade and update dependencies 2020-07-11 11:15:39 +02:00
Alice Gaudon 892cf71917 Version 0.11.0 2020-07-09 14:19:46 +02:00
Alice Gaudon 6cf153c36b Use gzip compression 2020-07-09 14:18:05 +02:00
Alice Gaudon 45807dd77d Upgrade dependencies 2020-07-08 13:31:35 +02:00
Alice Gaudon 6bdfc9b4b7 Add CSRF route excluders 2020-07-08 13:28:22 +02:00
Alice Gaudon 5b80c3ac07 Add 401 unauthorized http error 2020-07-08 11:33:13 +02:00
Alice Gaudon 724d59daba Fix core version grabbing 2020-07-08 11:09:27 +02:00
Alice Gaudon afdfadd34e Add CsrfProtectionComponent tests and fix missing promise await 2020-07-08 10:58:57 +02:00
Alice Gaudon 001e24488b Add option to disable command line arguments when instanciating an app 2020-07-08 09:52:16 +02:00
Alice Gaudon e72bb08a66 Add frontend support for custom flashed data keys 2020-07-06 10:42:46 +02:00
Alice Gaudon ca39c3e538 Fix mail settings and add mail from 2020-06-27 18:15:02 +02:00
Alice Gaudon b043513fe8 Bug fixes and app settings 2020-06-27 17:12:50 +02:00
Alice Gaudon 10257b8294 ManyModelRelation: add cloneReduceToOne method 2020-06-27 14:58:39 +02:00
Alice Gaudon b70e5c0a21 Upgrade dependencies 2020-06-27 14:51:38 +02:00
Alice Gaudon 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
Alice Gaudon c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
Alice Gaudon 0a5fcfa7a4 Version 0.8.12 2020-06-15 12:58:33 +02:00
Alice Gaudon 44fda787d3 Version 0.8.10 2020-06-14 21:48:59 +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 a2ef0f6a42 Fix http requests logging 2020-06-14 16:04:50 +02:00
Alice Gaudon 98566811c3 Provide extended option to urlencoded middleware 2020-06-14 15:08:56 +02:00
Alice Gaudon 6026037aa8 Add support for authenticating user against custom request-proof matching 2020-06-14 11:59:02 +02:00
Alice Gaudon 3c8e04f06e Version 0.7.0 2020-06-14 11:44:12 +02:00
Alice Gaudon 499c66240b Add command line interface and allow rolling back migrations 2020-06-05 14:32:39 +02:00
Alice Gaudon 91b9e51a7d Wrap each migration in a transaction 2020-06-04 17:27:05 +02:00
Alice Gaudon 0970ff3116 Make model primaryKey dynamic (allows for composite primary keys) 2020-06-04 14:59:41 +02:00
Alice Gaudon b85fbe6c21 Log accept header for every request 2020-06-04 10:15:24 +02:00
Alice Gaudon 6a4b44035e Add MailController helper class 2020-06-03 14:14:42 +02:00
Alice Gaudon ad0bb3d023 Version 0.4.33 2020-06-03 13:47:15 +02:00
Alice Gaudon 8ccf073139 Add MagicLinkAuthController helper class 2020-06-03 13:44:47 +02:00
Alice Gaudon 384bd2fc17 Fix magic_link view data 2020-05-10 00:26:15 +02:00
Alice Gaudon 309344d1c0 Fix missing fields when creating a new MagicLink 2020-05-09 23:38:06 +02:00
Alice Gaudon e574b6e778 Add magic links 2020-05-09 23:23:19 +02:00
Alice Gaudon 26fdc94e9b Add UserEmail.fromUser() 2020-05-05 17:17:29 +02:00
Alice Gaudon 924104f700 Add auto update component 2020-05-05 15:19:23 +02:00
Alice Gaudon 3f66f728e5 Update registry address 2020-05-05 01:35:48 +02:00
Alice Gaudon 424a86fe53 Validator: add custom value transform function for display
+ Version 0.4.22
2020-05-04 22:06:20 +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 d0c77e645f Version 0.4.20 2020-05-02 11:00:52 +02:00
Alice Gaudon e3dd42ce08 Upgrade dependencies 2020-05-02 10:59:53 +02:00
Alice Gaudon fc5344c629 Fix bad place of use for redis pass 2020-04-25 18:32:00 +02:00
Alice Gaudon 6868411aa7 Add configurable redis pass 2020-04-25 18:26:46 +02:00
Alice Gaudon cf6904acd5 Version 0.4.17 2020-04-25 16:09:55 +02:00
Alice Gaudon 5731409c51 Version 0.4.7 2020-04-25 09:36:27 +02:00
Alice Gaudon 70b8866981 Distribute yarn.lock and upgrade packages 2020-04-24 12:44:58 +02:00
Alice Gaudon ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00
Alice Gaudon 7db6c0e0c7 Add retry in indication to TooManyRequests http error 2020-04-24 11:17:58 +02:00
Alice Gaudon 3397fd8216 Fix jail logic 2020-04-24 11:13:29 +02:00
Alice Gaudon 2d22e702ab Fix TooManyRequests http code 2020-04-24 11:11:03 +02:00
Alice Gaudon 7cac813a24 Add throttling utils
See https://gitlab.com/ArisuOngaku/wms/issues/35
2020-04-24 10:54:21 +02:00
Alice Gaudon 7f2157102b Add missing deps 2020-04-23 18:05:04 +02:00
Alice Gaudon 3bf4f93b74 Force an application to register migrations 2020-04-23 16:03:54 +02:00
Alice Gaudon 5ba983d0d3 Move some dev deps to normal deps 2020-04-23 15:41:16 +02:00
Alice Gaudon 9b62760ed0 Add config files 2020-04-23 12:12:08 +02:00
Alice Gaudon e77ee6bbdd Add tests 2020-04-23 11:40:55 +02:00
Alice Gaudon 1c661cee5e Switch to local npm registry publishing and move ts type deps to dev 2020-04-23 11:16:05 +02:00
Alice Gaudon b94e772269 Add missing dependencies and remove useless index.js 2020-04-22 18:06:15 +02:00
Alice Gaudon 662d12df68 Add sources 2020-04-22 17:49:58 +02:00