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/support
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
..
conn_case.ex Google APIs integration improvements (#2358) 4 years ago
data_case.ex Google APIs integration improvements (#2358) 4 years ago
exchange_rate_mock.ex Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
factory.ex Implement limits for team members (#3305) 3 years ago
google_api_mock.ex Referrer drilldown (#252) 6 years ago
html.ex Improve goal settings UX (#3293) 3 years ago
paddle_api_mock.ex do not show invoices for free subscription (#2249) 4 years ago
test_utils.ex Fix test flakiness due to shared state in asynchronous run (#3184) 3 years ago