From d0830d4edf8a9ee794d5897afd813c88f0ea720b Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 2 Aug 2015 19:03:55 +0200 Subject: [enh] add settings option to set listening address - closes #397 --- searx/settings.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 03d895363..31bde02af 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,5 +1,6 @@ server: port : 8888 + bind_address : "127.0.0.1" # address to listen on secret_key : "ultrasecretkey" # change this! debug : False # Debug mode, only for development request_timeout : 2.0 # seconds -- cgit v1.2.3 From 1fcf066a8188b28eb644ea304a131d40b1b341eb Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 2 Aug 2015 19:38:27 +0200 Subject: [mod] change settings file structure according to #314 --- searx/settings.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 31bde02af..de018dcb7 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,28 +1,32 @@ +general: + debug : False # Debug mode, only for development + server: port : 8888 bind_address : "127.0.0.1" # address to listen on secret_key : "ultrasecretkey" # change this! - debug : False # Debug mode, only for development - request_timeout : 2.0 # seconds base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" + image_proxy : False # Proxying image results through searx + +ui: themes_path : "" # Custom ui themes path - leave it blank if you didn't change default_theme : oscar # ui theme - useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator - image_proxy : False # Proxying image results through searx default_locale : "" # Default interface locale - leave blank to detect from browser information or use codes from the 'locales' config section +outgoing: # communication with search engines + request_timeout : 2.0 # seconds + useragent_suffix : "" # suffix of searx_useragent, could contain informations like an email address to the administrator # uncomment below section if you want to use a proxy # see http://docs.python-requests.org/en/latest/user/advanced/#proxies # SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478 -#outgoing_proxies : -# http : http://127.0.0.1:8080 -# https: http://127.0.0.1:8080 - +# proxies : +# http : http://127.0.0.1:8080 +# https: http://127.0.0.1:8080 # uncomment below section only if you have more than one network interface # which can be the source of outgoing search requests -#source_ips: -# - 1.1.1.1 -# - 1.1.1.2 +# source_ips: +# - 1.1.1.1 +# - 1.1.1.2 engines: - name : wikipedia -- cgit v1.2.3 From c1d9cfd9ae0cc78b91ee5cc339266c26c09e0e4c Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 2 Aug 2015 19:59:54 +0200 Subject: [enh] default settings option to autocomplete backend - #396 --- searx/settings.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index de018dcb7..ffc3044a5 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -1,6 +1,10 @@ general: debug : False # Debug mode, only for development +search: + safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict + autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "wikipedia" - leave blank to turn it off by default + server: port : 8888 bind_address : "127.0.0.1" # address to listen on -- cgit v1.2.3 From 601389b673b1f5c75960570c5ff3322dd41d433c Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Tue, 8 Sep 2015 21:15:40 +0200 Subject: [enh] add chinese locale --- searx/settings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index ffc3044a5..ffc3502ee 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -319,6 +319,7 @@ locales: nl : Nederlands ja : 日本語 (Japanese) tr : Türkçe - pt: Português + pt : Português ru : Russian ro : Romanian + zh : 中文 (Chinese) -- cgit v1.2.3 From fafc564874c63e2c8fb5082c944779c1572e2f15 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 31 Oct 2015 15:27:23 +0100 Subject: [enh] yandex engine added --- searx/settings.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index ffc3502ee..8a9193539 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -274,6 +274,11 @@ engines: engine : yahoo shortcut : yh + - name : yandex + engine : yandex + shortcut : ya + disabled : True + - name : yahoo news engine : yahoo_news shortcut : yhn -- cgit v1.2.3 From 4b8f9778feab79205bfaa42db55390e058748096 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sat, 31 Oct 2015 20:41:39 +0100 Subject: [mod] yandex shortcut --- searx/settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/settings.yml') diff --git a/searx/settings.yml b/searx/settings.yml index 8a9193539..4e377789a 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -276,7 +276,7 @@ engines: - name : yandex engine : yandex - shortcut : ya + shortcut : yn disabled : True - name : yahoo news -- cgit v1.2.3