Commit Graph

19 Commits

Author SHA1 Message Date
Alice Gaudon 7ccd335649 Move route building to common subproject, fix Time export 2021-06-01 14:34:10 +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 82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +02:00
Alice Gaudon e4768141bc Simplify RedirectBackComponent into PreviousUrlComponent
Closes #12
2021-01-24 22:42:20 +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 e37184e5ee Add user model to RequireAuth middlewares 2020-10-01 13:59:19 +02: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 2effaf13eb Add AuthComponent.getAuthGuard() 2020-09-23 08:46:37 +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 272688da26 Reduce the amount of SQL requests made for authentication 2020-07-28 12:10:29 +02:00
Alice Gaudon a79e2292d7 Greatly simplify authentication system 2020-07-25 10:33:20 +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 0e96a285ac Properly split routing in 2 steps: init, handle 2020-07-11 11:46:16 +02:00
Alice Gaudon c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
Alice Gaudon a15d496c53 Use formidable instead of multer 2020-06-14 21:47:18 +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 ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00