summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-15Bump eslint from 7.32.0 to 8.0.1 in /searx/static/themes/simpledependabot[bot]
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15Bump pycodestyle from 2.7.0 to 2.8.0dependabot[bot]
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.7.0 to 2.8.0. - [Release notes](https://github.com/PyCQA/pycodestyle/releases) - [Changelog](https://github.com/PyCQA/pycodestyle/blob/main/CHANGES.txt) - [Commits](https://github.com/PyCQA/pycodestyle/compare/2.7.0...2.8.0) --- updated-dependencies: - dependency-name: pycodestyle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-14[fix] language param for qwantMrPaulBlack
2021-10-12Merge pull request #380 from dalf/fix-339Alexandre Flament
[fix] interface language zh_CN and zh_TW don't work
2021-10-12Merge pull request #341 from dalf/verify_tor_on_startAlexandre Flament
[enh] verify that Tor proxy works every time searx starts
2021-10-12[fix] interface language zh_CN and zh_TW don't workAlexandre Flament
before this commit, when the user picks "Chinese, China" or "Chinese, Taiwan", the locale fallbacks to English. This commit fixes this issue (the translations branch must be updated) close #339
2021-10-12[mod] locale: use hyphen everywhere except for BabelAlexandre Flament
2021-10-12[fix] templates: lang attribute of html uses hyphenAlexandre Flament
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-lang https://www.w3.org/TR/REC-xml/#sec-lang-tag
2021-10-12[fix] fix match_language issue to make zh-TW match to zh-Hant-TWMarc Abonce Seguin
pybabel separates locales with underscores but we use hyphens everywhere babel doesn't directly touch
2021-10-12[enh] verify that Tor proxy works every time searx startsAlexandre Flament
based on @MarcAbonce commit on searx
2021-10-12[fix] qwant engine - only get results from categoriesNoémi Ványi
Reported-by: https://github.com/searx/searx/issues/3014 Cherry-picked: https://github.com/searx/searx/commit/3bcca43
2021-10-11[mod] engines - add zlibrary enginePaolo Basso
2021-10-11[brand] SearXNG - reference /etc/searxng/settings.ymlMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-11SearXNG: partial update: reference /etc/searxng/settings.ymlAlexandre Flament
2021-10-11SearXNG: load /etc/searxng/settings.ymlAlexandre Flament
fall back to /etc/searx/setting.yml
2021-10-10Merge pull request #355 from MrPaulBlack/simple-theme-css-varsAlexandre Flament
[simple theme] dark mode and some css cleanup
2021-10-10Merge pull request #319 from dalf/mod-pluginsAlexandre Flament
plugins: refactor initialization
2021-10-09[build] /staticMrPaulBlack
2021-10-09[simple theme] add a dark themeMrPaulBlack
* add a new color theme for a dark mode * make the device auto switch between dark and light theme
2021-10-09[simple theme] new color theme and result on mobile and tabletMrPaulBlack
* clean up vars in defenition * results look now the same on mobile and desktop * reworked results on mobile * new color theme with more vibrant colors
2021-10-09[template] move result url to top of articleMrPaulBlack
2021-10-09Redo Color Theme and css cleanupMrPaulBlack
* remove vars and add elements to base and btn vars * change default border radius to 10px and padding to 0.7em * put border radius and padding on search input form, infoxbox and buttons * remove unused .help class in #categories_container * remove active background from tabs to straemline design * redo search form: 10px padding * 2rem margin on search results on desktop * fix modal pacement of engine reliability in prefs * use darker accent colors * streamline autocomplete with more padding and a hover effect
2021-10-09[theme] replace all hardcoded colors by css vars and drop ununsed varsMrPaulBlack
2021-10-09[theme] convert less vars to css vars in simple themeMrPaulBlack
2021-10-08Merge pull request #400 from searxng/github-python-3.10Alexandre Flament
integration.yml : python 3.10
2021-10-08integration.yml : python 3.10Alexandre Flament
2021-10-08Merge pull request #395 from ↵Alexandre Flament
searxng/dependabot/npm_and_yarn/searx/static/themes/oscar/master/grunt-contrib-jshint-3.1.1 Bump grunt-contrib-jshint from 3.0.0 to 3.1.1 in /searx/static/themes/oscar
2021-10-08Bump grunt-contrib-jshint in /searx/static/themes/oscardependabot[bot]
Bumps [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint) from 3.0.0 to 3.1.1. - [Release notes](https://github.com/gruntjs/grunt-contrib-jshint/releases) - [Changelog](https://github.com/gruntjs/grunt-contrib-jshint/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt-contrib-jshint/commits/v3.1.1) --- updated-dependencies: - dependency-name: grunt-contrib-jshint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08Merge pull request #397 from ↵Alexandre Flament
searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/grunt-contrib-jshint-3.1.1 Bump grunt-contrib-jshint from 3.0.0 to 3.1.1 in /searx/static/themes/simple
2021-10-08Merge pull request #394 from searxng/dependabot/pip/master/flask-2.0.2Alexandre Flament
Bump flask from 2.0.1 to 2.0.2
2021-10-08Bump flask from 2.0.1 to 2.0.2dependabot[bot]
Bumps [flask](https://github.com/pallets/flask) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/flask/compare/2.0.1...2.0.2) --- updated-dependencies: - dependency-name: flask dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08Merge pull request #393 from searxng/dependabot/pip/master/jinja2-3.0.2Alexandre Flament
Bump jinja2 from 3.0.1 to 3.0.2
2021-10-08Merge pull request #399 from searxng/translations_updateAlexandre Flament
Update translations
2021-10-08[translations] updatesearxng-bot
b2709671 - 2021-10-04 - Markus Heiser <markus.heiser@darmarit.de>
2021-10-08Bump grunt-contrib-jshint in /searx/static/themes/simpledependabot[bot]
Bumps [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint) from 3.0.0 to 3.1.1. - [Release notes](https://github.com/gruntjs/grunt-contrib-jshint/releases) - [Changelog](https://github.com/gruntjs/grunt-contrib-jshint/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt-contrib-jshint/commits/v3.1.1) --- updated-dependencies: - dependency-name: grunt-contrib-jshint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08Bump jinja2 from 3.0.1 to 3.0.2dependabot[bot]
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.0.1...3.0.2) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2021-10-07[mod] searx.plugins.prepare_package_resources() - use generatorsMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-07[fix] searx.plugins.initialize() - don't miss module & module-nameMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-07[fix] engine torznab - categories, before join convert int to strMarkus Heiser
BTW add init() function and replace SearxEngineAPIException by ValueError. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-07[fix] engine torznab - marginal issues reported from lintersMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-07[mod] engines - add torznab WebAPIPaolo Basso
2021-10-07Merge pull request #386 from return42/fix-384Alexandre Flament
[mod] set 'engine.supported_languages' from the origin python module
2021-10-07[mod] set 'engine.supported_languages' from the origin python moduleMarkus Heiser
The key of the dictionary 'searx.data.ENGINES_LANGUAGES' is the *engine name* configured in settings.xml. When multiple engines are configured to use the same origin engine (e.g. `engine: google`):: - name: google engine: google use_mobile_ui: false ... - name: google italian engine: google use_mobile_ui: false language: it ... - name: google mobile ui engine: google shortcut: gomui use_mobile_ui: true There exists no entry for ENGINES_LANGUAGES[engine.name] (e.g. `name: google mobile ui` or `name: google italian`). This issue can be solved by recreate the ENGINES_LANGUAGES:: make data.languages But this is nothing an SearXNG admin would like to do when just configuring additional engines, since this just doubles entries in ENGINES_LANGUAGES and BTW: `make data.languages` has various external requirements which might be not installed or not available, on a production host. With this patch, if engine.name fails, ENGINES_LANGUAGES[engine.engine] is used to get the engine.supported_languages (e.g. `google` for the engine named `google mobile`). For an engine, when there is `language: ...` in the YAML settings, the engine supports only one language, in this case engine.supported_languages should contains this value defined in settings.yml (e.g. `it` for the engine named `google italian`). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> Closes: https://github.com/searxng/searxng/issues/384
2021-10-06plugins: refactor initializationAlexandre Flament
add a new function "init" call when the app starts. The function can: * return False to disable the plugin. * modify the Flask app.
2021-10-06Merge pull request #390 from return42/fix-312Alexandre Flament
[fix] don't mix loaded modules with imported modules (sys.modules)
2021-10-06[fix] don't mix loaded modules with imported modules (sys.modules)Markus Heiser
The utils.load_module() function is used to load a python file (aka module) and return the module's namespace. SearXNG uses this function to load *engines and answerers* from arbitrary locations with arbitrary modifications. These are not real python modules and it is not intended to mix this *engines and answerers* with the python modules registered in sys.modules. Closes: https://github.com/searxng/searxng/issues/312 Suggested-by: @dalf in https://github.com/searxng/searxng/issues/312 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-10-05Merge pull request #377 from return42/engine-imdbMarkus Heiser
[mod] engines - add IMDB / Internet Movie Database
2021-10-05[mod] engines - IMDB: add thumbnailsAlexandre Flament
2021-10-04Merge pull request #381 from return42/fix-translate-commitAlexandre Flament
[fix] commit message of 'make weblate.push.translations'
2021-10-04[fix] commit message of 'make weblate.push.translations'Markus Heiser
Fix `\n` issue in the commit message [1] by using multiple `-m` options [2]:: 7d9ffd680 translations [translations] update messages.pot and messages.po files\nFrom cebc0e39 - 2021-10-04 - Markus Heiser <markus.heiser@darmarIT.de> [1] https://github.com/searxng/searxng/pull/379#issuecomment-933242702 [2] https://git-scm.com/docs/git-commit#Documentation/git-commit.txt--mltmsggt Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>