discourse/app/jobs/regular
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
..
automatic_group_membership.rb stop adding users to a group if they are already in the group 2015-08-14 17:50:24 +10:00
backup_chunks_merger.rb
bulk_invite.rb FIX: invite email should be verified against email_domains_blacklist 2014-10-09 20:21:01 +05:30
close_topic.rb FIX: Don't fail topic auto-close if privledges are lost 2015-03-27 15:31:04 -07:00
crawl_topic_link.rb FIX: topic links with long titles can not be crawled 2015-08-18 17:34:46 +10:00
create_backup.rb FEATURE: new 'backup_with_uploads' site setting 2015-11-12 16:23:59 +01:00
create_thumbnails.rb FIX: uploading an animated user card/profile background was converted to a still image 2015-09-20 22:01:03 +02:00
export_csv_file.rb FIX: user archive url field should have absolute URLs 2015-11-25 15:13:15 +05:30
feature_topic_users.rb correct bad error reporting. 2015-08-14 13:29:39 +10:00
invite_email.rb
invite_password_instructions_email.rb FEATURE: send set password instructions after invite redemption 2014-10-11 14:13:05 +05:30
notify_mailing_list_subscribers.rb Rename handle_exception to handle_job_exception 2015-02-09 12:47:46 -08:00
notify_moved_posts.rb
post_alert.rb FIX: PostAlerter should ignore deleted posts 2015-10-28 13:03:54 -04:00
process_post.rb FIX: timing issue with edits and cook post processing 2015-09-29 18:51:26 +02:00
pull_hotlinked_images.rb FIX: PullHotlinkedImages was messing with URL when using Markdown references 2015-11-09 16:37:51 +01:00
resize_emoji.rb FIX: resize emoji job was generate errors 2015-10-30 23:31:30 +01:00
retrieve_topic.rb
run_heartbeat.rb
send_system_message.rb
test_email.rb
unpin_topic.rb FEATURE: make pin expiration mandatory 2015-07-29 16:34:21 +02:00
update_gravatar.rb FIX: registration fails with timeout on gravatar 2014-12-15 22:10:27 +01:00
update_top_redirection.rb FIX: select appropriate period when redirecting to top 2015-09-21 20:28:20 +02:00
user_email.rb FIX: *always* create an EmailLog whenever we run the UserEmail job 2016-01-28 19:01:35 +01:00