Give the admin a new site configuration option, site.archive_sticky_posts, which stops making mods do the busy work of periodically replacing their sticky posts, when the only thing that is wrong with them is an old post date. Mods still have the option of locking a sticky post if they don't want to see comments on it. This new option defaults to enabled, which is the same as the previous behavior.
Improve the code by consolidating all the various checks for post age into one function in misc.py.
The announcement post, if there is one, is now not archived until it is removed as an announcement.
Give the admin a new site configuration option,
site.archive_sticky_posts
, which stops making mods do the busy work of periodically replacing their sticky posts, when the only thing that is wrong with them is an old post date. Mods still have the option of locking a sticky post if they don't want to see comments on it. This new option defaults to enabled, which is the same as the previous behavior.Improve the code by consolidating all the various checks for post age into one function in
misc.py
.The announcement post, if there is one, is now not archived until it is removed as an announcement.