0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/config
Martin Brennan 47797c6247
DEV: Apply claude review fixes to Apply service
DesignWizard::Apply set site settings itself via set_and_log, then hand-rolled
an after_rollback callback to put the in-process SiteSetting cache back if a
later write blew up. That compensation only ever fired if a third-party
:site_setting_changed subscriber raised — already an unhandled 500 — and half
of it was dead code, since after_rollback runs once the site_settings rows have
already been reverted. It also forced transaction(requires_new: true), which
meant a savepoint whose only purpose was to make the callback fire under
transactional fixtures.

Delegate to SiteSetting::Update instead. It brings type coercion, dependency
ordering, and the deprecation/shadowing/visibility/configurability policies —
notably fixing a case where the wizard reported success but silently did
nothing when default_theme_id was shadowed by a GlobalSetting. It opens its own
transaction, so the step moves out of ours, which now wraps only the theme and
palette writes. default_theme_id is hidden, so it's passed via
allow_changing_hidden.

Also extracts the palette selectability writes into a dedicated action, and
reverts the transaction option plumbing added to the service base, which no
longer has a caller.
2026-08-07 11:23:44 +10:00
..
environments DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
imagemagick FIX: Render topic OG images under ImageMagick policy (#42125) 2026-07-30 08:12:33 +08:00
initializers FIX: Do not notify new sites or plugins enabled of old upcoming changes (#42045) 2026-07-30 09:51:08 +10:00
locales DEV: Apply claude review fixes to Apply service 2026-08-07 11:23:44 +10:00
application.rb DEV: Retroactive review and refactor of custom emoji bulk import/export (#41860) 2026-07-22 10:06:54 +10:00
boot.rb DEV: Change test formatters (#39427) 2026-04-22 12:26:07 +02:00
cdn.yml.sample
database.yml DEV: Support per-unicorn-worker DB variable overrides (#35615) 2025-10-27 13:45:27 +08:00
deploy.rb.sample
dev_defaults.yml DEV: Add admin_dashboard:populate rake task to seed Site Traffic (#39775) 2026-05-06 12:07:47 +08:00
discourse.config.sample
discourse.pill.sample DEV: Move puma to test-only dependency (#38652) 2026-03-18 05:23:12 +08:00
discourse_defaults.conf FEATURE: Add opt-in IAM role assumption for S3 operations (#39174) 2026-04-15 04:29:50 +08:00
environment.rb DEV: Add env var for local email port (#36900) 2025-12-31 14:25:02 +10:00
logrotate.conf
multisite.yml.production-sample
nginx.sample.conf DEV: remove x-real-ip references (#41371) 2026-07-03 15:53:21 -04:00
official_plugins.json DEV: Remove deprecated themes/plugins from the list (#41948) 2026-07-23 13:06:14 +02:00
pitchfork.conf.rb DEV: Rename EmberCli to EmberAssets (#40938) 2026-06-16 12:56:56 +02:00
projections.json DEV: Prepare for rename of app/assets/javascripts/ -> frontend/ 2025-10-22 16:24:11 +01:00
routes.rb FEATURE: design wizard modal for admin onboarding 2026-08-04 10:47:32 -05:00
sidekiq.yml
site_settings.yml UX: Always show the "Mark unread" topic button (#42189) 2026-08-04 10:29:12 -03:00
spring.rb
thin.yml.sample
unicorn_launcher DEV: Enable Pitchfork by default (#37679) 2026-02-11 11:52:39 +01:00