summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-12Bump setproctitle from 1.3.1 to 1.3.2dependabot[bot]
Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/dvarrazzo/py-setproctitle/releases) - [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst) - [Commits](https://github.com/dvarrazzo/py-setproctitle/commits) --- updated-dependencies: - dependency-name: setproctitle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12Bump selenium from 4.3.0 to 4.4.0dependabot[bot]
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.3.0 to 4.4.0. - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.3.0...selenium-4.4.0) --- updated-dependencies: - dependency-name: selenium dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-12Bump flask from 2.1.3 to 2.2.2dependabot[bot]
Bumps [flask](https://github.com/pallets/flask) from 2.1.3 to 2.2.2. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/2.1.3...2.2.2) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-11[fix] improve OpenSearch descriptionMarkus Heiser
Some HTTP-Clients do have issues with the ``opensearch.xml`` from SearXNG (related [1][2]) while other OpenSearch descriptions[3] (e.g. from qwant) work flawles. Inspired by the OpenSearch description from qwant and with informations from the specification[4] the ``opensearch.xml`` has been *improved*. - convert `<Url>` methods from lower case to upper case (`POST`|`GET`) - add `<moz:SearchForm>` and `xmlns:moz="http://www.mozilla.org/2006/browser/search/"` - add `<Query role="example" searchTerms="SearXNG" />` [4] OpenSearch description documents should include at least one Query element of `role="example"` that is expected to return search results. Search clients may use this example query to validate that the search engine is working properly. - modified `<LongName>` to SearXNG - modified `<Description>` the word 'hackable' scares uninitiated users and was removed - add the `type="image/png"` to `<Image>` Test can be done by:: make run Visit http://127.0.0.1:8888/ and add the search engine to your WEB-Browser / test with different WEB-Browser from desktop and Smartphones (are there any iOS user here, please test on Safari and Chrome). [1] https://app.element.io/#/room/#searxng:matrix.org/$xN_abdKhNqUlgXRBrb_9F3pqOxnSzGQ1TG0s0G9hQVw [2] https://github.com/searxng/searxng/issues/431 [3] https://developer.mozilla.org/en-US/docs/Web/OpenSearch [4] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-query-element Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-10Merge pull request #1618 from return42/drop-pycodestyleMarkus Heiser
[fix] pycodestyle has been replaced by black in 3c77412d3
2022-08-10Merge pull request #1649 from joxcat/eng-srhtMarkus Heiser
Add sourcehut engine
2022-08-10Update searx.data - update_engine_descriptions.pyMarkus Heiser
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-10add sourcehut engineJohan Planchon
2022-08-10Merge pull request #1648 from unixfox/google_mobile_ui_parameterMarkus Heiser
output format protobuf to HTML for google mobile
2022-08-10[fix] google - simplify XPath selectors to fetch more resultsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-10Merge pull request #1650 from joxcat/eng-librsMarkus Heiser
Add lib.rs engine
2022-08-10add lib.rs engineJohan Planchon
2022-08-10output format protobuf to HTML for google mobileÉmilien Devos
2022-08-10[mod] add deepl translation engineThomas Renard
This implements the Deepl Translation engine. It works nearly like lingva but directly to the deepl API. This api only needs a to-lang, from-lang is a fake by now. There is a free option to use [1]. [1] https://www.deepl.com/pro-api?cta=header-pro-api for registering a free account.
2022-08-10Merge pull request #1643 from vojkovic/masterLéon Tiekötter
Revert Google XPath.
2022-08-10Revert PR #1633Brock Vojković
This reverts the changes made to the Google results XPath in PR #1633.
2022-08-09Merge pull request #1633 from tiekoetter/fix-google-results-xpathMarkus Heiser
[fix] google engine: results XPath
2022-08-09[fix] google engine: results XPathLéon Tiekötter
Seems google rolls out changes first on the `google.com` domain and later on the "language" domains. By example: yesterday [1] `google.com` did not work but `google.de` and `google.fr` did work, today they do not work any longer and this fix is needed on all domains. Closes: https://github.com/searxng/searxng/issues/1628 [1] https://github.com/searxng/searxng/issues/1628#issuecomment-1208191816
2022-08-08Merge pull request #1627 from allendema/add-marginaliaMarkus Heiser
[enh] Initial Marginalia.nu support (foss)
2022-08-08Merge pull request #1623 from return42/mod-yep.comMarkus Heiser
[mod] engine yep.com: show all 100 results yep.com has
2022-08-08[enh] initial Marginalia.nu support (foss)Allen
Currently it uses a public api_key `/public/` [1] The 'index' parameter selects the search index, corresponding to the drop down next to the search field in the main GUI. 0: popular 1: blogs 2: big_sites 3: default 4: experimental 'experimental' is more up to date and does not exclude other sites, which is the case with 'big sites' or 'blogs'. [1] https://api.marginalia.nu/ [2] https://git.marginalia.nu/marginalia/marginalia.nu [3] https://news.ycombinator.com/item?id=31536626 Closes: https://github.com/searxng/searxng/issues/1620
2022-08-07Merge pull request #1626 from return42/fix-minorMarkus Heiser
[fix] typo in uWSGI cache: searxcache --> searxngcache
2022-08-07[fix] typo in uWSGI cache: searxcache --> searxngcacheMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-07add description and wikidata ID to wttr.in engineliimee
2022-08-07add wttr.in engineta
2022-08-06[mod] engine yep.com: show all 100 results yep.com hasMarkus Heiser
yep.com is still in beta, the api.yep.com does not have paging support. There is only a 'limit' argument with a maximum of 100 results. yep.com seems fast; there is nor need for a timeout of 12 sec. The API returns JSON nevertheless what the HTTP header is, the "show more" button on yep.com's web site does not set a special HTTP Accept header. FYI: The index does not support languages, the WEB UI does not offer a language selection of the results and the entire index seems in English. Closes: https://github.com/searxng/searxng/issues/1619 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-05[fix] pycodestyle has been replaced by black in 3c77412d3Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-05Merge pull request #1614 from searxng/dependabot/pip/master/setproctitle-1.3.1Markus Heiser
Bump setproctitle from 1.3.0 to 1.3.1
2022-08-05Merge pull request #1617 from searxng/translations_updateMarkus Heiser
Update translations
2022-08-05Merge pull request #1615 from searxng/dependabot/pip/master/pycodestyle-2.9.1Markus Heiser
Bump pycodestyle from 2.8.0 to 2.9.1
2022-08-05[translations] update from Weblatesearxng-bot
acf8bd39 - 2022-08-05 - Markus Heiser <markus.heiser@darmarit.de> 4ad75b6e - 2022-08-04 - Markus Heiser <markus.heiser@darmarit.de> ee8cbee6 - 2022-07-31 - Markus Heiser <markus.heiser@darmarit.de> 87c19313 - 2022-08-01 - Academic tyro <y13593582403@gmail.com> cbe0de32 - 2022-07-30 - Markus Heiser <markus.heiser@darmarit.de> 45029a17 - 2022-08-04 - Markus Heiser <markus.heiser@darmarit.de> 6eec3795 - 2022-08-03 - Markus Heiser <markus.heiser@darmarit.de> f8d8f31f - 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de> b3fb365f - 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de> aaeabbc9 - 2022-08-03 - Lakatos Tamás <tomimost@gmail.com> 6c71c501 - 2022-08-03 - Markus Heiser <markus.heiser@darmarit.de> f7b5ba19 - 2022-08-01 - Markus Heiser <markus.heiser@darmarit.de> 850e7fa0 - 2022-08-04 - Mico Hautaluoma <m@mha.fi> 0cb696fc - 2022-07-31 - Markus Heiser <markus.heiser@darmarit.de> 04c3785f - 2022-08-02 - Markus Heiser <markus.heiser@darmarit.de> b500f2ad - 2022-08-01 - Edrean Ernst <edrean@allesbeste.com> 0b576b83 - 2022-08-01 - GooGuJiang <gu@gmoe.cc> 0adeb6e2 - 2022-08-01 - Edrean Ernst <edrean@allesbeste.com> 0b025f17 - 2022-07-31 - PRATYAY MUSTAFI <pratyaymustafi@gmail.com>
2022-08-05Bump pycodestyle from 2.8.0 to 2.9.1dependabot[bot]
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.8.0 to 2.9.1. - [Release notes](https://github.com/PyCQA/pycodestyle/releases) - [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt) - [Commits](https://github.com/PyCQA/pycodestyle/compare/2.8.0...2.9.1) --- updated-dependencies: - dependency-name: pycodestyle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-05Bump setproctitle from 1.3.0 to 1.3.1dependabot[bot]
Bumps [setproctitle](https://github.com/dvarrazzo/py-setproctitle) from 1.3.0 to 1.3.1. - [Release notes](https://github.com/dvarrazzo/py-setproctitle/releases) - [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst) - [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.3.0...version-1.3.1) --- updated-dependencies: - dependency-name: setproctitle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04Merge pull request #1608 from allendema/brave-time_rangeMarkus Heiser
[enh] time range support for brave
2022-08-04[wip] brave time range supportAllen
2022-08-01Merge pull request #1560 from return42/http-accept-languageMarkus Heiser
[mod] add 'Accept-Language' HTTP header to online processores
2022-08-01[mod] add 'Accept-Language' HTTP header to online processoresMarkus Heiser
Most engines that support languages (and regions) use the Accept-Language from the WEB browser to build a response that fits to the language (and region). - add new engine option: send_accept_language_header Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-08-01[doc] add description of method EngineProcessor.get_params()Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-31Merge pull request #1595 from tiekoetter/fix-uwsgi-buffer-sizeMarkus Heiser
[fix] uWSGI: increase buffer-size
2022-07-31[doc] list of changes that affect the infrastructureMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-31[fix] uWSGI: increase buffer-sizeLéon Tiekötter
Increase max size of a request, by default it is 4k [1]. 4096 as buffer-size is too small and will result in the preference urls not working. [1] https://uwsgi-docs.readthedocs.io/en/latest/Options.html#buffer-size
2022-07-30Merge pull request #1569 from dalf/fix-pyright-reported-errorsMarkus Heiser
Fix pyright errors
2022-07-30[fix] pyright repported errorsAlexandre Flament
The errors make pyright usage useless since a new error won't be seen [1]. [1] https://github.com/searxng/searxng/pull/1569 ``` searx/compat.py:11:27 - error: Expression of type "Type[cached_property[_T@cached_property]]" cannot be assigned to declared type "Type[cached_property]" "Type[cached_property[_T@cached_property]]" is incompatible with "Type[cached_property]" Type "Type[cached_property[_T@cached_property]]" cannot be assigned to type "Type[cached_property]" (reportGeneralTypeIssues) searx/utils.py:69:36 - error: Expression of type "None" cannot be assigned to parameter of type "str" Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues) searx/utils.py:573:85 - error: Expression of type "None" cannot be assigned to parameter of type "int" Type "None" cannot be assigned to type "int" (reportGeneralTypeIssues) searx/webapp.py:1306:22 - error: Argument of type "str" cannot be assigned to parameter "__a" of type "BytesPath" in function "join" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:68 - error: Argument of type "Literal['themes']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['themes']" cannot be assigned to type "BytesPath" "Literal['themes']" is incompatible with "bytes" "Literal['themes']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:78 - error: Argument of type "str | Any | None" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "str | Any | None" cannot be assigned to type "BytesPath" Type "str" cannot be assigned to type "BytesPath" "str" is incompatible with "bytes" "str" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/webapp.py:1306:85 - error: Argument of type "Literal['img']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join" Type "Literal['img']" cannot be assigned to type "BytesPath" "Literal['img']" is incompatible with "bytes" "Literal['img']" is incompatible with protocol "PathLike[bytes]" "__fspath__" is not present (reportGeneralTypeIssues) searx/engines/mongodb.py:8:6 - warning: Import "pymongo" could not be resolved (reportMissingImports) searx/engines/mysql_server.py:9:8 - warning: Import "mysql.connector" could not be resolved (reportMissingImports) searx/engines/postgresql.py:9:8 - warning: Import "psycopg2" could not be resolved from source (reportMissingModuleSource) searx/engines/xpath.py:187:28 - warning: "categories" is not defined (reportUndefinedVariable) searx/search/__init__.py:184:82 - warning: "flask" is not defined (reportUndefinedVariable) searx/search/checker/background.py:19:26 - error: Type of "schedule" is partially unknown Type of "schedule" is "(delay: Any, func: Any, *args: Any) -> Literal[True]" (reportUnknownVariableType) searx/shared/__init__.py:8:12 - warning: Import "uwsgi" could not be resolved (reportMissingImports) searx/shared/shared_uwsgi.py:5:8 - warning: Import "uwsgi" could not be resolved (reportMissingImports) ```
2022-07-30Merge pull request #1589 from return42/searxng-install-additionsMarkus Heiser
[mod] fix minor leftovers from PR #1332
2022-07-30[mod] fix minor leftovers from PR #1332Markus Heiser
Related: https://github.com/searxng/searxng/pull/1332 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-30Merge pull request #1332 from return42/searxng-installMarkus Heiser
Upgrade installation scripts and documentation
2022-07-30[docs] corrections from @tiekoetter's reviewLéon Tiekötter
2022-07-30[docs] add section "Migrate and stay tuned!"Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-30[clean up] drop obsolete searx, filtron and morty install scriptsMarkus Heiser
Since ./utils/searxng.sh is implemented, the old installation procedures from filtron, morty and searx can be removed. For users who want to upgrade, the procedures for removing old installations have still been retained. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-07-30[doc] update documentation of the installation proceduresMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>