mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +03:00
d22c011aa3
* 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 |
||
---|---|---|
.. | ||
data_migrations/NumericIDs/sql | ||
ingest_repo | ||
ref_inspector | ||
repo | ||
tracker/js | ||
ua_inspector | ||
paddle.pem | ||
placeholder_favicon.ico | ||
plans_v1.json | ||
plans_v2.json | ||
plans_v3.json | ||
referer_favicon_domains.json | ||
sandbox_plans.json | ||
unlisted_plans_v1.json | ||
unlisted_plans_v2.json |