kitchen/backend/api
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 Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
backup.py Add get_current_user_from_token to auth.py; fix missing import in 3 api files 2026-07-12 12:34:01 +00:00
budget.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
calendar_events.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
cost_distributions.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
cover_overrides.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
credit_notes.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
disputes.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
event_orders.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
external.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
field_mappings.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
food_flags.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
imap.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
ingredients.py Add get_current_user_from_token to auth.py; fix missing import in 3 api files 2026-07-12 12:34:01 +00:00
internal.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
invoices.py Fix PDF viewing: cookie auth fallback + .mjs MIME type 2026-07-12 21:34:51 +00:00
kds_settings.py Fix 413 upload limit + add /api/kds/settings to kitchen backend 2026-07-12 17:47:28 +00:00
logbook.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
menus.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
newbook.py Add 'use main stack settings' toggle for third-party integration credentials 2026-07-12 21:57:10 +00:00
public.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
purchase_orders.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
recipes.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
reconciliation.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
reports.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
residents_table_chart.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
resos.py Add 'use main stack settings' toggle for third-party integration credentials 2026-07-12 21:57:10 +00:00
sambapos.py Add 'use main stack settings' toggle for third-party integration credentials 2026-07-12 21:57:10 +00:00
search.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
settings.py Add 'use main stack settings' toggle for third-party integration credentials 2026-07-12 21:57:10 +00:00
suppliers.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00
support.py Restore api/migrations/models/services source files accidentally removed in gitignore commit 2026-07-12 12:16:28 +00:00