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
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
..
auth Update plans_v4.json with new plans IDs (#3436) 3 years ago
billing Restrict subscribing to a plan when exceeding its limits + warning for losing feature access (#3461) 3 years ago
data_migration Enforce goals unique (#3343) 3 years ago
google Upgrade Erlang/Elixir stack (#3454) 3 years ago
imported Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
ingestion Upgrade Erlang/Elixir stack (#3454) 3 years ago
plugins/api Track tokens usage (#3438) 3 years ago
session Clean up after V2 migration (#2868) 4 years ago
site Check for limits and features used by site before transferring ownership (#3445) 3 years ago
stats Update plans_v4.json with new plans IDs (#3436) 3 years ago
config_test.exs add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
debug_replay_info_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
funnels_test.exs Increase sampling test delta to reduce flakyness 3 years ago
goals_test.exs Update plans_v4.json with new plans IDs (#3436) 3 years ago
http_client_test.exs Upgrade Erlang/Elixir stack (#3454) 3 years ago
mailer_test.exs add MAILER_NAME (#2937) 4 years ago
props_test.exs Update plans_v4.json with new plans IDs (#3436) 3 years ago
purge_test.exs Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
release_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
sentry_filter_test.exs derive jason encoder for request (#3182) 3 years ago
timezones_test.exs Fix timezone list when time changes (#2268) 4 years ago