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/workers
Marko Saric 0b00762591
Changes to the emails as discussed (#3540)
* Update over_limit.html.eex

* Update dashboard_locked.html.eex

* Update dashboard_locked.html.eex

* Update over_limit.html.eex

* Update dashboard_locked.html.eex

* fix tests

* stop querying owned_site_ids three times

... when querying for billing cycles. Adds an optional `owned_site_ids`
argument to the `usage_cycle` function.

* add penultimate billing cycle info to emails

This commit also refactors some code and adds unit tests to email templates

* use delimit_integer instead of large_number_format

... to display usage with exact numbers such as 1,099,999 instead of 1M

* add penultimate cycle date ranges and linebreaks

---------

Co-authored-by: RobertJoonas <56999674+RobertJoonas@users.noreply.github.com>
Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
3 years ago
..
check_usage_test.exs Changes to the emails as discussed (#3540) 3 years ago
clean_invitations_test.exs Invitations (#1122) 6 years ago
expire_domain_change_transitions_test.exs Fix flaky log assertion (#3199) 3 years ago
import_google_analytics_test.exs Add eventually/1 call to flaky test (#3054) 3 years ago
lock_sites_test.exs Refactor enterprise plan upgrade and change-plan actions (#3397) 3 years ago
notify_annual_renewal_test.exs Refactor enterprise plan upgrade and change-plan actions (#3397) 3 years ago
schedule_email_reports_test.exs Do not send email reports for locked sites 5 years ago
send_check_stats_emails_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
send_email_report_test.exs Fix weekly/monthly report e-mails (MJML) (#3150) 3 years ago
send_site_setup_emails_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
send_trial_notifications_test.exs Reapply "Define a better monthly pageview usage (#3564)" (#3574) 3 years ago
spike_notifier_test.exs Apply unified capitalization to buttons and titles (#3321) 3 years ago