Marc Abonce Seguin
829032f306
[fix] read utf-8 files (settings, languages, currency) with python3.5
...
Related to discussion in #1124
The io.open import is necessary for python2
2018-01-16 23:26:10 -06:00
Adam Tauber
8511e64f35
Merge pull request #1124 from JosephKiranBabu/python3-unicode-support
...
Make Python 3 able to read settings files with Unicode characters
2018-01-12 10:58:23 +01:00
Noémi Ványi
f3aa5ea47d
fix yacy result url
...
Closes #1064
2018-01-06 14:52:14 +01:00
Adam Tauber
e303339370
[enh] overwrite secret_key from env with the SEARX_SECRET env var if exists - closes #845
2017-12-29 09:13:50 +01:00
Joseph Nuthalapati
bdc803e185
Make Python 3 able to read settings files with Unicode characters
...
SearX currently doesn't start up when run with Python 3 as it tries to parse the
settings.yml file with ASCII codecs.
There are similar problems with engines_languages.json and currencies.json
Python 3 requires that files with Unicode characters be read with a 'b' flag.
This also works with Python 2 and hence can be integrated into the main source
code.
Tested with the latest Python 3.6.4rc1 on Debian unstable.
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-21 17:33:19 +05:30
Noémi Ványi
0cb8a849da
dark background for answers && no background for highlight
2017-12-20 17:10:52 +01:00
Noémi Ványi
2d5eed9b59
send constant cookie with query to Google
2017-12-18 21:38:52 +01:00
Noémi Ványi
e31409daf7
revert changin about to searx docs
2017-12-12 22:02:23 +01:00
Noémi Ványi
4f4dcdf38f
add links to footers of oscar and simple themes
...
Links:
* Source code
* Issue tracker
* List of public instances
Closes #1071
2017-12-12 22:02:23 +01:00
Adam Tauber
2dc02f50c2
[fix] do not save engine/plugin cookies as unknown settings options - fixes #1110
2017-12-11 00:20:28 +01:00
Adam Tauber
7752b0a807
[fix] gigablast url parameter change - fixes #1107
2017-12-09 21:00:08 +01:00
Adam Tauber
7061eb91af
[fix] use proper encoding with both py2/3 - closes #1094
2017-12-08 21:39:59 +01:00
Adam Tauber
49b845051f
Merge pull request #973 from MarcAbonce/languages
...
Remove 'all' option from search languages
2017-12-06 14:34:26 +01:00
Adam Tauber
df0b8ee527
Merge pull request #1109 from dalf/simple_magnet_svg
...
simple theme : magnet.svg is replaced by a home made version
2017-12-06 14:28:03 +01:00
marc
4d1770398a
remove 'all' option from search languages
2017-12-06 01:20:15 -06:00
Adam Tauber
e060aedc16
[enh] make custom oscar option configurable from url
2017-12-05 22:30:20 +01:00
Adam Tauber
46fb0d860e
[enh] add dark version of oscar/logicodev
2017-12-05 22:05:19 +01:00
Alexandre Flament
cc69b1cd87
simple theme : replace magnet.svg with a home made version
2017-12-05 21:58:17 +01:00
Adam Tauber
1613c6319e
[fix] handle /sorry redirects
2017-12-05 20:38:34 +01:00
Adam Tauber
1435ae7e96
[enh] display engine error messages
2017-12-05 20:38:32 +01:00
Adam Tauber
1088c2a75d
[fix] do not crash if publication date is missing in pubmed engine
2017-12-01 20:54:12 +01:00
Adam Tauber
801b5a56ad
[fix] multiple fixes in pdbe engine
2017-12-01 20:54:12 +01:00
Adam Tauber
0969e50c5b
[fix] convert json engine result attributes to string - closes #1006
2017-12-01 20:54:12 +01:00
Adam Tauber
a065fcdcc9
[fix] skip non-string result url/title/content
2017-12-01 20:54:12 +01:00
Noémi Ványi
31005f3121
use `change` function just like in case of language selection
...
The previous version did not work in Chrome browser.
Closes #1102
2017-11-30 22:33:54 +01:00
Dalf
9babe06a0e
[mod] simple theme: add the license to different files.
2017-11-26 14:33:11 +01:00
Zeph
02cb5602b4
[fix] autocompleter py3 compatibility - fixes #1088
2017-11-23 22:04:00 +01:00
Adam Tauber
7828a1833b
[enh] version 0.13.1
2017-11-23 17:59:06 +01:00
Adam Tauber
f65f90bf3c
[fix] autocompleter py3 compatibility - fixes #1088
2017-11-23 17:42:52 +01:00
Adam Tauber
fe6e87a5a4
[fix] replace obsolete string.join function
2017-11-23 17:40:26 +01:00
Adam Tauber
27e95846ea
[fix] measure request duration only if total_time attribute is set - fixes autocompleter
2017-11-23 01:52:54 +01:00
Adam Tauber
6eb9503896
[fix] use english in google engine if no language was set - this prevents guessing the language by the IP of the instance
2017-11-22 22:56:47 +01:00
Adam Tauber
6fdb6640d9
[fix] revert language changes to prevent CAPTCHAs
2017-11-22 22:50:48 +01:00
Alexandre Flament
c1cfe97851
[enh] timeout and total HTTP time are managed by searx.poolrequests
2017-11-22 18:33:35 +01:00
Adam Tauber
e766939440
[enh] version 0.13.0
2017-11-21 19:29:35 +01:00
Adam Tauber
14a22b1993
[enh] update translations
2017-11-21 17:04:25 +01:00
Adam Tauber
b5071fea6a
[fix] remove trailing 0x00 from csv output
2017-11-21 16:58:51 +01:00
Adam Tauber
3d6c67951a
[fix] resurrect csv output in py2
2017-11-21 16:51:45 +01:00
Adam Tauber
9ab8536479
[fix] fix language support of google
2017-11-21 16:28:53 +01:00
Adam Tauber
128eb76604
[fix] allow none as category in preferences - #1086
2017-11-21 15:27:16 +01:00
yujunqiang
ed1c78d923
fix bug: TypeError: set(['bing', 'google']) is not JSON serializable, when curl ' http://127.0.0.1:8888/?q=xxxxxxxx&categories=general&format=json '
2017-11-15 21:31:27 +08:00
Adam Tauber
400e77b7fe
[enh] update translations
2017-11-13 21:16:36 +01:00
pyrrh0n1c
4340c0b16c
Fixed typos.
2017-11-07 14:14:20 +00:00
pyrrh0n1c
2231b02add
Fixed the currency_convert engine.
2017-11-07 13:29:17 +00:00
Adam Tauber
00a7041daa
Merge pull request #1068 from Apply55gx/genius
...
Continuation of PR #1004 (seems abandoned)
2017-11-03 20:21:25 +01:00
Noémi Ványi
59c02e8e5f
results: make engines of results set
...
Previously, if a same result was returned from the
same engine, the name of the engine would be added
more than once. To eliminate engine name duplication
engine list was changed to set.
2017-11-03 19:52:47 +01:00
Adam Tauber
7a9b18e9e9
[mod] add more error handling to json engine II.
2017-11-02 01:08:15 +01:00
Adam Tauber
181f1c6305
[mod] add more error handling to json engine
2017-11-02 00:43:29 +01:00
jibe-b
b7eb80122e
[fix] update openairepublications
2017-11-02 00:10:08 +01:00
jibe-b
3e9cc1474f
[add] OpenAIRE publication engine
...
and modifies OpenAIRE datasets engine
2017-11-01 22:26:33 +01:00