From ff7e09a467d13c26721dbdb6b7fe8c710966ceb0 Mon Sep 17 00:00:00 2001
From: shypike <>
Date: Tue, 23 Jun 2009 19:40:07 +0000
Subject: [PATCH] Improve handling of blocked servers. - Detection improved -
Blocking reason is shown - A de-block button is offered (implementation in
smpl does not work now!) - Prevent double server entries in Connections page
Improve implementation of API call "set_config".
De []<==>{} conversion of IPV6-IPs only for the INI file.
---
.../Default/templates/connection_info.tmpl | 6 +-
.../Plush/templates/connection_info.tmpl | 6 +-
.../interfaces/smpl/templates/connection_info.tmpl | 7 +-
main/interfaces/smpl/templates/main.tmpl | 5 ++
main/language/fr-fr.txt | 8 +-
main/language/nl-du.txt | 10 ++-
main/language/us-en.txt | 10 ++-
main/sabnzbd/config.py | 9 ++-
main/sabnzbd/downloader.py | 92 +++++++++++++++++-----
main/sabnzbd/interface.py | 51 ++++++++++--
main/sabnzbd/scheduler.py | 6 +-
11 files changed, 162 insertions(+), 48 deletions(-)
diff --git a/main/interfaces/Default/templates/connection_info.tmpl b/main/interfaces/Default/templates/connection_info.tmpl
index 994e432..97f4ac6 100644
--- a/main/interfaces/Default/templates/connection_info.tmpl
+++ b/main/interfaces/Default/templates/connection_info.tmpl
@@ -23,7 +23,11 @@ $T('logging'):
-
- $server[0]:$server[1]: $server[2] ($T('server-blocked'))
+ $server[0]:$server[1]: $server[2]
+
+ ($T('server-blocked'))
+ $server[6]
+
- $T('thread') #$thrd[0] -> $thrd[1] -> $thrd[2] -> $thrd[3]
diff --git a/main/interfaces/Plush/templates/connection_info.tmpl b/main/interfaces/Plush/templates/connection_info.tmpl
index 2ea0b3e..baf0d7a 100644
--- a/main/interfaces/Plush/templates/connection_info.tmpl
+++ b/main/interfaces/Plush/templates/connection_info.tmpl
@@ -17,7 +17,11 @@