Dispatcharr/apps/backups
SergeantPanda 634f4a75a1
Merge pull request #931 from jcasimir:fix-backup-scheduler-test
Fix backup scheduler test to match actual defaults
2026-02-05 13:58:27 -06:00
..
migrations Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
__init__.py Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
api_urls.py Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
api_views.py Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
apps.py Enhancement: Refactored app initialization to prevent redundant execution across multiple worker processes. Created dispatcharr.app_initialization utility module with should_skip_initialization() function that prevents custom initialization tasks (backup scheduler sync, developer notifications sync) from running during management commands, in worker processes, or in development servers. This significantly reduces startup overhead in multi-worker deployments (e.g., uWSGI with 10 workers now syncs the scheduler once instead of 10 times). Applied to both CoreConfig and BackupsConfig apps. 2026-02-05 13:48:01 -06:00
models.py Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
scheduler.py Refactor CoreSettings to use JSONField for value storage and update related logic for proper type handling. Adjusted serializers and forms to accommodate new data structure, ensuring seamless integration across the application. 2026-01-13 12:18:34 -06:00
services.py Bug Fix: Fixed PostgreSQL backup restore not completely cleaning database before restoration. The restore process now drops and recreates the entire public schema before running pg_restore, ensuring a truly clean restore that removes all tables, functions, and other objects not present in the backup file. This prevents leftover database objects from persisting when restoring backups from older branches or versions. Added --no-owner flag to pg_restore to avoid role permission errors when the backup was created by a different PostgreSQL user. 2026-01-12 16:38:20 -06:00
tasks.py Feature: Automated configuration backups with scheduling 2025-11-26 21:11:13 -06:00
tests.py Fix backup scheduler test to match actual defaults 2026-02-01 19:34:01 -07:00