analytics/test/plausible_web/live
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
..
components Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
funnel_settings Add small build option (#3536) 2023-11-20 12:52:20 +01:00
goal_settings Latency-friendly LV modal implementation and Goals form refactor (#3649) 2024-01-15 11:39:30 +01:00
props_settings Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
choose_plan_test.exs Prevent upgrades that would leave the customer locked (#3683) 2024-01-15 14:59:56 +00:00
funnel_settings_test.exs Upgrade stack (deps, elixir 1.16, OTP 26.2.1) (#3678) 2024-01-11 08:48:04 +01:00
goal_settings_test.exs Latency-friendly LV modal implementation and Goals form refactor (#3649) 2024-01-15 11:39:30 +01:00
plugins_api_tokens_test.exs Track tokens usage (#3438) 2023-10-18 14:14:30 +02:00
props_settings_test.exs Props Settings UI to match Goals Settings (#3322) 2023-09-13 14:55:29 +02:00
register_form_test.exs Implement better user password validation (#3344) 2023-09-25 10:27:29 +02:00
reset_password_form_test.exs Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
sentry_context_test.exs Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
sites_test.exs Move limit enforcement to accepting site ownership transfer (#3612) 2023-12-20 14:56:49 +00:00