summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-19[fix] simple theme: fix autocompleteAlexandre Flament
AJAX requests send the X-Requested-With HTTP header, so searx.webapp.autocompleter returns the results with the expected data format. Related to #2127 Close #2203
2020-09-12Merge pull request #2185 from dalf/rawtextquery-auto-parseAlexandre Flament
[mod] searx.RawTextQuery: the constructor call parse_query
2020-09-12[mod] searx.RawTextQuery: the constructor call parse_queryAlexandre Flament
2020-09-12Merge pull request #2137 from dalf/drop-python-2Noémi Ványi
Drop Python 2
2020-09-10Drop Python 2 (5/n): searx.utils.is_valid_lang, input parameter is a str ↵Alexandre Flament
instead of bytes Fix bug in translated.py and dictzone.py
2020-09-10Drop Python 2 (4/n): SearchQuery.query is a str instead of bytesDalf
2020-09-10Drop Python 2 (3/n): objectsDalf
2020-09-10Drop Python 2 (2/n): templatesDalf
2020-09-10Drop Python 2 (1/n): remove unicode string and url_utilsDalf
2020-09-10[fix] make docker produces clean tag version (0.17.0 instead of 0.17.0-- for ↵Alexandre Flament
example) Fix #2152
2020-09-10[fix] docker and k8s: run searxAlexandre Flament
fix #2181
2020-09-10wait for img to load before hiding infobox toggleMarc Abonce Seguin
2020-09-10use Wikipedia's REST v1 APIMarc Abonce Seguin
2020-09-08[mod] results.py: code clean up (#2140)Alexandre Flament
2020-09-08[enh] Add command line engines: git grep, find, etc. (#2128)Noémi Ványi
A new "base" engine called command is introduced. It is the foundation for all command line engines for now. You can use this engine to create your own command line engine. Add some engines (commented out to make sure no one enables anything accidentally): * git grep: This engine lets you grep in the searx repo. * locate: If locate is installed and initialized, you can search on the FS. * find: You can find files with a specific name from where you started searx. * pattern search in files: This engine utilizes the command fgrep. * regex search in files: This engine runs `grep` to find a file based on its contents.
2020-09-07[enh] stop searx when an engine raise an SyntaxError exception (#2177)Alexandre Flament
and some other exceptions: * KeyboardInterrupt * SystemExit * RuntimeError * SystemError * ImportError: an engine with an unmet dependency will stop everything.
2020-09-02Merge pull request #2167 from scottwallacesh/fix_1552Adam Tauber
Add key to settings.yml for opening result links in a new tab
2020-09-01Add key to settings.yml for opening result links in a new tabScott Wallace
Closes #1552 Closes #444
2020-09-01[enh] add option to configure proxies per engine - closes #1827Adam Tauber
2020-08-31Revert "[enh] test: load each engine to check for syntax errors"Alexandre Flament
This reverts commit 4fb3ed2c6335b68f6b28ebc68d5d22f2fd621648.
2020-08-31Added metager-search (#2139)Singustromo
* Added metager-search
2020-08-31Merge pull request #2160 from dalf/test_load_engineAdam Tauber
[enh] test: load each engine to check for syntax errors
2020-08-31[fix] skip uncomplete image results - closes #1496Adam Tauber
2020-08-28[enh] test: load each engine to check for syntax errorsDalf
2020-08-27[fix] requirements-dev.txt: set fixed versions for all the dependencies (#2154)Alexandre Flament
2020-08-27fix selects in preferences so they look consistent (#2150)Marc Abonce Seguin
2020-08-27only return one url per "type" in Wikidata (#2151)Marc Abonce Seguin
i.e. only one official website, one Twitter, etc.
2020-08-27[fix] pylintAdam Tauber
2020-08-27[fix] use base_url for prefix of sharing 'currenly saved preferences' - ↵Adam Tauber
fixes #1249 by @matejc
2020-08-27[fix] add search language and time range filter to suggestions - fixes #1314Adam Tauber
2020-08-18[fix] docker-entrypoint.sh -h hangs if searx is a valid user (#2099)Markus Heiser
Implement a more robust detection if a process runs inside or outside of a docker image. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-08-18[fix] opensearch on chromium for android (#2132)Émilien Devos
2020-08-18[enh] add yggtorrent engine (#2135)Émilien Devos
2020-08-11Merge pull request #2134 from unixfox/fix/piratebay-engine-date-indentationAlexandre Flament
[fix] piratebay engine date and pep8 indentation
2020-08-10[fix] piratebay engine date and pep8 indentationEmilien Devos
2020-08-10Merge pull request #2133 from unixfox/fix/piratebay-engineAdam Tauber
[fix] piratebay engine
2020-08-10[fix] piratebay engineEmilien Devos
2020-08-10Merge pull request #2116 from mikeri/invidiousresAdam Tauber
Include author and video length in Invidious results
2020-08-10Merge pull request #2130 from msafadieh/masterAdam Tauber
Make default query submission method configurable
2020-08-10Merge pull request #2131 from MarcAbonce/infobox_styleAdam Tauber
Make infobox shorter by default and add an expand toggle
2020-08-10add toggle to resize infoboxMarc Abonce Seguin
2020-08-09add visually-hidden css class to pointhi styleMarc Abonce Seguin
2020-08-09add class for infobox's official urlMarc Abonce Seguin
2020-08-09set max-height on infobox's imagesMarc Abonce Seguin
2020-08-09add engine's name in infobox's headerMarc Abonce Seguin
2020-08-09reduce space between title and url in infobox headerMarc Abonce Seguin
2020-08-09Make default query submission method configurableMohamad Safadieh
Sending queries through POST, while better for privacy, breaks functionality with certain extensions (e.g. Firefox containers). Since Firefox does not send cookies when requesting `/opensearch.xml`, users cannot easily switch to GET on the client side unless they make a custom search engine. This commit allows admins to modify the default method on their side so they can set it to GET if needed.
2020-08-09Merge pull request #2127 from msafadieh/masterAlexandre Flament
[fix] fix the browser autocomplete feature.
2020-08-09Use query params for browser autocompleteMohamad Safadieh
Sending query params over GET seems to be the only way to be able to enable autocomplete in the browser. This commit adds the necessary URL formatting to opensearch.xml. In order to identify queries coming from the URL bar (rather than an AJAX request), which requires a different JSON format and MIME type, the request headers are checked for "X-Requested-With: XMLHttpRequest" which is added by jQuery request.
2020-08-08[fix] set encoding of README.rst explicit in setup.py (utf-8) (#2117)Markus Heiser
## What does this PR do? When installing searx on a centos-7 image [1] an encoding exception is raised from setup.py:: command: /usr/local/searx/searx-pyenv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/usr/local/searx/searx-src/setup.py'"'"'; __file__='"'"'/usr/local/searx/searx-src/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-pidntzkq cwd: /usr/local/searx/searx-src/ Complete output (7 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/searx/searx-src/setup.py", line 16, in <module> long_description = f.read() File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc9 in position 482: ordinal not in range(128) [1] https://uk.images.linuxcontainers.org/ ## Why is this change important? README.rst uses non ASCII characters _(pronunciation səːks.)_ ## How to test this PR locally? install searx on a centos-7 image from https://uk.images.linuxcontainers.org/