Commit Graph

19 Commits

Author SHA1 Message Date
9980c54fcf front/SvelteViewEngine: pre-compile ssr on demand, refactor globals into proper locals and lazy locals 2021-11-24 22:18:14 +01:00
e7695b7027 Upgrade dependencies 2021-11-08 01:09:26 +01:00
0f415144dc Reorganize many root config parameters 2021-06-01 14:38:53 +02:00
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
82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
05d112a3b3 Remove NunjucksComponent 2021-04-30 13:59:22 +02:00
4745ae4e17 Fix session id not available in websocket listeners
Fixes #21
2021-01-25 16:36:15 +01:00
8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
87b4facea0 Upgrade dependencies and update to express session new typings 2020-12-04 15:24:22 +01:00
4d0c714dbd Render emails using NunjucksComponent's environment 2020-11-03 10:29:36 +01:00
88e5e19730 Replace custom logging system with tslog 2020-11-02 17:50:12 +01:00
79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
b736f5f6cb Improve middleware definition and cleanup code 2020-09-25 22:15:57 +02:00
87aae6bb33 Fix some nunjucks globals not properly set and make getCSRFToken dynamic 2020-09-23 16:11:51 +02:00
79d3b51f90 Pass a whole Session to WebSocketListeners 2020-09-23 08:55:35 +02:00
fe772c4e14 WebSocketListener: make cookies+session optional 2020-07-19 17:37:10 +02:00
197b963e4c Add cache interface 2020-07-19 12:01:22 +02:00
0e96a285ac Properly split routing in 2 steps: init, handle 2020-07-11 11:46:16 +02:00
662d12df68 Add sources 2020-04-22 17:49:58 +02:00