discourse/app
Roman Rizzi 28d09227f5
FIX: Reload the ReviewableScore types when extending flags (#8740)
ReviewableScore#types extend the PostActionTypes with their own, storing the result inside a class variable. To avoid overwriting an existing flag, we need to calculate the next flag ID using these types instead of the PostAction ones. Since we first call the score types to calculate the id, this list gets memoized, leaving us with an outdated list.

To fix this, we now reload ReviewableScore#types after replacing flags.
2020-01-17 11:59:38 -03:00
..
assets Hide PM glyph, follow-up to 02dbcac 2020-01-17 07:10:44 -05:00
controllers Fix broken admin login fro SSO enabled sites (#8737) 2020-01-17 11:25:31 +10:00
helpers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
jobs FEATURE: Drop "backup" schema 7 days after restore 2020-01-16 17:48:47 +01:00
mailers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
models FIX: Reload the ReviewableScore types when extending flags (#8740) 2020-01-17 11:59:38 -03:00
serializers FEATURE: Secure media allowing duplicated uploads with category-level privacy and post-based access rules (#8664) 2020-01-16 13:50:27 +10:00
services Merge pull request from GHSA-569c-22ff-pj3x 2020-01-16 15:17:16 -03:00
views SECURITY: 2FA with U2F / TOTP 2020-01-15 11:27:12 +01:00