Hemachandar
b527048b76
Remove namespace filter for publishing events ( #8252 )
...
* groupuser namespace
* remove namespace
* handle reactions
* handle group memberships
* cache changeset before all create and update flows
2025-01-22 17:16:05 -08:00
Tom Moor
1c179a3c6b
Move Group to model event writing ( #8179 )
...
* Move Group to model event writing
* cleanup type
2025-01-02 07:45:09 -05:00
Tom Moor
68a469daa7
Add externalId property on groups ( #8127 )
...
* Add 'externalId' property on groups
* Remove clientside Field decorator
* Allow querying by externalId
2024-12-26 08:44:04 -08:00
Tom Moor
0ab8b52582
feat: Cache count of group members ( #7377 )
2024-08-17 14:34:12 -07:00
Tom Moor
f48c05bef3
chore: CollectionGroupMembership -> GroupMembership ( #7269 )
...
* chore: CollectionGroupMembership -> GroupMembership
* Backwards compat
* docs
2024-07-17 18:39:13 -07:00
Tom Moor
f675a04735
chore: Rename GroupPermission -> GroupMembership ( #7214 )
...
* GroupPermission -> GroupMembership
* Add group membership source
* wip
2024-07-17 16:31:20 -07:00
Tom Moor
e52719c38e
chore: Rename GroupMembership -> GroupUser ( #7268 )
...
* Rename GroupMembership -> GroupUserMembership
* GroupUser
2024-07-17 16:14:59 -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
Apoorv Mishra
7145f7ef51
UserPermission and GroupPermission models (#5860 )
...
* fix: rename to group_permissions
* fix: delete null collectionId records before setting non null constraint
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to GroupPermission
* fix: rename collection_users to user_permissions
* fix: teamPermanentDeleter test
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to UserPermission
* fix: create views upon table rename for zero downtime
* fix: remove comments
2023-09-25 10:51:29 +05:30
Apoorv Mishra
21a44428f4
Filter groups given a member ( #5034 )
...
* feat: filter groups given a member
* Revert "feat: filter groups given a member"
This reverts commit 7dac8bb38d .
* fix: make it work via db query
2023-03-16 12:31:56 +05:30
Tom Moor
1d242d44b1
chore: Add eslint rule for object shorthand ( #3955 )
2022-08-11 05:18:14 -07: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
8ebe4b27b1
fix: Add additional model validation ( #3725 )
2022-07-02 14:29:01 -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
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
19e85c63c2
lint, tsc
2021-12-11 12:48:32 -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