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/lib/plausible_web/templates
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
..
auth Implement limits for team members (#3305) 3 years ago
billing Refactor Plausible.Billing.Plans module (#3249) 3 years ago
email Avoid suggesting plan for trials switching to enterprise plans (#3282) 3 years ago
error Add login link to 404 page (#3288) 3 years ago
layout Connect to live socket only on specific pages (#3292) 3 years ago
page fix twitter link 3 years ago
site Improve goal settings UX (#3293) 3 years ago
stats Disallow small intervals on large ranges (#3245) 3 years ago
unsubscribe Adds dark mode to entire dashboard (#467) 6 years ago