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 d66322e12d
Limit grandfathering to *active* subscribers and trials (#3524)
* refactor asserting plan generation in plans_test.exs

* stop grandfathering old expired trials

For users who registered before the business tiers release, we want to
offer a chance to subscribe to a grandfathered plan. However, if they
let their trial expire and don't subscribe in the next 10 days, they'll
lose that opportunity.

* stop grandfathering expired subscriptions

* remove default title and icon from Generic.notice

* fix bug with dismissable notice

classList is null when dismissable_id is not given

* alias Plausible.Auth.User

* Refactor Generic.notice component

Make it easy to apply different colors

* move subscription_cancelled_notice across the app

And remove from user settings > subscription box. Also, include a note
about losing grandfathered status when letting the subscription expire.

* allow full width in Generic.notice

* use Generic.notice for subscription_past_due_notice

* use Generic.notice for subscription_paused_notice

* prevent two notices clashing into each other with gap-y-2

* define attrs for phx components

* optimize for light mode

* make subscription cancelled notice dismissable

but if it's dismiss, show it in the place where it was before in the
account settings > subscription box

* make function private

* replace function doc with regular comment to avoid compile warning

* use array for classnames

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

* fix typos in function doc

---------

Co-authored-by: Vinicius Brasil <vini@hey.com>
3 years ago
..
CSVs Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
api use windows in 'time on page' queries (#3446) 3 years ago
auth_controller add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
site Hide premium feature notice for trials (#3509) 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 Limit grandfathering to *active* subscribers and trials (#3524) 3 years ago
avatar_controller_test.exs Nolt sso (along with a better nav dropdown) (#3395) 3 years ago
billing_controller_test.exs Fix private preview notice typo (#3503) 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 Implement pinned sites (#3469) 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