From b10b32276e61bab942f59f20f125e8532c8ce82f Mon Sep 17 00:00:00 2001
From: Walter Purcaro <vuolter@users.noreply.github.com>
Date: Thu, 16 Apr 2015 20:48:58 +0200
Subject: default.conf cleanup

---
 pyload/config/default.conf | 119 +++++++++++++++++++++++++--------------------
 1 file changed, 65 insertions(+), 54 deletions(-)

diff --git a/pyload/config/default.conf b/pyload/config/default.conf
index 69ac7216f..453c40b4b 100644
--- a/pyload/config/default.conf
+++ b/pyload/config/default.conf
@@ -1,65 +1,76 @@
-version: 1
+version: 2
 
 remote - "Remote":
-    int port : "Port" = 7227
-    ip listenaddr : "Address" = 0.0.0.0
-    bool nolocalauth : "No authentication on local connections" = True
-    bool activated : "Activated" = True
+    bool  activated   : "Activated"                              = True
+    int   port        : "Port"                                   = 7227
+    ip    listenaddr  : "Address"                                = 0.0.0.0
+    bool  nolocalauth : "No authentication on local connections" = True
+
 ssl - "SSL":
-    bool activated : "Activated"= False
-    file cert : "SSL Certificate" = ssl.crt
-    file key : "SSL Key" = ssl.key
+    bool  activated : "Activated"       = False
+    file  cert      : "SSL Certificate" = ssl.crt
+    file  key       : "SSL Key"         = ssl.key
+
 webui - "Web User Interface":
-    bool activated : "Activated" = True
-    builtin;threaded;fastcgi;lightweight server : "Server" = builtin
-    bool https : "Use HTTPS" = False
-    ip host : "IP" = 0.0.0.0
-    int port : "Port" = 8001
-    Default;Dark;Flat;Next theme : "Theme" = Next
-    str prefix: "Path Prefix" =
+    bool                                  activated : "Activated"   = True
+    builtin;threaded;fastcgi;lightweight  server    : "Server"      = threaded
+    bool                                  https     : "Use HTTPS"   = False
+    ip                                    host      : "IP"          = 0.0.0.0
+    int                                   port      : "Port"        = 8001
+    Default;Dark;Flat;Next                theme     : "Theme"       = Next
+    str                                   prefix    : "Path Prefix" = None
+
 log - "Log":
-    bool file_log : "File Log" = True
-    folder log_folder : "Folder" = Logs
-    int log_count : "Count" = 5
-    int log_size : "Size in kb" = 100
-    bool log_rotate : "Log Rotate" = True
+    bool        file_log       : "File Log"        = True
+    folder      log_folder     : "Folder"          = Logs
+    int         log_count      : "Count"           = 5
+    int         log_size       : "Size in kb"      = 100
+    bool        log_rotate     : "Log Rotate"      = True
+    bool        color_console  : "Colored console" = True
+    label;full  color_template : "Color template"  = label
+
 general - "General":
-    en;de;fr;it;es;nl;sv;ru;pl;cs;sr;pt_BR language : "Language" = en
-    folder download_folder : "Download Folder" = Downloads
-    bool debug_mode : "Debug Mode" = False
-    int min_free_space : "Min Free Space (MB)" = 200
-    bool folder_per_package : "Create folder for each package" = True
-    int renice : "CPU Priority" = 0
-    auto;common;pyv8;node;rhino;jsc jsengine : "JS Engine" = auto
+    en;de;fr;it;es;nl;sv;ru;pl;cs;sr;pt_BR  language           : "Language"                       = en
+    folder                                  download_folder    : "Download Folder"                = Downloads
+    bool                                    debug_mode         : "Debug Mode"                     = False
+    int                                     min_free_space     : "Min Free Space (MB)"            = 200
+    bool                                    folder_per_package : "Create folder for each package" = True
+    int                                     renice             : "CPU Priority"                   = 0
+    auto;common;pyv8;node;rhino;jsc         jsengine           : "JS Engine"                      = auto
+
 download - "Download":
-    int chunks : "Max connections for one download" = 3
-    int max_downloads : "Max Parallel Downloads" = 3
-    int max_speed : "Max Download Speed in kb/s" = -1
-    bool limit_speed : "Limit Download Speed" = False
-    str interface : "Download interface to bind (ip or Name)" = None
-    bool ipv6: "Allow IPv6" = False
-    bool skip_existing : "Skip already existing files" = False
+    int   chunks        : "Max connections for one download"        = 3
+    int   max_downloads : "Max Parallel Downloads"                  = 3
+    int   max_speed     : "Max Download Speed in kb/s"              = -1
+    bool  limit_speed   : "Limit Download Speed"                    = False
+    str   interface     : "Download interface to bind (ip or Name)" = None
+    bool  ipv6          : "Allow IPv6"                              = False
+    bool  skip_existing : "Skip already existing files"             = False
+
 permission - "Permissions":
-    bool change_user : "Change user of running process" = False
-    str user : "Username" = user
-    str folder : "Folder Permission mode" = 0755
-    bool change_file : "Change file mode of downloads" = False
-    str file : "Filemode for Downloads" = 0644
-    bool change_group : "Change group of running process" = False
-    str group : "Groupname" = users
-    bool change_dl : "Change Group and User of Downloads" = False
+    bool  change_user  : "Change user of running process"     = False
+    str   user         : "Username"                           = user
+    str   folder       : "Folder Permission mode"             = 0755
+    bool  change_file  : "Change file mode of downloads"      = False
+    str   file         : "Filemode for Downloads"             = 0644
+    bool  change_group : "Change group of running process"    = False
+    str   group        : "Groupname"                          = users
+    bool  change_dl    : "Change Group and User of Downloads" = False
+
 reconnect - "Reconnect":
-    bool activated : "Use Reconnect" = False
-    str method : "Method" = None
-    time startTime : "Start" = 0:00
-    time endTime : "End" = 0:00
+    bool  activated : "Activated" = False
+    str   method    : "Method"    = None
+    time  startTime : "Start"     = 0:00
+    time  endTime   : "End"       = 0:00
+
 downloadTime - "Download Time":
-    time start : "Start" = 0:00
-    time end : "End" = 0:00
+    time  start : "Start" = 0:00
+    time  end   : "End"   = 0:00
+
 proxy - "Proxy":
-    str address : "Address" = "localhost"
-    int port : "Port" = 7070
-    http;socks4;socks5 type : "Protocol" = http
-    str username : "Username" = None
-    password password : "Password" = None
-    bool proxy : "Use Proxy" = False
+    str                 address  : "Address"   = "localhost"
+    int                 port     : "Port"      = 7070
+    http;socks4;socks5  type     : "Protocol"  = http
+    str                 username : "Username"  = None
+    password            password : "Password"  = None
+    bool                proxy    : "Use Proxy" = False
-- 
cgit v1.2.3