discourse/plugins
Joffrey JAFFEUX 40ce619edd
DEV: uses in: {} with lambda to work with eager_load (#25039)
When validating with a dynamic set of values, especially one that might change during runtime, we should use a lambda or a proc to ensure that the validation uses the most up-to-date set of values. This is particularly important when using config.eager_load = true, which can cause some elements to be loaded only once at startup, thus not reflecting changes made at runtime.

This was the root cause of the issues here, as we were adding more ReviewableScore types after initial load through: `register_reviewable_type Chat::ReviewableMessage`
2023-12-29 12:45:07 +08:00
..
chat DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
checklist Update translations (#24599) 2023-11-29 10:41:27 +01:00
discourse-details UX:; scope details change (#24715) 2023-12-05 13:56:17 +01:00
discourse-lazy-videos FIX: Add rel=0 to youtube lazy videos url (#24173) 2023-10-31 08:04:23 -03:00
discourse-local-dates DEV: Convert min_trust_to_flag_posts setting to groups (#24864) 2023-12-13 17:18:42 +08:00
discourse-narrative-bot DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
discourse-presence DEV: Convert min_trust_to_edit_wiki_post to groups (#24766) 2023-12-12 15:20:37 +11:00
footnote FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00
poll DEV: Remove usage of min_trust_to_create_topic SiteSetting (#24887) 2023-12-18 13:39:53 +11:00
spoiler-alert Update translations (#25041) 2023-12-28 10:12:53 +01:00
styleguide Update translations (#25041) 2023-12-28 10:12:53 +01:00