summaryrefslogtreecommitdiff
path: root/searx/utils.py
AgeCommit message (Collapse)Author
2018-08-05fetch_firefox_version.py : compatible with Python 3 and minor fixes.Alex
2018-08-05[mod] fetch firefox versions in a standalone scriptAlexandre Flament
2018-07-09Merge pull request #1303 from MarcAbonce/bingAdam Tauber
Fix bing "garbage" results
2018-06-23[fix] update user agent versionsMarc Abonce Seguin
this fixes duckduckgo error response
2018-06-14[fix] add basestring for py3Adam Tauber
2018-05-20fix bing "garbage" results (issue #1275)Marc Abonce Seguin
2018-03-27refactor engine's search language handlingMarc Abonce Seguin
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.
2017-12-01[fix] convert json engine result attributes to string - closes #1006Adam Tauber
2017-11-21[fix] remove trailing 0x00 from csv outputAdam Tauber
2017-11-21[fix] resurrect csv output in py2Adam Tauber
2017-09-08fix hmac python3 compatibilityNoémi Ványi
2017-09-04[mod] int_or_zero refactored to searx_utilsmisnyo
2017-06-25[fix] is_valid_lang fixed for new languages.py + dictzone engine encodingpotato
2017-05-15[mod] settings.yml can be /etc/searx/settings.ymlAlexandre Flament
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[mod] the static and templates directories can be defined in the settings.ymlAlexandre Flament
2017-05-15[enh] py3 compatibilityAdam Tauber
2017-01-20[mod] add a __common__ template that can't be selected but that provides a ↵Alexandre Flament
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
2016-11-19[mod] move load_module function to utilsAdam Tauber
2016-10-22fix kickass torrents engineNoémi Ványi
2016-09-06[enh] is_valid_lang moved to utilspotato
2016-08-13add digbt engineNoemi Vanyi
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-05[fix] exception if locale doesn't have a date formatmarc
occitan, for example
2016-07-11Fix anomalous backslash in stringstepshal
2016-07-10Fix quantity of blank lines after code object.stepshal
2016-07-04[enh] update useragent versionsAdam Tauber
2016-04-09new preferences handlingNoemi Vanyi
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.
2015-09-08[enh] extend user agent versionsAdam Tauber
2015-09-07[fix][mod] wikidata date handling refactor - fixes #387Adam Tauber
2015-09-07[enh] test utils.prettify_urlAdam Tauber
2015-08-02[mod] change settings file structure according to #314Adam Tauber
2015-06-04[fix] bing_news based on RSS output formatDalf
2015-05-02[fix] user agent : the "rv:{version}" was missing (can be a issue with some ↵Alexandre Flament
engine, like flickr)
2015-02-03[fix] default blocked categoriesAdam Tauber
2015-02-03[enh] category specific engine deactivation - closes #205Adam Tauber
2015-02-02Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into ↵Adam Tauber
Cqoicebordel-unit-tests Conflicts: searx/tests/test_engines.py
2015-01-31[enh] default disabled engines - closes #109Adam Tauber
2015-01-30Replace every bunch of whitespaces with only one space in HTML textCqoicebordel
2015-01-29[mod] pretty url separationAdam Tauber
2015-01-27A bit of utils unit testsCqoicebordel
2015-01-27[mod] update useragent versionsAdam Tauber
2015-01-22[fix] handle single closing element in HTMLTextExtractorAdam Tauber
2015-01-17[enh] image-proxy : handle ETag and date related headers, add hash to URLdalf
2015-01-11[enh] date formatting by localeAdam Tauber
2015-01-01[enh] better result template handlingAdam Tauber
2015-01-01[enh] themes static content refactorAdam Tauber
2015-01-01[fix] ignore scripts/styles in html_to_textAdam Tauber
2014-12-29Flake8 and Twitter correctionsCqoicebordel
Lots of Flake8 corrections Maybe we should change the rule to allow lines of 120 chars. It seems more usable. Big twitter correction : now it outputs the words in right order...
2014-11-22[enh] user agent string updateAdam Tauber
2014-11-18[enh] make version of searx readableThomas Pointhuber
2014-10-19[fix] pep8 part II.Adam Tauber