summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2020-09-22[mod] searx.query.RawTextQuery: getSearchQuery and changeSearchQuery rename ↵Alexandre Flament
to getQuery and changeQuery getSearchQuery is confusing, the method returns a str not a SearchQuery object
2020-09-22[mod] searx.search.Search: split the search method into different methodsAlexandre Flament
2020-09-22[mod] add searx/webutils.pyAlexandre Flament
contains utility functions and classes used only by webapp.py
2020-09-22[mod] refactor searx.webapp.get_localeAlexandre Flament
* Log each call to get_locale: display the URL, the locale and the source (browser, preferences, form). * Rename _get_browser_language to _get_browser_or_settings_language to match the actual code.
2020-09-22[fix] /autocompleter: return HTTP 400 when q is empty as intent.Alexandre Flament
Fix commit c225db45c8a4ab466bff049216f7e0189dc1b067
2020-09-22fetch google's search langs rather than ui langsMarc Abonce Seguin
2020-09-22fix utils/fetch_languages to work with new languagesMarc Abonce Seguin
2020-09-22fetch supported languages for startpage engineMarc Abonce Seguin
2020-09-22add language names in qwant's fetch languages functionMarc Abonce Seguin
2020-09-19Merge pull request #2205 from dalf/fix-simple-theme-autocompleteAlexandre Flament
[fix] simple theme: fix autocomplete
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-13[fix] searx.utils.HTMLTextExtractor: invalid HTML don't raise an ExceptionAlexandre Flament
Close #2188
2020-09-12[mod] searx.RawTextQuery: the constructor call parse_queryAlexandre Flament
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-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-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-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] opensearch on chromium for android (#2132)Émilien Devos
2020-08-18[enh] add yggtorrent engine (#2135)Émilien Devos
2020-08-10[fix] piratebay engine date and pep8 indentationEmilien Devos
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-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-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-08Fix google images 'get image' button bug from issue #2103 (#2115)Vlad
Closes #2103