You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible/site
Vini Brasil d22c011aa3
Implement limits for team members (#3305)
* Refactor MembershipController.invite_member/2

This commit refactors the controller action used for creating new
invitations. It moves the code to Plausible.Sites.invite/4 and replaces
`ifs` and `cases` with `with`.

* Add team_member_limit to plan definition

* Create usage and limits functions for team members

* Apply team member limit when inviting new users

* Add team members to Usage & Limits section

* Change invite function to receive email address instead of %User{}

* Wrap invite function in a DB transaction

* Remove unnecessary joins from team member usage query

* Replace UNION ALL with UNION to remove duplicates
3 years ago
..
cache_test.exs Add unique names to cache supervisors in tests (#3055) 3 years ago
domain_test.exs Clean up after V2 migration (#2868) 4 years ago
gate_keeper_test.exs Pass cached site struct down the ingestion pipeline (#3027) 3 years ago
schema_test.exs Fix Timex.total_offset blowing up during clock changes (#2788) 4 years ago
site_removal_test.exs Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
sites_test.exs Implement limits for team members (#3305) 3 years ago