Commit Graph

201 Commits

Author SHA1 Message Date
Alice Gaudon 16dedb681a Version 0.23.0 2021-01-25 10:56:23 +01:00
Alice Gaudon 94cb157520 Remove connect-redis that breaks context with RedisStore 2021-01-22 15:55:06 +01:00
Alice Gaudon 8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
Alice Gaudon 6f9ecaa9c4 Upgrade dependencies 2021-01-22 13:42:15 +01:00
Alice Gaudon bdaf815aec Upgrade dependencies 2020-12-28 12:01:00 +01:00
Alice Gaudon 87b4facea0 Upgrade dependencies and update to express session new typings 2020-12-04 15:24:22 +01:00
Alice Gaudon 3d819f03c7 Simplify build cp command and add README.md to published package files 2020-11-12 16:56:03 +01:00
Alice Gaudon 9d50c5cc5f Rename project to swaf 2020-11-12 16:11:16 +01:00
Alice Gaudon 24d83c73ad Add basic development environment for testing purposes 2020-11-11 19:29:23 +01:00
Alice Gaudon f15535dda9 Version 0.22.5 2020-11-04 11:55:52 +01:00
Alice Gaudon 19066b3e67 Version 0.22.4 2020-11-03 17:50:26 +01:00
Alice Gaudon 7a4c157074 Version 0.22.3 2020-11-03 11:14:26 +01:00
Alice Gaudon 6fa2683318 Version 0.22.2 2020-11-03 10:30:34 +01:00
Alice Gaudon cfb7bddca6 DropLegacyLogsTable: fix sql syntax 2020-11-02 19:32:56 +01:00
Alice Gaudon 0d94faf0a6 Version 0.22.0 2020-11-02 18:05:02 +01:00
Alice Gaudon 9d30b16536 yarn: rename "build_and_publish" script to friendlier "release" 2020-11-02 18:04:31 +01:00
Alice Gaudon f33c3f04eb Upgrade dependencies 2020-11-02 17:52:16 +01:00
Alice Gaudon 88e5e19730 Replace custom logging system with tslog 2020-11-02 17:50:12 +01:00
Alice Gaudon 93bff1fdca Nunjucks/globals: fix route() context 2020-10-02 12:13:48 +02:00
Alice Gaudon 8cf069fb28 Version 0.22.0-rc.23 2020-10-02 12:08:22 +02:00
Alice Gaudon bb100b3c13 configuration: use .json5 instead of .ts 2020-10-01 16:16:36 +02:00
Alice Gaudon 36f835b226 Version 0.22.0-rc.21 2020-10-01 14:19:25 +02:00
Alice Gaudon 47367e2d79 Upgrade dependencies 2020-10-01 14:18:41 +02:00
Alice Gaudon 9d42167013 Version 0.22.0-rc.20 2020-09-28 14:16:26 +02:00
Alice Gaudon 0d6f7c0d90 Add eslint 2020-09-25 11:48:39 +02:00
Alice Gaudon 5dc0bd710a Make nunjucks and static file server compatible with pkg 2020-09-24 22:42:55 +02:00
Alice Gaudon 87aae6bb33 Fix some nunjucks globals not properly set and make getCSRFToken dynamic 2020-09-23 16:11:51 +02:00
Alice Gaudon 47e0756930 Add websocketUrl view local 2020-09-23 12:31:19 +02:00
Alice Gaudon 79d3b51f90 Pass a whole Session to WebSocketListeners 2020-09-23 08:55:35 +02:00
Alice Gaudon 6305a69583 Version 0.22.0-rc.15 2020-09-23 08:47:16 +02:00
Alice Gaudon c1114c83b8 Version 0.22.0-rc.14 2020-09-17 21:16:00 +02:00
Alice Gaudon 9f31e5cbe9 Version 0.22.0-rc.13 2020-09-15 16:37:46 +02:00
Alice Gaudon 0e32d4fc82 Version 0.22.0-rc.12 2020-09-10 19:13:17 +02:00
Alice Gaudon 969ab18b96 ModelRelation: sort recursive relations by tree 2020-09-08 19:11:19 +02:00
Alice Gaudon 892b830dc4 Code formatting and cleanup, dependencies upgrade and version 0.22.0-rc.8 2020-09-07 14:38:30 +02:00
Alice Gaudon e86356ae74 ModelQuery.union(): fix missing subquery variables 2020-09-06 16:02:53 +02:00
Alice Gaudon 17685a44be Improve field disambiguation to allow raw values when starting with ",',` 2020-09-06 15:44:37 +02:00
Alice Gaudon c2abb1c87a Model.select(): allow custom select fields 2020-09-06 15:09:58 +02:00
Alice Gaudon 4c482fb148 ModelQuery: add union() 2020-09-06 15:07:11 +02:00
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