Tom Moor
f9a11a28d8
chore: Plugin registration ( #6623 )
...
* first pass
* test
* test
* priority
* Reduce boilerplate further
* Update server/utils/PluginManager.ts
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* fix: matchesNode error in destroyed editor transaction
* fix: Individual imported files do not display source correctly in 'Insights'
* chore: Add sleep before Slack notification
* docs
* fix: Error logged about missing plugin.json
* Remove email template glob
---------
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2024-03-08 20:32:05 -08:00
Tom Moor
39e12cef65
chore: Use httpOnly authentication cookie ( #5552 )
2023-07-15 13:56:32 -07:00
Apoorv Mishra
af3edd7cb2
fix: coalesce falsy body to {} ( #4929 )
2023-02-25 11:14:44 -08:00
Tom Moor
21a1257d06
chore: Move remaining auth methods to plugins ( #4900 )
...
* Move Google, Email, and Azure to plugins
* Move OIDC provider, remove old loading code
* Move AuthLogo to plugin
* AuthLogo -> PluginIcon
* Lazy load plugin settings
2023-02-19 19:52:08 -08:00
Tom Moor
d5eabd7771
fix: Allow loading attachments linked from other sites/emails.
...
Loosens same-site policy to include cookies for navigation events.
closes #4737
2023-01-27 18:52:47 -05:00
Apoorv Mishra
f4461573de
Refactor to accommodate authentication, transaction and pagination states together ( #4636 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
2023-01-04 23:51:44 +05:30
Apoorv Mishra
5c842087a5
feat(server): rate limit all routes ( #4561 )
2022-12-10 05:47:18 -08:00
Tom Moor
89a133ea59
Add sameSite attribute for auth cookies
2022-09-24 21:46:25 -04:00
Tom Moor
f8912732b8
chore: Flag users with platform used
2022-09-18 17:53:55 -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
Saumya Pandey
42061edbd1
feat: add the ability to choose default collection ( #3029 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-10 10:06:10 +05:30
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
7c37724f88
types
2021-12-03 10:34:41 -06: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