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/auth
RobertJoonas d3094ffdb7
Prevent upgrades that would leave the customer locked (#3683)
* Remove allowance_required field from grace_period

Since we are now preventing customers from subscribing to a plan that
does not accommodate their pageview usage, there is no need for an extra
check on removing the grace period after a successful upgrade.

This extra check is the reason why the automatic unlocks have recently
failed in several cases.

* refactor outgrown subscription notices

* make a test actually test the described functionality

* Apply greater pageview allowance margin only for trial upgrades

...in order to prevent cancelled or paused subscriptions from subscribing
to plans that would still leave their account locked.

* Mark the entire ChoosePlanTest module full build only

* remove account locking guide

This is irrelevant for self-hosters, and the internal knowledge base is
a better place for this document. Moved it there.

* refactor Keyword get clause

* add a pattern matching assertion in code
3 years ago
..
totp Implement core logic for TOTP support (#3525) 3 years ago
api_key.ex Implement Stats API feature gate (#3411) 3 years ago
api_key_admin.ex Remove IO.inspect 6 years ago
auth.ex Remove custom domains support + update build options (#3559) 3 years ago
email_activation_code.ex Improve and simplify email verification codes generation (#3407) 3 years ago
email_verification.ex Improve and simplify email verification codes generation (#3407) 3 years ago
grace_period.ex Prevent upgrades that would leave the customer locked (#3683) 3 years ago
invitation.ex Implement limits for team members (#3305) 3 years ago
password.ex Initial commit 7 years ago
token.ex Bookmarkable shared links (#752) 6 years ago
totp.ex Implement UI for 2FA setup and verification (#3541) 3 years ago
user.ex Always enable e-mail verification on full build (#3666) 3 years ago
user_admin.ex Lock traffic notifications (#3641) 3 years ago