summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-11Bump redis from 4.1.2 to 4.1.3dependabot[bot]
Bumps [redis](https://github.com/redis/redis-py) from 4.1.2 to 4.1.3. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/v4.1.2...v4.1.3) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07Merge pull request #880 from return42/fix-osmMarkus Heiser
[fix] openstreatmap: load thumbnail from uploads.wikimedia.org
2022-02-07[fix] openstreatmap: load thumbnail from uploads.wikimedia.orgMarkus Heiser
Openstreatmap images are now loaded from uploads.wikimedia.org instead of commons.wikimedia.org to prevent redirects. With `image_proxy` enabled images from commons.wikimedia.org cant be loaded since they are redirected. We already discussed this issue [875] and @tiekoetter fixed this issue in PR [878]. Related-to: - [875] https://github.com/searxng/searxng/issues/875 - [878] https://github.com/searxng/searxng/pull/878 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-07Merge pull request #878 from tiekoetter/fix-wikidataMarkus Heiser
Fix wikidata info box images
2022-02-07[pylint] searx/engines/wikidata.py (no functional change)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-07[fix] wikidata: URL decoding and file extension handlingLéon Tiekötter
Add '.png' to the second img_src_name if it has the extension '.svg'. Use urllib.parse.unquote for URL decoding.
2022-02-06[fix] wikidata engine: select image with higher (not lower) priorityMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-06wikidata: load thumbnail instead of full imageLéon Tiekötter
2022-02-06[fix] wikidata info box imagesLéon Tiekötter
Wikidata info box images are now loaded from uploads.wikimedia.org instead of commons.wikimedia.org to prevent redirects Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-05Merge pull request #867 from return42/fix-base_url_randAlexandre Flament
[fix] invidious engine: store random base_url in param
2022-02-05Merge pull request #848 from not-my-profile/help-routeAlexandre Flament
Introduce `/help` route
2022-02-05[enh] avoid /about redirect in template linksMartin Fischer
2022-02-04Merge pull request #839 from dalf/docs_searx_utilsMarkus Heiser
[mod] add documentation about searx.utils
2022-02-04Merge pull request #870 from not-my-profile/autocomplete-offMarkus Heiser
preferences: Set autocomplete=off for form
2022-02-04preferences: Set autocomplete=off for formMartin Fischer
Otherwise you can change the value of a select, refresh the page and the preferences stay changed, leaving the wrong impression that they were saved.
2022-02-04[pylint] engines/invidious.pyMarkus Heiser
Fix remarks from pylint and remove usless comments Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[fix] invidious engine: store random base_url in paramMarkus Heiser
Two different threads ( = two different user queries) can call the request function in a row and then the response function. The namespace will be same since this is the same engine. To keep exactly the same value ``base_url`` must be stored in params and then retrieve using ``resp.search_params["base_url"]``. Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04Merge pull request #862 from return42/fix-858Markus Heiser
[fix] solidtorrents engine - JSON API no longer exists
2022-02-04[fix] solidtorrents engine: store random bas_url in paramMarkus Heiser
Two different threads ( = two different user queries) can call the request function in a row and then the response function. The namespace will be same since this is the same engine. To keep exactly the same value ``base_url`` must be stored in params and then retrieve using ``resp.search_params["base_url"]``. Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[mod] solidtorrents engine: add metadata & torrentfileMarkus Heiser
BTW: define min_len in eval_xpath_list of 'stats' list Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#pullrequestreview-872910744 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[fix] solidtorrents engine: use get_torrent_size from searx.utilsMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#pullrequestreview-872858489 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04[fix] solidtorrents engine: JSON API no longer existsMarkus Heiser
The API endpoint, we where using does not exist anymore. This patch is a rewrite that parses the HTML page. Related: https://github.com/paulgoio/searxng/issues/17 Closes: https://github.com/searxng/searxng/issues/858 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04Merge pull request #863 from searxng/dependabot/pip/master/black-22.1.0Markus Heiser
Bump black from 21.12b0 to 22.1.0
2022-02-04Merge pull request #865 from ↵Markus Heiser
searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/sharp-0.30.0 Bump sharp from 0.29.3 to 0.30.0 in /searx/static/themes/simple
2022-02-04[fix] issue reported by pylint 22.1.0Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-04Merge pull request #864 from searxng/dependabot/pip/master/twine-3.8.0Alexandre Flament
Bump twine from 3.7.1 to 3.8.0
2022-02-04Merge pull request #866 from searxng/translations_updateAlexandre Flament
Update translations
2022-02-04[translations] update from Weblatesearxng-bot
bf218121 - 2022-01-31 - Markus Heiser <markus.heiser@darmarit.de> ba9e50fd - 2022-01-30 - Genghis Khan <genghiskhan@gmx.ca> 258505ba - 2022-01-29 - Markus Heiser <markus.heiser@darmarit.de> dacbf882 - 2022-01-31 - Markus Mikkonen <markus.mikkonen@outlook.com> 968e7f6b - 2022-02-02 - Marco Ciampa <ciampix@posteo.net>
2022-02-04Bump sharp from 0.29.3 to 0.30.0 in /searx/static/themes/simpledependabot[bot]
Bumps [sharp](https://github.com/lovell/sharp) from 0.29.3 to 0.30.0. - [Release notes](https://github.com/lovell/sharp/releases) - [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md) - [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.0) --- updated-dependencies: - dependency-name: sharp dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04Bump twine from 3.7.1 to 3.8.0dependabot[bot]
Bumps [twine](https://github.com/pypa/twine) from 3.7.1 to 3.8.0. - [Release notes](https://github.com/pypa/twine/releases) - [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst) - [Commits](https://github.com/pypa/twine/compare/3.7.1...3.8.0) --- updated-dependencies: - dependency-name: twine dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04Bump black from 21.12b0 to 22.1.0dependabot[bot]
Bumps [black](https://github.com/psf/black) from 21.12b0 to 22.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/22.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02Merge pull request #618 from dalf/limiterAlexandre Flament
[enh] limiter plugin
2022-02-02[enh] limiter pluginAlexandre Flament
can replace filtron: * rate limite the number of request per IP and per (IP, User-Agent) * block some bots use Redis data stored in Redis never contains the IP addresses, only HMAC using the secret_key Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-01Merge pull request #849 from return42/fix-787Markus Heiser
[fix] engines description - currency_convert.py
2022-02-01[pylint] engines/currency_convert.pyMarkus Heiser
Fix remarks from pylint Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-01Merge pull request #852 from searxng/update_data_update_ahmia_blacklist.pyMarkus Heiser
Update searx.data - update_ahmia_blacklist.py
2022-02-01Merge pull request #853 from searxng/update_data_update_firefox_version.pyMarkus Heiser
Update searx.data - update_firefox_version.py
2022-02-01Merge pull request #851 from searxng/update_data_update_currencies.pyMarkus Heiser
Update searx.data - update_currencies.py
2022-02-01Merge pull request #850 from searxng/update_data_update_wikidata_units.pyMarkus Heiser
Update searx.data - update_wikidata_units.py
2022-02-01Update searx.data - update_firefox_version.pydalf
2022-02-01Update searx.data - update_ahmia_blacklist.pydalf
2022-02-01Update searx.data - update_currencies.pydalf
2022-02-01Update searx.data - update_wikidata_units.pydalf
2022-02-01[enh] generate navigation for help pagesMartin Fischer
2022-02-01[enh] make searx.user_help use an explicit TOCMartin Fischer
When we have multiple help pages we want them to be displayed in a specific order.
2022-02-01[build] /staticMartin Fischer
2022-02-01[simple] allow .tabs to be used for help pagesMartin Fischer
2022-02-01[enh] introduce /help routeMartin Fischer
Translation will be implemented in the future. For now the "en" in /help/en/<pagename> is hardcoded.
2022-02-01[help] remove link from about.md titleMartin Fischer
Now that about.html extends page_with_header.html it already has a link to the start page and removing the link makes it easier to extract the page title from the Markdown for the following commit.
2022-02-01[pyright:basic] searx.user_helpMartin Fischer