discourse/app
Alan Guo Xiang Tan 0eda1c96f1
FIX: Ensure Theme#settings are instances of ThemeSettings (#26481)
Why this change?

Instead of dealing with a generic object for `Theme#settings`, we want
to always be dealing with `ThemeSettings` objects.` Previously, we
converted the generic objects to `ThemeSettings` objects in the theme's
adapter `afterFindAll` function. This is not correct because updating
or saving the theme individual reverted the `Theme#settings` back to an
array of generic object.

To fix this problem, the proper way with our REST models is to overwrite
the static `munge` method and create `ThemeSettings` instances there.
2024-04-03 13:10:47 +08:00
..
assets FIX: Ensure Theme#settings are instances of ThemeSettings (#26481) 2024-04-03 13:10:47 +08:00
controllers DEV: Modifier to add params to TopicsController redirect url (#26470) 2024-04-02 15:35:44 -05:00
helpers DEV: allow themes to render their own custom homepage (#26291) 2024-04-02 11:05:08 -04:00
jobs DEV: Add skip_email_bulk_invites hidden site setting (#26430) 2024-03-29 13:22:00 -04:00
mailers FIX: Add higher read & open timeouts for group SMTP emails (#24593) 2023-11-28 15:32:59 +10:00
models FEATURE: ignore manually deactivated users when purging (#26478) 2024-04-03 14:06:31 +11:00
serializers DEV: allow themes to render their own custom homepage (#26291) 2024-04-02 11:05:08 -04:00
services DEV: allow themes to render their own custom homepage (#26291) 2024-04-02 11:05:08 -04:00
views DEV: allow themes to render their own custom homepage (#26291) 2024-04-02 11:05:08 -04:00