Commit Graph

85 Commits

Author SHA1 Message Date
Alice Gaudon 535c8afdb1 fix(websockets): send cookies manually for session authentication 2022-02-18 22:59:16 +01:00
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 366e48757e back/config: replace localhost with 127.0.0.1 2021-11-28 21:24:51 +01:00
Alice Gaudon 9674fc87dd front/SvelteViewEngine: add isSsr local 2021-11-28 16:41:46 +01:00
Alice Gaudon 9980c54fcf front/SvelteViewEngine: pre-compile ssr on demand, refactor globals into proper locals and lazy locals 2021-11-24 22:18:14 +01:00
Alice Gaudon b24e9ab580 front: add CopyableText component 2021-11-21 16:10:38 +01:00
Alice Gaudon e9db1f4ded front: add an external link icon to external links 2021-11-21 15:02:31 +01:00
Alice Gaudon c0918b17ed Rename front layouts to templates 2021-11-21 13:14:23 +01:00
Alice Gaudon 9da35de4e0 Move design page view to test views 2021-11-20 19:22:04 +01:00
Alice Gaudon c0245e3e3d Move tests page view to test folder 2021-11-20 17:29:17 +01:00
Alice Gaudon d6483af1a9 Fix linting errors 2021-11-09 19:46:51 +01:00
Alice Gaudon 7650238183 data-table: add data-table-container to overflow-x scroll, use it on relevant pages 2021-11-09 19:29:10 +01:00
Alice Gaudon eefb6e0dac Make tests pass 2021-11-08 01:21:51 +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 d925237233 Move pagination to common, add serialization, update BackendController 2021-06-01 16:04:43 +02:00
Alice Gaudon 7174097388 Add scss assets handling 2021-06-01 16:03:07 +02:00
Alice Gaudon 7ccd335649 Move route building to common subproject, fix Time export 2021-06-01 14:34:10 +02:00
Alice Gaudon afd45bd99d Reorganize frontend tests and add more $locals tests 2021-05-12 14:48:45 +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 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 93aa8579c3 Pagination: don't throw on first page when totalCount=0, validate params 2021-04-22 11:42:47 +02:00
Alice Gaudon 9ff832fb6f TestApp: don't ignore commands by default 2021-03-30 12:03:26 +02:00
Alice Gaudon 69e9f3ce9c Controller: fix route() parsing with regexp params
Also allow numbers in route param names
2021-03-30 12:03:26 +02:00
Alice Gaudon 4692a23696 Properly implement pagination 2021-03-30 12:02:57 +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 3ce81e25cf Add tests for password remove flow
Closes #28
2021-02-21 16:28:27 +01:00
Alice Gaudon 359485170d UserNameComponent: ensure usage of user.name is optional
Fixes #19
2021-01-25 12:47:18 +01:00
Alice Gaudon e4768141bc Simplify RedirectBackComponent into PreviousUrlComponent
Closes #12
2021-01-24 22:42:20 +01:00
Alice Gaudon 1b8ff1428f Add persist session checkbox on login
Makes session not persistent by default
Closes #11
2021-01-24 16:33:33 +01:00
Alice Gaudon 8fab93e709 Use AsyncLocalStorage to provide requestId context 2021-01-22 15:54:26 +01:00
Alice Gaudon 93c41ebd7e Authenticated.test: reorganize tests
Closes #15
2021-01-22 13:35:30 +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 7be3e00c46 Authentication tests: add no username component tests
Closes #7
2020-11-16 12:13:49 +01:00
Alice Gaudon 01277ea910 Authentication tests: add authenticate with email and password tests 2020-11-16 11:44:04 +01:00
Alice Gaudon a5ee9922ec Authentication tests: add authenticate with username and password tests 2020-11-15 15:51:52 +01:00
Alice Gaudon 72fe0bbda8 Authentication tests: add authenticate with email (magic_link) tests 2020-11-15 15:23:24 +01:00
Alice Gaudon 7db3e0166a Authentication tests: fix Cannot register without username test 2020-11-15 15:21:54 +01:00
Alice Gaudon 124bc8785f MagicLinkUserNameComponent: allow null username 2020-11-15 15:21:26 +01:00
Alice Gaudon da38fdaf72 tests: get rid of useless csrf.njk template 2020-11-15 15:15:21 +01:00
Alice Gaudon ef51d128f1 Authentication tests: refactor magic link following from mail 2020-11-15 14:21:11 +01:00
Alice Gaudon 0d0724c315 Authentication tests: add more tests to email registration 2020-11-15 14:16:17 +01:00
Alice Gaudon 42da8a68bb Validation: respond with http 400 instead of 401 2020-11-15 14:12:45 +01:00
Alice Gaudon b28e2b75b7 Authentication: Improve registration tests and fix register/login overlap 2020-11-15 12:20:57 +01:00
Alice Gaudon 698ace965f Add authentication tests for username registration 2020-11-14 18:16:58 +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
Alice Gaudon 79c2f33000 Deprecate legacy migrations
Fix CreateUsersAndUserEmailsTableMigration


sq
2020-11-11 19:29:23 +01:00