zomars
2408338ed4
Revert "chore: Chore team metadata table + isOrganization migration from metadata ( #12828 )"
...
This reverts commit aabfd3b3f6 .
2024-01-16 12:20:51 -07:00
aabfd3b3f6
chore: Chore team metadata table + isOrganization migration from metadata ( #12828 )
...
* Migration+schema changes
* Remove org utils from schema
* Users fixture
* Auth signup handlers
* checkIsOrg fn
* use team.isOrganization > metadata
* Add isOrganization to getTeamWithMembers query
* list handler + optimise queries
* Update trpc handlers to use team.isOrganization && orgSettings table
* Update fixture
* Fix typo in prisma.schema
* next auth options use organizationSettings instread of tema metadata
* Admin tooling
* Updating components to use orgsettings over metadata
* Add unique index + fix org lib files
* validateUsername
* Add a seperate unique constraint between isOrg and slug
* Invite Member Logic
* fix resend file
* force isOrg to exist
* Team settings
* update createOrUpdateMemberships
* fix: admin get handler
* fix: team list handler - improve select
* fix: update admin update handler
* fix: settings layout - team get select
* organziationSettings Schema + adminupdate
* organziationSettings Schema + adminupdate
* typefix onSubtmi
* Fix:team repo throwing error if no metadata is found
* fix: add onDelete to be cascade instead of restri
* fix: org - team invite e2e
* fix: team invites not working in subteam context
* rename to organizationID
* fix user fixture team names
* Fix the organization created in tests
* fix: update organization metadata
* variable rename
* Reuse isOrganization
* variable rename
* Remove unnecessary optional chaining
* Update packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* Update packages/trpc/server/routers/viewer/organizations/adminUpdate.handler.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com >
* Update packages/trpc/server/routers/viewer/organizations/create.handler.ts
---------
Co-authored-by: Hariom <hariombalhara@gmail.com >
Co-authored-by: Keith Williams <keithwillcode@gmail.com >
2024-01-16 10:18:17 +00:00
Hariom Balhara and GitHub
5c6e104ff5
fix: Team revert with members ( #13228 )
2024-01-15 21:26:55 +00:00
Hariom Balhara and GitHub
2f1e545976
feat: Allow org creation with conflicting slug and renaming team slug during migration ( #13065 )
2024-01-07 08:51:59 +05:30
de1c9d01cd
feat: orgMigration - Support moving users as an option when moving a team ( #12917 )
...
* Move orgMigration routes to app to allow them to be tested as they are here to stay for longer tim
* move to Form everywhere and fix session reading
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com >
2024-01-04 08:33:51 +05:30