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_web/controllers
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
..
CSVs Remove Props FF (#3242) 3 years ago
api Remove Props FF (#3242) 3 years ago
auth_controller add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
site Implement limits for team members (#3305) 3 years ago
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
auth_controller_test.exs [pg migration] Delete account with multiple subscriptions (#3220) 3 years ago
billing_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago
error_report_controller_test.exs Funnel site settings (#3039) 3 years ago
invitation_controller_test.exs Fix APP-46E: accept invitation 2nd click (#3120) 3 years ago
page_controller_test.exs add landing page (#2989) 4 years ago
site_controller_test.exs Improve goal settings UX (#3293) 3 years ago
stats_controller_test.exs Remove Props FF (#3242) 3 years ago
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago