Commit graph

3 commits

Author SHA1 Message Date
Jason Robinson
ce16a122fc Fix missing localization of inactive user removal warning emails.
Fixes #5950
2015-05-16 03:40:06 +02:00
Jonne Haß
f49c8884f4 Use _url, not _path, in mailers 2015-02-27 16:58:39 +01:00
Jason Robinson
69c3566958 Maintenance feature to remove old users
Add Sidetiq webview to the Sidekiq monitoring panel

Add rake task maintenance:queue_users_for_removal
This basically just triggers an immediate run of the normal maintenance remove old users functionality that is normally (if enabled) scheduled to run once a day via sidetiq

Add extra safety when checking for user removal due to inactivity.
Now also user.last_seen will also be checked to make sure a user will not be removed in the event that the Devise rememember me login functionality has stopped the users remove_after timestamp from being removed.

Add initializer for maintenance job.
Add warning about mail being disabled if remove_old_users maintenance is enabled.
2014-10-16 22:53:08 +03:00