Tom Moor
dd061790a8
fix: Frontend requests do not send Content-Type header in request ( #9956 )
...
* Revert "Revert "fix: Frontend requests do not send Content-Type in request (#…"
This reverts commit 7fddd99c28 .
* Update authentication.ts
2025-08-17 21:47:06 +00:00
Tom Moor
7fddd99c28
Revert "fix: Frontend requests do not send Content-Type in request ( #9954 )" ( #9955 )
...
This reverts commit 7ab7e6efb7 .
2025-08-17 21:42:28 +00:00
Tom Moor
7ab7e6efb7
fix: Frontend requests do not send Content-Type in request ( #9954 )
2025-08-17 16:02:56 -04:00
codegen-sh[bot] and Tom Moor
758d4edbb9
Upgrade @typescript-eslint dependencies to v8.33.0 ( #9363 )
...
* Upgrade @typescript-eslint dependencies from v6.21.0 to v8.33.0
- Updated @typescript-eslint/eslint-plugin from ^6.21.0 to ^8.33.0
- Updated @typescript-eslint/parser from ^6.21.0 to ^8.33.0
- Tested linting functionality to ensure compatibility
- This brings the latest TypeScript ESLint features and bug fixes
* lint
* tsc
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-06-01 11:01:15 -04:00
Tom Moor
a06671e8ce
OAuth provider ( #8884 )
...
This PR contains the necessary work to make Outline an OAuth provider including:
- OAuth app registration
- OAuth app management
- Private / public apps (Public in cloud only)
- Full OAuth 2.0 spec compatible authentication flow
- Granular scopes
- User token management screen in settings
- Associated API endpoints for programatic access
2025-05-03 19:40:18 -04:00
Tom Moor
15892a9364
feat: API key resource scoping ( #8297 )
2025-01-28 16:50:22 -08:00
Tom Moor
633e547d3e
Refactor of event insertion ( #5909 )
2024-11-10 16:26:20 -08:00
Tom Moor
5e61fcd336
Add hashed column for API keys ( #7699 )
...
* Add hashed column for API keys
* test
* Add obfuscatedValue getter
2024-09-30 17:16:35 -07:00
Hemachandar
1bf9012992
feat: Add lastUsedAt to API keys ( #7082 )
...
* feat: Add lastUsedAt to API keys
* rename column to lastActiveAt
* switch order
2024-06-20 06:18:35 -07:00
Hemachandar
3af9861c4a
feat: add API key expiry options ( #7064 )
...
* feat: add API key expiry options
* review
2024-06-18 18:34:45 -07:00
Tom Moor
593f7a79b8
Remove ability to create additional API keys with an existing API key
2024-06-05 06:53:07 -04:00
Tom Moor
b458bb3af9
Refactor required route role
2024-04-06 21:43:15 -04:00
Tom Moor
8ee266f7b1
chore: Track lastActiveAt for teams ( #6491 )
2024-02-04 11:14:18 -08:00
Apoorv Mishra and Tom Moor
7e61a519f1
Type server models ( #6326 )
...
* fix: type server models
* fix: make ParanoidModel generic
* fix: ApiKey
* fix: Attachment
* fix: AuthenticationProvider
* fix: Backlink
* fix: Collection
* fix: Comment
* fix: Document
* fix: FileOperation
* fix: Group
* fix: GroupPermission
* fix: GroupUser
* fix: Integration
* fix: IntegrationAuthentication
* fix: Notification
* fix: Pin
* fix: Revision
* fix: SearchQuery
* fix: Share
* fix: Star
* fix: Subscription
* fix: TypeError
* fix: Imports
* fix: Team
* fix: TeamDomain
* fix: User
* fix: UserAuthentication
* fix: UserPermission
* fix: View
* fix: WebhookDelivery
* fix: WebhookSubscription
* Remove type duplication
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-01-12 22:33:05 +05:30
Tom Moor
b08a430131
docs
2023-11-15 20:31:21 -08:00
Nam Vu
68a3d327f6
Fix optional authentication ( #6134 )
2023-11-15 16:32:01 -08:00
Tom Moor
5c7c9ceeb1
JSDoc, closes #5874
2023-09-23 14:31:55 -04: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
Tom Moor
c6fb764631
chore: Move tracing decorators into the codebase ( #4623 )
...
* Vendorize tracing, finally fix service name issues
* Upgrade datadaog-metrics, rename decorators -> tracing
* lint
2022-12-31 04:54:51 -08:00
Tom Moor
d6d1eb4485
feat: Prefix api keys
2022-12-03 18:21:33 -05:00
Tom Moor
87e3f18e6d
chore: Remove method override middleware ( #4315 )
...
* chore: Remove method override middleware
* wip
* CodeQL
* max/min
2022-10-18 16:03:25 -07:00
Tom Moor
f8912732b8
chore: Flag users with platform used
2022-09-18 17:53:55 -04:00
Tom Moor
212985e18f
feat: Allow viewers to be upgraded to editors on individual collections ( #4023 )
...
* Improve types
* More types, fix default permission for viewers added to collection
* fix change of default role for CollectionGroup
* Restore policy
* test
* tests
2022-08-30 23:12:27 -07:00
Tom Moor
831df67358
feat: Adds route-level role filtering. ( #3734 )
...
* feat: Adds route-level role filtering. Another layer in the onion of security and performance
* fix: Regression in authentication middleware
2022-07-05 12:26:49 -07:00
Tom Moor
15cecf1e53
Upgrade dd-trace, add APM tracing around key commands, fix tags should be attached to root spans ( #3243 )
2022-03-14 20:03:12 -07:00
Tom Moor
c1e8b6c823
perf: Remove unneccessary join from documents.viewed
2022-03-08 16:51:47 -08:00
Tom Moor
79ba8dad30
chore: Improve tracing
2022-03-08 16:41:02 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
74615bfe37
fix: Server error if X-Editor-Version is not valid semver string
2021-12-13 20:28:29 -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