summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2022-02-19[mod] simple theme: define a '.show-content-button'Markus Heiser
With LESS function '.show-content-button' all the *Show-Media* links becomes bottons. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-19Merge pull request #900 from return42/fix-883Alexandre Flament
[fix] bandcamp: fix itemtype (album|track) and exceptions
2022-02-19Merge pull request #893 from return42/mvw-videoMarkus Heiser
[mod] mediathekviewweb engine: add data_src and use videos template
2022-02-19[mod] mediathekviewweb engine: add iframe_src and use videos templateMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[build] /staticMarkus Heiser
2022-02-18[fix] bandcamp: fix itemtype (album|track) and exceptionsMarkus Heiser
BTW: polish implementation and show tracklist for albums Closes: https://github.com/searxng/searxng/issues/883 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18Merge pull request #899 from dalf/limiter_updateAlexandre Flament
[limiter] update
2022-02-18Merge pull request #882 from return42/fix-873Alexandre Flament
[fix] replace embedded HTML by data_src
2022-02-18[build] /staticMarkus Heiser
2022-02-18[mod] simple theme: set height of embedded content (iframe)Markus Heiser
This commit sets appropriate height of the (embedded) player from: - soundcloud - mixcloud - deezer Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[mod] templates: rename field for <iframe> URL to iframe_srcMarkus Heiser
Rename result field data_src to iframe_src Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[fix] simple theme: support browsers which do not have aspect-ratioMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805187303 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[oscar] add scrolling="no" to iframes in HTML templatesMarkus Heiser
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805180787 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[fix] hostname_replace.py: don't stop replace URL in fieldsMarkus Heiser
This is a rewrite of the hostname_replace.py that: - don't stop to replace URL in fields ('data_src', 'audio_src') if there isn't a 'parsed_url', - adds a comment about keep or remove a result from the result list - adds a loop over ['data_src', 'audio_src'] instead of doubling code lines Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-18[translations] update from Weblatesearxng-bot
8daeaf72 - 2022-02-16 - mezysinc <mezysinc@mailsac.com> f373b0a4 - 2022-02-13 - temp <temp@mykolab.com> 273ae271 - 2022-02-16 - Márton Farkas <farkasmrton@gmail.com> 956496a3 - 2022-02-12 - Alexandre Flament <alex@al-f.net> acf6d3ae - 2022-02-15 - Markus Heiser <markus.heiser@darmarit.de> aec5670e - 2022-02-11 - Markus Heiser <markus.heiser@darmarit.de>
2022-02-17[limiter] updateAlexandre Flament
2022-02-13[fix] replace peer.tube by peertube.bizMarkus Heiser
More peertube instances are listed at [1] [1] https://instances.joinpeertube.org/instances Closes: https://github.com/searxng/searxng/issues/881 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] result_templates/default.html replace embedded HTML by data_src audio_srcMarkus Heiser
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in the templates (oscar & simple) and result parameter 'embedded' is replaced by 'data_src' (and 'audio_src'), an URL for embedded content (<iframe>). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] hostname_replace: replace hostnames in result's data_src paramMarkus Heiser
To test you need to redirect embeded videos (e.g.) from youtube to a invidios instance. Search for videos using engine `!youtube lebowski`. The result URLs and the embeded videos should link to the invidios instance. Here is an example of such a `hostname_replace` configuration:: hostname_replace: # youtube --> Invidious '(.*\.)?youtube-nocookie\.com': 'invidio.xamh.de' '(.*\.)?youtube\.com$': 'invidio.xamh.de' '(.*\.)?invidious\.snopyta\.org$': 'invidio.xamh.de' '(.*\.)?vid\.puffyan\.us': 'invidio.xamh.de' '(.*\.)?invidious\.kavin\.rocks$': 'invidio.xamh.de' '(.*\.)?inv\.riverside\.rocks$': 'invidio.xamh.de' Closes: https://github.com/searxng/searxng/issues/873 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-13[mod] result_templates/videos.html: replace embedded HTML by data_srcMarkus Heiser
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in the templates (oscar & simple) and result parameter 'embedded' is replaced by 'data_src', an URL for embedded content (<iframe>). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-02-12Merge pull request #892 from dalf/limiter-updateAlexandre Flament
plugin limiter: check only /image_proxy and /search
2022-02-12plugin limiter: check only /image_proxy and /searchAlexandre Flament
also adjust the number of req/time
2022-02-12Merge pull request #887 from unixfox/patch-5Markus Heiser
Update the XPath for fetching the Google results
2022-02-11Merge pull request #884 from return42/disable-deezerAlexandre Flament
[mod] disable deezer engine by default
2022-02-11[translations] update from Weblatesearxng-bot
085368cc - 2022-02-08 - akynr <ak.red@web.de> 9b531712 - 2022-02-09 - Justas Zabulionis <justas.zabulionis@gmail.com> 6e13d297 - 2022-02-06 - Markus Heiser <markus.heiser@darmarit.de> b1ac1da2 - 2022-02-06 - Markus Heiser <markus.heiser@darmarit.de> de117bfe - 2022-02-10 - Tamas Veres <zsumba1985@gmail.com> 7392a5b0 - 2022-02-10 - Markus Heiser <markus.heiser@darmarit.de> a28a60d9 - 2022-02-07 - Markus Heiser <markus.heiser@darmarit.de>
2022-02-09Update the XPath for fetching the Google resultsÉmilien Devos
2022-02-07[mod] disable deezer engine by defaultMarkus Heiser
To play content from deezer a account is needed, the majority of the SearXNG won't have. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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-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-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-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>