Commit Graph

7639 Commits

Author SHA1 Message Date
jazzzooo c617961cb5 [fix] engine - openstreetmap currency rendering 2023-09-13 16:03:12 +02:00
jazzzooo a9d1119b8d [fix] engine - pypi redirect 2023-09-13 16:03:12 +02:00
jazzzooo ff55fda6aa [fix] engine - openstreetmap currency matching 2023-09-13 16:03:12 +02:00
Bnyro 82c2c2aa77 [feat] new engine: svgrepo 2023-09-13 16:03:12 +02:00
Markus Heiser 27df993c4c [build] /static 2023-09-13 16:03:12 +02:00
Markus Heiser 396c088c50 [mod] improve handling of the hotkeys
- KeyboardEvent: keyCode property is depricated, replaced by key property [2]

- the check for ifDetailOpened is not necessary, because the hotkeys are not
  only applicable to image-results, by example:

   `!goi !go !scc hello`

- Key bindings like h for help are to be used in general (not only in vim-mode)

[1] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
[2] https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:03:12 +02:00
Jinyuan Huang ba7659dd1d [feature] key bindings: left & right arrow are always on 2023-09-13 16:03:12 +02:00
jazzzooo 25ba076395 [fix] engine - brave 2023-09-13 16:03:12 +02:00
Bnyro 514e48f44a [mod] library of congress: fix engine 2023-09-13 16:03:12 +02:00
Bnyro 7b396ccb7b [fix] engine deviantart: review of the result-scrapper
The deviantart site changed and hence deviantart is currently unusable.
2023-09-13 16:03:12 +02:00
Markus Heiser 00a98865b6 [feature] dark theme for code highlighter in the result list
Closes: https://github.com/searxng/searxng/issues/1354

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:02:53 +02:00
Markus Heiser 5dc25af74d [README] revision
The searx project has been archived, differentiation of the project in the
README is no longer necessary.  The README has been reduced to the important
entry points for users, maintainers and developers.

Related: 276ffd3f01

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-13 16:02:53 +02:00
dependabot[bot] 5c3f2aa3bb Bump brotli from 1.0.9 to 1.1.0
Bumps [brotli](https://github.com/google/brotli) from 1.0.9 to 1.1.0.
- [Release notes](https://github.com/google/brotli/releases)
- [Changelog](https://github.com/google/brotli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/brotli/compare/v1.0.9...v1.1.0)

---
updated-dependencies:
- dependency-name: brotli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 16:02:27 +02:00
Markus Heiser dfbc752357 [build] /static 2023-09-13 16:02:04 +02:00
MatthieuBarbu 634c56d171 fix again 2023-09-10 17:07:27 +02:00
MatthieuBarbu 1211d566b9 fix top value for detail image on mobile 2023-09-10 17:02:23 +02:00
MatthieuBarbu 23cb7713b8 fix detail image for mobile 2023-09-10 16:55:31 +02:00
MatthieuBarbu 354e0cdfe0 fix detail buttons (prev next close) 2023-09-10 16:45:22 +02:00
MatthieuBarbu e71b540e2f build new theme 2023-09-10 16:37:40 +02:00
Alexandre Flament d4db69b69b Replace chompjs with pure Python code
The new implementation is good enough for the current usage (brave)
2023-09-10 16:23:28 +02:00
Markus Heiser 33065a619e [fix] preferences - layout of the "special queries" tab
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
Bnyro 55d523c8db [feat] engine: implementation of Yummly
Co-authored-by: Markus Heiser <markus.heiser@damarit.de>
2023-09-10 16:22:50 +02:00
Bnyro 8a39b8a12d [mod] utils.py: add markdown_to_text helper function 2023-09-10 16:22:50 +02:00
Markus Heiser ac9c88094d [fix] dependabot: ignore Sphinx<=7.1.2
[1] https://github.com/searxng/searxng/pull/2727#issuecomment-1711282706

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
searxng-bot 58f8efb307 [translations] update from Weblate
304f6af5c - 2023-09-04 - return42 <markus.heiser@darmarit.de>
76a4b6496 - 2023-09-03 - alexgabi <alexgabi@disroot.org>
2023-09-10 16:22:50 +02:00
Markus Heiser 3f0305da59 [fix] settings.yml - fix docs-links in the comments
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
Hackurei 18f76a134c [feat] engine: implementation of bilibili https://www.bilibili.com 2023-09-10 16:22:50 +02:00
Markus Heiser a1f8c4c2b6 [fix] engine - duckduckgo_images / determination of vqd value incorrect
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-10 16:22:50 +02:00
bonswouar 76c0784a22 [fix] engine duckduckgo weather api changes 2023-09-10 16:22:50 +02:00
Markus Heiser a3c31a97ef [build] /static 2023-09-10 16:22:50 +02:00
MatthieuBarbu 828f600e71 fix detail img 2023-09-10 16:20:48 +02:00
MatthieuBarbu 2e5e5be7d9 debug style for mobile
+ build
2023-09-05 09:45:44 +02:00
MatthieuBarbu 87d3112265 fix bug on menu script
+ ajust top of result page on mobile
+ build
2023-09-04 17:49:32 +02:00
Markus Heiser 17048c5137 [fix] engine: wikicommons - don't quoute ':|' in URL parameters
From [1]: It seems to be because of [2] For some reason it gets url encoded
twice, resulting in

- ``filetype%253Abitmap%257Cdrawing+birds`` instead of
- ``filetype:bitmap%7Cdrawing+birds``

[1] https://github.com/searxng/searxng/issues/2707
[2] https://github.com/searxng/searxng/blob/master/searx/engines/wikicommons.py#L43

Closes: #2707
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Markus Heiser 4b3c985064 [fix] follow-up of 4da7003ae / add missing review from @Bnyro
[1] https://github.com/searxng/searxng/pull/2656#pullrequestreview-1607956209

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Hackurei 9f2e0b276b [feat] engine: implementation of odysee 2023-09-04 17:25:30 +02:00
dependabot[bot] 2b113a1c90 Bump selenium from 4.11.2 to 4.12.0
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.11.2 to 4.12.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/commits/selenium-4.12.0)

---
updated-dependencies:
- dependency-name: selenium
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 17:25:30 +02:00
Bnyro 8e0fae9dc4 [feat] implementation of Wikimedia commons for images 2023-09-04 17:25:30 +02:00
dependabot[bot] 0334949c7e Bump sphinx from 7.1.2 to 7.2.5
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.1.2 to 7.2.5.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.1.2...v7.2.5)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-04 17:25:30 +02:00
searxng-bot 5dd289ccad [translations] update from Weblate
979909acc - 2023-09-01 - return42 <markus.heiser@darmarit.de>
f40af3403 - 2023-08-28 - return42 <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Jafar Farganlooj d053ac5397 Create search-syntax.md fa 2023-09-04 17:25:30 +02:00
Jafar Farganlooj bbf23ef88c [mod] Persian translation of the about page (fa_IR) 2023-09-04 17:25:30 +02:00
Markus Heiser 1f9c29b039 Bump sphinx-notfound-page from 1.0.0rc1 to 1.0.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00
Alexandre Flament 21ba135aae [mod] bing: resolve redirect without additional requests
Remove the usage of searx.network.multi_requests
The results from Bing contains the target URL encoded in base64
See the u parameter, remove the first two character "a1", and done.

Also add a comment the check of the result_len / pageno
( from https://github.com/searx/searx/pull/1387 )
2023-09-04 17:25:30 +02:00
dalf f59c72f703 Update searx.data - update_firefox_version.py 2023-09-04 17:25:30 +02:00
dalf 32997c1e89 Update searx.data - update_ahmia_blacklist.py 2023-09-04 17:25:30 +02:00
dalf 59921b3969 Update searx.data - update_currencies.py 2023-09-04 17:25:30 +02:00
dalf 0495263970 Update searx.data - update_engine_descriptions.py 2023-09-04 17:25:30 +02:00
dalf 3929ff941c Update searx.data - update_wikidata_units.py 2023-09-04 17:25:30 +02:00
Markus Heiser cb07e8966e [fix] reduce error logs related to X-Forwarded-For & X-Real-IP headers
To test start a `make run` instance and query multiple times for `ip` (the
answerer), you should see only once the error message(s):

    ERROR   searx.botdetection            : X-Forwarded-For header is not set!
    ERROR   searx.botdetection            : X-Real-IP header is not set!

[1] https://github.com/searxng/searxng-docker/discussions/174
[2] https://github.com/searxng/searxng-docker/pull/162#issuecomment-1692834457

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-04 17:25:30 +02:00