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/test/plausible_web/controllers
RobertJoonas 8cc7bce689
Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461)
* fix the styling of the red text notice under checkout link

* avoid some code repetition

* simplify rendering the change_plan_link

* refactor disabling checkout link and showing disabled message

* disable change plan and upgrade link when exceeding pageview limit

* disable checkout when exceeding team member limit

* disable checkout when site limit exceeded

* extract checkout related code in a separate function

* stick to a single order of features

* losing features warning

* fix back link from change-plan-preview

* create Quota.exceeded_limits function

* restrict subscribing with exceeded limits on the API level too

* use with instead of case

Co-authored-by: Vini Brasil <vini@hey.com>

* use :map type instead of :any for user

Co-authored-by: Vini Brasil <vini@hey.com>

* create Quota.usage function

---------

Co-authored-by: Vini Brasil <vini@hey.com>
3 years ago
..
CSVs Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
api Upgrade Erlang/Elixir stack (#3454) 3 years ago
auth_controller add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
site Feature gates (#3401) 3 years ago
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
auth_controller_sync_test.exs Fix email update flow for selfhosted setup with verification disabled (#3408) 3 years ago
auth_controller_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
avatar_controller_test.exs Nolt sso (along with a better nav dropdown) (#3395) 3 years ago
billing_controller_test.exs Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 3 years ago
error_report_controller_test.exs Funnel site settings (#3039) 3 years ago
invitation_controller_test.exs Feature gates (#3401) 3 years ago
page_controller_test.exs add landing page (#2989) 4 years ago
site_controller_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
stats_controller_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago