borgitory 2.6.4__tar.gz → 2.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. {borgitory-2.6.4 → borgitory-2.7.0}/PKG-INFO +1 -1
  2. {borgitory-2.6.4 → borgitory-2.7.0}/pyproject.toml +3 -3
  3. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/command_execution/linux_command_executor.py +14 -5
  4. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/command_execution/wsl_command_executor.py +14 -7
  5. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/hooks/hook_config.py +2 -2
  6. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/hooks/hook_execution_service.py +13 -6
  7. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/scheduling/hook_service.py +25 -0
  8. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/simple_command_runner.py +4 -1
  9. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hook_field_modal.html +15 -0
  10. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hooks_edit_content.html +44 -0
  11. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_critical_hook_config.py +1 -1
  12. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_hook_config.py +6 -1
  13. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_hook_execution_service.py +18 -0
  14. {borgitory-2.6.4 → borgitory-2.7.0}/tests/scheduling/test_hook_service.py +50 -1
  15. {borgitory-2.6.4 → borgitory-2.7.0}/.gitignore +0 -0
  16. {borgitory-2.6.4 → borgitory-2.7.0}/LICENSE +0 -0
  17. {borgitory-2.6.4 → borgitory-2.7.0}/README.md +0 -0
  18. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/__init__.py +0 -0
  19. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/README +0 -0
  20. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/env.py +0 -0
  21. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/script.py.mako +0 -0
  22. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/02b7b29d38c0_add_encryption_type_and_keyfile_content_.py +0 -0
  23. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/18b9095bc772_add_patterns_column_to_schedules_table.py +0 -0
  24. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/1d47e9231dd0_rename_cleanup_to_prune.py +0 -0
  25. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/2628b151e709_make_passphrase_optional.py +0 -0
  26. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/3335c0eac68e_create_initial_schema.py +0 -0
  27. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/5e6cc17d11a5_user_installed_packages.py +0 -0
  28. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/78c9fff46e06_add_compact_after_field_to_pruneconfig.py +0 -0
  29. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/9b5d5f5e8cbc_add_pre_post_job_hooks_to_schedule.py +0 -0
  30. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/9e4c8456ea53_add_cache_dir_field_to_repositories_.py +0 -0
  31. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/9f06f8c8088d_initial_empty_state.py +0 -0
  32. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/d294fdc9a5e7_fix_uuid_columns_for_sqlite.py +0 -0
  33. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic/versions/eb3518e71c73_add_more_prune_settings_to_cleanup_.py +0 -0
  34. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/alembic.ini +0 -0
  35. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/__init__.py +0 -0
  36. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/auth.py +0 -0
  37. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/backups.py +0 -0
  38. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/cancel_on_disconnect.py +0 -0
  39. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/cloud_sync/__init__.py +0 -0
  40. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/cloud_sync/cloud_sync.py +0 -0
  41. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/cloud_sync/s3.py +0 -0
  42. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/debug.py +0 -0
  43. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/jobs.py +0 -0
  44. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/notifications.py +0 -0
  45. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/packages.py +0 -0
  46. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/prune.py +0 -0
  47. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/repositories.py +0 -0
  48. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/repository_check_configs.py +0 -0
  49. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/repository_stats.py +0 -0
  50. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/schedules.py +0 -0
  51. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/shared.py +0 -0
  52. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/api/tabs.py +0 -0
  53. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/cli.py +0 -0
  54. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/config/__init__.py +0 -0
  55. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/config/command_runner_config.py +0 -0
  56. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/config/job_manager_config.py +0 -0
  57. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/config_module.py +0 -0
  58. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/constants/__init__.py +0 -0
  59. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/constants/retention.py +0 -0
  60. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/custom_types.py +0 -0
  61. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/dependencies.py +0 -0
  62. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/factories/__init__.py +0 -0
  63. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/factories/service_factory.py +0 -0
  64. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/main.py +0 -0
  65. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/__init__.py +0 -0
  66. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/borg_info.py +0 -0
  67. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/database.py +0 -0
  68. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/enums.py +0 -0
  69. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/job_results.py +0 -0
  70. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/patterns.py +0 -0
  71. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/repository_dtos.py +0 -0
  72. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/models/schemas.py +0 -0
  73. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/__init__.py +0 -0
  74. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/archive_manager_protocol.py +0 -0
  75. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/cloud_protocols.py +0 -0
  76. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/command_executor_protocol.py +0 -0
  77. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/command_protocols.py +0 -0
  78. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/environment_protocol.py +0 -0
  79. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/file_protocols.py +0 -0
  80. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/job_database_manager_protocol.py +0 -0
  81. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/job_event_broadcaster_protocol.py +0 -0
  82. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/job_output_manager_protocol.py +0 -0
  83. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/job_protocols.py +0 -0
  84. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/job_queue_manager_protocol.py +0 -0
  85. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/notification_protocols.py +0 -0
  86. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/path_protocols.py +0 -0
  87. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/repository_protocols.py +0 -0
  88. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/storage_protocols.py +0 -0
  89. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/protocols/system_protocol.py +0 -0
  90. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/py.typed +0 -0
  91. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/__init__.py +0 -0
  92. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/archives/archive_manager.py +0 -0
  93. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/archives/archive_models.py +0 -0
  94. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/borg/borg_pattern_validation_service.py +0 -0
  95. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/borg/shell_pattern.py +0 -0
  96. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/borg_service.py +0 -0
  97. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/__init__.py +0 -0
  98. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/cloud_sync_service.py +0 -0
  99. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/orchestration.py +0 -0
  100. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/registry.py +0 -0
  101. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/registry_factory.py +0 -0
  102. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/__init__.py +0 -0
  103. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/base.py +0 -0
  104. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/s3_provider_config.py +0 -0
  105. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/s3_storage.py +0 -0
  106. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/sftp_storage.py +0 -0
  107. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/storage/smb_storage.py +0 -0
  108. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_providers/types.py +0 -0
  109. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cloud_sync_config_service.py +0 -0
  110. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/command_execution/__init__.py +0 -0
  111. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/command_execution/command_executor_factory.py +0 -0
  112. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/configuration_service.py +0 -0
  113. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/cron_description_service.py +0 -0
  114. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/debug_service.py +0 -0
  115. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/encryption_service.py +0 -0
  116. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/files/file_service_factory.py +0 -0
  117. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/files/linux_file_service.py +0 -0
  118. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/files/wsl_file_service.py +0 -0
  119. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/hooks/__init__.py +0 -0
  120. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/broadcaster/event_type.py +0 -0
  121. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/broadcaster/job_event.py +0 -0
  122. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/broadcaster/job_event_broadcaster.py +0 -0
  123. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_database_manager.py +0 -0
  124. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_executor.py +0 -0
  125. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_manager.py +0 -0
  126. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_manager_factory.py +0 -0
  127. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_models.py +0 -0
  128. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_output_manager.py +0 -0
  129. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_queue_manager.py +0 -0
  130. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_render_service.py +0 -0
  131. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_service.py +0 -0
  132. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/job_stream_service.py +0 -0
  133. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/__init__.py +0 -0
  134. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/backup_task_executor.py +0 -0
  135. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/check_task_executor.py +0 -0
  136. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/cloud_sync_task_executor.py +0 -0
  137. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/compact_task_executor.py +0 -0
  138. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/hook_task_executor.py +0 -0
  139. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/notification_task_executor.py +0 -0
  140. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/jobs/task_executors/prune_task_executor.py +0 -0
  141. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/migrations/__init__.py +0 -0
  142. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/migrations/migration_factory.py +0 -0
  143. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/migrations/migration_service.py +0 -0
  144. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/__init__.py +0 -0
  145. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/config_service.py +0 -0
  146. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/providers/__init__.py +0 -0
  147. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/providers/base.py +0 -0
  148. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/providers/discord_provider.py +0 -0
  149. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/providers/pushover_provider.py +0 -0
  150. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/providers/telegram_provider.py +0 -0
  151. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/registry.py +0 -0
  152. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/registry_factory.py +0 -0
  153. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/service.py +0 -0
  154. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/notifications/types.py +0 -0
  155. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/package_manager_service.py +0 -0
  156. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/path/__init__.py +0 -0
  157. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/path/path_service.py +0 -0
  158. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/path/path_service_factory.py +0 -0
  159. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/path/platform_service.py +0 -0
  160. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/prune_service.py +0 -0
  161. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/rclone_service.py +0 -0
  162. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/rclone_types.py +0 -0
  163. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/recovery_service.py +0 -0
  164. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/repositories/repository_check_config_service.py +0 -0
  165. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/repositories/repository_service.py +0 -0
  166. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/repositories/repository_stats_service.py +0 -0
  167. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/scheduling/pattern_service.py +0 -0
  168. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/scheduling/schedule_service.py +0 -0
  169. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/scheduling/scheduler_service.py +0 -0
  170. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/startup/package_restoration_service.py +0 -0
  171. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/system/__init__.py +0 -0
  172. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/system/system_operations.py +0 -0
  173. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/task_definition_builder.py +0 -0
  174. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/upcoming_backups_service.py +0 -0
  175. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/volumes/file_system_interface.py +0 -0
  176. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/services/volumes/os_file_system.py +0 -0
  177. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/css/modern-components.css +0 -0
  178. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/css/tailwind-input.css +0 -0
  179. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/android-chrome-192x192.png +0 -0
  180. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/android-chrome-512x512.png +0 -0
  181. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/apple-touch-icon.png +0 -0
  182. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/favicon-16x16.png +0 -0
  183. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/favicon-32x32.png +0 -0
  184. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/favicon.ico +0 -0
  185. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/favicon/site.webmanifest +0 -0
  186. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/js/app.js +0 -0
  187. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/js/components/jobs.js +0 -0
  188. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/js/components/navigation.js +0 -0
  189. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/vendor/chart.min.js +0 -0
  190. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/vendor/htmx-ext-json-enc.js +0 -0
  191. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/vendor/htmx-ext-sse.js +0 -0
  192. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/static/vendor/htmx.min.js +0 -0
  193. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/base.html +0 -0
  194. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/index.html +0 -0
  195. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/login.html +0 -0
  196. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/macros/datetime.html +0 -0
  197. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/contents_modal.html +0 -0
  198. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/directory_contents.html +0 -0
  199. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/directory_loading_state.html +0 -0
  200. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/directory_loading_with_trigger.html +0 -0
  201. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/empty_state.html +0 -0
  202. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/error_message.html +0 -0
  203. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/list_content.html +0 -0
  204. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/loading_state.html +0 -0
  205. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/loading_with_trigger.html +0 -0
  206. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/repository_selector.html +0 -0
  207. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/archives/tab.html +0 -0
  208. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/login_error.html +0 -0
  209. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/login_form_active.html +0 -0
  210. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/login_success.html +0 -0
  211. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/register_error.html +0 -0
  212. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/register_form_active.html +0 -0
  213. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/auth/register_success.html +0 -0
  214. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/backups/manual_form.html +0 -0
  215. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/backups/operations.html +0 -0
  216. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/backups/tab.html +0 -0
  217. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/action_error.html +0 -0
  218. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/action_success.html +0 -0
  219. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/config_list_content.html +0 -0
  220. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/create_error.html +0 -0
  221. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/create_success.html +0 -0
  222. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/form.html +0 -0
  223. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/list.html +0 -0
  224. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/provider_fields.html +0 -0
  225. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_endpoint_field.html +0 -0
  226. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_fields.html +0 -0
  227. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_provider_options.html +0 -0
  228. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_region_options.html +0 -0
  229. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/s3/s3_storage_class_options.html +0 -0
  230. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields.html +0 -0
  231. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/sftp/sftp_fields_edit.html +0 -0
  232. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields.html +0 -0
  233. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/providers/smb/smb_fields_edit.html +0 -0
  234. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/tab.html +0 -0
  235. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/test_error.html +0 -0
  236. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/test_success.html +0 -0
  237. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/test_warning.html +0 -0
  238. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/update_error.html +0 -0
  239. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/cloud_sync/update_success.html +0 -0
  240. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/common/error_message.html +0 -0
  241. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/debug/debug_panel.html +0 -0
  242. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/debug/tab.html +0 -0
  243. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/backup_error.html +0 -0
  244. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/backup_success.html +0 -0
  245. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/current_jobs_list.html +0 -0
  246. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/empty_state.html +0 -0
  247. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/error_state.html +0 -0
  248. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/job_details_static.html +0 -0
  249. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/job_details_streaming.html +0 -0
  250. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/job_item.html +0 -0
  251. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/job_stop_error.html +0 -0
  252. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/job_stop_success.html +0 -0
  253. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/tab.html +0 -0
  254. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/task_item_static.html +0 -0
  255. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/jobs/task_item_streaming.html +0 -0
  256. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/navigation.html +0 -0
  257. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/navigation_nav.html +0 -0
  258. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/action_error.html +0 -0
  259. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/action_success.html +0 -0
  260. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/add_form.html +0 -0
  261. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/config_list_content.html +0 -0
  262. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/create_error.html +0 -0
  263. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/create_success.html +0 -0
  264. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/edit_form.html +0 -0
  265. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/list.html +0 -0
  266. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/providers/discord_fields.html +0 -0
  267. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/providers/pushover_fields.html +0 -0
  268. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/providers/telegram_fields.html +0 -0
  269. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/tab.html +0 -0
  270. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/test_error.html +0 -0
  271. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/test_success.html +0 -0
  272. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/update_error.html +0 -0
  273. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/notifications/update_success.html +0 -0
  274. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/empty_search.html +0 -0
  275. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/error.html +0 -0
  276. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/install_error.html +0 -0
  277. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/install_success.html +0 -0
  278. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/installed_list.html +0 -0
  279. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/package_manager.html +0 -0
  280. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/remove_error.html +0 -0
  281. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/remove_success.html +0 -0
  282. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/search_error.html +0 -0
  283. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/search_results.html +0 -0
  284. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/selected_packages.html +0 -0
  285. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/packages/tab.html +0 -0
  286. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/action_error.html +0 -0
  287. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/action_success.html +0 -0
  288. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/config_form.html +0 -0
  289. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/config_form_error.html +0 -0
  290. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/config_form_success.html +0 -0
  291. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/config_list_content.html +0 -0
  292. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/create_error.html +0 -0
  293. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/create_success.html +0 -0
  294. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/delete_error.html +0 -0
  295. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/delete_success.html +0 -0
  296. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/form.html +0 -0
  297. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/policies.html +0 -0
  298. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/prune_error.html +0 -0
  299. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/prune_success.html +0 -0
  300. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/retention_fields.html +0 -0
  301. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/strategy_fields.html +0 -0
  302. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/tab.html +0 -0
  303. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/update_error.html +0 -0
  304. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/prune/update_success.html +0 -0
  305. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/form_create.html +0 -0
  306. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/form_create_error.html +0 -0
  307. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/form_create_success.html +0 -0
  308. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/form_update_error.html +0 -0
  309. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/form_update_success.html +0 -0
  310. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/create/passphrase_field.html +0 -0
  311. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/delete_success.html +0 -0
  312. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/import/encryption_fields.html +0 -0
  313. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/import/form_import.html +0 -0
  314. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/import/form_import_error.html +0 -0
  315. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/import/form_import_success.html +0 -0
  316. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/list.html +0 -0
  317. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/list_content.html +0 -0
  318. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/modal/borg_info.html +0 -0
  319. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button.html +0 -0
  320. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/modal/break_lock_button_modal.html +0 -0
  321. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/modal/details_modal.html +0 -0
  322. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/modal/lock_status.html +0 -0
  323. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repositories/tab.html +0 -0
  324. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/action_error.html +0 -0
  325. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/action_success.html +0 -0
  326. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/check_error.html +0 -0
  327. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/check_success.html +0 -0
  328. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/config_list_content.html +0 -0
  329. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/create_error.html +0 -0
  330. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/create_form.html +0 -0
  331. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/create_success.html +0 -0
  332. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/custom_options.html +0 -0
  333. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/delete_error.html +0 -0
  334. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/delete_success.html +0 -0
  335. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/dynamic_options.html +0 -0
  336. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/edit_form.html +0 -0
  337. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/form.html +0 -0
  338. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/tab.html +0 -0
  339. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/update_error.html +0 -0
  340. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_check/update_success.html +0 -0
  341. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/repository_stats/stats_panel.html +0 -0
  342. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/create_error.html +0 -0
  343. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/create_form.html +0 -0
  344. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/create_success.html +0 -0
  345. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/cron_description.html +0 -0
  346. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/cron_expression_form.html +0 -0
  347. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/delete_error.html +0 -0
  348. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/delete_success.html +0 -0
  349. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/edit_form.html +0 -0
  350. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hooks_container.html +0 -0
  351. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hooks_modal.html +0 -0
  352. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hooks_save_response.html +0 -0
  353. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/hooks/hooks_validation_error.html +0 -0
  354. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/list.html +0 -0
  355. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/pattern_field_modal.html +0 -0
  356. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/pattern_validation_result.html +0 -0
  357. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/patterns_container.html +0 -0
  358. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/patterns_modal.html +0 -0
  359. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/patterns_save_response.html +0 -0
  360. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_error.html +0 -0
  361. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/patterns/patterns_validation_results.html +0 -0
  362. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/run_success.html +0 -0
  363. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/schedule_list_content.html +0 -0
  364. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/tab.html +0 -0
  365. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/upcoming.html +0 -0
  366. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/upcoming_backups_content.html +0 -0
  367. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/update_error.html +0 -0
  368. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/schedules/update_success.html +0 -0
  369. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/shared/notification.html +0 -0
  370. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/shared/package_autocomplete.html +0 -0
  371. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/shared/path_autocomplete.html +0 -0
  372. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/shared/path_autocomplete_dropdown.html +0 -0
  373. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/shared/path_autocomplete_loading.html +0 -0
  374. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/statistics/empty_state.html +0 -0
  375. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/statistics/loading_state.html +0 -0
  376. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/statistics/repository_selector.html +0 -0
  377. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/templates/partials/statistics/tab.html +0 -0
  378. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/__init__.py +0 -0
  379. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/datetime_utils.py +0 -0
  380. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/path_prefix.py +0 -0
  381. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/secure_path.py +0 -0
  382. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/security.py +0 -0
  383. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/template_paths.py +0 -0
  384. {borgitory-2.6.4 → borgitory-2.7.0}/src/borgitory/utils/template_responses.py +0 -0
  385. {borgitory-2.6.4 → borgitory-2.7.0}/tests/__init__.py +0 -0
  386. {borgitory-2.6.4 → borgitory-2.7.0}/tests/archives/test_archive_browser_htmx.py +0 -0
  387. {borgitory-2.6.4 → borgitory-2.7.0}/tests/archives/test_archive_manager.py +0 -0
  388. {borgitory-2.6.4 → borgitory-2.7.0}/tests/archives/test_archive_manager_caching.py +0 -0
  389. {borgitory-2.6.4 → borgitory-2.7.0}/tests/auth/test_auth_htmx.py +0 -0
  390. {borgitory-2.6.4 → borgitory-2.7.0}/tests/auth/test_auth_redirect_flow.py +0 -0
  391. {borgitory-2.6.4 → borgitory-2.7.0}/tests/auth/test_main_login_page.py +0 -0
  392. {borgitory-2.6.4 → borgitory-2.7.0}/tests/borg/test_borg_service_core.py +0 -0
  393. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/__init__.py +0 -0
  394. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_display_details.py +0 -0
  395. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_orchestration.py +0 -0
  396. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_provider_validation.py +0 -0
  397. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_registry.py +0 -0
  398. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_registry_integration.py +0 -0
  399. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_s3_provider_config.py +0 -0
  400. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_schema_validation.py +0 -0
  401. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_service.py +0 -0
  402. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_smb_storage.py +0 -0
  403. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_storage.py +0 -0
  404. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_providers/test_types.py +0 -0
  405. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_sync/test_cloud_sync_api.py +0 -0
  406. {borgitory-2.6.4 → borgitory-2.7.0}/tests/cloud_sync/test_s3_api.py +0 -0
  407. {borgitory-2.6.4 → borgitory-2.7.0}/tests/command_execution/test_linux_command_executor.py +0 -0
  408. {borgitory-2.6.4 → borgitory-2.7.0}/tests/command_execution/test_wsl_command_executor.py +0 -0
  409. {borgitory-2.6.4 → borgitory-2.7.0}/tests/conftest.py +0 -0
  410. {borgitory-2.6.4 → borgitory-2.7.0}/tests/factories/__init__.py +0 -0
  411. {borgitory-2.6.4 → borgitory-2.7.0}/tests/factories/test_service_factory.py +0 -0
  412. {borgitory-2.6.4 → borgitory-2.7.0}/tests/fixtures/__init__.py +0 -0
  413. {borgitory-2.6.4 → borgitory-2.7.0}/tests/fixtures/job_fixtures.py +0 -0
  414. {borgitory-2.6.4 → borgitory-2.7.0}/tests/fixtures/registry_fixtures.py +0 -0
  415. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/__init__.py +0 -0
  416. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_api_critical_hooks.py +0 -0
  417. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_composite_job_critical_failure.py +0 -0
  418. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_critical_hook_execution.py +0 -0
  419. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_job_manager_critical_hooks.py +0 -0
  420. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_notification_messages_hooks.py +0 -0
  421. {borgitory-2.6.4 → borgitory-2.7.0}/tests/hooks/test_task_definition_integration.py +0 -0
  422. {borgitory-2.6.4 → borgitory-2.7.0}/tests/integration/__init__.py +0 -0
  423. {borgitory-2.6.4 → borgitory-2.7.0}/tests/integration/conftest.py +0 -0
  424. {borgitory-2.6.4 → borgitory-2.7.0}/tests/integration/test_app_startup.py +0 -0
  425. {borgitory-2.6.4 → borgitory-2.7.0}/tests/integration/test_basic_endpoints.py +0 -0
  426. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/conftest.py +0 -0
  427. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_compact_task_executor.py +0 -0
  428. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_database_integration.py +0 -0
  429. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_ignore_lock_functionality.py +0 -0
  430. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_database_manager.py +0 -0
  431. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_event_broadcaster.py +0 -0
  432. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_executor.py +0 -0
  433. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_executor_comprehensive.py +0 -0
  434. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_manager.py +0 -0
  435. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_manager_comprehensive.py +0 -0
  436. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_manager_factory.py +0 -0
  437. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_manager_stop.py +0 -0
  438. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_manager_task_execution.py +0 -0
  439. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_output_manager.py +0 -0
  440. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_render_service_coverage.py +0 -0
  441. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_render_service_new_architecture.py +0 -0
  442. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_service.py +0 -0
  443. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_stop_api_simple.py +0 -0
  444. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_stop_functionality.py +0 -0
  445. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_stop_integration.py +0 -0
  446. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_stop_service.py +0 -0
  447. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_job_stream_service.py +0 -0
  448. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_jobs_api_sse.py +0 -0
  449. {borgitory-2.6.4 → borgitory-2.7.0}/tests/jobs/test_sse_multiline_formatting.py +0 -0
  450. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_discord_provider.py +0 -0
  451. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_notification_config_service.py +0 -0
  452. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_notification_configs_api.py +0 -0
  453. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_notification_edit_integration.py +0 -0
  454. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_pushover_provider.py +0 -0
  455. {borgitory-2.6.4 → borgitory-2.7.0}/tests/notifications/test_telegram_provider.py +0 -0
  456. {borgitory-2.6.4 → borgitory-2.7.0}/tests/packages/test_package_database_integration.py +0 -0
  457. {borgitory-2.6.4 → borgitory-2.7.0}/tests/packages/test_package_manager_service.py +0 -0
  458. {borgitory-2.6.4 → borgitory-2.7.0}/tests/packages/test_package_selection_endpoints.py +0 -0
  459. {borgitory-2.6.4 → borgitory-2.7.0}/tests/protocols/__init__.py +0 -0
  460. {borgitory-2.6.4 → borgitory-2.7.0}/tests/protocols/protocol_testing_utils.py +0 -0
  461. {borgitory-2.6.4 → borgitory-2.7.0}/tests/protocols/test_protocol_compliance.py +0 -0
  462. {borgitory-2.6.4 → borgitory-2.7.0}/tests/protocols/test_simple_command_runner_protocol.py +0 -0
  463. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repositories_api.py +0 -0
  464. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_check_config_service.py +0 -0
  465. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_check_configs_api.py +0 -0
  466. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_management_api.py +0 -0
  467. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_management_service.py +0 -0
  468. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_service.py +0 -0
  469. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_stats_html.py +0 -0
  470. {borgitory-2.6.4 → borgitory-2.7.0}/tests/repositories/test_repository_stats_service_unit.py +0 -0
  471. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_cron_description_api.py +0 -0
  472. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_cron_description_htmx_api.py +0 -0
  473. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_manual_run_apscheduler.py +0 -0
  474. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedule_creation_api.py +0 -0
  475. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedule_service.py +0 -0
  476. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedule_validation_service.py +0 -0
  477. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_scheduler_service.py +0 -0
  478. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedules_api.py +0 -0
  479. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedules_hooks_api.py +0 -0
  480. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_schedules_patterns_api.py +0 -0
  481. {borgitory-2.6.4 → borgitory-2.7.0}/tests/schedules/test_validate_patterns_json.py +0 -0
  482. {borgitory-2.6.4 → borgitory-2.7.0}/tests/scheduling/test_pattern_service.py +0 -0
  483. {borgitory-2.6.4 → borgitory-2.7.0}/tests/services/__init__.py +0 -0
  484. {borgitory-2.6.4 → borgitory-2.7.0}/tests/services/migrations/__init__.py +0 -0
  485. {borgitory-2.6.4 → borgitory-2.7.0}/tests/services/migrations/test_migration_service.py +0 -0
  486. {borgitory-2.6.4 → borgitory-2.7.0}/tests/services/test_borg_pattern_validation_service.py +0 -0
  487. {borgitory-2.6.4 → borgitory-2.7.0}/tests/templates/test_current_jobs_template.py +0 -0
  488. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_backups_api.py +0 -0
  489. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_basic.py +0 -0
  490. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_cache_dir_functionality.py +0 -0
  491. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_cache_dir_normalization.py +0 -0
  492. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_cron_description_service.py +0 -0
  493. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_database_models.py +0 -0
  494. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_datetime_utils.py +0 -0
  495. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_debug_service.py +0 -0
  496. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_dependencies.py +0 -0
  497. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_di_testing_infrastructure.py +0 -0
  498. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_job_manager_proper_di.py +0 -0
  499. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_jobs_api.py +0 -0
  500. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_path_service.py +0 -0
  501. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_prune_api.py +0 -0
  502. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_prune_service.py +0 -0
  503. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_recovery_service.py +0 -0
  504. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_repository_archives_navigation.py +0 -0
  505. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_retention_constants.py +0 -0
  506. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_secure_path_comprehensive.py +0 -0
  507. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_simple_command_runner.py +0 -0
  508. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_streaming_edge_cases.py +0 -0
  509. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_streaming_fixes.py +0 -0
  510. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_tabs_api.py +0 -0
  511. {borgitory-2.6.4 → borgitory-2.7.0}/tests/test_task_definition_builder.py +0 -0
  512. {borgitory-2.6.4 → borgitory-2.7.0}/tests/utils/__init__.py +0 -0
  513. {borgitory-2.6.4 → borgitory-2.7.0}/tests/utils/di_testing.py +0 -0
  514. {borgitory-2.6.4 → borgitory-2.7.0}/tests/utils/test_path_prefix.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: borgitory
3
- Version: 2.6.4
3
+ Version: 2.7.0
4
4
  Summary: A comprehensive web-based management interface for BorgBackup repositories with real-time monitoring, automated scheduling, and cloud synchronization capabilities.
5
5
  Project-URL: Homepage, https://borgitory.com
6
6
  Project-URL: Repository, https://github.com/mlapaglia/Borgitory
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "borgitory"
7
- version = "2.6.4"
7
+ version = "2.7.0"
8
8
  description = "A comprehensive web-based management interface for BorgBackup repositories with real-time monitoring, automated scheduling, and cloud synchronization capabilities."
9
9
  readme = "README.md"
10
10
  license = {file = "LICENSE"}
@@ -114,7 +114,7 @@ line-length = 88
114
114
  indent-width = 4
115
115
 
116
116
  # Assume Python 3.14+.
117
- target-version = "2.6.4"
117
+ target-version = "2.7.0"
118
118
 
119
119
  [tool.ruff.lint]
120
120
  # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
@@ -181,7 +181,7 @@ exclude_lines = [
181
181
 
182
182
  [tool.mypy]
183
183
  # Basic settings
184
- python_version = "2.6.4"
184
+ python_version = "2.7.0"
185
185
  strict = true
186
186
 
187
187
  # Display options
@@ -40,10 +40,13 @@ class LinuxCommandExecutor(CommandExecutorProtocol):
40
40
  ) -> CommandResult:
41
41
  """Execute a command and return the result."""
42
42
  start_time = time.time()
43
- actual_timeout = timeout or self.default_timeout
43
+ if timeout is None:
44
+ actual_timeout = self.default_timeout
45
+ else:
46
+ actual_timeout = timeout
44
47
 
45
48
  logger.debug(
46
- f"Executing Linux command: {' '.join(command[:3])}... (timeout: {actual_timeout}s)"
49
+ f"Executing Linux command: {' '.join(command[:3])}... (timeout: {'none' if actual_timeout == 0 else f'{actual_timeout}s'})"
47
50
  )
48
51
 
49
52
  try:
@@ -57,10 +60,16 @@ class LinuxCommandExecutor(CommandExecutorProtocol):
57
60
  )
58
61
 
59
62
  try:
60
- stdout_bytes, stderr_bytes = await asyncio.wait_for(
61
- process.communicate(input_data.encode() if input_data else None),
62
- timeout=actual_timeout,
63
+ communicate_coro = process.communicate(
64
+ input_data.encode() if input_data else None
63
65
  )
66
+ if actual_timeout > 0:
67
+ stdout_bytes, stderr_bytes = await asyncio.wait_for(
68
+ communicate_coro,
69
+ timeout=actual_timeout,
70
+ )
71
+ else:
72
+ stdout_bytes, stderr_bytes = await communicate_coro
64
73
  except asyncio.TimeoutError:
65
74
  process.kill()
66
75
  await process.wait()
@@ -61,10 +61,13 @@ class WSLCommandExecutor(CommandExecutorProtocol):
61
61
  # Build WSL command
62
62
  wsl_command = self._build_wsl_command(cmd_list, env, cwd)
63
63
 
64
- actual_timeout = timeout or self.default_timeout
64
+ if timeout is None:
65
+ actual_timeout = self.default_timeout
66
+ else:
67
+ actual_timeout = timeout
65
68
 
66
69
  logger.info(
67
- f"Executing WSL command: {' '.join(wsl_command[:3])}... (timeout: {actual_timeout}s)"
70
+ f"Executing WSL command: {' '.join(wsl_command[:3])}... (timeout: {'none' if actual_timeout == 0 else f'{actual_timeout}s'})"
68
71
  )
69
72
 
70
73
  try:
@@ -77,12 +80,16 @@ class WSLCommandExecutor(CommandExecutorProtocol):
77
80
  )
78
81
 
79
82
  try:
80
- stdout_bytes, stderr_bytes = await asyncio.wait_for(
81
- process.communicate(
82
- input=input_data.encode() if input_data else None
83
- ),
84
- timeout=actual_timeout,
83
+ communicate_coro = process.communicate(
84
+ input=input_data.encode() if input_data else None
85
85
  )
86
+ if actual_timeout > 0:
87
+ stdout_bytes, stderr_bytes = await asyncio.wait_for(
88
+ communicate_coro,
89
+ timeout=actual_timeout,
90
+ )
91
+ else:
92
+ stdout_bytes, stderr_bytes = await communicate_coro
86
93
  except asyncio.TimeoutError:
87
94
  process.kill()
88
95
  await process.wait()
@@ -31,8 +31,8 @@ class HookConfig:
31
31
  raise ValueError("Hook name cannot be empty")
32
32
  if not self.command.strip():
33
33
  raise ValueError("Hook command cannot be empty")
34
- if self.timeout <= 0:
35
- raise ValueError("Hook timeout must be positive")
34
+ if self.timeout < 0:
35
+ raise ValueError("Hook timeout must not be negative")
36
36
 
37
37
 
38
38
  class HookConfigParser:
@@ -223,15 +223,22 @@ class HookExecutionService:
223
223
 
224
224
  logger.debug(f"Executing hook '{hook.name}' with command: {command}")
225
225
 
226
- # Execute with timeout
226
+ # Execute with timeout (0 means no timeout)
227
227
  try:
228
- result = await asyncio.wait_for(
229
- self.command_runner.run_command(
230
- command=command, env=env, timeout=hook.timeout
231
- ),
232
- timeout=hook.timeout + 5, # Add small buffer for cleanup
228
+ run_coro = self.command_runner.run_command(
229
+ command=command,
230
+ env=env,
231
+ timeout=hook.timeout,
233
232
  )
234
233
 
234
+ if hook.timeout > 0:
235
+ result = await asyncio.wait_for(
236
+ run_coro,
237
+ timeout=hook.timeout + 5,
238
+ )
239
+ else:
240
+ result = await run_coro
241
+
235
242
  execution_time = time.time() - start_time
236
243
  success = result.success
237
244
  return_code = result.return_code
@@ -34,6 +34,7 @@ class HookService:
34
34
  hook_commands = form_data.getlist(f"{hook_type}_hook_command")
35
35
  hook_critical = form_data.getlist(f"{hook_type}_hook_critical")
36
36
  hook_run_on_failure = form_data.getlist(f"{hook_type}_hook_run_on_failure")
37
+ hook_timeouts = form_data.getlist(f"{hook_type}_hook_timeout")
37
38
 
38
39
  # Pair them up by position
39
40
  for i in range(min(len(hook_names), len(hook_commands))):
@@ -46,11 +47,21 @@ class HookService:
46
47
  len(hook_run_on_failure) > i and hook_run_on_failure[i] == "true"
47
48
  )
48
49
 
50
+ timeout = 300
51
+ if len(hook_timeouts) > i and hook_timeouts[i]:
52
+ try:
53
+ timeout = int(hook_timeouts[i])
54
+ if timeout < 0:
55
+ timeout = 300
56
+ except (ValueError, TypeError):
57
+ timeout = 300
58
+
49
59
  # Add all hooks, even if name or command is empty (for reordering)
50
60
  hooks.append(
51
61
  {
52
62
  "name": name,
53
63
  "command": command,
64
+ "timeout": timeout,
54
65
  "critical": critical,
55
66
  "run_on_job_failure": run_on_failure,
56
67
  }
@@ -137,6 +148,7 @@ class HookService:
137
148
  hook_commands = form_data.get(f"{hook_type}_hook_command", [])
138
149
  hook_critical = form_data.get(f"{hook_type}_hook_critical", [])
139
150
  hook_run_on_failure = form_data.get(f"{hook_type}_hook_run_on_failure", [])
151
+ hook_timeouts = form_data.get(f"{hook_type}_hook_timeout", [])
140
152
 
141
153
  # Ensure they are lists (in case there's only one item)
142
154
  if not isinstance(hook_names, list):
@@ -147,6 +159,8 @@ class HookService:
147
159
  hook_critical = [hook_critical] if hook_critical else []
148
160
  if not isinstance(hook_run_on_failure, list):
149
161
  hook_run_on_failure = [hook_run_on_failure] if hook_run_on_failure else []
162
+ if not isinstance(hook_timeouts, list):
163
+ hook_timeouts = [hook_timeouts] if hook_timeouts else []
150
164
 
151
165
  # Pair them up by position
152
166
  for i in range(min(len(hook_names), len(hook_commands))):
@@ -159,12 +173,22 @@ class HookService:
159
173
  len(hook_run_on_failure) > i and hook_run_on_failure[i] == "true"
160
174
  )
161
175
 
176
+ timeout = 300
177
+ if len(hook_timeouts) > i and hook_timeouts[i]:
178
+ try:
179
+ timeout = int(hook_timeouts[i])
180
+ if timeout < 0:
181
+ timeout = 300
182
+ except (ValueError, TypeError):
183
+ timeout = 300
184
+
162
185
  # Only add hooks that have both name and command
163
186
  if name and command:
164
187
  hooks.append(
165
188
  {
166
189
  "name": name,
167
190
  "command": command,
191
+ "timeout": timeout,
168
192
  "critical": critical,
169
193
  "run_on_job_failure": run_on_failure,
170
194
  }
@@ -198,6 +222,7 @@ class HookService:
198
222
  {
199
223
  "name": hook_data.get("name", ""),
200
224
  "command": hook_data.get("command", ""),
225
+ "timeout": int(hook_data.get("timeout", 300)),
201
226
  "critical": bool(hook_data.get("critical", False)),
202
227
  "run_on_job_failure": bool(
203
228
  hook_data.get("run_on_job_failure", False)
@@ -52,7 +52,10 @@ class SimpleCommandRunner:
52
52
  Returns:
53
53
  CommandResult with execution details
54
54
  """
55
- actual_timeout = float(timeout or self.timeout)
55
+ if timeout is None:
56
+ actual_timeout = float(self.timeout)
57
+ else:
58
+ actual_timeout = float(timeout)
56
59
 
57
60
  if self.log_commands:
58
61
  logger.info(f"Executing command: {' '.join(command[:3])}...")
@@ -89,6 +89,21 @@
89
89
  {{ 'Commands run before the backup starts' if hook_type == 'pre' else 'Commands run after the backup completes' }}
90
90
  </p>
91
91
  </div>
92
+ <!-- Hook Timeout -->
93
+ <div>
94
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">
95
+ Timeout (seconds)
96
+ </label>
97
+ <input type="number"
98
+ name="{{ hook_type }}_hook_timeout"
99
+ value="{{ hook.timeout if hook is defined and hook.timeout is defined else 300 }}"
100
+ min="0"
101
+ step="1"
102
+ class="w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-gray-100 placeholder-gray-500 dark:placeholder-gray-400 text-sm">
103
+ <p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
104
+ Maximum time in seconds before the hook is killed. Set to 0 for no timeout. Default is 300 (5 minutes).
105
+ </p>
106
+ </div>
92
107
  <!-- Hook Options -->
93
108
  <div class="space-y-3">
94
109
  <!-- Critical Flag - for all hooks -->
@@ -47,6 +47,17 @@
47
47
  placeholder="e.g., echo 'Starting backup', /path/to/setup.sh"
48
48
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical">{{ hook.command }}</textarea>
49
49
  </div>
50
+ <div>
51
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
52
+ Timeout (seconds)
53
+ </label>
54
+ <input type="number"
55
+ name="pre_hook_timeout_{{ loop.index0 }}"
56
+ value="{{ hook.timeout if hook.timeout is defined else 300 }}"
57
+ min="0"
58
+ step="1"
59
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
60
+ </div>
50
61
  </div>
51
62
  </div>
52
63
  {% endfor %}
@@ -81,6 +92,17 @@
81
92
  placeholder="e.g., echo 'Starting backup', /path/to/setup.sh"
82
93
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical"></textarea>
83
94
  </div>
95
+ <div>
96
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
97
+ Timeout (seconds)
98
+ </label>
99
+ <input type="number"
100
+ name="pre_hook_timeout_0"
101
+ value="300"
102
+ min="0"
103
+ step="1"
104
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
105
+ </div>
84
106
  </div>
85
107
  </div>
86
108
  {% endif %}
@@ -136,6 +158,17 @@
136
158
  placeholder="e.g., echo 'Backup completed', /path/to/cleanup.sh"
137
159
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical">{{ hook.command }}</textarea>
138
160
  </div>
161
+ <div>
162
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
163
+ Timeout (seconds)
164
+ </label>
165
+ <input type="number"
166
+ name="post_hook_timeout_{{ loop.index0 }}"
167
+ value="{{ hook.timeout if hook.timeout is defined else 300 }}"
168
+ min="0"
169
+ step="1"
170
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
171
+ </div>
139
172
  </div>
140
173
  </div>
141
174
  {% endfor %}
@@ -170,6 +203,17 @@
170
203
  placeholder="e.g., echo 'Backup completed', /path/to/cleanup.sh"
171
204
  class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm resize-vertical"></textarea>
172
205
  </div>
206
+ <div>
207
+ <label class="block text-xs font-medium text-gray-700 dark:text-gray-300 mb-1">
208
+ Timeout (seconds)
209
+ </label>
210
+ <input type="number"
211
+ name="post_hook_timeout_0"
212
+ value="300"
213
+ min="0"
214
+ step="1"
215
+ class="input-modern w-full border-gray-300 dark:border-gray-600 dark:bg-gray-700 rounded-md shadow-sm focus:ring-blue-500 focus:border-blue-500 text-gray-900 dark:text-gray-100 text-sm">
216
+ </div>
173
217
  </div>
174
218
  </div>
175
219
  {% endif %}
@@ -52,7 +52,7 @@ class TestHookConfig:
52
52
 
53
53
  def test_hook_config_validation_negative_timeout(self) -> None:
54
54
  """Test HookConfig validation fails with negative timeout."""
55
- with pytest.raises(ValueError, match="Hook timeout must be positive"):
55
+ with pytest.raises(ValueError, match="Hook timeout must not be negative"):
56
56
  HookConfig(name="test", command="echo test", timeout=-1)
57
57
 
58
58
 
@@ -60,9 +60,14 @@ class TestHookConfig:
60
60
 
61
61
  def test_hook_config_validation_negative_timeout(self) -> None:
62
62
  """Test that negative timeout raises ValueError."""
63
- with pytest.raises(ValueError, match="Hook timeout must be positive"):
63
+ with pytest.raises(ValueError, match="Hook timeout must not be negative"):
64
64
  HookConfig(name="Test Hook", command="echo 'hello'", timeout=-1)
65
65
 
66
+ def test_hook_config_zero_timeout_allowed(self) -> None:
67
+ """Test that zero timeout (no timeout) is valid."""
68
+ hook = HookConfig(name="Test Hook", command="echo 'hello'", timeout=0)
69
+ assert hook.timeout == 0
70
+
66
71
 
67
72
  class TestHookConfigParser:
68
73
  """Test HookConfigParser JSON parsing functionality."""
@@ -112,6 +112,24 @@ class TestHookExecutionService:
112
112
  assert call_args[1]["command"] == ["/bin/sh", "-c", "ls -la"]
113
113
  assert call_args[1]["timeout"] == 60
114
114
 
115
+ async def test_execute_hook_with_zero_timeout(self) -> None:
116
+ """Test that timeout=0 is passed through to run_command (no timeout)."""
117
+ mock_runner = MockCommandRunner()
118
+ mock_runner._run_command_mock.return_value = CommandResult(
119
+ success=True, return_code=0, stdout="done", stderr="", duration=120.0
120
+ )
121
+
122
+ service = HookExecutionService(command_runner=mock_runner)
123
+ hook = HookConfig(name="Long Hook", command="rclone sync ...", timeout=0)
124
+
125
+ summary = await service.execute_hooks([hook], "post", uuid.uuid4())
126
+
127
+ assert len(summary.results) == 1
128
+ assert summary.results[0].success is True
129
+
130
+ call_args = mock_runner._run_command_mock.call_args
131
+ assert call_args[1]["timeout"] == 0
132
+
115
133
  async def test_execute_hook_with_environment_vars(self) -> None:
116
134
  """Test executing hook with environment variables."""
117
135
  mock_runner = MockCommandRunner()
@@ -37,6 +37,7 @@ class TestHookService:
37
37
  "pre_hook_command": ["echo 'test'"],
38
38
  "pre_hook_critical": ["true"],
39
39
  "pre_hook_run_on_failure": ["false"],
40
+ "pre_hook_timeout": ["600"],
40
41
  }
41
42
  )
42
43
 
@@ -46,6 +47,7 @@ class TestHookService:
46
47
  hook = hooks[0]
47
48
  assert hook["name"] == "Test Hook"
48
49
  assert hook["command"] == "echo 'test'"
50
+ assert hook["timeout"] == 600
49
51
  assert hook["critical"] is True
50
52
  assert hook["run_on_job_failure"] is False
51
53
 
@@ -57,6 +59,7 @@ class TestHookService:
57
59
  "post_hook_command": ["command1", "command2"],
58
60
  "post_hook_critical": ["true", "false"],
59
61
  "post_hook_run_on_failure": ["false", "true"],
62
+ "post_hook_timeout": ["120", "1800"],
60
63
  }
61
64
  )
62
65
 
@@ -67,12 +70,14 @@ class TestHookService:
67
70
  # First hook
68
71
  assert hooks[0]["name"] == "Hook 1"
69
72
  assert hooks[0]["command"] == "command1"
73
+ assert hooks[0]["timeout"] == 120
70
74
  assert hooks[0]["critical"] is True
71
75
  assert hooks[0]["run_on_job_failure"] is False
72
76
 
73
77
  # Second hook
74
78
  assert hooks[1]["name"] == "Hook 2"
75
79
  assert hooks[1]["command"] == "command2"
80
+ assert hooks[1]["timeout"] == 1800
76
81
  assert hooks[1]["critical"] is False
77
82
  assert hooks[1]["run_on_job_failure"] is True
78
83
 
@@ -95,6 +100,38 @@ class TestHookService:
95
100
  assert hooks[1]["name"] == ""
96
101
  assert hooks[1]["command"] == ""
97
102
 
103
+ def test_extract_hooks_from_form_timeout_defaults(self) -> None:
104
+ """Test that timeout defaults to 300 when not provided or invalid."""
105
+ form_data = MockFormData(
106
+ {
107
+ "pre_hook_name": ["Hook 1", "Hook 2", "Hook 3"],
108
+ "pre_hook_command": ["cmd1", "cmd2", "cmd3"],
109
+ "pre_hook_timeout": [],
110
+ }
111
+ )
112
+
113
+ hooks = HookService.extract_hooks_from_form(form_data, "pre")
114
+
115
+ assert len(hooks) == 3
116
+ assert hooks[0]["timeout"] == 300
117
+ assert hooks[1]["timeout"] == 300
118
+ assert hooks[2]["timeout"] == 300
119
+
120
+ def test_extract_hooks_from_form_timeout_zero(self) -> None:
121
+ """Test that timeout of 0 (no timeout) is preserved."""
122
+ form_data = MockFormData(
123
+ {
124
+ "pre_hook_name": ["Long Hook"],
125
+ "pre_hook_command": ["rclone sync ..."],
126
+ "pre_hook_timeout": ["0"],
127
+ }
128
+ )
129
+
130
+ hooks = HookService.extract_hooks_from_form(form_data, "pre")
131
+
132
+ assert len(hooks) == 1
133
+ assert hooks[0]["timeout"] == 0
134
+
98
135
  def test_extract_hooks_from_form_missing_checkboxes(self) -> None:
99
136
  """Test extracting hooks when checkboxes are missing (unchecked)."""
100
137
  form_data = MockFormData(
@@ -128,6 +165,7 @@ class TestHookService:
128
165
  "pre_hook_command": ["command1", "command2"],
129
166
  "pre_hook_critical": ["true", "false"],
130
167
  "pre_hook_run_on_failure": ["false", "true"],
168
+ "pre_hook_timeout": ["600", "0"],
131
169
  }
132
170
  )
133
171
 
@@ -139,11 +177,13 @@ class TestHookService:
139
177
 
140
178
  assert hooks_data[0]["name"] == "Hook 1"
141
179
  assert hooks_data[0]["command"] == "command1"
180
+ assert hooks_data[0]["timeout"] == 600
142
181
  assert hooks_data[0]["critical"] is True
143
182
  assert hooks_data[0]["run_on_job_failure"] is False
144
183
 
145
184
  assert hooks_data[1]["name"] == "Hook 2"
146
185
  assert hooks_data[1]["command"] == "command2"
186
+ assert hooks_data[1]["timeout"] == 0
147
187
  assert hooks_data[1]["critical"] is False
148
188
  assert hooks_data[1]["run_on_job_failure"] is True
149
189
 
@@ -248,6 +288,7 @@ class TestHookService:
248
288
  "pre_hook_command": ["command1", "command2"],
249
289
  "pre_hook_critical": ["true", "false"],
250
290
  "pre_hook_run_on_failure": ["false", "true"],
291
+ "pre_hook_timeout": ["900", "0"],
251
292
  }
252
293
 
253
294
  result = HookService.convert_hook_fields_to_json_from_dict(form_data, "pre")
@@ -256,7 +297,9 @@ class TestHookService:
256
297
  hooks_data = json.loads(result)
257
298
  assert len(hooks_data) == 2
258
299
  assert hooks_data[0]["name"] == "Hook 1"
300
+ assert hooks_data[0]["timeout"] == 900
259
301
  assert hooks_data[1]["name"] == "Hook 2"
302
+ assert hooks_data[1]["timeout"] == 0
260
303
 
261
304
  def test_convert_hook_fields_to_json_from_dict_single_values(self) -> None:
262
305
  """Test converting hooks from form data with single values (not lists)."""
@@ -265,6 +308,7 @@ class TestHookService:
265
308
  "pre_hook_command": "echo single",
266
309
  "pre_hook_critical": "true",
267
310
  "pre_hook_run_on_failure": "false",
311
+ "pre_hook_timeout": "1800",
268
312
  }
269
313
 
270
314
  result = HookService.convert_hook_fields_to_json_from_dict(form_data, "pre")
@@ -273,6 +317,7 @@ class TestHookService:
273
317
  hooks_data = json.loads(result)
274
318
  assert len(hooks_data) == 1
275
319
  assert hooks_data[0]["name"] == "Single Hook"
320
+ assert hooks_data[0]["timeout"] == 1800
276
321
 
277
322
  def test_parse_hooks_from_json_empty(self) -> None:
278
323
  """Test parsing hooks from empty JSON."""
@@ -289,12 +334,14 @@ class TestHookService:
289
334
  {
290
335
  "name": "Hook 1",
291
336
  "command": "echo test",
337
+ "timeout": 600,
292
338
  "critical": True,
293
339
  "run_on_job_failure": False,
294
340
  },
295
341
  {
296
342
  "name": "Hook 2",
297
343
  "command": "echo test2",
344
+ "timeout": 0,
298
345
  "critical": False,
299
346
  "run_on_job_failure": True,
300
347
  },
@@ -306,11 +353,13 @@ class TestHookService:
306
353
  assert len(hooks) == 2
307
354
  assert hooks[0]["name"] == "Hook 1"
308
355
  assert hooks[0]["command"] == "echo test"
356
+ assert hooks[0]["timeout"] == 600
309
357
  assert hooks[0]["critical"] is True
310
358
  assert hooks[0]["run_on_job_failure"] is False
311
359
 
312
360
  assert hooks[1]["name"] == "Hook 2"
313
361
  assert hooks[1]["command"] == "echo test2"
362
+ assert hooks[1]["timeout"] == 0
314
363
  assert hooks[1]["critical"] is False
315
364
  assert hooks[1]["run_on_job_failure"] is True
316
365
 
@@ -329,7 +378,6 @@ class TestHookService:
329
378
  {
330
379
  "name": "Hook 1",
331
380
  "command": "echo test",
332
- # Missing critical and run_on_job_failure
333
381
  }
334
382
  ]
335
383
  )
@@ -339,6 +387,7 @@ class TestHookService:
339
387
  assert len(hooks) == 1
340
388
  assert hooks[0]["name"] == "Hook 1"
341
389
  assert hooks[0]["command"] == "echo test"
390
+ assert hooks[0]["timeout"] == 300 # Default
342
391
  assert hooks[0]["critical"] is False # Default
343
392
  assert hooks[0]["run_on_job_failure"] is False # Default
344
393
 
File without changes
File without changes
File without changes