discourse/app/jobs/regular
Sam 5f64fd0a21 DEV: remove exec_sql and replace with mini_sql
Introduce new patterns for direct sql that are safe and fast.

MiniSql is not prone to memory bloat that can happen with direct PG usage.
It also has an extremely fast materializer and very a convenient API

- DB.exec(sql, *params) => runs sql returns row count
- DB.query(sql, *params) => runs sql returns usable objects (not a hash)
- DB.query_hash(sql, *params) => runs sql returns an array of hashes
- DB.query_single(sql, *params) => runs sql and returns a flat one dimensional array
- DB.build(sql) => returns a sql builder

See more at: https://github.com/discourse/mini_sql
2018-06-19 16:13:36 +10:00
..
admin_confirmation_email.rb
anonymize_user.rb REFACTOR: Run some parts of user anonymizing in background job 2018-06-08 15:50:07 +02:00
automatic_group_membership.rb FIX: automatic group membership when using SSO 2018-05-15 01:48:30 +02:00
backup_chunks_merger.rb push updates to backups list to client 2018-01-31 12:05:06 +01:00
bulk_grant_trust_level.rb
bulk_invite.rb Remove use of `rescue nil`. 2018-04-02 13:52:51 +08:00
crawl_topic_link.rb
create_avatar_thumbnails.rb
create_backup.rb FIX: stop forking regular backup jobs 2017-12-21 09:00:48 +11:00
critical_user_email.rb
delete_topic.rb
download_avatar_from_url.rb
download_backup_email.rb SECURITY: Don't pass email backup token to sidekiq as a parameter. 2017-12-18 11:25:22 +08:00
download_profile_background_from_url.rb FEATURE: add profile_background fields into SSO (#5701) 2018-05-07 10:03:26 +02:00
emit_web_hook_event.rb FIX: Broken ping event for web hooks due to missing payload. 2018-05-24 15:16:52 +08:00
enable_bootstrap_mode.rb
export_csv_file.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
feature_topic_users.rb
invite_email.rb
invite_password_instructions_email.rb
notify_category_change.rb FIX: ensure PostAlerter is always run in sidekiq 2018-05-24 17:27:43 +02:00
notify_mailing_list_subscribers.rb FIX: do not send mailing list emails to unapproved users 2017-12-13 15:13:17 +11:00
notify_moved_posts.rb
post_alert.rb FIX: ensure PostAlerter is always run in sidekiq 2018-05-24 17:27:43 +02:00
process_email.rb
process_post.rb FIX: process_post job should update baked_at and baked_version if it rebakes the post 2018-02-05 11:47:04 -05:00
publish_topic_to_category.rb FEATURE: Shared Drafts 2018-03-20 17:15:26 -04:00
pull_hotlinked_images.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
push_notification.rb
rebake_custom_emoji_posts.rb
retrieve_topic.rb
run_heartbeat.rb
send_push_notification.rb FIX: handle missing users when sending push notifications 2018-05-17 12:53:19 +05:30
send_system_message.rb
test_email.rb
toggle_topic_closed.rb FIX: Auto re-opened topics should restore category auto close settings. 2018-02-27 15:33:31 +08:00
topic_reminder.rb
unpin_topic.rb
update_gravatar.rb
update_group_mentions.rb
update_top_redirection.rb
update_username.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
user_email.rb PERF: lower the priority on user emails 2018-05-22 15:20:55 +10:00