analytics/lib
Adrian Gruntkowski 7d6f10f0cb
Ensure team is present before use in sync logic (#4709)
* Ensure team is present before use in sync logic

* Ensure teams backfill works against partially assigned sites

* Associate site with team on creation

* Associate site with team on sync

* Reuse alias

* Add tests for invitation creation sync

* Move team assertions to a helper module

* Format

* Test team creation on site creation via Sites context module

* Add tests for teams sync on subscription changes

* Tag tests

* Test grace period start syncing up with teams

* Test grace period manual lock sycning w/ teams

* Test grace period end sycing up w/ teams

* Test clearing grace period sync with teams

* Update moduledoc

* Fix missing preloads and wrong result pattern matching in sync logic

* Test sync on accepting invites and site transfers

* Test sync on membership role update and member removal

* transfer async fix WIP

* Stop privisioning team in site factory

* Remove unused relationship from Site schema

* Ensure consistent parsing of `passthrough` from Paddle webhook

* Update team passthrough notification tests & logic

---------

Co-authored-by: Adam Rutkowski <hq@mtod.org>
2024-10-23 11:29:15 +00:00
..
mix/tasks Implement basics of Teams (#4658) 2024-10-21 07:35:23 +00:00
plausible Ensure team is present before use in sync logic (#4709) 2024-10-23 11:29:15 +00:00
plausible_web Comparisons pagination fixes (#4697) 2024-10-22 10:23:40 +00:00
workers Implement basics of Teams (#4658) 2024-10-21 07:35:23 +00:00
oban_error_reporter.ex Log Oban errors (and still report them to Sentry) (#4657) 2024-10-08 10:26:35 +00:00
plausible_release.ex Don't attempt to create a database if it already exists (#4498) 2024-09-09 11:55:39 +02:00
plausible_web.ex Reduce Phoenix.HTML usage (#4675) 2024-10-15 03:55:14 +00:00
plausible.ex Fix with_teams (#4706) 2024-10-21 08:11:49 +00:00
sentry_filter.ex Update Sentry (#3843) 2024-03-18 10:10:20 +01:00