Noémi Ványi
5796dc60c9
fix pep 8 check
2019-10-16 15:52:48 +02:00
Noémi Ványi
a6f20caf32
add initial support for offline engines && command engine
2019-10-16 15:52:48 +02:00
Adam Tauber
72459b246b
[fix] convert bytes type to string in language detection (fixes dictzone)
2019-10-16 14:52:57 +02:00
Alexandre Flament
2179079a91
[fix] fix flickr_noapi decoding ( #1655 )
...
Characters that were not ASCII were incorrectly decoded.
Add an helper function: searx.utils.ecma_unescape (Python implementation of unescape Javascript function).
2019-08-02 13:37:13 +02:00
Dalf
7e201cbf65
[mod] use cache in _match_language function to speed up searx start time significantly
2019-07-19 08:58:08 +02:00
rachmadani haryono
ec88fb8a0f
[fix] secret_key can be bytes instead of a string ( #1602 )
...
Fix #1600
In settings.yml, the secret_key can be written as string or as base64 encoded data using !!binary notation.
2019-07-17 10:09:09 +02:00
Alex
50c836864a
fetch_firefox_version.py : compatible with Python 3 and minor fixes.
2018-08-05 10:55:42 +02:00
Alexandre Flament
066bd916bf
[mod] fetch firefox versions in a standalone script
2018-08-05 10:10:15 +02:00
Adam Tauber
d51732c0e5
Merge pull request #1303 from MarcAbonce/bing
...
Fix bing "garbage" results
2018-07-09 11:00:37 +02:00
Marc Abonce Seguin
c7000cd1df
[fix] update user agent versions
...
this fixes duckduckgo error response
2018-06-23 16:24:06 -05:00
Adam Tauber
aef2b07969
[fix] add basestring for py3
2018-06-14 11:48:31 +02:00
Marc Abonce Seguin
75b276f408
fix bing "garbage" results (issue #1275 )
2018-05-20 18:13:32 -05:00
Marc Abonce Seguin
772c048d01
refactor engine's search language handling
...
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.
Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
2018-03-27 00:08:03 -06:00
Adam Tauber
0969e50c5b
[fix] convert json engine result attributes to string - closes #1006
2017-12-01 20:54:12 +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
Noémi Ványi
e73cb14889
fix hmac python3 compatibility
2017-09-08 21:33:11 +02:00
misnyo
33fd938016
[mod] int_or_zero refactored to searx_utils
2017-09-04 20:05:04 +02:00
potato
9b82cb1908
[fix] is_valid_lang fixed for new languages.py + dictzone engine encoding
2017-06-25 18:29:19 +02:00
Alexandre Flament
9c91ab33f8
[mod] settings.yml can be /etc/searx/settings.yml
...
The exact order is
* first from SEARX_SETTINGS_PATH,
* if not found then from searx code base,
* if not found then from /etc/searx/settings.yml
* if not found an exception stops searx loading
2017-05-15 22:19:42 +02:00
Alexandre Flament
ee080feaed
[mod] the static and templates directories can be defined in the settings.yml
2017-05-15 21:23:13 +02:00
Adam Tauber
52e615dede
[enh] py3 compatibility
2017-05-15 12:02:30 +02:00
Alexandre Flament
7fdfeca3a4
[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
...
What has been moved into this template :
* opensearch*.xml is always the same whatever the themes.
* the text inside */about.html
2017-01-20 15:40:38 +01:00
Adam Tauber
55dc538398
[mod] move load_module function to utils
2016-11-19 17:51:19 +01:00
Noémi Ványi
53c9fde992
fix kickass torrents engine
2016-10-22 05:27:18 +02:00
potato
983415bc38
[enh] is_valid_lang moved to utils
2016-09-06 16:43:48 +02:00
Noemi Vanyi
3a1c5876b1
add digbt engine
...
Unfortunately, it is quite slow so it is disabled.
Furthermore, the display of number of files is wrong
on digbt.org, so it is not displayed on searx.
2016-08-13 16:19:00 +02:00
marc
a4c77f88d0
[fix] exception if locale doesn't have a date format
...
occitan, for example
2016-08-05 23:51:04 -05:00
stepshal
b3ab221b98
Fix anomalous backslash in string
2016-07-11 23:53:13 +07:00
stepshal
cd9b494cb5
Fix quantity of blank lines after code object.
2016-07-10 21:44:27 +07:00
Adam Tauber
9f64fd6745
[enh] update useragent versions
2016-07-04 23:12:44 +02:00
Noemi Vanyi
fe691a0988
new preferences handling
...
Preferences class was introduced in order to handle user preferences. Right now
it parses cookies and the form in preferences. Also it can retrieve settings
based on the name of the setting.
ATTENTION
Please note that engine preferences are handled differently from now on. So it
introduces incompatible changes. Every user who has saved preferences should reset and
save his/her settings again.
This change was needed, because everytime a default disabled engine was
added saved user preferences would broke. Now engine setting tracking is
fixed.
2016-04-09 01:08:44 +02:00
Adam Tauber
d8ef944974
[enh] extend user agent versions
2015-09-08 11:12:15 +02:00
Adam Tauber
362c849797
[fix][mod] wikidata date handling refactor - fixes #387
2015-09-07 22:39:33 +02:00
Adam Tauber
7580852bda
[enh] test utils.prettify_url
2015-09-07 19:22:01 +02:00
Adam Tauber
1fcf066a81
[mod] change settings file structure according to #314
2015-08-02 20:32:22 +02:00
Dalf
62cc2a5658
[fix] bing_news based on RSS output format
2015-06-04 18:30:08 +02:00
Alexandre Flament
f5d3b21566
[fix] user agent : the "rv:{version}" was missing (can be a issue with some engine, like flickr)
2015-05-02 12:35:57 +02:00
Adam Tauber
996c797ab2
[fix] default blocked categories
2015-02-03 18:48:52 +01:00
Adam Tauber
1de781a143
[enh] category specific engine deactivation - closes #205
2015-02-03 18:37:38 +01:00
Adam Tauber
7f865356f9
Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests
...
Conflicts:
searx/tests/test_engines.py
2015-02-02 09:36:43 +01:00
Adam Tauber
b19e681cce
[enh] default disabled engines - closes #109
2015-01-31 23:11:45 +01:00
Cqoicebordel
52a57ee045
Replace every bunch of whitespaces with only one space in HTML text
2015-01-30 21:00:49 +01:00
Adam Tauber
8de97dac03
[mod] pretty url separation
2015-01-29 19:44:52 +01:00
Cqoicebordel
cfe81d741c
A bit of utils unit tests
2015-01-27 20:03:33 +01:00
Adam Tauber
dafb49c804
[mod] update useragent versions
2015-01-27 19:58:39 +01:00
Adam Tauber
699fe60e50
[fix] handle single closing element in HTMLTextExtractor
2015-01-22 17:43:45 +01:00
dalf
b6d27aca59
[enh] image-proxy : handle ETag and date related headers, add hash to URL
2015-01-17 21:54:40 +01:00
Adam Tauber
23fa74b5f9
[enh] date formatting by locale
2015-01-11 13:26:40 +01:00
Adam Tauber
2f9a386c0d
[enh] better result template handling
2015-01-01 18:59:53 +01:00