analytics/lib/plausible_web/components
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
2024-01-15 14:59:56 +00:00
..
billing Prevent upgrades that would leave the customer locked (#3683) 2024-01-15 14:59:56 +00:00
site Extract button component (#3474) 2023-11-08 11:40:07 +02:00
generic.ex Latency-friendly LV modal implementation and Goals form refactor (#3649) 2024-01-15 11:39:30 +01:00
google.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
layout.ex fix theme applying based on the 'theme' query param (#3639) 2023-12-15 13:59:00 -03:00
settings.ex Integrations Settings section (#3427) 2023-10-18 14:01:17 +02:00
two_factor.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00