diff --git a/pytorrent/db.py b/pytorrent/db.py index 2d66d07..690754c 100644 --- a/pytorrent/db.py +++ b/pytorrent/db.py @@ -55,27 +55,15 @@ CREATE TABLE IF NOT EXISTS user_preferences ( bootstrap_theme TEXT DEFAULT 'default', font_family TEXT DEFAULT 'default', active_rtorrent_id INTEGER, - table_columns_json TEXT, keyboard_json TEXT, mobile_mode INTEGER DEFAULT 0, compact_torrent_list_enabled INTEGER DEFAULT 0, - peers_refresh_seconds INTEGER DEFAULT 0, - port_check_enabled INTEGER DEFAULT 0, footer_items_json TEXT, title_speed_enabled INTEGER DEFAULT 0, - tracker_favicons_enabled INTEGER DEFAULT 0, - reverse_dns_enabled INTEGER DEFAULT 0, automation_toasts_enabled INTEGER DEFAULT 1, smart_queue_toasts_enabled INTEGER DEFAULT 1, - disk_monitor_paths_json TEXT, - disk_monitor_mode TEXT DEFAULT 'default', - disk_monitor_selected_path TEXT, - disk_monitor_stop_enabled INTEGER DEFAULT 0, - disk_monitor_stop_threshold INTEGER DEFAULT 98, interface_scale INTEGER DEFAULT 100, detail_panel_height INTEGER DEFAULT 255, - torrent_sort_json TEXT, - active_filter TEXT DEFAULT 'all', created_at TEXT NOT NULL, updated_at TEXT NOT NULL, FOREIGN KEY(user_id) REFERENCES users(id) @@ -541,18 +529,12 @@ MIGRATIONS = [ "ALTER TABLE users ADD COLUMN updated_at TEXT", "ALTER TABLE user_preferences ADD COLUMN mobile_mode INTEGER DEFAULT 0", "ALTER TABLE user_preferences ADD COLUMN compact_torrent_list_enabled INTEGER DEFAULT 0", - "ALTER TABLE user_preferences ADD COLUMN peers_refresh_seconds INTEGER DEFAULT 0", - "ALTER TABLE user_preferences ADD COLUMN port_check_enabled INTEGER DEFAULT 0", "ALTER TABLE user_preferences ADD COLUMN bootstrap_theme TEXT DEFAULT 'default'", "ALTER TABLE user_preferences ADD COLUMN font_family TEXT DEFAULT 'default'", "ALTER TABLE user_preferences ADD COLUMN footer_items_json TEXT", "ALTER TABLE user_preferences ADD COLUMN title_speed_enabled INTEGER DEFAULT 0", - "ALTER TABLE user_preferences ADD COLUMN tracker_favicons_enabled INTEGER DEFAULT 0", - "ALTER TABLE user_preferences ADD COLUMN reverse_dns_enabled INTEGER DEFAULT 0", "ALTER TABLE user_preferences ADD COLUMN interface_scale INTEGER DEFAULT 100", "ALTER TABLE user_preferences ADD COLUMN detail_panel_height INTEGER DEFAULT 255", - "ALTER TABLE user_preferences ADD COLUMN torrent_sort_json TEXT", - "ALTER TABLE user_preferences ADD COLUMN active_filter TEXT DEFAULT 'all'", "ALTER TABLE rtorrent_profiles ADD COLUMN max_parallel_jobs INTEGER DEFAULT 5", "ALTER TABLE rtorrent_profiles ADD COLUMN light_parallel_jobs INTEGER DEFAULT 4", "ALTER TABLE rtorrent_profiles ADD COLUMN light_job_timeout_seconds INTEGER DEFAULT 300", @@ -587,11 +569,6 @@ MIGRATIONS = [ "CREATE TABLE IF NOT EXISTS tracker_favicon_cache (domain TEXT PRIMARY KEY, source_url TEXT, file_path TEXT, mime_type TEXT, updated_at TEXT NOT NULL, updated_epoch REAL DEFAULT 0, error TEXT)", "ALTER TABLE user_preferences ADD COLUMN automation_toasts_enabled INTEGER DEFAULT 1", "ALTER TABLE user_preferences ADD COLUMN smart_queue_toasts_enabled INTEGER DEFAULT 1", - "ALTER TABLE user_preferences ADD COLUMN disk_monitor_paths_json TEXT", - "ALTER TABLE user_preferences ADD COLUMN disk_monitor_mode TEXT DEFAULT 'default'", - "ALTER TABLE user_preferences ADD COLUMN disk_monitor_selected_path TEXT", - "ALTER TABLE user_preferences ADD COLUMN disk_monitor_stop_enabled INTEGER DEFAULT 0", - "ALTER TABLE user_preferences ADD COLUMN disk_monitor_stop_threshold INTEGER DEFAULT 98", "ALTER TABLE smart_queue_settings ADD COLUMN cooldown_minutes INTEGER DEFAULT 10", "ALTER TABLE smart_queue_settings ADD COLUMN last_run_at TEXT", "ALTER TABLE smart_queue_settings ADD COLUMN refill_enabled INTEGER DEFAULT 1", diff --git a/pytorrent/templates/index.html b/pytorrent/templates/index.html index f94c11b..4e7194a 100644 --- a/pytorrent/templates/index.html +++ b/pytorrent/templates/index.html @@ -309,7 +309,7 @@
Automations / rules
Build a rule as: conditions first, then ordered actions. Matching torrents are handled as one batch and the cooldown is applied to the whole rule.
1. Rule
2. Conditions
3. Actions, in order
Rules
History
rTorrent config
Typical rTorrent options, like in ruTorrent. Unsupported methods are shown as unavailable.
Reference value is kept from the first override save. Later saves add or clear differences without replacing the original reference.
No changes
Loading config...
Cleanup / retention
One place to clear logs and active profile caches. Pending/running jobs, rules, settings and torrents are preserved.
Loading cleanup data...
-
Backup / restore
Profile backup restores only the active profile context for the current user. Application backup restores global application data and is available only to admins.
Creates and restores settings for the currently selected profile only. User IDs and profile IDs are remapped to the current user and active profile on restore.
Admin-only full application backup. Restore can replace users, permissions, profiles and global application settings.
+
Backup / restore
Profile backup restores only the active profile context for the current user. Application backup restores global application data and is available only to admins.
Creates and restores settings for the currently selected profile only. User IDs and profile IDs are remapped to the current user and active profile on restore.
Admin-only full application backup. Restore can replace users, permissions, profiles and global application settings.
pyTorrent status
Diagnostics for pyTorrent process and active SCGI/XMLRPC connection.
Open this tab to load diagnostics.