mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 19:47:26 +03:00
e67850c11d
* Make membership creation and role updates more explicit in terms of changesets * Extract invitation accept flow logic and refactor it slightly * Improve acceptation logic * Update moduledoc * Improve SiteLocker API and add typespecs * Stop naming function not returning a boolean like a predicate * Refactor rest of invitation actions and safeguard against rogue requests * Update code docs slightly * Extend `Billing.check_needs_update/1` tests * Parametrize selfhost flag and toggle SiteLocker logic on it * Add tests for newly extracted services * Add test case and a fix for locking site on grace period ended * Make invitation controller tests async as there's no more env patching * Add test cases for self-invites and fix one bug * Add and refactor tests for rejecting and removing invitations * Prevent issuing ownership transfer to existing owner * Improve name of the test * Improve `Billing.check_needs_to_upgrade/1` return value * Improve `Billing.SiteLocker.update_sites_for/1` and its tests * Fix typos Co-authored-by: hq1 <hq@mtod.org> * Make invitation removal and rejection resilient to races --------- Co-authored-by: hq1 <hq@mtod.org> |
||
---|---|---|
.. | ||
membership | ||
change_domain.html.heex | ||
edit_shared_link.html.eex | ||
import_from_google_confirm.html.eex | ||
import_from_google_user_metric_form.html.eex | ||
import_from_google_view_id_form.html.eex | ||
index.html.eex | ||
new_shared_link.html.eex | ||
new.html.eex | ||
settings_custom_domain.html.eex | ||
settings_danger_zone.html.eex | ||
settings_email_reports.html.eex | ||
settings_funnels.html.heex | ||
settings_general.html.eex | ||
settings_goals.html.heex | ||
settings_people.html.eex | ||
settings_props.html.heex | ||
settings_search_console.html.eex | ||
settings_visibility.html.eex | ||
snippet_after_domain_change.html.eex | ||
snippet.html.heex |