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_web/controllers
RobertJoonas 686ffa6ef3
Clean up legacy trials code + displaying limits (#3620)
* remove unused functionality

We can now safely delete all the logic around users who are on trial and
signed up *before* the business tiers release, since that's no longer
possible

* add monthly_pageview_limit fn clause that takes a user

* make Quota.site_limit return enterprise site limit

...not `:unlimited`, as we still need to display it
in the account settings.

* make `team_member_limit/1` return :unlimited on small_build

* improve team_member_usage/1 function doc

* stop displaying unlimited symbol in usage section

These unlimited limits include:

* `monthly_pageview_limit` for trials
* `team_member_limit` for old enterprise plans
* `site limit` for old accounts (before 2021-05-05)

* format

* small refactor case clause + move mod vars

* review suggestions
3 years ago
..
api Add Browser/Version breakdown to CSV (#3599) 3 years ago
site Fix domains that start with UTF character (#3560) 3 years ago
admin_controller.ex Clean up legacy trials code + displaying limits (#3620) 3 years ago
auth_controller.ex Clean up legacy trials code + displaying limits (#3620) 3 years ago
avatar_controller.ex Nolt sso (along with a better nav dropdown) (#3395) 3 years ago
billing_controller.ex Improve subscription status checking code (#3598) 3 years ago
error_report_controller.ex Simplify Phoenix error template (#2913) 4 years ago
helpers.ex Simplify Phoenix error template (#2913) 4 years ago
invitation_controller.ex Fix domains that start with UTF character (#3560) 3 years ago
page_controller.ex add landing page (#2989) 4 years ago
site_controller.ex Clean up legacy trials code + displaying limits (#3620) 3 years ago
stats_controller.ex Add Browser/Version breakdown to CSV (#3599) 3 years ago
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 6 years ago