Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
Tom Moor
615cad5484
fix: Incorrect handling of missing refresh token ( #10886 )
2025-12-13 12:37:06 -05:00
Tom Moor
307f4a1351
fix: Write lastValidatedAt when accessToken changes ( #8716 )
2025-03-18 15:27:19 -07:00
Tom Moor
dd1df68e74
chore: Refactor @Encrypted decorator ( #7381 )
...
* chore: Simplify encrypted decorator
* fix: Correctly handle and type nullable encrypted fields
* docs
2024-08-14 03:54:37 -07: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
bd06e03b1e
Added more debugging logs for #5564
2023-09-28 17:36:10 -04:00
Tom Moor
c56add74c6
fix: Azure single-tenant SSO tokens are unable to refresh ( #5551 )
2023-07-11 15:59:28 -07:00
Tom Moor
5fa8ebc587
fix: Unneccessary retry of ValidateSSO task
2023-06-18 07:36:45 -04:00
Tom Moor
c964163cc5
fix: Handle GitLab can be configured for tokens to not expire. ( #4051 )
...
closes #4040
2022-09-04 03:56:00 -07:00
Tom Moor
80ad6cfec8
fix: Expired refreshToken should invalidate session, not check SSO retry task
2022-06-08 08:55:58 +02:00
Tom Moor
728790e38f
feat: Validate Google, Azure, OIDC SSO access ( #3590 )
...
* chore: Store expiresAt on UserAuthentications. This represents the time that the accessToken is no longer valid and should be exchanged using the refreshToken
* feat: Check and expire Google SSO
* fix: Better handling of multiple auth methods
Added more docs
* fix: Retry access validation with network errors
* Small refactor, add Azure token validation support
* doc
* test
* lint
* OIDC refresh support
* CheckSSOAccessTask -> ValidateSSOAccessTask
Added lastValidatedAt column
Skip checks if validated within 5min
Some edge cases around encrypted columns
2022-06-05 13:18:51 -07:00
Tom Moor
ac07724f21
chore: Synchronizing refactor and small fixes from enterprise codebase ( #3634 )
...
* chore: Syncronizing refactor and small fixes from enterprise codebase
* fix
2022-06-05 00:59:41 -07: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