discourse/app/jobs/scheduled
Martin Brennan 2d68e5d942
FEATURE: Scheduled problem checks for admin dashboard (#15327)
This commit introduces scheduled problem checks for the admin dashboard, which are long running or otherwise cumbersome problem checks that will be run every 10 minutes rather than every time the dashboard is loaded. If these scheduled checks add a problem, the problem will remain until it is cleared or until the scheduled job runs again.

An example of a check that should be scheduled is validating credentials against an external provider.

This commit also introduces the concept of a `priority` to the problems generated by `AdminDashboardData` and the scheduled checks. This is `low` by default, and can be set to `high`, but this commit does not change any part of the UI with this information, only adds a CSS class.

I will be making a follow up PR to check group SMTP credentials.
2021-12-20 09:59:11 +10:00
..
about_stats.rb
activation_reminder_emails.rb DEV: Hash tokens stored from email_tokens (#14493) 2021-11-25 09:34:39 +02:00
auto_expire_user_api_keys.rb
auto_queue_handler.rb FEATURE: Blocking is optional when deleting a user from the review queue. (#13375) 2021-06-15 12:35:45 -03:00
badge_grant.rb FIX: Cached badge_count isn't updated after backfilling badges (#11281) 2020-11-18 22:01:56 +01:00
bookmark_reminder_notifications.rb DEV: cap notifications per run at 300 as stated in comment (#11252) 2020-11-17 09:08:12 +10:00
category_stats.rb
check_new_features.rb DEV: Prevents rate limits for new feature checks on multisite (#12053) 2021-02-12 08:52:59 -05:00
check_out_of_date_themes.rb
clean_dismissed_topic_users.rb FIX: Dismiss new with better migration (#12062) 2021-02-15 08:50:33 +11:00
clean_up_associated_accounts.rb
clean_up_associated_groups.rb FEATURE: Experimental support for group membership via google auth (#14835) 2021-12-09 12:30:27 +00:00
clean_up_crawler_stats.rb
clean_up_email_change_requests.rb DEV: Periodically delete old email change requests (#13054) 2021-05-14 10:34:56 +03:00
clean_up_email_logs.rb
clean_up_email_tokens.rb FIX: Delete unconfirmed AND expired email tokens only (#15089) 2021-11-25 10:34:30 +02:00
clean_up_exports.rb
clean_up_inactive_users.rb
clean_up_post_reply_keys.rb
clean_up_search_logs.rb
clean_up_stylesheet_cache.rb PERF: Add scheduled job to delete old stylesheet cache rows (#13747) 2021-07-16 10:58:01 -04:00
clean_up_unmatched_emails.rb
clean_up_unmatched_ips.rb
clean_up_unsubscribe_keys.rb
clean_up_unused_api_keys.rb
clean_up_unused_staged_users.rb
clean_up_uploads.rb DEV: Changes to support chat uploads (#15153) 2021-12-01 13:24:16 -06:00
cleanup_imap_sync_log.rb
create_missing_avatars.rb
create_recent_post_search_indexes.rb Fix the build. 2020-08-27 13:50:07 +08:00
dashboard_stats.rb FEATURE: remove duplicated messages about new advices (#14319) 2021-09-15 08:59:25 +10:00
destroy_old_deletion_stubs.rb
destroy_old_hidden_posts.rb
directory_refresh_daily.rb
directory_refresh_older.rb
disable_bootstrap_mode.rb
drop_backup_schema.rb
enqueue_digest_emails.rb PERF: Do not enqueue digest emails when attempted recently (#10849) 2020-10-07 15:30:38 +01:00
enqueue_onceoffs.rb
enqueue_suspect_users.rb FIX: Reduce the time_read threshold to one minute. (#12159) 2021-02-20 08:25:32 -03:00
ensure_db_consistency.rb DEV: Fix typo 2020-10-07 23:43:11 +02:00
ensure_s3_uploads_existence.rb FIX: Prevent "uploads are missing in S3" alerts after restoring a backup 2020-09-10 21:37:48 +02:00
fix_user_usernames_and_groups_names_clash.rb
grant_anniversary_badges.rb
grant_new_user_of_the_month_badges.rb DEV: Require scheduled job in development to avoid loading file twice. 2020-09-01 10:14:40 +08:00
heartbeat.rb
ignored_users_summary.rb
invalidate_inactive_admins.rb
migrate_upload_scheme.rb
old_keys_reminder.rb DEV: Require scheduled job in development to avoid loading file twice. 2020-09-01 10:14:40 +08:00
pending_queued_posts_reminder.rb
pending_reviewables_reminder.rb FEATURE: Delete previous reviewable reminders. (#15250) 2021-12-10 10:17:39 -03:00
pending_users_reminder.rb FEATURE: Staff can receive pending user reminders more frequently. (#13422) 2021-06-24 10:02:56 -03:00
periodical_updates.rb DEV: Change Topic Timer from enqueue_at scheduled jobs to incrementally executed jobs (#11698) 2021-01-19 13:30:58 +10:00
poll_mailbox.rb FIX: POP3 polling shouldn't stop after exception or old email (#12742) 2021-04-19 10:27:29 +02:00
presence_channel_auto_leave.rb DEV: Introduce PresenceChannel API for core and plugin use 2021-08-27 16:26:06 +01:00
problem_checks.rb FEATURE: Scheduled problem checks for admin dashboard (#15327) 2021-12-20 09:59:11 +10:00
process_badge_backlog.rb
process_shelved_notifications.rb DEV: Replace 'processed' column on notifications with new table (#11864) 2021-01-27 10:29:24 -06:00
process_user_notification_schedules.rb DEV: Improve logging of errors in Jobs::ProcessUserNotificationSchedules 2021-07-21 12:20:44 +08:00
purge_deleted_uploads.rb
purge_expired_ignored_users.rb DEV: Cleanup ignored user logic (#11107) 2020-11-03 12:38:54 +00:00
purge_old_web_hook_events.rb
purge_unactivated.rb
reindex_search.rb FIX: reindex_search job should work on model with no search data (#11819) 2021-01-25 11:23:36 +01:00
reviewable_priorities.rb FIX: Recalculate scores only when approving or transitioning to pending. (#13009) 2021-05-10 14:09:04 -03:00
schedule_backup.rb DEV: Add option to send system message to groups (#12256) 2021-03-02 18:51:50 +01:00
tl3_promotions.rb
top_refresh_older.rb
top_refresh_today.rb
topic_timer_enqueuer.rb FIX: Do not prevent other topic timers running on error (#13665) 2021-07-08 12:49:58 +10:00
unsilence_users.rb
update_animated_uploads.rb FIX: Ensure old uploads can have animated field updated (#10963) 2020-10-20 19:11:43 +03:00
update_heat_settings.rb
version_check.rb
weekly.rb FEATURE: Add weekly bookmark cleanup code (#10899) 2020-10-14 09:38:57 +10:00