discourse/app/jobs/scheduled
Régis Hanol d51019ee53 FIX: *always* create an EmailLog whenever we run the UserEmail job
There were actually 2 bugs:

1/ Calling '.try(:key)' on a hash doesn't work. So EmailLogs were never associated to a user.

2/ Turns out that we update the 'user.last_emailed_at' whenever we create an EmailLog (in the 'after_create' callback).
So we need to always create an EmailLog (whenever the email is sent or skipped).
2016-01-28 19:01:35 +01:00
..
about_stats.rb PERF: Cache About#stats. 2015-07-20 22:45:05 +08:00
badge_grant.rb don't bother iterating over disabled badges 2016-01-18 21:41:12 +01:00
calculate_avg_time.rb PERF: move avg time calculation to daily 2014-07-25 13:21:10 +10:00
category_stats.rb PERF: only run category stats once a day 2014-08-11 09:41:50 +10:00
clean_up_digest_keys.rb Migrate unsubscribe keys to the database. 2015-02-13 14:24:15 -05:00
clean_up_exports.rb Rename CsvExportLog to UserExport 2014-12-28 22:31:12 +05:30
clean_up_unmatched_emails.rb ooops. forgot the args :fired: 2014-11-25 18:45:45 +01:00
clean_up_unmatched_ips.rb FEATURE: Use created_at to remove an ip if its last_match_at is null 2015-06-05 10:51:13 -04:00
clean_up_uploads.rb FIX: 'clean up uploads' job 2015-05-22 20:28:52 +02:00
create_missing_avatars.rb CRUSHED: duplicate key value violates unique constraint 'index_uploads_on_sha1' 2015-05-07 01:00:13 +02:00
daily_performance_report.rb Don't run perf report in multisite 2015-06-26 16:30:07 +10:00
dashboard_stats.rb always use fetch_stats to get AdminDashboardData data 2015-09-14 16:10:54 -04:00
destroy_old_deletion_stubs.rb FEATURE: new scheduler 2014-02-06 10:26:16 +11:00
destroy_old_hidden_posts.rb FEATURE: auto-delete any hidden posts that stay hidden for more than 30 days 2014-09-25 19:51:00 +02:00
directory_refresh_daily.rb PERF: Only refresh the Daily stats hourly, do the others daily. 2015-04-20 12:11:36 -04:00
directory_refresh_older.rb PERF: Only refresh the Daily stats hourly, do the others daily. 2015-04-20 12:11:36 -04:00
enqueue_digest_emails.rb FIX: *always* create an EmailLog whenever we run the UserEmail job 2016-01-28 19:01:35 +01:00
ensure_db_consistency.rb FIX: ensure CategoryUser consistency 2015-09-02 22:02:31 +02:00
heartbeat.rb FEATURE: unicorn sidekiq will restart sidekiq on complete failure. 2014-04-23 13:13:18 +10:00
migrate_scheme.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
pending_flags_reminder.rb Send email to contact_email if there are flags submitted more than 48 hours ago. Configurable with the notify_about_flags_after site setting. 2014-04-03 14:34:40 -04:00
pending_queued_posts_reminder.rb FEATURE: notify by email when there are posts from new users waiting to be reviewed 2015-06-18 15:47:35 -04:00
pending_users_reminder.rb FEATURE: add setting pending_users_reminder_delay to configure when to send reminders to moderators about user approvals based on how long new users have been waiting 2015-11-20 16:06:07 -05:00
periodical_updates.rb FEATURE: no need to cap new and unread together anymore 2015-10-01 17:17:15 +10:00
poll_feed.rb FIX: Some RSS feeds do unsafe redirects 2015-09-18 13:25:09 -04:00
poll_mailbox.rb FEATURE: better email in support 2016-01-19 00:57:55 +01:00
process_badge_backlog.rb FIX: faster update of all badges 2014-07-23 11:46:07 +10:00
purge_deleted_uploads.rb FEATURE: new scheduler 2014-02-06 10:26:16 +11:00
purge_inactive.rb rename purge_inactive to purge_unactivated 2014-12-02 21:36:25 -08:00
reindex_search.rb PERF: push reindex job to daily 2014-07-01 10:09:55 +10:00
schedule_backup.rb FIX: compare UTC dates to schedule backups 2015-11-12 18:35:03 +01:00
tl3_promotions.rb Rename 'leader' -> 'tl3' 2014-09-30 13:16:34 +10:00
top_refresh_older.rb OPTIMIZATION: Don't run 12 queries every 15 mins for the Top section. 2014-08-01 16:25:20 -04:00
top_refresh_today.rb OPTIMIZATION: Don't run 12 queries every 15 mins for the Top section. 2014-08-01 16:25:20 -04:00
version_check.rb FEATURE: allow version emails to be disabled globally 2014-08-23 10:02:32 +10:00
weekly.rb FIX: leaving around useless drafts after posting 2015-06-02 20:28:33 +10:00