discourse/app
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
..
assets Merge pull request #3980 from startsat60/master 2016-01-28 10:40:14 +01:00
controllers FEATURE: log admin/moderator grant/revoke action 2016-01-27 15:39:04 +05:30
helpers add Twitter labels only if both properties are present 2016-01-07 16:48:05 +05:30
jobs FIX: *always* create an EmailLog whenever we run the UserEmail job 2016-01-28 19:01:35 +01:00
mailers universal date format in digest email 2016-01-28 23:15:32 +05:30
models Merge pull request #3975 from techAPJ/category-user 2016-01-28 10:53:29 -05:00
serializers Replace uncategorized_description setting with translation 2016-01-28 00:26:25 +01:00
services filter out archived correctly 2016-01-28 00:14:26 +11:00
views move styles to Styles 2016-01-27 19:07:21 -08:00