Commit graph

7505 commits

Author SHA1 Message Date
Alexandre Flament 72f5e7cfb8 js_variable_to_python: add tests, handle more JS syntax
The tests from chompjs are copied.
The comment out tests do not pass.
The implementation of js_variable_to_python has been updated:
* in the main looop, try to make the four different cases more clear
* handle decimal number like "-.5", "5." or "- 5"  (without double quote)
* the character ` is seen a string delimiter as intended in JS
* the identifiers follow JS specification ($, _, letters and numbers)
2023-09-16 18:30:57 +00:00
jazzzooo ec540a967a [fix] brave.videos 2023-09-15 22:00:09 +02:00
jazzzooo 27477f51fd [fix] brave.news 2023-09-15 22:00:09 +02:00
Bnyro 140125e641 [feat] implementation of the movie database 2023-09-15 19:41:37 +02:00
Markus Heiser b56db4e04e [CI] upgrade actions/checkout@v4 & actions/upload-artifact@v3
Closes: https://github.com/searxng/searxng/issues/2777#issuecomment-1720958570
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-15 14:45:54 +02:00
Bnyro 2b6b811aed [chore] fix typo and spacing in pull request template 2023-09-15 10:46:51 +02:00
dependabot[bot] 70e2f4c66d Bump sphinx from 7.2.5 to 7.2.6
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.2.5 to 7.2.6.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.2.5...v7.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 09:57:09 +02:00
searxng-bot 4eebb25882 [translations] update from Weblate
4f055ccb8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
9edaacb09 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ccb3e8934 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
206640415 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
d8db608c2 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
6db95be68 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0792cd970 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
949ad5db8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0921f948e - 2023-09-11 - return42 <markus.heiser@darmarit.de>
3677f0ccb - 2023-09-11 - return42 <markus.heiser@darmarit.de>
2dea9cd3a - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5038588e8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
6b63e980b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
858a8660b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5852633d2 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
92d25097b - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8ae9d7a20 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
989ccd21a - 2023-09-11 - return42 <markus.heiser@darmarit.de>
1c309f3fc - 2023-09-11 - return42 <markus.heiser@darmarit.de>
3ee5e679e - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7420db0cf - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7327ffb1f - 2023-09-11 - return42 <markus.heiser@darmarit.de>
542814e22 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
5f2623600 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
7bea3da45 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
68a854d93 - 2023-09-11 - ghose <correo@xmgz.eu>
1781efe60 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
016a60442 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
00f143119 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8e61bb7ac - 2023-09-11 - return42 <markus.heiser@darmarit.de>
d04327a41 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
841227415 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
9ed21b385 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
914b774da - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ff7b45ec8 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
4146f8707 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
383602051 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
b050d9ee4 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
8d6e7a20c - 2023-09-11 - return42 <markus.heiser@darmarit.de>
ee77e2072 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
0420f44b6 - 2023-09-11 - return42 <markus.heiser@darmarit.de>
2023-09-15 09:12:13 +02:00
Justas Zabulionis 41ef73ca3a [fix] rumble redirect 2023-09-14 19:21:21 +02:00
Justas Zabulionis b701ee257b [fix] habrahabr 2023-09-14 18:43:14 +02:00
Justas Zabulionis be888810ba [fix] pubmed content being None 2023-09-14 18:40:15 +02:00
Justas Zabulionis cf734e6008 [fix] engine - pub.dev 2023-09-14 18:07:55 +02:00
Justas Zabulionis 92d39de410 [fix] solidtorrents redirects 2023-09-14 18:03:21 +02:00
Justas Zabulionis cf8a6cf6db [fix] solidtorrents pagination 2023-09-14 18:03:21 +02:00
Justas Zabulionis 8172f89075 [fix] solidtorrents 2023-09-14 18:03:21 +02:00
jazzzooo 74600c028d [fix] engine - Crossref
Crossref was broken on result types journal-issue and component .. The old code
had lots of assumptions, and broke during parsing.  Now the assumptions are more
explicit and checked them with the API.
2023-09-14 17:39:23 +02:00
Markus Heiser ed6a5a01bb [build] /static 2023-09-14 16:26:10 +02:00
Jinyuan Huang 0984b00b7e [mod] UI smooth scroll added / CSS scroll-behavior
This PR improves the UX by making auto-scroll more smoother.  The css is changed
so all the auto-scroll will be smoother but User-scroll will not be influenced.

  The scroll-behavior CSS property sets the behavior for a scrolling box when
  scrolling is triggered by the navigation or CSSOM scrolling APIs.[1]

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior
2023-09-14 16:26:10 +02:00
Bnyro bf7af99ef2 [mod] make data.traits: add Odysee 2023-09-13 21:41:33 +02:00
Bnyro 3568a3cafb [feat] odysee: implement fetch_traits for language support 2023-09-13 21:41:33 +02:00
Bnyro 09c61dabc9 [mod] odysee: time range support 2023-09-13 21:41:33 +02:00
jazzzooo b98907e91f [fix] engine - piped.music incorrect timestamps 2023-09-13 21:39:37 +02:00
jazzzooo 6039dbf211 [fix] engine - invidious thumbnails 2023-09-13 11:37:42 +02:00
jazzzooo ed3819bdd5 add inv.tux.pizza 2023-09-13 11:12:01 +02:00
jazzzooo 122b4342eb remove invidious.snopyta.org 2023-09-13 11:12:01 +02:00
jazzzooo e2a5e183cc [fix] settings.yml - change default invidious instances 2023-09-13 11:12:01 +02:00
jazzzooo b2fd6304bf [fix] engine - openstreetmap currency rendering 2023-09-13 10:56:52 +02:00
jazzzooo 976b3e21c4 [fix] engine - pypi redirect 2023-09-12 21:14:48 +02:00
jazzzooo 54a3e03b45 [fix] engine - openstreetmap currency matching 2023-09-12 20:57:05 +02:00
Bnyro 64d9587ac8 [feat] new engine: svgrepo 2023-09-12 20:38:36 +02:00
Markus Heiser aa1453db0c [build] /static 2023-09-12 20:30:50 +02:00
Markus Heiser a987672340 [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-12 20:30:50 +02:00
Jinyuan Huang e6b160da62 [feature] key bindings: left & right arrow are always on 2023-09-12 20:30:50 +02:00
jazzzooo b189578b6b [fix] engine - brave 2023-09-12 11:31:43 +02:00
Bnyro f182abd6f8 [mod] library of congress: fix engine 2023-09-11 19:42:31 +02:00
Bnyro e73a6f5d14 [fix] engine deviantart: review of the result-scrapper
The deviantart site changed and hence deviantart is currently unusable.
2023-09-11 13:22:36 +02:00
Markus Heiser 1f7366060e [build] /static 2023-09-11 12:27:56 +02:00
Markus Heiser 935aed7ca4 [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-11 12:27:56 +02:00
Markus Heiser 432febd810 [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-11 10:23:06 +02:00
dependabot[bot] e8da9b36a1 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-11 10:02:55 +02:00
Alexandre Flament d07c006aed Replace chompjs with pure Python code
The new implementation is good enough for the current usage (brave)
2023-09-09 13:02:36 +02:00
Markus Heiser 8e45ac4271 [build] /static 2023-09-09 00:39:51 +02:00
Markus Heiser 15a3dbf7a0 [fix] preferences - layout of the "special queries" tab
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-09 00:39:51 +02:00
Bnyro 9e83c0dedc [feat] engine: implementation of Yummly
Co-authored-by: Markus Heiser <markus.heiser@damarit.de>
2023-09-08 11:47:13 +02:00
Bnyro a3d7e9c285 [mod] utils.py: add markdown_to_text helper function 2023-09-08 11:47:13 +02:00
Markus Heiser 668b1d55ab [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-08 11:23:44 +02:00
searxng-bot c62605b3e3 [translations] update from Weblate
304f6af5c - 2023-09-04 - return42 <markus.heiser@darmarit.de>
76a4b6496 - 2023-09-03 - alexgabi <alexgabi@disroot.org>
2023-09-08 09:20:19 +02:00
Markus Heiser 019bd97f4b [fix] settings.yml - fix docs-links in the comments
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-06 11:35:39 +02:00
Hackurei 1f21ac7d62 [feat] engine: implementation of bilibili https://www.bilibili.com 2023-09-05 22:53:03 +02:00
Markus Heiser 696c35d2c3 [fix] engine - duckduckgo_images / determination of vqd value incorrect
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-09-05 22:24:51 +02:00