kitchen/backend/migrations
jtricerolph d7898ba897 Add 'use main stack settings' toggle for third-party integration credentials
Each of Newbook, Resos, SambaPOS, SMTP, and Nextcloud now has a checkbox at the
top of its credentials block. When enabled, the app reads auth credentials from
the central stack settings service (SETTINGS_URL + STACK_INTERNAL_SECRET) and
the local auth fields are grayed out. App-specific fields (base path, GL codes,
keywords, sync intervals, etc.) remain editable regardless.

Backend: new use_global_* columns on kitchen_settings, migration, global_settings_service
with apply_global_overrides() for in-memory credential injection, GET /api/settings/global-status
endpoint, and apply_global_overrides() called in test-connection endpoints and FileArchivalService.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-12 21:57:10 +00:00
..
__init__.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_admin_restricted_pages.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_allergen_keywords.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_awaiting_replacement_status.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_brakes_cache.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_brakes_dietary_info.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_budget_settings.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_calendar_events.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_changelog_invoice_link.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_cost_distributions.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_cover_overrides.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_description_aliases.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_dext_integration.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_dext_manual_send.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_dish_separation.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_dispute_attachment_public_hash.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_flag_assessment.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_global_settings_flags.py Add 'use main stack settings' toggle for third-party integration credentials 2026-07-12 21:57:10 +00:00
add_gross_sell_price.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_imap_integration.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_ingredient_flag_dismissals.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_ingredient_is_free.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_invoice_disputes.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_invoice_features.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_kitchen_details.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_line_item_search.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_linked_dispute.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_llm_infrastructure.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_logbook.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_menus.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_new_status.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_newbook_arrival_tracking.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_newbook_tables.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_newbook_upcoming_sync.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_nextcloud_backup.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_ocr_post_processing.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_ocr_weight_setting.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_pdf_annotation_settings.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_price_settings.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_purchase_orders.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_recipe_batch_type.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_recipe_ingredient_unit.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_recipe_ingredient_yield.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_recipe_system.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_recipe_text_flag_dismissals.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_residents_table_chart.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_resos_arrival_widget_filter.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_resos_integration.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_resos_manual_breakfast.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_resos_upcoming_sync.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_rooms_breakdown.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_sambapos_excluded_items.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_sambapos_portion_name.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_sambapos_settings.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_step_title.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_sub_recipe_unit.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_supplier_po_fields.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_supplier_skip_dext.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00
add_support_request.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_unique_flag_types.py Initial kitchen scaffold — Phase 1 kitchen port (build-verified 2026-07-11) 2026-07-12 12:15:39 +00:00
add_vat_rate_settings.py Fix migration transaction poisoning: ADD COLUMN IF NOT EXISTS 2026-07-12 19:53:26 +00:00