Results 295 comments of Alexandre Flament

Thank you for point this out. I've never used this feature, `flask_run_development` is here only because flask support it. Since it is deprecated, we can safely remove it, so lines...

In documentation, [sphinx.ext.inheritance_diagram](https://www.sphinx-doc.org/en/master/usage/extensions/inheritance.html) could be helpful to draw the inheritance diagram. But `TypedDict` does not preserve the original bases ( `__mro__`, `__base__`, `__bases__` don't contain the inherited class), so the...

The idea of this PR is to make [a clear list of the result types and theirs fields (models.py)](https://github.com/searxng/searxng/blob/be52ff8e5419a685867b5f5d6a1ec53c0f9150a9/searx/results/models.py) without changing anything about the implementation. Actually it is the documentation...

IMO there are two PR in one: * fix the issue about category_as_tabs in the settings. * the usability issue about the categories bangs. This makes the review more difficult.

See #321 : in this PR it is possible to replace some classes only by configuration. So in your case (not tested, not a full rewrite): in settings.yml: ```yaml surrogates:...

The current PR can't be merged for the issue reported above (it will crash with a SystemError the app if uwsgi does not work) With this comment in mind https://github.com/searxng/searxng-docker/issues/31#issuecomment-1221499315...

Is there a NixOS package for SearXNG? or did you use the [searx package](https://github.com/NixOS/nixpkgs/blob/nixos-22.05/pkgs/servers/web-apps/searx/default.nix#L71)? --- Reading the code, it seems the issue can be fixed by moving this code https://github.com/searxng/searxng/blob/a983db022954b302f12640c7b3f5c3a6ce697101/searx/settings_defaults.py#L230-L234...

This could nearly work with a small PR on duckduckgo.py --- see https://github.com/searxng/searxng/blob/b6d59decda2be89a9b96e29b7a12538ba4af2c5c/searx/engines/__init__.py#L239-L240 So with `using_tor_proxy: True` --> `search_url = onion_url + search_path` By default `search_url = base_url + search_path`...

The str -> bytes conversion can be done once when the application starts: ```patch diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index 3185dd7b..d67fe858 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -117,6 +117,15 @@ class...

Currently the URL is split into `[host, path]`, in the `path` the `/` are replaced by ` › ` see: https://github.com/searxng/searxng/blob/2bfb269f0a2a2c35d3e4752cb839c38ddcaf805d/searx/webapp.py#L383-L387 What can be done is if `path` is not...