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/priv
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
..
data_migrations/NumericIDs/sql Make self-hosted data migration easier (#2865) 4 years ago
ingest_repo Add revenue fields to events_v2 (#3018) 3 years ago
ref_inspector [Continued] Google Analytics import (#1753) 5 years ago
repo Remove Props FF (#3242) 3 years ago
tracker/js Remove static tracker files (#2116) 4 years ago
ua_inspector Bump ua_inspector/matomo db (#3263) 3 years ago
paddle.pem Initial commit 7 years ago
placeholder_favicon.ico Add fallback for favicon (#2279) 4 years ago
plans_v1.json Implement limits for team members (#3305) 3 years ago
plans_v2.json Implement limits for team members (#3305) 3 years ago
plans_v3.json Implement limits for team members (#3305) 3 years ago
referer_favicon_domains.json Additional pre-commit hooks (#1428) 5 years ago
sandbox_plans.json Implement limits for team members (#3305) 3 years ago
unlisted_plans_v1.json Implement limits for team members (#3305) 3 years ago
unlisted_plans_v2.json Implement limits for team members (#3305) 3 years ago