Age | Commit message (Collapse) | Author |
|
[doc] Improve engines table
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[fix] bing engine: fix paging support, show inital page.
|
|
|
|
|
|
|
|
|
|
[pylint] Reddit engine
|
|
[fix] theme: build `img_load_error.svg` as SVG instead of PNG
|
|
|
|
|
|
Add Reddit engine to pylint process
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[mod] Dockerfile: use binary from pypi
|
|
lxml doesn't raise any exception
|
|
Follow up queries for the pages needed to be fixed.
- Split search-term in one for initial query and one for following queries.
- Set some headers in HTTP requests, bing needs for paging support.
- IMO //div[@class="sa_cc"] does no longer match in a bing response.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Fix remarks from pylint and improved code-style. In preparation for a bug-fix
of the Bing (Web) engine I add this engine to the pylint-list.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] engine bing-news: replace the http:// by https://
|
|
BTW: add bing_news to the pylint process
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[mod] simple-theme: remove vendor CSS
|
|
[fix] weblate: separate commit description from commit body
|
|
It is a common convention to separate commit description from commit body by a
empty line [1].
[1] https://www.conventionalcommits.org/en/v1.0.0/#summary
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Update translations
|
|
Bump lxml from 4.6.5 to 4.7.1
|
|
1a891c16 - 2021-12-15 - Markus Heiser <markus.heiser@darmarit.de>
33bd07e7 - 2021-12-14 - Alexandre Flament <alex@al-f.net>
7ba24343 - 2021-12-12 - Markus Heiser <markus.heiser@darmarit.de>
80d54b89 - 2021-12-15 - FilGiov <quota679@gmail.com>
af9e007c - 2021-12-15 - Markus Heiser <markus.heiser@darmarit.de>
9d4e645c - 2021-12-15 - Markus Heiser <markus.heiser@darmarit.de>
21dec08c - 2021-12-15 - Shahed Hosseini <sajjadhusseini92@gmail.com>
|
|
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.5 to 4.7.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.5...lxml-4.7.1)
---
updated-dependencies:
- dependency-name: lxml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
update_firefox_version.py: update user agent signature
|
|
The user agent from Windows is
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent/Firefox#windows
|
|
[fix] move engines gpodder and AZlyrics into category music
|
|
[fix] engine: MediathekViewWeb (mvw) disable by default
|
|
The MediathekViewWeb delivers only content for the german speaking area.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
Remove no longer needed workarounds like `width: 1000px;`
and vendor prefix of max-content [1].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/max-content#browser_compatibility
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
flexbox
Browser support for flexbox is excellent, and the majority of browsers do not
need a prefix at this point. Safari was the last of the major browsers to
remove prefixes, with the release of Safari 9 in 2015. [1]
user-select:
Vendor prefix of user-select is not needed, see 'Browser compatibility' [2].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox#status_in_browsers
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] lazy loading of <img> tags
|
|
|
|
Images should include dimension attributes. Without `width` and `height`
specified, image dimensions are 0×0 pixels at first. ... In this case the
browser determines that all of them are visible to the user and decides to load
everything [1].
In CSS the `width` is set to a value and the `height` is unsed to scale the image
proportional in both dimensions.
[1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes
[2] https://caniuse.com/loading-lazy-attr
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Closes: https://github.com/searxng/searxng/issues/600
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
README.rst: add contact information
|
|
|
|
SearXNG JavaScript Style Guide
|
|
Add the 'SearXNG JavaScript Style Guide' as one quality gate in the build chain
of the simple theme::
make themes.simple
make themes.simple.test
In the github CI the `themes.all` target enforce a `themes.simple`.
BTW: Remove 'jshint' left overs from 0ee316f3d
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
automatically fix some of the problems reported by eslint rules::
$ ./manage nvm.bash
nvm-env$ npm --prefix searx/static/themes/simple run eslint-fix
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
The SearXNG JavaScript Style Guide is a set of eslint rules [1] based on the
eslint:recommended [2] rules.
"extends": "eslint:recommended"
The additional rules adopted from the JavaScript Standard Style [3][4].
[1] https://eslint.org/docs/rules/
[2] https://github.com/kunalgolani/eslint-config/tree/master/packages/recommended
[3] https://standardjs.com/rules.html#javascript-standard-style
[4] https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
In JS + JSON we use indentation of 4.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|