mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
d2270f3c35
* use more convenient testing functions * do not display + sign with 0% change in emails * Rename module/file/function names before, `weekly_report` was also used for monthly reports and that was a bit confusing to read in code. * Refactor send_email_report.ex This commit improves readability by refactoring the code into smaller functions and reducing the number of arguments given to functions. But more importantly, it stops making duplicate stats queries for every email recipient by moving the queries out of the for loop. * Refactor: move querying logic out of the worker module and merge all stats information under a single `stats` assign. |
||
---|---|---|
.. | ||
check_usage_test.exs | ||
clean_invitations_test.exs | ||
expire_domain_change_transitions_test.exs | ||
import_google_analytics_test.exs | ||
lock_sites_test.exs | ||
notify_annual_renewal_test.exs | ||
schedule_email_reports_test.exs | ||
send_check_stats_emails_test.exs | ||
send_email_report_test.exs | ||
send_site_setup_emails_test.exs | ||
send_trial_notifications_test.exs | ||
spike_notifier_test.exs |