Tom Moor
62b4f520de
fix: Do not forward to a disabled authentication provider when attempting to sign-in with email
2022-09-22 07:27:03 -04:00
Tom Moor
a326e0ee88
chore: Rate limiter audit ( #3965 )
...
* chore: Rate limiter audit api/users
* Make requests required
* api/collections
* Remove checkRateLimit on FileOperation (now done at route level through rate limiter)
* auth rate limit
* Add metric logging when rate limit exceeded
* Refactor to shared configs
* test
2022-08-14 08:04:04 -07:00
Tom Moor
863f22750f
feat: Add optional notification email when invite is accepted ( #3718 )
...
* feat: Add optional notification email when invite is accepted
* Refactor to use beforeSend
2022-07-02 05:40:40 -07:00
Nan Yu
41e425756d
chore: refactor domain parsing to be more general ( #3448 )
...
* change the api of domain parsing to just parseDomain and getCookieDomain
* adds getBaseDomain as the method to get the domain after any official subdomains
2022-05-31 18:48:23 -07:00
Tom Moor
3c002f82cc
chore: Centralize env parsing, validation, defaults, and deprecation notices ( #3487 )
...
* chore: Centralize env parsing, defaults, deprecation
* wip
* test
* test
* tsc
* docs, more validation
* fix: Allow empty REDIS_URL (defaults to localhost)
* test
* fix: SLACK_MESSAGE_ACTIONS not bool
* fix: Add SMTP port validation
2022-05-19 08:05:11 -07:00
Tom Moor
5c24f9e1d5
chore: Email + mailer refactor ( #3342 )
...
* Huge email refactor
* fix: One rename too many
* comments
2022-04-07 16:50:04 -07:00
Tom Moor
dbfdcd6d23
chore: Refactor worker, emails and data cleanup to task system ( #3337 )
...
* Refactor worker, all emails on task system
* fix
* lint
* fix: Remove a bunch of expect-error comments in related tests
* refactor: Move work from utils.gc into tasks
* test
* Add tracing to tasks and processors
fix: DebounceProcessor triggering on all events
Event.add -> Event.schedule
2022-04-06 16:48:28 -07:00
Tom Moor
e30f6e937c
fix: Automatically disable email sign-in when SMTP is not configured
...
fix: Do not show email signin as enabled when SMTP configured
closes #3227
2022-03-12 17:01:46 -08:00
Tom Moor
e5c8176ee6
Update email.ts
2022-02-10 21:20:58 -08:00
Tom Moor
af6c5a1f45
fix: Email authentication callback catches all errors as expired-token
2022-02-10 19:18:06 -08:00
Tom Moor
c6cc04cad8
chore: More typescript FIXME's removed
2022-01-06 21:25:42 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00