Commit Graph

18 Commits

Author SHA1 Message Date
Alice Gaudon f41ee9cf32 Remove deprecated migrations 2021-11-10 17:58:52 +01:00
Alice Gaudon 82ab0b963c Switch to esm and add import auto format 2021-05-03 20:52:52 +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 dbf6128747 Fix AddNameToUsersMigration not calling callbacks 2021-01-26 17:56:57 +01:00
Alice Gaudon d96de4874a Add IF EXISTS to DropNameFromUsers migration to not fail in new installs 2021-01-25 17:45:11 +01:00
Alice Gaudon 8b98c8cc59 AddNameToUsersMigration: fix can't work when db already has users 2021-01-25 16:22:51 +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 79c2f33000 Deprecate legacy migrations
Fix CreateUsersAndUserEmailsTableMigration


sq
2020-11-11 19:29:23 +01:00
Alice Gaudon 03d9826f93 Migration: remove `connection` parameter from query() method
Closes #5
2020-11-11 19:29:23 +01:00
Alice Gaudon 79d704083a Add many eslint rules and fix all linting issues 2020-09-28 14:15:22 +02:00
Alice Gaudon a79e2292d7 Greatly simplify authentication system 2020-07-25 10:33:20 +02:00
Alice Gaudon 40181a973b Fix user schema 2020-07-24 16:13:15 +02:00
Alice Gaudon 7f398c1d4e Make models extendable 2020-07-24 12:58:06 +02:00
Alice Gaudon c8157b7bb0 Add optional user approval mode 2020-06-16 15:28:44 +02:00
Alice Gaudon 91b9e51a7d Wrap each migration in a transaction 2020-06-04 17:27:05 +02:00
Alice Gaudon e574b6e778 Add magic links 2020-05-09 23:23:19 +02:00
Alice Gaudon ad20894565 Add auth utils parts 2020-04-24 12:34:41 +02:00