Commit Graph
100 Commits
Author SHA1 Message Date
Alexandre Flament d669da81fb Merge pull request #2027 from dalf/fix_2018
Add "auto" as a language.
2023-02-20 12:17:38 +01:00
Alexandre Flament 6748e8e2d5 Add "Auto-detected" as a language.
When the user choose "Auto-detected", the choice remains on the following queries.
The detected language is displayed.

For example "Auto-detected (en)":
* the next query language is going to be auto detected
* for the current query, the detected language is English.

This replace the autodetect_search_language plugin.
2023-02-17 15:17:36 +00:00
Alexandre Flament 675dc04917 Merge pull request #2183 from return42/node.env.dev
[mod] install developer tools by: make node.env.dev
2023-02-11 18:30:29 +01:00
Alexandre Flament 9d102fb08f Merge pull request #2132 from dalf/update_pr_1967
search.suspended_time settings: bug fixes
2023-01-29 20:48:43 +01:00
Alexandre Flament bfca63c536 wikipedia engine: update _fetch_supported_languages
the layout https://meta.wikimedia.org/wiki/List_of_Wikipedias has changed
2023-01-29 10:01:58 +00:00
Alexandre Flament 8256de2fe8 peertube engine: update _fetch_supported_languages
There is now an API to get the list of supported languages
https://docs.joinpeertube.org/api-rest-reference.html#tag/Video/operation/getLanguages
2023-01-29 10:01:54 +00:00
Alexandre Flament 37addec69e search.suspended_time settings: bug fixes
* fix type in settings.yml: replace suspend_times by suspended_times
* always use delay defined in settings.yml:
  * HTTP status 402 and 403: read the value from settings.yml instead of using the hardcoded value of 1 day.
  * startpage engine: CAPTCHA suspend the engine for one day instead of one week
2023-01-28 10:24:14 +00:00
Alexandre Flament 6b71721ce8 Merge pull request #2106 from searxng/dependabot/pip/master/mock-5.0.1
Bump mock from 5.0.0 to 5.0.1
2023-01-27 11:51:42 +01:00
Alexandre Flament 7d676880e2 Merge pull request #2104 from searxng/dependabot/pip/master/yamllint-1.29.0
Bump yamllint from 1.28.0 to 1.29.0
2023-01-27 10:44:44 +01:00
Alexandre Flament f6c6de2f9e Merge pull request #2103 from searxng/dependabot/pip/master/pylint-2.15.10
Bump pylint from 2.15.9 to 2.15.10
2023-01-27 10:44:14 +01:00
Alexandre Flament 28356f4284 Merge pull request #2115 from searxng/dependabot/pip/master/flask-babel-3.0.0
Bump flask-babel from 2.0.0 to 3.0.0
2023-01-27 10:43:17 +01:00
Alexandre Flament a8eb9d15e2 Merge pull request #2122 from dalf/fix_version_again
SearXNG version: YYYY.MM.DD without leading zero
2023-01-22 14:31:00 +01:00
Alexandre Flament 06b5068a2e SearXNG version: YYYY.MM.DD without leading zero 2023-01-22 10:45:00 +00:00
Alexandre Flament 674dae946a Merge pull request #2119 from dalf/weblate_codeberg
weblate: migration to https://translate.codeberg.org/
2023-01-21 17:01:16 +01:00
Alexandre Flament a9d6f7532a weblate: migration to https://translate.codeberg.org/ 2023-01-21 15:45:12 +00:00
Alexandre Flament 316fcd5e4b Merge pull request #2116 from searxng/translations_update
Update translations
2023-01-20 13:11:50 +01:00
Alexandre Flament 934d97b472 Merge pull request #2118 from dalf/fix_version_continuation
SearXNG version: fix make docker
2023-01-20 12:31:24 +01:00
Alexandre Flament f759a84af4 SearXNG version: fix make docker
continuation of #2117
related to #2111

This commit:
* fixes the Docker tag using an additional variable DOCKER_TAG, see searx/version.py
* fixes the Docker labels org.label-schema.vcs-ref and org.opencontainers.image.revision
* adds searx/version_frozen to .gitignore
2023-01-20 10:46:00 +00:00
Alexandre Flament eed9b09d98 Merge pull request #2117 from dalf/fix_version_number
Version number follows PEP440 : replace - by +
2023-01-20 10:17:08 +01:00
Alexandre Flament 0515f2974b Version number follows PEP440 : replace - by +
Close #2111
2023-01-20 09:05:44 +00:00
Alexandre Flament 6d72ef3cbe Merge pull request #2109 from ahmad-alkadri/fix/highlight-full-word
Standalone words highlighting for query result in non-CJK characters
2023-01-17 23:24:04 +01:00
Alexandre Flament 13b0c251c4 Merge pull request #2100 from nexryai/master
Add goo engine
2023-01-15 23:08:28 +01:00
Alexandre Flament 52d4155997 Merge pull request #1967 from tiekoetter/suspended_time-settings
settings.yml: add search.suspended_times
2023-01-15 10:07:44 +01:00
Alexandre Flament b720a495f0 Merge pull request #2105 from searxng/dependabot/pip/master/redis-4.4.2
Bump redis from 4.4.0 to 4.4.2
2023-01-14 18:28:17 +01:00
Alexandre Flament 449aebaea6 Merge pull request #2107 from searxng/translations_update
Update translations
2023-01-14 18:27:54 +01:00
Alexandre Flament 18d895ffed Merge pull request #2097 from immanuelfodor/patch-1
Adjust uWSGI workers and threads from env
2023-01-14 16:36:57 +01:00
Alexandre Flament 0d4896170f Merge pull request #2047 from dalf/fasttext-predict
Use fasttext-predict instead of fasttext(-wheel)
2022-12-26 20:50:09 +01:00
Alexandre Flament f3515041af Lazy load fasttext-predict 2022-12-26 18:44:23 +00:00
Alexandre Flament ec4237586d Use fasttext-predict instead of fasttext or fasttext-wheel
See https://github.com/searxng/fasttext-predict
2022-12-26 18:44:21 +00:00
Alexandre Flament b927482195 Merge pull request #2019 from ArtikusHG/fasttext
Replace langdetect with fasttext (followup of #1969)
2022-12-16 21:54:07 +01:00
Alexandre Flament 2a51c85672 Merge pull request #1974 from fehho/query-string-deserial
[fix] Deserialize preferences which are explicitly blank strings
2022-12-16 18:56:30 +01:00
Alexandre Flament 9e9f57e48b Merge pull request #1954 from dalf/fix.redis.init.2
[fix] follow up of PR-1856
2022-12-14 07:08:19 +01:00
Alexandre Flament 3050e2b6e8 [fix] documentation about update-searxng.rst 2022-12-10 10:06:54 +01:00
Alexandre Flament b971167ced move searx.shared.redisdb to searx.redisdb 2022-12-10 09:26:38 +01:00
Alexandre FlamentandMarkus Heiser 34e260f88f [fix] follow up of PR-1856
- the environment variable SEARXNG_REDIS_URL overrides the setting value redis.url
- ./manage sets SEARXNG_REDIS_URL to unix:///usr/local/searxng-redis/run/redis.sock if:
   - the socket exists
   - SEARXNG_REDIS_URL is not already defined

Update of PR #1856

Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
2022-12-10 09:26:38 +01:00
Alexandre Flament abb33bd7dd Merge pull request #2016 from searxng/translations_update
Update translations
2022-12-09 10:17:35 +01:00
Alexandre Flament 0b1f09faa4 Merge pull request #2013 from searxng/dependabot/pip/master/redis-4.4.0
Bump redis from 4.3.5 to 4.4.0
2022-12-09 10:16:47 +01:00
Alexandre Flament 6479b67cd2 Merge pull request #2014 from searxng/dependabot/pip/master/selenium-4.7.2
Bump selenium from 4.7.0 to 4.7.2
2022-12-09 10:13:55 +01:00
Alexandre Flament a6d870d5cf Merge pull request #2015 from searxng/dependabot/pip/master/pylint-2.15.8
Bump pylint from 2.15.7 to 2.15.8
2022-12-09 10:08:12 +01:00
Alexandre Flament 3df1a9839a Merge pull request #2017 from searxng/dependabot/pip/certifi-2022.12.7
Bump certifi from 2022.9.24 to 2022.12.7
2022-12-09 10:07:18 +01:00
Alexandre Flament 67eea86b35 Merge pull request #2006 from dalf/fix_1951
Fix: don't crash when engine or name is missing in settings.yml
2022-12-05 13:43:38 +01:00
Alexandre Flament 269326063a Fix: don't crash when engine or name is missing in settings.yml
SearXNG crashes if the engine or name fields are missing.
With this commit, the app displays an error in the log and keeps loading.

Close #1951
2022-12-04 23:43:59 +01:00
Alexandre Flament 768659f2bd Merge pull request #1988 from ryankask/fix-redis-conn-logging
Copy client connection kwargs before mutating
2022-11-29 19:38:54 +01:00
Alexandre Flament b5371b7a85 Merge pull request #1963 from searxng/translations_update
Update translations
2022-11-19 17:26:05 +01:00
Alexandre Flament 1cdadf4bfd Merge pull request #1948 from searxng/dependabot/pip/master/selenium-4.6.0
Bump selenium from 4.5.0 to 4.6.0
2022-11-18 14:20:11 +01:00
Alexandre Flament fe8b0472dd Merge pull request #1949 from searxng/translations_update
Update translations
2022-11-18 14:19:51 +01:00
Alexandre Flament d3949269a9 Merge pull request #1942 from dalf/fix_redis_initialization
[FIX] Redis initialization
2022-11-07 23:16:04 +01:00
Alexandre Flament 8f19bdaf17 Merge pull request #1882 from fehho/metacpan
Add MetaCPAN engine
2022-11-07 21:54:11 +01:00
Alexandre Flament ae54c7d525 Merge pull request #1938 from Evhorizon/master
Update network.py
2022-11-06 21:20:38 +01:00
Alexandre Flament 2dc5c0e1d6 Merge pull request #1928 from searxng/translations_update
Update translations
2022-11-06 11:29:28 +01:00
Alexandre Flament 4fe5463671 Merge pull request #1869 from vgerak/1836-ddg-weather
Fix floating point format in DDG weather humidity
2022-11-05 22:46:50 +01:00
Alexandre Flament e473addaff User agent: don't include the patch number in the Firefox version
The Firefox version in the user agent doesn't include the patch version: 106.0 not 106.0.2

Close #1914
2022-11-05 22:04:37 +01:00
Alexandre Flament e9f42e1c22 Merge pull request #1918 from LinuxMeow/patch-1
Remove unused volume
2022-11-05 19:45:13 +01:00
Alexandre Flament d37afb8ab9 Merge pull request #1856 from dalf/checker_requires_redis
The checker requires Redis
2022-11-05 17:50:40 +01:00
Alexandre Flament fe419e355b The checker requires Redis
Remove the abstraction in searx.shared.SharedDict.
Implement a basic and dedicated scheduler for the checker using a Redis script.
2022-11-05 12:04:50 +01:00
Alexandre Flament d764d94a70 Merge pull request #1927 from searxng/dependabot/pip/master/babel-2.11.0
Bump babel from 2.10.3 to 2.11.0
2022-11-05 11:38:16 +01:00
Alexandre Flament d3a7399ed7 Merge pull request #1929 from dalf/github_workflow_update
GH workflow: various improvements
2022-11-05 11:14:09 +01:00
Alexandre Flament 710a3a001f Merge pull request #1873 from searxng/translations_update
Update translations
2022-10-21 10:06:32 +02:00
Alexandre Flament 1a5b096578 Merge pull request #1860 from dalf/fix-startpage
[fix] startpage engine
2022-10-14 20:40:51 +02:00
Alexandre Flament 096d9defa6 Merge pull request #1847 from searxng/dependabot/pip/master/typing-extensions-4.4.0
Bump typing-extensions from 4.3.0 to 4.4.0
2022-10-14 16:26:19 +02:00
Alexandre Flament e2dd5a80bb Merge pull request #1831 from searxng/dependabot/pip/master/sphinx-5.2.3
Bump sphinx from 5.1.1 to 5.2.3
2022-10-14 16:25:45 +02:00
Alexandre Flament 4d4dfc58d4 Merge pull request #1858 from searxng/dependabot/pip/master/pylint-2.15.4
Bump pylint from 2.15.3 to 2.15.4
2022-10-14 16:24:40 +02:00
Alexandre Flament 2eb817011c Merge pull request #1529 from dalf/network_trust_env
searx.network: use SSL_CERT_FILE and SSL_CERT_DIR when they are defined
2022-10-14 16:06:29 +02:00
Alexandre Flament 32e8c2cf09 searx.network: add "verify" option to the networks
Each network can define a verify option:
* false to disable certificate verification
* a path to existing certificate.

SearXNG uses SSL_CERT_FILE and SSL_CERT_DIR when they are defined
see https://www.python-httpx.org/environment_variables/#ssl_cert_file
2022-10-14 13:59:22 +00:00
Alexandre Flament 72f6367e23 Merge pull request #1859 from searxng/translations_update
Update translations
2022-10-14 12:18:39 +02:00
Alexandre Flament 666cd1f635 Merge pull request #1846 from searxng/dependabot/pip/master/black-22.10.0
Bump black from 22.8.0 to 22.10.0
2022-10-07 10:07:24 +02:00
Alexandre Flament 84f61af839 Merge pull request #1848 from searxng/translations_update
Update translations
2022-10-07 10:05:26 +02:00
Alexandre Flament 901143f056 Merge pull request #1830 from MohamedElashri/master
Use official sci-hub mirrors
2022-10-01 09:59:07 +02:00
Alexandre Flament 14d0fb2cd4 Merge pull request #1823 from searxng/dependabot/pip/master/selenium-4.5.0
Bump selenium from 4.4.3 to 4.5.0
2022-10-01 09:42:11 +02:00
Alexandre Flament e9af772b65 Merge pull request #1826 from searxng/dependabot/pip/master/myst-parser-0.18.1
Bump myst-parser from 0.18.0 to 0.18.1
2022-10-01 09:34:36 +02:00
Alexandre Flament 62324655ff Merge pull request #1827 from searxng/translations_update
Update translations
2022-09-30 10:52:53 +02:00
Alexandre Flament f4281b16ff Merge pull request #1824 from searxng/dependabot/pip/master/certifi-2022.9.24
Bump certifi from 2022.9.14 to 2022.9.24
2022-09-30 10:51:40 +02:00
Alexandre Flament a7d693231c Merge pull request #1819 from searxng/update_data_update_currencies.py
Update searx.data - update_currencies.py
2022-09-29 16:03:34 +02:00
Alexandre Flament f3d25f9cef Merge pull request #1821 from searxng/update_data_update_engine_descriptions.py
Update searx.data - update_engine_descriptions.py
2022-09-29 16:02:57 +02:00
Alexandre Flament 5060732486 Merge pull request #1818 from searxng/update_data_update_ahmia_blacklist.py
Update searx.data - update_ahmia_blacklist.py
2022-09-29 16:02:02 +02:00
Alexandre Flament 520a873ab4 Merge pull request #1820 from searxng/update_data_update_wikidata_units.py
Update searx.data - update_wikidata_units.py
2022-09-29 16:01:31 +02:00
Alexandre Flament 5f34015445 Merge pull request #1817 from searxng/update_data_update_firefox_version.py
Update searx.data - update_firefox_version.py
2022-09-29 16:00:37 +02:00
Alexandre Flament a3148e5115 Merge pull request #1814 from return42/fix-typos
[fix] typos / reported by @kianmeng in searx PR-3366
2022-09-28 09:22:02 +02:00
Alexandre Flament 0e00af9c26 Merge pull request #1810 from return42/fix-1809
[fix] springer: unsupported operand type(s) for +: 'NoneType' and 'str'
2022-09-28 09:20:03 +02:00
Alexandre Flament 7097508a67 Merge pull request #1811 from return42/fix-paper.html
[fix] doc of the paper.html template (isbn, issn)
2022-09-28 09:19:20 +02:00
Alexandre Flament 94c4cc126b Merge pull request #1806 from return42/paper-link
fix some leftovers in the science category
2022-09-24 22:11:35 +02:00
Alexandre Flament bfd6f61849 Merge pull request #1804 from return42/fix-core.ac.uk
core.ac.uk: use paper.html template
2022-09-24 15:12:05 +02:00
Alexandre Flament 16443d4f4a [mod] core.ac.uk: try multiple ways to get url
If the url is not found, using:
* the DOI
* the downloadUrl
* the ARK id
2022-09-24 15:02:39 +02:00
Alexandre Flament c808284f4d Merge pull request #1805 from return42/paper-add-doi
[mod] paper.html: add links to doi resolver
2022-09-24 14:46:07 +02:00
Alexandre Flament ddd380fc06 Merge pull request #1803 from return42/paper-type
[docs] add description of the field 'type' from paper.html template
2022-09-24 11:56:16 +02:00
Alexandre Flament fc389f009d Merge pull request #1705 from dalf/template_paper
Theme: add a paper.html template and update of the science engines
2022-09-23 23:09:27 +02:00
Alexandre Flament d6446be38f [mod] science category: various update of about PR 1705 2022-09-23 20:52:55 +02:00
Alexandre Flament bef3984d03 Merge pull request #1728 from liimee/eng-ddw
add duckduckgo weather engine
2022-09-23 18:14:09 +02:00
Alexandre Flament d3fec1388c Merge pull request #1624 from liimee/eng-wttr
Add wttr.in engine
2022-09-23 18:13:37 +02:00
Alexandre Flament 1a7b6872b5 Merge pull request #1792 from unixfox/google-images-internal-api
use the internal API for google images
2022-09-21 19:50:38 +02:00
Alexandre Flament b3708e4137 Merge pull request #1757 from LencoDigitexer/master
add yandex autocomplete
2022-09-17 13:17:00 +02:00
Alexandre Flament 07b7058cb7 Merge pull request #1773 from searxng/dependabot/pip/master/uvloop-0.17.0
Bump uvloop from 0.16.0 to 0.17.0
2022-09-16 12:42:07 +02:00
Alexandre Flament f1867378b2 Merge pull request #1775 from searxng/dependabot/pip/master/yamllint-1.28.0
Bump yamllint from 1.27.1 to 1.28.0
2022-09-16 11:18:42 +02:00
Alexandre Flament 0accc6f804 Merge pull request #1774 from searxng/dependabot/pip/master/certifi-2022.9.14
Bump certifi from 2022.6.15 to 2022.9.14
2022-09-16 11:18:30 +02:00
Alexandre Flament e4ef63b5ef Merge pull request #1777 from searxng/translations_update
Update translations
2022-09-16 11:12:26 +02:00
Alexandre Flament eb3d185e66 Merge pull request #1755 from searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/sharp-0.31.0
Bump sharp from 0.30.7 to 0.31.0 in /searx/static/themes/simple
2022-09-09 10:40:38 +02:00
Alexandre Flament ada7213f7f Merge pull request #1756 from searxng/translations_update
Update translations
2022-09-09 10:01:49 +02:00
Alexandre Flament 691c0ed6b9 Merge pull request #1743 from dalf/update_about_metrics
Update about the metrics
2022-09-04 11:29:28 +02:00
Alexandre Flament 174e524256 Merge pull request #1730 from dalf/docker-trivy
GitHub worfklow: add daily security check using trivy
2022-09-01 18:48:42 +02:00
Alexandre Flament 242db53118 Merge pull request #1708 from dalf/result_proxy_default_settings
settings.yml: set default values for result_proxy
2022-08-29 19:42:04 +02:00