This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Blake Erickson 7cfd5f87ff
FIX: Topic Timer auto opening closed topics (#10524)
This commit is addressing an issue where it is possible that there could
be multiple topic timer jobs running to close a topic or a weird race
condition state causing a topic that was just closed to be re-opened.

By removing the logic from the Topic Timer model into the Topic Timer
controller endpoint we isolate the code that is used for setting an
auto-open or an auto-close timer to just that functionality making the
topic timer background jobs safer if multiple are running.

Possibly in the future if we would like this logic back in the model a
refactor will be needed where we actually pass in the auto-close and
auto-open action instead of mixing it with the close and open
action that is currently being passed to the controller.
2020-08-26 11:17:12 +10:00
..
assets UX: show a generic error on upload for XHR status 0 (#10521) 2020-08-25 12:08:03 -07:00
controllers FIX: Topic Timer auto opening closed topics (#10524) 2020-08-26 11:17:12 +10:00
helpers FIX: Detect dark scheme server-side for better dark logo support (#10490) 2020-08-20 14:23:18 -04:00
jobs DEV: IMAP log to database (#10435) 2020-08-14 12:01:31 +10:00
mailers PERF: Replace video and audio links in search blurb while indexing. 2020-08-06 12:25:03 +08:00
models FIX: Topic Timer auto opening closed topics (#10524) 2020-08-26 11:17:12 +10:00
serializers FIX: Wizard could not send custom color schemes to the client correctly (#10484) 2020-08-20 17:10:33 -07:00
services Revert "DEV: allow plugins to send extra silenced message params" 2020-08-25 09:57:57 +08:00
views FIX: Fix css var issues + button :active gradient (#10469) 2020-08-18 14:25:38 -05:00