Commit Graph

26 Commits

Author SHA1 Message Date
Alice Gaudon d6b530d16c Add formatViewData to response object to fix tests and prepare for async navigation 2021-11-28 21:26:45 +01:00
Alice Gaudon e7695b7027 Upgrade dependencies 2021-11-08 01:09:26 +01:00
Alice Gaudon 4a8a1f2da8 More work on default theme and components 2021-11-08 00:24:53 +01:00
Alice Gaudon f1ae6f6a7b Move frontend tests to a dedicated page 2021-06-02 18:30:20 +02:00
Alice Gaudon 3b636359c6 [TO SQUASH] fix scss assets build pipeline
squash with 7174097388
2021-06-02 18:29:37 +02:00
Alice Gaudon d0a01ff771 Add images asset type handling 2021-06-02 17:13:46 +02:00
Alice Gaudon 7174097388 Add scss assets handling 2021-06-01 16:03:07 +02:00
Alice Gaudon c6b8c48a72 Move all sources to src folder, add common ts subproject 2021-05-27 15:26:19 +02:00
Alice Gaudon c9fed2d873 Use maintenance component to throw 503s when some components are unavailable 2021-05-13 16:26:27 +02: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 6aa37eb9e4 Add two step pre-compile/compile asset processing
Reorganize views into new "assets" folder structure
Turn locals into a store so locals don't have to be passed through files that don't need them
Some fixes to previous commit (esm) 82ab0b963c
Remove afs in favor of fs.promises (renamed afs.exists to Utils.doesFileExist
Rename Utils.readdirRecursively to Utils.listFilesRecursively
2021-05-04 17:14:32 +02:00
Alice Gaudon 82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
Alice Gaudon 05069b15d8 Properly use promises in ViewEngine.render(), use ViewEngine for mail and add NunjucksViewEngine 2021-04-28 17:02:49 +02:00
Alice Gaudon e5a9b9908d Refactor and make it nicer codewise 2021-04-23 15:56:39 +02:00
Alice Gaudon 29fa5f4e38 Make svelte work 2021-04-23 15:56:06 +02:00
Alice Gaudon 5f0e11efed Add svelte pre-compilation 2021-04-23 15:56:06 +02:00
Alice Gaudon cfc632ba1a Approval mode: revoke unapproved users auth proofs
Also add tests for auth approval mode
2021-04-22 18:01:13 +02:00
Alice Gaudon 9ff832fb6f TestApp: don't ignore commands by default 2021-03-30 12:03:26 +02:00
Alice Gaudon caae753d74 Allow users to change their username every configurable period of time
Closes #22
2021-02-23 17:43:11 +01:00
Alice Gaudon 2a184e4ff5 Fix published npm package folder structure 2021-01-25 12:37:41 +01:00
Alice Gaudon e4768141bc Simplify RedirectBackComponent into PreviousUrlComponent
Closes #12
2021-01-24 22:42:20 +01:00
Alice Gaudon 8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
Alice Gaudon 49168b5391 Add account management (email addresses management, password management)
Closes #8
Closes #9
2021-01-22 12:22:11 +01:00
Alice Gaudon b75b227ca1 Add required username to magic link authentication and fix many errors 2020-11-14 17:24:57 +01:00
Alice Gaudon efdd81b650 Auth: refactor to support multiple auth factors and add password factor 2020-11-11 19:30:30 +01:00
Alice Gaudon 24d83c73ad Add basic development environment for testing purposes 2020-11-11 19:29:23 +01:00