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 SECURITY: Confirm new administrator accounts via email 2017-04-04 15:59:01 -04:00
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 Require dependencies to enable live reload in dev for Sidekiq. 2017-10-06 11:39:00 +08:00
create_avatar_thumbnails.rb FIX: Missing attribute. 2017-10-02 10:24:37 +08:00
create_backup.rb FIX: stop forking regular backup jobs 2017-12-21 09:00:48 +11:00
critical_user_email.rb
delete_topic.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
download_avatar_from_url.rb FIX: SSO avatar downloads were broken 2017-10-12 12:12:04 +05:30
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 FEATURE: resending invite should include original custom message 2017-06-30 18:13:33 +05:30
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 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
post_alert.rb FIX: ensure PostAlerter is always run in sidekiq 2018-05-24 17:27:43 +02:00
process_email.rb FIX: Processing incoming email should be done in a background job. 2017-04-24 13:57:28 +08:00
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 Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
rebake_custom_emoji_posts.rb
retrieve_topic.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
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 FIX: no notification was being sent when a post is hidden by community flags 2017-09-12 15:43:44 -04:00
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 FEATURE: staff can set a timer to remind them about a topic 2017-05-16 14:49:50 -04:00
unpin_topic.rb
update_gravatar.rb
update_group_mentions.rb
update_top_redirection.rb FIX: redirect to top wasn't working 2017-10-04 22:08:41 +02:00
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