summaryrefslogtreecommitdiff
path: root/searx
AgeCommit message (Collapse)Author
2021-12-27[format.python] disable py code formatting for some hunks of codeMarkus Heiser
Disable the python code formatting from python-black, where the readability of code suffers by formatting. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-24[translations] update from Weblatesearxng-bot
14044898 - 2021-12-19 - Linerly <linerly@protonmail.com> 2db5cc5d - 2021-12-17 - Markus Heiser <markus.heiser@darmarit.de> 7273ced4 - 2021-12-22 - Markus Heiser <markus.heiser@darmarit.de> bac8f580 - 2021-12-19 - Stephan Wijman <s.wijman@mailarena.net> 472c882a - 2021-12-17 - Markus Heiser <markus.heiser@darmarit.de> bc2c60a4 - 2021-12-17 - Markus Heiser <markus.heiser@darmarit.de> 11f37c00 - 2021-12-17 - Markus Heiser <markus.heiser@darmarit.de> 10417e8a - 2021-12-22 - Mico Hautaluoma <m@mha.fi> 12d49b4b - 2021-12-22 - Markus Heiser <markus.heiser@darmarit.de> a1bfd8f6 - 2021-12-23 - Markus Heiser <markus.heiser@darmarit.de> fa94d205 - 2021-12-17 - Markus Heiser <markus.heiser@darmarit.de> 6a121417 - 2021-12-21 - YFdyh000 <yfdyh000@gmail.com> bc9b6947 - 2021-12-18 - Shahed Hosseini <sajjadhusseini92@gmail.com>
2021-12-22[del] remove geektimes (redirects to habrahabr)Martin Fischer
2021-12-22[del] remove whaleslide (website is down)Martin Fischer
Closes #639.
2021-12-21[doc] introduce about.language and sort engines by itMartin Fischer
2021-12-20[upd] engine_descriptions.jsonMarkus Heiser
Updated by: ./manage pyenv.cmd python3 \ ./searxng_extra/update/update_engine_descriptions.py Include documentation of new added engines: - superuser - stackoverflow - askubuntu - indb - ... Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-20Merge pull request #621 from not-my-profile/engines-tableMarkus Heiser
[doc] Improve engines table
2021-12-20[doc] fix about.website for hoogleMartin Fischer
2021-12-20Merge pull request #611 from return42/fix-bingMarkus Heiser
[fix] bing engine: fix paging support, show inital page.
2021-12-20[doc] add about.website for wibyMartin Fischer
2021-12-19Merge pull request #615 from return42/pylint-redditAlexandre Flament
[pylint] Reddit engine
2021-12-18[build] /staticmrpaulblack
2021-12-18[fix] theme: build `img_load_error.svg` as svgmrpaulblack
2021-12-18[pylint] Reddit engineMarkus Heiser
Add Reddit engine to pylint process Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-18[fix] bing engine: fix paging support, show inital page.Markus Heiser
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>
2021-12-18[pylint] Bing (Web) engineMarkus Heiser
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>
2021-12-18Merge pull request #609 from return42/fix-bing-newsAlexandre Flament
[fix] engine bing-news: replace the http:// by https://
2021-12-17[fix] engine bing-news: replace the http:// by https://Markus Heiser
BTW: add bing_news to the pylint process Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-17Merge pull request #584 from return42/drop-css-vendorAlexandre Flament
[mod] simple-theme: remove vendor CSS
2021-12-17[translations] updatesearxng-bot
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>
2021-12-16Merge pull request #602 from return42/fix-600Alexandre Flament
[fix] move engines gpodder and AZlyrics into category music
2021-12-15[fix] engine: MediathekViewWeb (mvw) disable by defaultMarkus Heiser
The MediathekViewWeb delivers only content for the german speaking area. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-15[build] /staticMarkus Heiser
2021-12-15[mod] simple theme: remove vendor prefix of `width: max-content`Markus Heiser
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>
2021-12-15[mod] simple-theme: remove vendor CSSMarkus Heiser
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>
2021-12-15[build] /staticMarkus Heiser
2021-12-15[fix] lazy loading of <img> tagsMarkus Heiser
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>
2021-12-15[fix] move engines gpodder and AZlyrics into category musicMarkus Heiser
Closes: https://github.com/searxng/searxng/issues/600 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-14[simple theme] activate - SearXNG JavaScript Style GuideMarkus Heiser
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>
2021-12-14[fix] eslint --fixMarkus Heiser
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>
2021-12-14[mod] eslint: add gruntfile.js to the files to lintMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-14[mod] SearXNG JavaScript Style Guide (eslint:recommended)Markus Heiser
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>
2021-12-12Merge pull request #583 from return42/fix-combo-withMarkus Heiser
[fix] simple theme: remove width 45% from language and time filters
2021-12-12Merge pull request #587 from dalf/fix-gigablastMarkus Heiser
[fix] gigablast engine
2021-12-11[translations] updatesearxng-bot
030f3e59 - 2021-12-11 - Linerly <linerly@protonmail.com> cedb4f9d - 2021-12-11 - Alexandre Flament <alex@al-f.net> 8522e4cf - 2021-12-11 - Alexandre Flament <alex@al-f.net>
2021-12-10[translations] updatesearxng-bot
10790ace - 2021-12-05 - Alexandre Flament <alex@al-f.net> 0026bde6 - 2021-12-07 - Naveen <naveen.translator@protonmail.com> e066d8cf - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> 174b9f9c - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> 0817e645 - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> 6272320f - 2021-12-08 - Alexandre Flament <alex@al-f.net> e1281900 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 882ced80 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 59e8c950 - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> cfd72d00 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 8f3d6058 - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> b293c351 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 840e1a98 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 9f045c63 - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> e24a23e0 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> bf58a870 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> 6b5e4993 - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> dc9ab819 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> b8b1423b - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> fbfe865c - 2021-12-03 - Markus Heiser <markus.heiser@darmarit.de> afa65a98 - 2021-12-04 - Markus Heiser <markus.heiser@darmarit.de> dded218c - 2021-12-05 - Taufik Hidayat <tfkhdyt@pm.me> 79659920 - 2021-12-05 - Markus Heiser <markus.heiser@darmarit.de> 5a4100dc - 2021-12-05 - Taufik Hidayat <tfkhdyt@pm.me> 57fb7a91 - 2021-12-05 - Taufik Hidayat <tfkhdyt@pm.me> 33eb893d - 2021-12-05 - Taufik Hidayat <tfkhdyt@pm.me> 2673c748 - 2021-12-03 - Alexandre Flament <alex@al-f.net>
2021-12-08Merge pull request #582 from return42/fix-autocomplete-cspAlexandre Flament
[fix] simple theme: make autocomplete-js CSP compliant
2021-12-07Merge pull request #586 from dalf/remove-yggtorrentMarkus Heiser
[del] remove yggtorrent
2021-12-06[fix] gigablast engineAlexandre Flament
fetch extra params after 3000 seconds
2021-12-06[del] remove yggtorrentAlexandre Flament
yggtorrent is behind cloudflare now close #580
2021-12-06[fix] imdb: don't crash when there is no resultAlexandre Flament
2021-12-05[fix] simple theme: remove width 45% from language and time filtersMarkus Heiser
All three filters (`language`, `time_range` and `safesearch`) are rendered in one line. A size of 45% for `language` and `time_range` left only 10% for the `safesearch` filter. Solution: drop with from `language` and `time_range`. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-05[build] /staticMarkus Heiser
2021-12-05[fix] simple theme: make autocomplete-js CSP compliantMarkus Heiser
The CSP issue is, that the `_Position` function in the autocomplete-js set the style attributes by `setAttribute("style", ...)`. Using `setAttribute` to set the style attribute invokes the HTML parser and CSP is triggered [1]. This patch overwrite the `_Position` function of autocomplete-js. BTW: remove trailing whitespace [1] https://stackoverflow.com/a/57633533 Closes: https://github.com/searxng/searxng/issues/352 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-04[build] /staticMarkus Heiser
2021-12-04[fix] simple theme: make LESS sources available on non build hostsMarkus Heiser
Include the LESS source files directly in the `.map` files [1]. Drawback: `.map` files grow up in size, but this should not bother, because the files are only loaded in debug mode. [1] https://github.com/gruntjs/grunt-contrib-less#outputsourcefiles [2] https://github.com/searxng/searxng/pull/575#issuecomment-984058868 Suggested-by: @dalf [2] Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-03Merge pull request #578 from searxng/translations_updateAlexandre Flament
Update translations
2021-12-03[translations] updatesearxng-bot
b4860945 - 2021-12-03 - Alexandre Flament <alex@al-f.net> df96994b - 2021-11-30 - Alexandre Flament <alex@al-f.net> 007ea84d - 2021-12-03 - Alexandre Flament <alex@al-f.net> 6ff99312 - 2021-12-02 - Ati Art <atiartstudio.home@gmail.com>
2021-12-01[build] /staticMarkus Heiser
2021-12-01[fix] simple theme: make JS sources available on non build hostsMarkus Heiser
Include the source files directly in the `.map` files [1] for two reasons: 1. In the simple theme, modules from `./node_modules` are only available on developer's build host (a `make node.env` is needed to get the sources). By example; in the `searxng.min.js.map` file, the `autocomplete.js` is linked at URL: ../node_modules/autocomplete-js/dist/autocomplete.js 2. Later, when client sources has been moved out of the `./static` URL [2] to the `<repo-roo>/src` folder, all JS sources are no longer available. Drawback: `.map` files grow up in size, but this should not bother, because the files are only loaded in debug mode. [1] https://github.com/gruntjs/grunt-contrib-uglify#sourcemapincludesources [2] https://github.com/searxng/searxng/issues/141 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>