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
David Taylor 5a4d3e7576
FIX: Ensure UserField changes are reflected instantly in webhooks (#12291)
The Guardian object memoizes a list of allowed user fields. Normally this is fine because Guardian objects only persist for a single request. However, the WebHook class was memoizing a guardian at the class level. This meant that an app restart was required for changes to be reflected. Plus, the Guardian was being shared across all sites in a multisite instance.

Initializing a guardian is cheap, so we can manage without memoization here.
2021-03-04 21:41:57 +00:00
..
assets DEV: DRY up wavingHandUrl code. 2021-03-04 15:18:54 +08:00
controllers FEATURE: Add opt-in screenshots to the web app manifest (#12288) 2021-03-04 18:39:58 -03:00
helpers A11Y: sets the html lang to user's locale when possible (#12007) 2021-02-10 16:12:09 +01:00
jobs FIX: Mobile app notification urls w/ subfolder (#12282) 2021-03-04 07:07:37 -07:00
mailers FIX: Skip sending PM email for user silence (#12240) 2021-03-02 09:18:09 +10:00
models FIX: Ensure UserField changes are reflected instantly in webhooks (#12291) 2021-03-04 21:41:57 +00:00
serializers FEATURE: Various improvements to invite system (#12023) 2021-03-03 11:45:29 +02:00
services FEATURE: Autotag watched words (#12244) 2021-03-03 10:53:38 +02:00
views FIX: Remove unused JS from "finish installation" page (#12263) 2021-03-02 19:19:19 +01:00