Docker and more calendar work

This commit is contained in:
Cody Cook 2025-06-17 16:00:46 -07:00
commit f7a919ebf2
22 changed files with 2036 additions and 79 deletions

View file

@ -35,6 +35,8 @@ def index():
auto_download = 'auto_download' in request.form
max_downloads = int(request.form.get('max_downloads', 5))
delete_after_days = int(request.form.get('delete_after_days', 30))
calendar_first_day = request.form.get('calendar_first_day', 'Monday')
calendar_show_monitored_only = 'calendar_show_monitored_only' in request.form
# Validate download path
if not os.path.exists(download_path):
@ -52,6 +54,8 @@ def index():
settings.auto_download = auto_download
settings.max_downloads = max_downloads
settings.delete_after_days = delete_after_days
settings.calendar_first_day = calendar_first_day
settings.calendar_show_monitored_only = calendar_show_monitored_only
db.session.commit()