discourse/script/bulk_import
Ted Johansson 71ea236a79
FIX: Use a valid value for disabling backups using backup_frequency (#34245)
In #33558 we removed automatic_backups_enabled setting, and instead rely on backup_frequency being blank to disable.

There was a big oversight there with the site setting type system, which will coerce the value to an integer. It also makes it so you can't blank the value out in the UI.

This is a "fix forward" solution where instead of "set to blank to disable" we do "set to 0 to disable". This works along the grain of the site setting type system for a workable fix where we don't have to deal with the irreversible migration in the previous change.

We can potentially go and add in "nullable" to the type system at a later point.
2025-08-12 13:19:56 +08:00
..
base.rb FEATURE: User preference for editor Markdown monospace font (#34051) 2025-08-04 14:56:21 +10:00
discourse_merger.rb DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
generic_bulk.rb Add category moderation groups and more attributes to generic importer (#32561) 2025-07-03 17:03:10 -04:00
phpbb_postgresql.rb DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
uploads_importer.rb FIX: Store context for failed uploads (#33546) 2025-07-24 12:05:32 +00:00
uploads_importer.yml DEV: Update default config for uploads_importer (#31208) 2025-02-11 16:33:15 +01:00
vanilla.rb FIX: Use a valid value for disabling backups using backup_frequency (#34245) 2025-08-12 13:19:56 +08:00
vbulletin.rb FIX: Use a valid value for disabling backups using backup_frequency (#34245) 2025-08-12 13:19:56 +08:00
vbulletin5.rb FIX: Use a valid value for disabling backups using backup_frequency (#34245) 2025-08-12 13:19:56 +08:00