summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-30[build] /staticMartin Fischer
2022-01-30[simple] introduce page_with_header.html templateMartin Fischer
Previously the preferences & stats templates contained the markup: <a href="{{ url_for('index') }}"><h1><span>SearXNG</span></h1></a> There are many things wrong with this: 1. the markup was duplicated 2. the CSS needed to be changed whenever a new page wanted to use this header (since the CSS used page-specific selectors) 3. h1 should be reserved for the actual page title (e.g. Preferences or Engine stats) 4. the image was set via CSS which also set: span { visibility: hidden; } which however removes the alternative text from the accessibility tree (meaning screen readers will ignore it). This commit fixes all these problems.
2022-01-29Merge pull request #841 from dalf/simple-cookie-ltrMarkus Heiser
Simple theme: the cookie table is always displayed left-to-right
2022-01-29Merge pull request #842 from HLFH/masterAlexandre Flament
Fix setup.py help folder
2022-01-29Fix setup.py help folderGaspard d'Hautefeuille
2022-01-29[build] /staticAlexandre Flament
2022-01-29[fix] simple theme: /preferences: cookies table is LTRAlexandre Flament
close #827
2022-01-29Merge pull request #838 from dalf/remove_deprecated_codeMartin Fischer
[mod] remove deprecate code
2022-01-29Merge pull request #837 from dalf/fix-inaMarkus Heiser
[fix] ina engine
2022-01-29[mod] remove deprecate codeAlexandre Flament
remove code to support Python 3.5 and Python 3.6
2022-01-28[fix] ina engineAlexandre Flament
based on https://gitlab.e.foundation/e/cloud/my-spot/-/commit/a45408e8e2ced90d3f268e09ef01808234072c8b
2022-01-28Merge pull request #833 from searxng/translations_updateMarkus Heiser
Update translations
2022-01-28[translations] update from Weblatesearxng-bot
80b99072 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 32354577 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 38737f21 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> f1658c80 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 3172618b - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 5063d261 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 69df6ff6 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 51bd2e18 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> f6dea2a9 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> d6230142 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 4d07658c - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> e3798ef7 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> bc99fe05 - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de> 2811901d - 2022-01-26 - Markus Heiser <markus.heiser@darmarit.de>
2022-01-27Merge pull request #817 from not-my-profile/pyright-01Alexandre Flament
Pyright 01
2022-01-27Merge pull request #805 from tiekoetter/fix-torAlexandre Flament
Fix Tor
2022-01-27Allow 'using_tor_proxy' to be set for each engine individuallyLéon Tiekötter
Check 'using_tor_proxy' for each engine individually instead of checking globally [fix] searx.network: update _rdns test to the last httpx version Co-authored-by: Alexandre Flament <alex@al-f.net>
2022-01-27[pyright] remove no longer needed assertionMartin Fischer
The pyright bug[1] for which the assertion was added has been fixed. [1]: https://github.com/microsoft/pyright/issues/2930
2022-01-27[pyright:basic] searx.webappMartin Fischer
2022-01-27[pyright:strict] searx.search.checker.backgroundMartin Fischer
2022-01-27[enh] use typing_extensions for Python 3.7Martin Fischer
This lets the next commit make use of TypedDict & Literal which were only introduced in Python 3.8.
2022-01-27[pyright:strict] searx.shared.shared_abstractMartin Fischer
2022-01-27Merge pull request #830 from return42/fix.828Martin Fischer
[fix] docs - don't add plugins twice
2022-01-27[fix] docs - don't add plugins twiceMarkus Heiser
The PluginStore is already initalized when the application is initalized searx.plugins.initialize(application) BTW: remove unneeded Flask import Closes: https://github.com/searxng/searxng/issues/828 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-26Merge pull request #825 from MontyQI/ui-changesPaul Braeuning
Simple theme uppercase buttons
2022-01-26Uppercase buttonsMonty
2022-01-26Merge pull request #820 from return42/ign-monkeyMarkus Heiser
[test.pyright] suppress warnings about intentional monkey patching
2022-01-26Merge pull request #813 from MarcAbonce/change-wolfram-categoryMarkus Heiser
Move WolframAlpha away from Science category
2022-01-25[test.pyright] suppress warnings about intentional monkey patchingMarkus Heiser
The warnings: - "logger" is not defined' - "supported_languages" is not defined' - "language_aliases" is not defined' are very verbose and superfluous, since these messages are related to intentional monkey patching. [1] https://github.com/searxng/searxng/pull/783#issuecomment-1019818178 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-25Merge pull request #824 from dalf/fix-simple-pref-checkerMarkus Heiser
[fix] simple theme: don't crash when the checker is enabled
2022-01-25Merge pull request #822 from return42/invidious-setupMarkus Heiser
[mod] improve setup of invidious engine
2022-01-25[fix] simple theme: don't crash when the checker is enabledAlexandre Flament
The macro "checkbox" in macros.html uses the macro "icon_small" from icons.html The commit imports icon_small in macros.html to fix the issue. It works because the macros in macros.html are imported with the Jinja2 context. See https://jinja.palletsprojects.com/en/3.0.x/templates/#import-visibility close #819
2022-01-25[mod] improve setup of invidious engineMarkus Heiser
- My experience is, that a timeout of 5 sec is not need, I got fast response less than a second. - https://invidious.tube/ redirects to http://ww25.invidious.tube/ - in SearXNG defaults the http protocol is unsafe and raise an error - https://ww25.invidious.tube has SSL_ERROR_UNSAFE_NEGOTIATION Related-to: https://github.com/searxng/searxng/issues/821 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-25Merge pull request #811 from return42/enh-788Alexandre Flament
[mod] configuration to overwrite engine description
2022-01-25Merge pull request #815 from mrpaulblack/add-sec-policyMartin Fischer
[enh] add security policy
2022-01-25[enh] add security policymrpaulblack
2022-01-24Merge pull request #802 from MontyQI/Icon-updateAlexandre Flament
Changed preferences icon to settings icon in gruntfile
2022-01-24Merge pull request #804 from return42/minor-fixMartin Fischer
[mod] lib_nvm.sh: minor improvements / no functional change
2022-01-24Merge pull request #816 from return42/fix-emacsMarkus Heiser
[emacs] flycheck should use the eslint checker from developer tools
2022-01-24[emacs] flycheck should use the eslint checker from developer toolsMarkus Heiser
Since commit cac03529 the eslint has been moved from the local nvm to the developer packages (in `./node_modules`). Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-24Merge pull request #783 from not-my-profile/pyrightconfig.jsonMartin Fischer
[enh] add pyrightconfig.json and integrate pyright into CI
2022-01-24[mod] introduce node.env.devtools functionMarkus Heiser
2022-01-23move WolframAlpha away from Science categoryMarc Abonce Seguin
2022-01-23[mod] configuration to overwrite engine descriptionMarkus Heiser
Engine description can be configured, this is needed e.g. by custom search engines. Here is an example of a command engine with a description in the about section:: - name: locate engine: command command: ['locate', '{{QUERY}}'] disabled: true categories: files about: description: local files website: 'https://www.man7.org/linux/man-pages/man1/locate.1.html' delimiter: chars: ' ' keys: ['line'] Closes: https://github.com/searxng/searxng/issues/788 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-23Merge pull request #799 from return42/brave-completeAlexandre Flament
Add autocompleter from Brave
2022-01-23[fix] brave autocompleter: charset_normalizer issuesMarkus Heiser
Use httpx.Response.json() to avoid charset_normalizer issues: DEBUG charset_normalizer : override steps (5) and chunk_size (512) as content does not fit (153 byte(s) given) parameters. INFO charset_normalizer : ascii passed initial chaos probing. Mean measured chaos is 0.000000 % DEBUG charset_normalizer : ascii should target any language(s) of ['Latin Based'] INFO charset_normalizer : ascii is most likely the one. Stopping the process. [1] https://www.python-httpx.org/api/#response Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-23Merge pull request #807 from spalinger/masterMarkus Heiser
[fix] url
2022-01-23Merge pull request #758 from not-my-profile/introduce-userdocAlexandre Flament
Introduce `searx/help/`
2022-01-23[pylint] searx/autocomplete.pyMarkus Heiser
Fix remarks from pylint, BTW set SPDX-License-Identifier. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-01-23[help] stop rendering documentation with Jinja2Martin Fischer
To facilitate translation of the user documentation we move the templating logic outside of the user documentation.
2022-01-23[help] convert about.html to MarkdownMartin Fischer
To facilitate translation the new user documentation shall be written in Markdown (which is more human-friendly than HTML and reStructuredText).