1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-16 17:40:11 +01:00
Commit Graph

5643 Commits

Author SHA1 Message Date
Alexandre Flament
7d4834ac4d [mod] webutils.py: remove dead code
secret_key can't be bytes (see settings_default.py)
2021-12-28 10:14:38 +01:00
Alexandre Flament
d784870209 [fix] use hmac.compare_digest instead of ==
see https://docs.python.org/3/library/hmac.html#hmac.HMAC.hexdigest
2021-12-28 08:36:31 +01:00
Alexandre Flament
c6922ae7c5
Merge pull request #619 from dalf/apply-black
Apply black
2021-12-27 19:11:01 +01:00
Markus Heiser
d84226bf63 [fix] issues reported by pylint
Fix pylint issues from commit (3d96a983)

    [format.python] initial formatting of the python code

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27 10:16:20 +01:00
Markus Heiser
3d96a9839a [format.python] initial formatting of the python code
This patch was generated by black [1]::

    make format.python

[1] https://github.com/psf/black

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27 09:26:22 +01:00
Markus Heiser
fcdc2c2cd2 [format.python] disable py code formatting for some hunks of code
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-27 09:16:03 +01:00
Markus Heiser
c849731eb1 [mod] test.black: show issues (diff) reported by python-black
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-27 08:59:47 +01:00
Alexandre Flament
3c77412d33 [mod] replace pycodestyle by black
"make test.black" checks for the code style
"make format.python" format the python code
2021-12-27 08:58:59 +01:00
Markus Heiser
54bce130f9
Merge pull request #658 from dalf/fix-standalone-script
Fix standalone script
2021-12-27 08:10:04 +01:00
Alexandre Flament
9215d4cde7 [fix] python searxng_extra/standalone_searx.py --help
The scripts loads the engine and then parse the arguments.
After that the engines are initialized.

Before this commit, with "--help", the HTTP clients are closed before
the engine initialization threads. When these init threads try to send
an HTTP request, an exception is raised.
2021-12-26 23:09:10 +01:00
Alexandre Flament
811837d109 [remove] searxng_extra/google_search.py
remove deprecated script
2021-12-26 23:08:25 +01:00
Markus Heiser
6ffa741e7a
Merge pull request #653 from searxng/dependabot/pip/master/linuxdoc-20211220
Bump linuxdoc from 20210324 to 20211220
2021-12-24 10:24:07 +01:00
Markus Heiser
e1c7623100
Merge pull request #652 from searxng/dependabot/pip/master/sphinx-4.3.2
Bump sphinx from 4.3.1 to 4.3.2
2021-12-24 10:18:29 +01:00
Markus Heiser
6c32043e47
Merge pull request #648 from return42/doc-globaltoc
[doc] add global TOC to sidebar
2021-12-24 10:17:49 +01:00
dependabot[bot]
8acde3745f
Bump sphinx from 4.3.1 to 4.3.2
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.3.1...v4.3.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 09:06:10 +00:00
Alexandre Flament
7bef2cc8dc
Merge pull request #548 from searxng/dependabot/pip/master/selenium-4.1.0
Bump selenium from 3.141.0 to 4.1.0
2021-12-24 10:05:20 +01:00
Alexandre Flament
81abc5f4c2 [fix] ./manage: upgrade geckodriver when GECKODRIVER_VERSION change 2021-12-24 09:14:15 +01:00
Alexandre Flament
6300b0b4b2
Merge pull request #655 from searxng/translations_update
Update translations
2021-12-24 08:42:02 +01:00
searxng-bot
568a4df297 [translations] update from Weblate
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-24 07:18:11 +00:00
dependabot[bot]
25ca1422ef
Bump linuxdoc from 20210324 to 20211220
Bumps [linuxdoc](https://github.com/return42/linuxdoc) from 20210324 to 20211220.
- [Release notes](https://github.com/return42/linuxdoc/releases)
- [Commits](https://github.com/return42/linuxdoc/commits)

---
updated-dependencies:
- dependency-name: linuxdoc
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-24 07:04:35 +00:00
Alexandre Flament
19f6f6b157
Merge pull request #650 from dalf/fix-pr-646
[fix] PR #646
2021-12-24 08:02:35 +01:00
Markus Heiser
188efe53e8 [doc] add global TOC to sidebar
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-24 07:05:33 +01:00
Alexandre Flament
34b820a87d [fix] PR #646 2021-12-23 22:08:45 +01:00
Markus Heiser
69af219d39 [test.robot] update gecko driver / required by selenium 4.1.0
Update gecko driver to v0.30.0 [1]

[1] https://github.com/mozilla/geckodriver/releases/tag/v0.30.0

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-23 13:09:48 +01:00
Markus Heiser
65c6d57b56 Bump splinter from 0.16.0 to 0.17.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-23 12:43:24 +01:00
dependabot[bot]
9556c9da8e Bump selenium from 3.141.0 to 4.1.0
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 3.141.0 to 4.1.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases)
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-3.141.0...selenium-4.1.0)

---
updated-dependencies:
- dependency-name: selenium
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-23 12:43:24 +01:00
Alexandre Flament
69747d5cb3
Merge pull request #646 from return42/drop-py36
[ci] drop Python 3.6
2021-12-23 10:33:23 +01:00
Markus Heiser
cb1b6686f0 [ci] drop Python 3.6
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-12-23 10:09:23 +01:00
Markus Heiser
fe751b0ee8
Merge pull request #640 from not-my-profile/drop-dead-engines
Drop dead engines
2021-12-22 13:57:21 +01:00
Martin Fischer
19339067c6 [del] remove geektimes (redirects to habrahabr) 2021-12-22 13:20:56 +01:00
Martin Fischer
fb037e7a83 [del] remove whaleslide (website is down)
Closes #639.
2021-12-22 13:19:27 +01:00
Markus Heiser
56f68a1c29
Merge pull request #632 from not-my-profile/module-column
[doc] engine-table: rename Engine column to Module & link
2021-12-21 21:08:35 +01:00
Martin Fischer
ca7f1a2da6 [doc] engine-table: link module documentation if it exists 2021-12-21 21:06:17 +01:00
Martin Fischer
42d70e15ad [doc] engine-table: rename Engine column to Module & link 2021-12-21 15:46:43 +01:00
Markus Heiser
e869e3089c
Merge pull request #630 from not-my-profile/engine-count
[doc] say how many engines are supported / enabled
2021-12-21 13:11:37 +01:00
Martin Fischer
33983809e4 [doc] say how many engines are supported / enabled 2021-12-21 13:00:31 +01:00
Markus Heiser
06435e08ef
Merge pull request #629 from not-my-profile/about-language
[doc] introduce about.language and sort engines by it
2021-12-21 12:54:58 +01:00
Martin Fischer
e28c6bda35 [doc] introduce about.language and sort engines by it 2021-12-21 09:58:51 +01:00
Markus Heiser
3c0f01aed7
Merge pull request #627 from unixfox/patch-3
Direct link to the web chat of libera chat
2021-12-21 06:40:27 +01:00
Markus Heiser
5951bb5488
Merge pull request #628 from not-my-profile/sort-engines
[doc] engine-table: sort by Disabled and Name
2021-12-21 06:37:45 +01:00
Martin Fischer
df0d0ecaab [doc] engine-table: sort by Disabled and Name 2021-12-20 23:57:06 +01:00
Émilien Devos
81f11e59fe
Direct link to the web chat of libera chat 2021-12-20 22:37:30 +00:00
Alexandre Flament
5ca1ec411e
Merge pull request #624 from return42/upd-description
[upd] engine_descriptions.json
2021-12-20 23:36:34 +01:00
Alexandre Flament
21c509d59e
Merge pull request #626 from searxng/readme-add-irc-link
README.rst: add IRC #searxng
2021-12-20 23:28:49 +01:00
Alexandre Flament
e206a61145
README.rst: add IRC #searxng 2021-12-20 23:26:02 +01:00
Markus Heiser
c5d604f06f [upd] engine_descriptions.json
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-20 14:39:10 +01:00
Markus Heiser
6fb6e8c22a
Merge pull request #621 from not-my-profile/engines-table
[doc] Improve engines table
2021-12-20 14:02:29 +01:00
Martin Fischer
1fb1cca519 [doc] fix about.website for hoogle 2021-12-20 12:12:09 +01:00
Martin Fischer
1615ec4a2b [doc] engine-table: group engines by first category 2021-12-20 11:17:52 +01:00
Martin Fischer
26b0ecddcf [doc] engine-table: merge Engine type column 2021-12-20 11:06:42 +01:00