Commit Graph

21 Commits

Author SHA1 Message Date
Alice Gaudon 366e48757e back/config: replace localhost with 127.0.0.1 2021-11-28 21:24:51 +01:00
Alice Gaudon e9acde6313 Merge branch 'develop' into svelte 2021-11-08 14:11:47 +01:00
Alice Gaudon a3ebf46b54 Add ApplicationComponent init lifecycle step and unstatic globals
This renames ApplicationComponent (previous) init to initRoutes and handle to handleRoutes
2021-05-13 16:03:59 +02:00
Alice Gaudon 82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
Alice Gaudon 91410b1a15 App startup: add http:// before listen address for conveniance 2021-04-27 14:43:27 +02:00
Alice Gaudon 19c8b86ff8 Fix express body parsing middlewares corrupting AsyncLocalStorage
Closes #17
2021-01-24 16:35:33 +01:00
Alice Gaudon 8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
Alice Gaudon 88e5e19730 Replace custom logging system with tslog 2020-11-02 17:50:12 +01:00
Alice Gaudon 79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
Alice Gaudon b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
Alice Gaudon dfee2645e1 Express: add custom bind address setting 2020-09-17 21:15:37 +02:00
Alice Gaudon 3af1f4a4e5 Parse json bodies for application/*+json too 2020-08-28 17:40:04 +02:00
Alice Gaudon 84f2f7118a Csrf protection test: migrate to supertest 2020-08-05 12:06:21 +02:00
Alice Gaudon 74dac9b314 Trust loopback proxy 2020-07-15 12:35:14 +02:00
Alice Gaudon 0e96a285ac Properly split routing in 2 steps: init, handle 2020-07-11 11:46:16 +02:00
Alice Gaudon 4b8a3b307d Integrate file upload form middleware into controllers 2020-07-11 11:08:57 +02:00
Alice Gaudon 6cf153c36b Use gzip compression 2020-07-09 14:18:05 +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 98566811c3 Provide extended option to urlencoded middleware 2020-06-14 15:08:56 +02:00
Alice Gaudon 662d12df68 Add sources 2020-04-22 17:49:58 +02:00