Tom Moor
55fccc895d
Remove max domains restriction on self-hosted
2024-02-21 18:09:40 -05:00
Apoorv Mishra
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
30a4303a8e
chore: Remove DEPLOYMENT and SUBDOMAINS_ENABLED ( #5742 )
2023-08-28 17:39:58 -07:00
Tom Moor
075555a867
fix: Do not show actively disabled auth providers in self-hosted install ( #4794 )
...
* fix: Do not show actively disabled auth providers in self-hosted installation
* self review
* Refactor for easier mocking
2023-01-28 10:02:25 -08:00
Tom Moor
0a0498d139
fix: Allow subdomains upto 255 in self-hosted, closes #4524
2022-12-02 22:06:13 -05:00
Tom Moor
f8912732b8
chore: Flag users with platform used
2022-09-18 17:53:55 -04:00
Tom Moor
ae697339ac
fix: Remove restriction on team domains for self-hosted installs
2022-09-18 17:16:50 -04:00
Tom Moor
ec35af4bc5
Refactor validations
2022-07-24 13:40:04 +01:00
Tom Moor
8bb88b8550
chore: Audit of all model column validations ( #3757 )
...
* chore: Updating all model validations before the white-hatters get to it ;)
* test
* Remove isUrl validation, thinking about it need to account for minio and other weird urls here
2022-07-09 08:04:40 -07:00
Tom Moor
c36e7bfbb6
fix: Add 10 domain limit per team ( #3733 )
...
* fix: Validate team domains are FQDN's
Add 10 domain limit per team
fix: Deletion of domains not happening within request lifecycle
* tests
* docs
2022-07-05 12:27:02 -07:00
Tom Moor
8ebe4b27b1
fix: Add additional model validation ( #3725 )
2022-07-02 14:29:01 -07:00
Tom Moor
305de71e8b
chore: Block all email providers from being added as team domains ( #3678 )
2022-06-21 01:29:43 -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
Corey Alexander
51001cfac1
feat: Migrate allowedDomains to a Team Level Settings ( #3489 )
...
Fixes #3412
Previously the only way to restrict the domains for a Team were with the ALLOWED_DOMAINS environment variable for self hosted instances.
This PR migrates this to be a database backed setting on the Team object. This is done through the creation of a TeamDomain model that is associated with the Team and contains the domain name
This settings is updated on the Security Tab. Here domains can be added or removed from the Team.
On the server side, we take the code paths that previously were using ALLOWED_DOMAINS and switched them to use the Team allowed domains instead
2022-05-17 20:26:29 -04:00