analytics/lib
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
2023-12-13 10:47:50 +00:00
..
mix/tasks Move Mix.Task.DumpPlans to Plausible.Release (#3544) 2023-11-21 12:22:17 -03:00
plausible Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
plausible_web Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
workers Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
oban_error_reporter.ex Delete stats improvements (#2318) 2022-10-10 08:55:58 -03:00
plausible_release.ex Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
plausible_web.ex Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 2023-10-05 11:54:18 +02:00
plausible.ex Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
sentry_filter.ex derive jason encoder for request (#3182) 2023-07-24 14:46:57 +02:00