analytics/lib/plausible_web
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
..
components Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
controllers Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
live Use dropdown component in /sites page (#3572) 2023-12-13 10:59:20 +02:00
mjml Update weekly_report.mjml.eex (#3313) 2023-09-01 09:12:42 -03:00
plugins Plugins API exentsions (custom props, bulk goal delete, goal creation => ListResponse always) (#3593) 2023-12-06 12:33:33 +01:00
plugs rm Hammer (#3571) 2023-12-06 15:07:37 +01:00
templates Clean up legacy trials code + displaying limits (#3620) 2023-12-13 10:47:50 +00:00
two_factor Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
views Move dogfooding to full build (#3576) 2023-12-04 10:30:20 +01:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex Changes to the emails as discussed (#3540) 2023-12-06 12:02:22 +00:00
endpoint.ex Add small build option (#3536) 2023-11-20 12:52:20 +01:00
refinspector.ex [Continued] Google Analytics import (#1753) 2022-03-10 15:04:59 -06:00
remote_ip.ex Parse bunny header 2022-01-15 08:57:25 -06:00
router.ex Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00