analytics/test/plausible_web
Adrian Gruntkowski 74dcd3d29b
Switch listing team members view to read from Teams schemas (#4802)
* Modify test utils to use teams test factories

* Implement alternative routes for updating and removing membership

* Implement teams read adapter for listing site members and invitees

* Use new teams read adapter for Settings > People view

* Add `invitation_id` column to `guest_invitations` schema

* Add `invitation_id` to `GuestInvitation` schema and populate it

* Sync guest invitation's invitation ID instead of team invitation

* Expose guest invitation's invitation ID in sites list

* Sync guest invitation invitation ID instead of team invitation in backfill

* Update team consistency check to account for guest invitation IDs

* Remove workaround for no invitation ID on guest invitation in `list_people`

* Test listing pending invitations

* Test listing memberships

* Format

* Test membership changes via new routes

* Remove old membership altering routes

* Clean up

* Revert "Modify test utils to use teams test factories"

This reverts commit 5eb8754782.

* Ensure test setup provisions teams for people listing

* See if we can avoid exposing user id

* Revert "See if we can avoid exposing user id"

This reverts commit 672429b9d1.

* Fix faulty member label in people list

* Fix sites listing for a case of pending invite with existing pin

---------

Co-authored-by: hq1 <hq@mtod.org>
2024-11-13 12:32:57 +00:00
..
components Onboarding improvements (#4459) 2024-09-02 12:49:54 +02:00
controllers Switch listing team members view to read from Teams schemas (#4802) 2024-11-13 12:32:57 +00:00
live Finish moving /sites LV reads to team schemas behind FF (#4777) 2024-11-06 13:12:34 +00:00
plugins/api Add listing sites, goals and custom props to Sites API (#4302) 2024-07-19 10:05:54 +02:00
plugs Allow configuring AuthorizeSiteAccess plug site param (#4597) 2024-09-26 09:52:45 +00:00
views Fix HTML-in-JSON in ErrorView (#4500) 2024-09-03 13:35:07 +02:00
captcha_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
email_test.exs Reduce Phoenix.HTML usage (#4675) 2024-10-15 03:55:14 +00:00
user_auth_test.exs Implement listing user sessions in user settings (#4588) 2024-09-30 11:03:08 +00:00