Commit Graph

5719 Commits (b93711b45da7e8d851be5a3d55ebf6fbe5423efd)
 

Author SHA1 Message Date
Martin Fischer b93711b45d [help] remove link from about.md title
Now that about.html extends page_with_header.html
it already has a link to the start page and removing
the link makes it easier to extract the page title
from the Markdown for the following commit.
2 years ago
Martin Fischer 08bb3a5f3a [pyright:basic] searx.user_help 2 years ago
Martin Fischer 8ae05f6ea5
Merge pull request #847 from not-my-profile/simple-preferences-link
[simple] preferences link
2 years ago
Martin Fischer e931590312 [build] /static 2 years ago
Martin Fischer b6200563ba [simple] improve margin of #linkto_preferences
Co-authored-by: Paul Braeuning <paul@paulgo.io>
2 years ago
Martin Fischer 743353dd09 [simple] add aria-label to preferences link 2 years ago
Martin Fischer e7c0f4e877 [simple] link preferences on /about and /stats
We want to link the preferences from every page
(except of course the preferences page).
2 years ago
Martin Fischer c82b9c68d2
Merge pull request #843 from not-my-profile/simple-page-with-header 2 years ago
Markus Heiser 60e7fee47a
Merge pull request #475 from return42/tineye
[enh] engine - add Tineye reverse image search
2 years ago
Alexandre Flament ebd3013a1a [mod] tineye engine: minor changes
* remove "disable: false" in settings.yml
* use the json() method from httpx.Response (faster character encoding detection)
2 years ago
Markus Heiser 32c5acb1fb
Merge pull request #832 from searxng/dependabot/pip/master/redis-4.1.2
Bump redis from 4.1.1 to 4.1.2
2 years ago
Markus Heiser a2bd69ac40
Merge pull request #845 from tiekoetter/fix-1x
[fix] 1x engine
2 years ago
Léon Tiekötter a6673a1a94 [fix] 1x engine
1x changed the XML result layout.
2 years ago
Martin Fischer 79dbbd4d99 [build] /static 2 years ago
Martin Fischer 6f0ec7e58f [simple] introduce page_with_header.html template
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.
2 years ago
Markus Heiser a6b879f19c [mod] tineye engine: set engine_type to 'online_url_search'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser e92d40c854 [enh] implement a OnlineUrlSearchProcessor
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser 2a6d84dab5
Merge pull request #841 from dalf/simple-cookie-ltr
Simple theme: the cookie table is always displayed left-to-right
2 years ago
Alexandre Flament f240a67bd7
Merge pull request #842 from HLFH/master
Fix setup.py help folder
2 years ago
Gaspard d'Hautefeuille 1df70b6aee
Fix setup.py help folder 2 years ago
Alexandre Flament 068155df88 [build] /static 2 years ago
Alexandre Flament dc4caa5a39 [fix] simple theme: /preferences: cookies table is LTR
close #827
2 years ago
Martin Fischer 6a366c9807
Merge pull request #838 from dalf/remove_deprecated_code
[mod] remove deprecate code
2 years ago
Markus Heiser 1a5e1e74ef
Merge pull request #837 from dalf/fix-ina
[fix] ina engine
2 years ago
Alexandre Flament f3f61df6a0 [mod] remove deprecate code
remove code to support Python 3.5 and Python 3.6
2 years ago
Alexandre Flament 116802852d [fix] ina engine
based on a45408e8e2
2 years ago
Markus Heiser b7f74fbe42 [mod] tineye - add some documentation
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Allen 880555e263 [enh] engine - add Tineye reverse image search
Other optional parameter ..

`&sort=crawl_date`
    can be appended to search_string to sort results by date.

`&domain=example.org`
    can be implemented to search_string to get results from just one domain.

Public instances could get relatively fast timed-out for 3600s.

--

Merged from @allendema's commit [1] and slightly modfied / see [2].

Related-to: [1] 455b2b4460
Related-to: [2] https://github.com/searx/searx/pull/3040
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser 8f100d7046
Merge pull request #833 from searxng/translations_update
Update translations
2 years ago
searxng-bot 43a262497b [translations] update from Weblate
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>
2 years ago
dependabot[bot] bac8ddf9ad
Bump redis from 4.1.1 to 4.1.2
Bumps [redis](https://github.com/redis/redis-py) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Alexandre Flament 4f82ab36a9
Merge pull request #817 from not-my-profile/pyright-01
Pyright 01
2 years ago
Alexandre Flament 5fc53b41f8
Merge pull request #805 from tiekoetter/fix-tor
Fix Tor
2 years ago
Léon Tiekötter 0cbf73a1f4
Allow 'using_tor_proxy' to be set for each engine individually
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>
2 years ago
Martin Fischer 506169f312 [pyright] remove no longer needed assertion
The pyright bug[1] for which the assertion was added has been fixed.

[1]: https://github.com/microsoft/pyright/issues/2930
2 years ago
Martin Fischer b767752d0c [pyright:basic] searx.webapp 2 years ago
Martin Fischer 640c404844 [pyright:strict] searx.search.checker.background 2 years ago
Martin Fischer 8aef66b365 [enh] use typing_extensions for Python 3.7
This lets the next commit make use of TypedDict &
Literal which were only introduced in Python 3.8.
2 years ago
Martin Fischer 7f89adc5f3 [pyright:strict] searx.shared.shared_abstract 2 years ago
Martin Fischer 1b03db4c73
Merge pull request #830 from return42/fix.828
[fix] docs - don't add plugins twice
2 years ago
Markus Heiser bdc28e3353 [fix] docs - don't add plugins twice
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>
2 years ago
Paul Braeuning 2c6bd2adf6
Merge pull request #825 from MontyQI/ui-changes
Simple theme uppercase buttons
2 years ago
Monty f59afc8dd2 Uppercase buttons 2 years ago
Markus Heiser c110a58a89
Merge pull request #820 from return42/ign-monkey
[test.pyright] suppress warnings about intentional monkey patching
2 years ago
Markus Heiser ccffab3a43
Merge pull request #813 from MarcAbonce/change-wolfram-category
Move WolframAlpha away from Science category
2 years ago
Markus Heiser 73a6da4dd9 [test.pyright] suppress warnings about intentional monkey patching
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>
2 years ago
Markus Heiser e5f266065c
Merge pull request #824 from dalf/fix-simple-pref-checker
[fix] simple theme: don't crash when the checker is enabled
2 years ago
Markus Heiser 334a89f399
Merge pull request #822 from return42/invidious-setup
[mod] improve setup of invidious engine
2 years ago
Alexandre Flament dfb9ca527d [fix] simple theme: don't crash when the checker is enabled
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
2 years ago
Markus Heiser 10c9b9775d [mod] improve setup of invidious engine
- 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>
2 years ago