discourse/plugins/chat/spec
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
..
components/chat FEATURE: add grace period for chat edits (#23800) 2023-10-23 16:40:30 +08:00
fabricators FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
integration DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
jobs DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
lib FIX: Do not display chat replies as threads in transcripts (#24768) 2023-12-15 09:50:43 -03:00
mailers DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
models DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
requests DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
serializer DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
services DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
support DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
system DEV: Capture and log AR debug logs on GitHub actions for flaky tests (#25048) 2023-12-27 14:40:00 +08:00
validators COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00
plugin_helper.rb FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
plugin_spec.rb COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00