discourse/app/jobs/scheduled
Matt Palmer 394cd43d77 Scrub only after converting strings to UTF-8
Scrubbing an ASCII-8BIT string isn't ever going to remove anything, because
there's no code point that isn't valid 8-bit ASCII.  Since we'd really
prefer it if everything were UTF-8 anyway, we'll just assume, for now, that
whatever comes out of SimpleRSS is probably UTF-8, and just nuke anything
that isn't a valid UTF-8 codepoint.

Of course, the *real* bug here is that SimpleRSS [unilaterally converts
everything to
ASCII-8BIT](https://github.com/cardmagic/simple-rss/issues/15).  It's
presumably *far* too much to ask that it detects the encoding of the source
RSS feed and marks the parsed strings with the correct encoding...
2016-08-25 16:09:07 +10:00
..
about_stats.rb FIX: Fetch stats if it has not been cached. 2016-04-21 14:50:25 +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_email_logs.rb FIX: don't use `destroy_all` when `delete_all` is enough 2016-03-05 00:41:22 +01: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_unsubscribe_keys.rb FEATURE: simpler and friendlier unsubscribe workflow 2016-06-17 11:28:49 +10:00
clean_up_unused_staged_users.rb FEATURE: clean up 1 year old and unused staged users 2016-05-16 22:13:23 +02:00
clean_up_uploads.rb FIX: don't destroy uploads in queued posts and drafts 2016-08-01 18:35:57 +02:00
create_missing_avatars.rb workaround issue where orphan user_avatar record exists 2016-05-17 09:40:17 +10:00
dashboard_stats.rb FIX: Fetch stats if it has not been cached. 2016-04-21 14:50:25 +08: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
disable_bootstrap_mode.rb FIX: bootstrap mode should not amend setting that is not in default state 2016-05-04 16:46:46 +05:30
enqueue_digest_emails.rb FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes. 2016-03-02 15:43:47 -05:00
enqueue_mailing_list_emails.rb FEATURE: More granular mailing list mode (#4068) 2016-05-21 15:17:54 +02:00
enqueue_onceoffs.rb Try running once off jobs outside of db:migrate 2016-04-07 15:07:24 -04:00
ensure_db_consistency.rb FEATURE: handle bounced emails 2016-05-02 23:15:32 +02:00
heartbeat.rb FEATURE: unicorn sidekiq will restart sidekiq on complete failure. 2014-04-23 13:13:18 +10:00
pending_flags_reminder.rb FIX: custom reason for flags were not showing for non-english locales 2016-08-05 18:41:11 +05:30
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: new site setting rebake_old_posts_count 2016-08-15 16:34:13 +05:30
poll_feed.rb Scrub only after converting strings to UTF-8 2016-08-25 16:09:07 +10:00
poll_mailbox.rb REFACTOR: use same code path for handling emails via API and POP 2016-06-22 15:50:49 +02: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 FEATURE: store history for scheduled job execution 2016-05-30 11:38:08 +10:00