Solirs
e26bce33d4
WIKIDATA: Add description for results
2 years ago
Markus Heiser
b61b845951
Merge pull request #2266 from return42/shuffle-cipher
...
[mod] Shuffle httpx's default ciphers of a SSL context randomly.
2 years ago
Markus Heiser
94430e104c
Merge pull request #2238 from return42/fix-2027
...
[fix] fix threshold in replace_auto_language
2 years ago
Markus Heiser
f2962a2f4a
Merge pull request #2239 from return42/fix-eslintrc
...
[fix] remove duplicate key in simple theme ESLint configuration
2 years ago
Markus Heiser
8fa54ffddf
[mod] Shuffle httpx's default ciphers of a SSL context randomly.
...
From the analyse of @9Ninety [1] we know that DDG (and may be other engines / I
have startpage in mind) does some kind of TLS fingerprint to block bots.
This patch shuffles the default ciphers from httpx to avoid a cipher profile
that is known to httpx (and blocked by DDG).
[1] https://github.com/searxng/searxng/issues/2246#issuecomment-1467895556
----
From `What Is TLS Fingerprint and How to Bypass It`_
> When implementing TLS fingerprinting, servers can't operate based on a
> locked-in whitelist database of fingerprints. New fingerprints appear
> when web clients or TLS libraries release new versions. So, they have to
> live off a blocklist database instead.
> ...
> It's safe to leave the first three as is but shuffle the remaining ciphers
> and you can bypass the TLS fingerprint check.
.. _What Is TLS Fingerprint and How to Bypass It:
https://www.zenrows.com/blog/what-is-tls-fingerprint#how-to-bypass-tls-fingerprinting
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Closes: https://github.com/searxng/searxng/issues/2246
2 years ago
Markus Heiser
677903c355
Merge pull request #2257 from Solirs/fix_bad_escape
...
re.escape() the query in highlight_content to prevent a server side error.
2 years ago
Solirs
fbb0e9d275
[fix] server side error: escape backslashes in the query highlight_content
...
Any backslash escapes in the replacement are processed [1], backslashes should
be escaped [2].
[1] https://docs.python.org/3/library/re.html#re.sub
[2] https://docs.python.org/3/library/re.html#re.escape
closes:
- https://github.com/searxng/searxng/issues/2256
- https://github.com/searxng/searxng/issues/2250
2 years ago
searxng-bot
86c3757872
[translations] update from Weblate
...
32926a19
- 2023-03-15 - return42 <markus.heiser@darmarit.de>
7aabc876
- 2023-03-16 - Linerly <linerly@protonmail.com>
c0ed00f5
- 2023-03-14 - SonoAX <giovanniilgiovo@gmail.com>
6cf287f6
- 2023-03-13 - RhysJones <proladrhys123@outlook.com>
8c4c5f83
- 2023-03-12 - Cavemanly <k.adel.2m@protonmail.com>
dffe61fa
- 2023-03-10 - return42 <markus.heiser@darmarit.de>
c7736cac
- 2023-03-10 - BalkanMadman <zurabid2016@gmail.com>
e831b8e3
- 2023-03-10 - BalkanMadman <zurabid2016@gmail.com>
ef3c60af
- 2023-03-10 - return42 <markus.heiser@darmarit.de>
c046a677
- 2023-03-07 - BalkanMadman <zurabid2016@gmail.com>
142041d6
- 2023-03-05 - return42 <markus.heiser@darmarit.de>
119b51df
- 2023-03-05 - return42 <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
3e9cddc606
rollback test
2 years ago
Alexandre Flament
41ed0ef0c7
test
2 years ago
Markus Heiser
097d092a7f
Merge pull request #2224 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Markus Heiser
85ef1af343
Merge pull request #2222 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
Markus Heiser
a7f1649190
[fix] remove duplicate key in simple theme ESLint configuration
...
Partial merge of [PR-1736]
[PR-1736] https://github.com/searxng/searxng/pull/1736
Suggested-by: @FunctionalHacker in [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
150a90c84e
[fix] fix threshold in replace_auto_language
...
[1] https://github.com/searxng/searxng/pull/2027#pullrequestreview-1322157677
[2] https://github.com/searxng/searxng/pull/1969#issuecomment-1345354529
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
1f36fc3a45
[translations] update from Weblate
...
0d8ebfe1
- 2023-03-02 - AHOHNMYC <lqwh2h2cwa@protonmail.com>
1358dd6d
- 2023-03-03 - mystery-z <07juwonc@kakao.com>
4d8c13db
- 2023-03-01 - lhostfree951 <freeehost9191@gmail.com>
1ae581b6
- 2023-02-28 - tygyh <jonis9898@hotmail.com>
0003698f
- 2023-02-28 - ewm <gnu.ewm@protonmail.com>
31c79617
- 2023-02-28 - gjveld <gjveld@gmail.com>
9015ec73
- 2023-02-28 - gallegonovato <fran-carro@hotmail.es>
03619a68
- 2023-02-25 - BalkanMadman <zurabid2016@gmail.com>
fa90585b
- 2023-02-25 - BalkanMadman <zurabid2016@gmail.com>
c902c5e5
- 2023-02-26 - tentsbet <remendne@pentrens.jp>
2 years ago
Alexandre Flament
714e83d5ea
Merge pull request #2220 from Solirs/gentoo_engine_timeout
...
Increase timeout for gentoo wiki engine
2 years ago
Alexandre Flament
1632f18631
Merge pull request #2227 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Alexandre Flament
5bbbb14b62
Merge pull request #2226 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
5042d94dea
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
e30a45812f
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
935415bfcf
Update searx.data - update_currencies.py
2 years ago
dalf
ccd00518fd
Update searx.data - update_firefox_version.py
2 years ago
dalf
d7f10909fa
Update searx.data - update_wikidata_units.py
2 years ago
Solirs
35fbb3578b
Increase timeout for gentoo wiki engine
2 years ago
Alexandre Flament
d669da81fb
Merge pull request #2027 from dalf/fix_2018
...
Add "auto" as a language.
2 years ago
searxng-bot
297e463e49
[translations] update from Weblate
...
8ff0fa33
- 2023-02-19 - return42 <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
0b1444b61e
[doc] improved docs of implementations for automatic speech recognition
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
363203c579
Merge pull request #2201 from return42/fix-2190
...
[doc] slight improvements to the doc of the settings (base_url)
2 years ago
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.
2 years ago
Markus Heiser
bb83036f48
[fix] typo in searx/plugins/tor_check.py
...
Related: https://github.com/searxng/searxng/pull/2189
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
5820dc78ce
[doc] slight improvements to the doc of the settings (base_url)
...
Closes: https://github.com/searxng/searxng/issues/2190
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
52f6bc745b
Merge pull request #2188 from ahmad-alkadri/fix/petalsearch
...
Fix the petalsearch engine
2 years ago
Markus Heiser
ba5b6c382f
Merge pull request #2192 from return42/fix-tineye
...
[mod] disbale engine tineye by default
2 years ago
Ahmad Alkadri
f6af59899b
Fix petalsearch and remove petalsearch news
2 years ago
Allan Nordhøy
2be373a18f
[fix] spelling: Tor, SearXNG
2 years ago
Markus Heiser
7d446dfdb2
[mod] disbale engine tineye by default
...
Tineye becomes active as soon as a https:// signature is found in the search
term, but most of the time a reverse image search is not requested when a URL is
specified, often the URL is just from a C&P.
The frequent requests to tineye lead in the end to the SearXNG instance being
blocked by tineye and the user seeing unexpected error messages.
BTW: many maintainers have disabled this engine in their local SearXNG settings.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
3abff182ea
[fix] remove engine neeva from settings.yml
...
Engine is broken and can't by used any longer as a simple XPath engine.
@allendema tested a engines/neeva.py version using json from the dom, but
without luck: There was some kind of captcha for pagination.
[1] https://github.com/searxng/searxng/issues/2007#issuecomment-1426061698
Closes: https://github.com/searxng/searxng/issues/2007
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Lea
a530ac4099
fix: typo in suggestions
2 years ago
Markus Heiser
415f6398d6
[fix] time_range in HTML form should not be a string 'None'
...
Before this patch SearXNG returns 'time_range': 'None'::
<form method="GET" action="/searx/search">
...
<input type="hidden" name="time_range" value="None">
...
</form>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
wibyweb
6707354bc8
[mod] engine wiby: add pagination
...
Suggested by: @wibyweb in searx https://github.com/searx/searx/pull/3465
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
4c06837a50
[mod] make python code pylint 2.16.1 compliant
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
7320b0c796
Merge pull request #2130 from searxng/translations_update
...
Update translations
2 years ago
dependabot[bot]
a5a73d77b3
Bump grunt from 1.5.3 to 1.6.1 in /searx/static/themes/simple
...
Bumps [grunt](https://github.com/gruntjs/grunt ) from 1.5.3 to 1.6.1.
- [Release notes](https://github.com/gruntjs/grunt/releases )
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt/compare/v1.5.3...v1.6.1 )
---
updated-dependencies:
- dependency-name: grunt
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Markus Heiser
257dc7d6c4
[fix-2146] set different HTTP Referer header to DuckDuckGo requests
...
For what ever reasons, ddg-lite don't like the Referer
https://lite.duckduckgo.com/
In an interactive session in the WEB browser the the Reverer has exactly this
value, but ddg-lite don't like this value when the request is build up by
SearXNG. The new value is:
https://google.com/
What fakes a user comes from a google link.
Related: https://github.com/searxng/searxng/pull/2081
Closes: https://github.com/searxng/searxng/issues/2146
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
8db35f8e9c
[translations] update from Weblate
...
009d48c2
- 2023-02-01 - tygyh <jonis9898@hotmail.com>
a5353bad
- 2023-02-01 - Mooo <moose@mail.ru>
1617f458
- 2023-01-28 - emirhan <xemirhankoc@gmail.com>
79bc60f4
- 2023-01-29 - ewm <gnu.ewm@protonmail.com>
2 years ago
Alexandre Flament
9d102fb08f
Merge pull request #2132 from dalf/update_pr_1967
...
search.suspended_time settings: bug fixes
2 years ago
Markus Heiser
feccee01c0
[doc] Add doc-strings to searx.exceptions
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
4f808088f1
Merge pull request #2139 from dalf/fix_update_languages
...
Fix update languages
2 years ago
Markus Heiser
d989c9429f
Merge pull request #2134 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
Markus Heiser
5c2667b956
Merge pull request #2135 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
e6a17f2fae
Merge pull request #2136 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
c4cbf8829a
Merge pull request #2137 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Alexandre Flament
bfca63c536
wikipedia engine: update _fetch_supported_languages
...
the layout https://meta.wikimedia.org/wiki/List_of_Wikipedias has changed
2 years ago
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
2 years ago
dalf
f900e33092
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
dafe026815
Update searx.data - update_currencies.py
2 years ago
dalf
47435be70b
Update searx.data - update_firefox_version.py
2 years ago
dalf
53a4a90d0c
Update searx.data - update_wikidata_units.py
2 years ago
dalf
9dd95457a9
Update searx.data - update_ahmia_blacklist.py
2 years ago
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
2 years ago
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
2 years ago
mrpaulblack
b3883dc395
[build] /static
2 years ago
mrpaulblack
8ead23347f
[fix] use input elements for pagination requests
...
* use html input elements instead of buttons for the pagination forms at the bottom of the result page
* move the less section that hides the pagination number widget on mobile to the mobile section
* clean up the less code for styling the numbers of the pagination widget
* fix: add the margin for box results (like in news category) to the bottom of the result to have a margin between pagination widget and article result
2 years ago
llmII
d2b2300ee1
Feature: Pagination Widget with list of numbers.
...
Adds to the navigation widget, preserving forward/backward nav, and
inserting a list of clickable page numbers between them.
Phone sized devices continue without this widget as deterministic
display under small screen sizes has not been solved.
The widget is agnostic to the actual amount of pages there are that one
can navigate to and as such shows all plausible, albeit not necessarilly
valid, possibilities.
This widget does not interfere with infinite scroll in any fashion.
2 years ago
Alexandre Flament
06b5068a2e
SearXNG version: YYYY.MM.DD without leading zero
2 years ago
Alexandre Flament
a9d6f7532a
weblate: migration to https://translate.codeberg.org/
2 years ago
searxng-bot
6e4c8b3516
[translations] update from Weblate
2 years ago
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
2 years ago
dependabot[bot]
70fff2ebf1
Bump flask-babel from 2.0.0 to 3.0.0
...
Bumps [flask-babel](https://github.com/python-babel/flask-babel ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/python-babel/flask-babel/releases )
- [Changelog](https://github.com/python-babel/flask-babel/blob/master/CHANGELOG )
- [Commits](https://github.com/python-babel/flask-babel/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: flask-babel
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Alexandre Flament
0515f2974b
Version number follows PEP440 : replace - by +
...
Close #2111
2 years ago
Alexandre Flament
6d72ef3cbe
Merge pull request #2109 from ahmad-alkadri/fix/highlight-full-word
...
Standalone words highlighting for query result in non-CJK characters
2 years ago
Alexandre Flament
13b0c251c4
Merge pull request #2100 from nexryai/master
...
Add goo engine
2 years ago
ahmad-alkadri
99b5272d9a
A little fix and modified the testing for content highlight
2 years ago
Léon Tiekötter
0cedb1c6d8
Add search.suspended_times settings
...
Make suspended_time changeable in settings.yml
Allow different values to be set for different exceptions.
Co-authored-by: Alexandre Flament <alex@al-f.net>
2 years ago
ahmad-alkadri
6c421110b5
Perso branch - added cjk check and enclosement
2 years ago
searxng-bot
3e5ea08504
[translations] update from Weblate
...
6a57ee0b
- 2023-01-11 - Markus Heiser <markus.heiser@darmarit.de>
b180a810
- 2023-01-06 - Nik Drešar <nik.dresar@gmail.com>
8710174a
- 2023-01-11 - Markus Heiser <markus.heiser@darmarit.de>
529a2591
- 2023-01-08 - Markus Heiser <markus.heiser@darmarit.de>
a254bd01
- 2023-01-08 - Markus Heiser <markus.heiser@darmarit.de>
860c3fce
- 2023-01-11 - Markus Heiser <markus.heiser@darmarit.de>
c140fb52
- 2023-01-06 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
nexryai
4e7bb1bf9a
Add goo engine
2 years ago
Ahmad Alkadri
7fc8d72889
[fix] bing: parsing result; check to see if the element contains links
...
This patch is to hardening the parsing of the bing response:
1. To fix [2087] check if the selected result item contains a link, otherwise
skip result item and continue in the result loop. Increment the result
pointer when a result has been added / the enumerate that counts for skipped
items is no longer valid when result items are skipped.
To test the bugfix use: ``!bi :all cerbot``
2. Limit the XPath selection of result items to direct children nodes (list
items ``li``) of the ordered list (``ol``).
To test the selector use: ``!bi :en pontiac aztek wiki``
.. in the result list you should find the wikipedia entry on top,
compare [2068]
[2087] https://github.com/searxng/searxng/issues/2087
[2068] https://github.com/searxng/searxng/issues/2068
2 years ago
Milad-Laly
cf4db4be37
[fix] Mojeek Xpath showing suggestions and searches + add lang support
2 years ago
Markus Heiser
54e63839db
Merge pull request #2088 from llmII/fix-suggestions
...
Fix #2083
2 years ago
Markus Heiser
9d6b048fba
[build] /static
2 years ago
llmII
33d97fd01a
Fix #2083
...
This changes the Suggestions to be a single column, not a wrapping row,
changing the input to be incapable of overflowing into visually adjacent
elements.
2 years ago
allixx
1407a055b2
[simple theme] set tab index for search page input field #1891
...
Previously it took five tab keypresses to reach search input field
on search results page. Now one tab press is enough.
2 years ago
ahmad-alkadri
9ee99423fe
[fix] Bing-Web engine: XPath to get the wikipedia result
...
Modify the XPath selector to get the wikipedia result plus small fixes.
About result content: especially with the Wikipedia result, we'd get several
paragraph elements, only the first paragraph would be taken and displayed on the
search result
2 years ago
Markus Heiser
4e355564d2
Merge pull request #1903 from LalleSX/patch-1
...
Added info about adding the enginge to the brownser
2 years ago
PrivateLalle
212acf7f7b
[mod] about page: add information about adding enginge to the brownser
2 years ago
Markus Heiser
4cd3be8964
[fix] indentation and line size of the the markdown files
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
b2a80347e3
[build] /static
2 years ago
ahmad-alkadri
db70c262c3
Add flex-wrap to the list of engines
2 years ago
Rudis Muiznieks
128b8c7f0a
Add HTTP Referer header to DuckDuckGo requests
...
closes #2080
2 years ago
Markus Heiser
b241015e93
Merge pull request #2078 from searxng/dependabot/pip/master/pygments-2.14.0
...
Bump pygments from 2.13.0 to 2.14.0
2 years ago
Markus Heiser
e9a7a6aea6
[build] /static
2 years ago
searxng-bot
2420ab6fc3
[translations] update from Weblate
...
b1c60c5b
- 2022-12-30 - wldkwl <gayisurdad@hotmail.com>
89133548
- 2023-01-05 - Linerly <linerly@protonmail.com>
4398061a
- 2023-01-02 - Markus Heiser <markus.heiser@darmarit.de>
9857916a
- 2023-01-04 - p6n7l <nichita@tutanota.com>
0ba50078
- 2023-01-04 - Markus Heiser <markus.heiser@darmarit.de>
0189e648
- 2023-01-02 - Markus Heiser <markus.heiser@darmarit.de>
24ded833
- 2023-01-01 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
38c22c8c31
[translations] update from Weblate
...
ea56f7b6
- 2022-12-26 - Sean Botha <seanbotha@gmail.com>
0dbbb031
- 2022-12-23 - gkkulik <gregorykkulik@gmail.com>
81f33cb7
- 2022-12-28 - Markus Heiser <markus.heiser@darmarit.de>
5ff82460
- 2022-12-28 - peterT1D <kozlovic.peter@gmail.com>
0ea6d8c3
- 2022-12-28 - Markus Heiser <markus.heiser@darmarit.de>
b19bb597
- 2022-12-28 - Markus Heiser <markus.heiser@darmarit.de>
904fa9ab
- 2022-12-24 - Markus Heiser <markus.heiser@darmarit.de>
e7c7d624
- 2022-12-29 - Droid <droidpy587@gmail.com>
2 years ago
dalf
0639769274
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
174e6851b3
Merge pull request #2054 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Markus Heiser
d531f89316
Merge pull request #2057 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Markus Heiser
76cd808a49
Merge pull request #2053 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
000734cb93
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
36eea5b7cc
Update searx.data - update_currencies.py
2 years ago
dalf
66780efda7
Update searx.data - update_wikidata_units.py
2 years ago
dalf
de793fb71e
Update searx.data - update_ahmia_blacklist.py
2 years ago
Alexandre Flament
0d4896170f
Merge pull request #2047 from dalf/fasttext-predict
...
Use fasttext-predict instead of fasttext(-wheel)
2 years ago
Alexandre Flament
f3515041af
Lazy load fasttext-predict
2 years ago
searxng-bot
dd125321e4
[translations] update from Weblate
...
7f3e72fd
- 2022-12-20 - Grey <elohim@gmail.com>
5d48e556
- 2022-12-21 - Markus Heiser <markus.heiser@darmarit.de>
56e67eb0
- 2022-12-19 - zDylant <dylantfcs@gmail.com>
28e1abe1
- 2022-12-21 - Markus Heiser <markus.heiser@darmarit.de>
b19d55f7
- 2022-12-17 - YaoSiQian <2229561981@qq.com>
274f7ee9
- 2022-12-17 - Markus Heiser <markus.heiser@darmarit.de>
ab00649b
- 2022-12-16 - tents <remendne@pentrens.jp>
2 years ago
Rudis Muiznieks
6804ff048d
Fix: add trailing slash to duckduckgo url
...
Close #1854
2 years ago
ArtikusHG
735e388cec
Merge branch 'master' into fasttext
2 years ago
ArtikusHG
1f8f8c1e91
Replace langdetect with fasttext
2 years ago
Alexandre Flament
2a51c85672
Merge pull request #1974 from fehho/query-string-deserial
...
[fix] Deserialize preferences which are explicitly blank strings
2 years ago
searxng-bot
03ce848e04
[translations] update from Weblate
...
4cf39dae
- 2022-12-14 - Markus Heiser <markus.heiser@darmarit.de>
f67457cf
- 2022-12-12 - Linerly <linerly@protonmail.com>
dee211c2
- 2022-12-12 - JohnyPeaN <johnypean@gmail.com>
9eeb4290
- 2022-12-12 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
9e9f57e48b
Merge pull request #1954 from dalf/fix.redis.init.2
...
[fix] follow up of PR-1856
2 years ago
Markus Heiser
ed901ab18e
[mod] improve 'Autodetect search language' plugin
...
- Add documentation to the plugin
- Harmonize FastText language model with SearXNG's language model
Reosurces::
import fasttext # --> +10 MB
fasttext.load_model(str(data_dir / 'lid.176.ftz')) # --> +4MB
Suggested-by: @dalf
- To speed up and simplify the deployment use fasttext-wheel instead of fasttext
- Building numpy on the Alpine Linux of docker-images takes ages --> install
py3-numpy from Alpines package manager (apk)
- Alpine Linux on docker-images (musl libc) do not support fasttext-wheel (gnu
libc) --> patch Dockerfile and build from fastetxt:
sed -i s/fasttext-wheel/fasttext/ requirements.txt
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ArtikusHG
9925a20950
[mod] new plugin: Autodetect search language
2 years ago
Alexandre Flament
b971167ced
move searx.shared.redisdb to searx.redisdb
2 years ago
Alexandre Flament
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>
2 years ago
searxng-bot
759d53c892
[translations] update from Weblate
...
1b4600d0
- 2022-12-08 - JohnyPeaN <johnypean@gmail.com>
e3b49827
- 2022-12-04 - Markus Heiser <markus.heiser@darmarit.de>
975217cf
- 2022-12-02 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
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
2 years ago
searxng-bot
f40d1c0004
[translations] update from Weblate
...
cc5cf5d8
- 2022-11-30 - Chathura madusanka <mcchathuer216@gmail.com>
97776fbf
- 2022-11-29 - Markus Heiser <markus.heiser@darmarit.de>
c3c9f988
- 2022-11-29 - Markus Heiser <markus.heiser@darmarit.de>
a1cf339e
- 2022-11-29 - Markus Heiser <markus.heiser@darmarit.de>
4429167c
- 2022-11-25 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Ryan Kaskel
e19218c6a9
Copy client connection kwargs before mutating
2 years ago
Markus Heiser
a8359dd4d3
Merge pull request #1981 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
1b2f1c17f6
Merge pull request #1982 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
Markus Heiser
3579a38a2d
Merge pull request #1983 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Markus Heiser
82af2f4460
Merge pull request #1984 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
a508cdbd4b
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
c4512cf64d
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
b0b45fd2d0
Update searx.data - update_currencies.py
2 years ago
dalf
a9be73b4da
Update searx.data - update_wikidata_units.py
2 years ago
dalf
9fc72419e1
Update searx.data - update_firefox_version.py
2 years ago
searxng-bot
981a2c9626
[translations] update from Weblate
...
c13727fc
- 2022-11-21 - MSI Shafik <shafik.te@gmail.com>
21f638f6
- 2022-11-19 - Markus Heiser <markus.heiser@darmarit.de>
b8ed9e1c
- 2022-11-24 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
fehho
7cab51f98f
Deserialize explicitly blank strings
...
Default behavior of urllib.parse_qs is to discard blank values, causing a preference of none to be deserialized as undefined, using the instance default rather than the selected preference.
2 years ago
searxng-bot
9d06115d07
[translations] update from Weblate
...
7569f266
- 2022-11-18 - Markus Heiser <markus.heiser@darmarit.de>
6418da9a
- 2022-11-18 - mikni <mikni@proton.me>
acc0dc1a
- 2022-11-18 - Markus Heiser <markus.heiser@darmarit.de>
6c2beba6
- 2022-11-19 - Alexandre Flament <alex@al-f.net>
b49457e3
- 2022-11-18 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
7a39952558
[translations] update from Weblate
...
f123be21
- 2022-11-13 - Markus Heiser <markus.heiser@darmarit.de>
fa2cfa8f
- 2022-11-13 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Émilien Devos
46ad32343a
Switch back to protobuf for raw HTML
2 years ago
ngosang
78be4b4c70
Fix Google search engine.
...
- Fix broken links. Resolves #1794
- Fix missing results. Resolves #1829
2 years ago
Ryan Draga
408200c87e
[fix] disabling zlibrary due to z-lib.org domain seizure
2 years ago
Markus Heiser
ee4475ff4b
Merge pull request #1934 from dalf/fix_user_agent
...
User agent: don't include the patch number in the Firefox version
2 years ago
Alexandre FLAMENT
73b5a58d9e
[FIX] Redis initialization
...
redis.Redis.from_url(url) doesn't check if the url is valid
Before this commit: actual error are detected later when the client is actually used.
With this commit, client() makes sure to return a valid Redis client or None.
Also, the code makes sure not to log the password of the Redis URL
2 years ago
Alexandre Flament
8f19bdaf17
Merge pull request #1882 from fehho/metacpan
...
Add MetaCPAN engine
2 years ago
fehho
fe351c2802
Add MetaCPAN engine
2 years ago
Evhorizon
1517724615
Update network.py
2 years ago
Alexandre Flament
2dc5c0e1d6
Merge pull request #1928 from searxng/translations_update
...
Update translations
2 years ago
Alexandre Flament
4fe5463671
Merge pull request #1869 from vgerak/1836-ddg-weather
...
Fix floating point format in DDG weather humidity
2 years ago
Alexandre FLAMENT
d8dee21277
searx.locale: add Dhivehi language
2 years ago
Alexandre FLAMENT
20d951fc5c
searx.locales: improve support for languages not supported by babel
...
* refactor get_translations() to rely on ADDITIONAL_TRANSLATIONS and LOCALE_BEST_MATCH
* update RTL_LOCALES for languages in ADDITIONAL_TRANSLATIONS
2 years ago
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
2 years ago
Alexandre FLAMENT
e92755d358
Initialize Redis in searx/webapp.py
...
settings.yml:
* The default URL was unix:///usr/local/searxng-redis/run/redis.sock?db=0
* The default URL is now "false"
The default URL makes the log difficult to deal with:
if the admin didn't install a Redis instance, the logs record a false error.
It worked before because SearXNG initialized the Redis connection when the limiter started.
In this commit, SearXNG initializes Redis in searx/webapp.py
so various components can use Redis without taking care of the initialization step.
2 years ago
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.
2 years ago
searxng-bot
7438e48d13
[translations] update from Weblate
...
41ebf8e7
- 2022-10-31 - Landhoo School Students <landhooschoolstudents@gmail.com>
1de65e6a
- 2022-10-29 - Markus Heiser <markus.heiser@darmarit.de>
fff11c22
- 2022-10-30 - Markus Heiser <markus.heiser@darmarit.de>
f677049f
- 2022-10-30 - Markus Heiser <markus.heiser@darmarit.de>
ebf69b4a
- 2022-10-30 - Markus Heiser <markus.heiser@darmarit.de>
a21b6221
- 2022-11-02 - Markus Heiser <markus.heiser@darmarit.de>
ac384800
- 2022-11-03 - ptomljanovic <phill2605@gmail.com>
c4736fd4
- 2022-11-03 - alexfs2015 <alex04fs@gmail.com>
1b967129
- 2022-10-31 - Landhoo School Students <landhooschoolstudents@gmail.com>
2 years ago
Markus Heiser
fc9986de0a
Merge pull request #1905 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
3f1d594c23
Merge pull request #1906 from searxng/update_data_update_external_bangs.py
...
Update searx.data - update_external_bangs.py
2 years ago
Markus Heiser
a9deead102
Merge pull request #1907 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
d49ccb54ea
Merge pull request #1908 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
Markus Heiser
fa59ff9b78
Merge pull request #1909 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
dalf
e70589c598
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
985a2a87a6
Update searx.data - update_currencies.py
2 years ago
dalf
c0ecc2f865
Update searx.data - update_wikidata_units.py
2 years ago
dalf
c24abc2f8c
Update searx.data - update_firefox_version.py
2 years ago
dalf
f0c7898445
Update searx.data - update_external_bangs.py
2 years ago
dalf
799c5270ae
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
5a181ea1f5
Merge pull request #1901 from searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/svgo-3.0.0
...
Bump svgo from 2.8.0 to 3.0.0 in /searx/static/themes/simple
2 years ago
Markus Heiser
d913f0d8aa
[build] /static
2 years ago
searxng-bot
bc3db6fd16
[translations] update from Weblate
...
bf52cdbc
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
fbb36c76
- 2022-10-22 - forvirretfrukt <lillelilli87@gmail.com>
18cc8a36
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
7314d2b6
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
b25147b9
- 2022-10-27 - Markus Heiser <markus.heiser@darmarit.de>
d39ade65
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
cb835cdc
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
563f4e0b
- 2022-10-26 - Markus Heiser <markus.heiser@darmarit.de>
a698a2e9
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
df5ce281
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
55b369a3
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
3eddf243
- 2022-10-24 - zaioti <zaioti@tuta.io>
edd3871d
- 2022-10-24 - zaioti <zaioti@tuta.io>
5aab9f7b
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
0b2cfe68
- 2022-10-22 - tents <remendne@pentrens.jp>
732b7865
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
d652c20f
- 2022-10-22 - Markus Heiser <markus.heiser@darmarit.de>
0bcaaa8d
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
6fd87821
- 2022-10-26 - Markus Heiser <markus.heiser@darmarit.de>
618f213c
- 2022-10-21 - Masterix <masterix@duck.com>
30d38ee9
- 2022-10-24 - Markus Heiser <markus.heiser@darmarit.de>
a934ce3b
- 2022-10-23 - Markus Heiser <markus.heiser@darmarit.de>
b696c22e
- 2022-10-23 - Markus Heiser <markus.heiser@darmarit.de>
6ee1efe2
- 2022-10-23 - Jeewaka Fernando <Jeewakaphotography@gmail.com>
2 years ago
dependabot[bot]
3cade9a7eb
Bump svgo from 2.8.0 to 3.0.0 in /searx/static/themes/simple
...
Bumps [svgo](https://github.com/svg/svgo ) from 2.8.0 to 3.0.0.
- [Release notes](https://github.com/svg/svgo/releases )
- [Changelog](https://github.com/svg/svgo/blob/main/CHANGELOG-old.md )
- [Commits](https://github.com/svg/svgo/compare/v2.8.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: svgo
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
searxng-bot
18ba8628dd
[translations] update from Weblate
...
c7fddee3
- 2022-10-15 - Linerly <linerly@protonmail.com>
f559a626
- 2022-10-17 - Markus Heiser <markus.heiser@darmarit.de>
fe7af662
- 2022-10-17 - Mateusz Bączek <mateusz.baczek1998@gmail.com>
8a7c3da9
- 2022-10-16 - Peter Martin <weblate@pe7er.com>
a84dad5c
- 2022-10-16 - Franco Longo <longofrancoale@gmail.com>
9ee1ac8b
- 2022-10-20 - prljav <marin.ruskica@gmail.com>
b91bedc4
- 2022-10-16 - Peter Martin <weblate@pe7er.com>
dff99ef4
- 2022-10-16 - Peter Martin <weblate@pe7er.com>
cd639f6c
- 2022-10-17 - Markus Heiser <markus.heiser@darmarit.de>
49507a60
- 2022-10-14 - Markus Heiser <markus.heiser@darmarit.de>
ad305582
- 2022-10-16 - Peter Martin <weblate@pe7er.com>
19e97075
- 2022-10-17 - Markus Heiser <markus.heiser@darmarit.de>
97581f70
- 2022-10-14 - Markus Heiser <markus.heiser@darmarit.de>
fcd52cea
- 2022-10-14 - Alexandre Flament <alex@al-f.net>
2 years ago
Vasilis Gerakaris
947b62c9d5
Fix floating point format in DDG weather humidity
...
Fixes #1836
2 years ago
Alexandre FLAMENT
035bc507ec
[fix] startpage engine
2 years ago
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
2 years ago
searxng-bot
6e86f33342
[translations] update from Weblate
...
eee3d5e2
- 2022-10-12 - Markus Heiser <markus.heiser@darmarit.de>
c4eb9818
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
27423f5b
- 2022-10-12 - Markus Heiser <markus.heiser@darmarit.de>
9e8b7f86
- 2022-10-11 - No4vick <MineBor1@yandex.ru>
1203aa6a
- 2022-10-11 - KEINOS <github@keinos.com>
22c78af5
- 2022-10-12 - Markus Heiser <markus.heiser@darmarit.de>
6a4776f8
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
c00bdc7d
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
e5a39537
- 2022-10-09 - Kayra Uylar <k.uylar@outlook.com>
e3fad460
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
da5f0bc3
- 2022-10-11 - Surepusofu Arutemu <crexlight@gmail.com>
5704a98b
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
f3ef3ebb
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
620636c1
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
767b3bb2
- 2022-10-08 - KEINOS <github@keinos.com>
60d38c87
- 2022-10-11 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
23d797ee6f
Update searx.data - update_osm_keys_tags.py
...
Patch was generated by::
./manage pyenv.cmd searxng_extra/update/update_osm_keys_tags.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
325eadfd04
[translations] update from Weblate
...
70909b19
- 2022-10-04 - Yan Lyra <yanlyra3@gmail.com>
acf1f0aa
- 2022-10-03 - George Kashkosh <kash.george@gmail.com>
94ce447f
- 2022-10-01 - Zaid Aiman <zaidaiman@gmail.com>
59959050
- 2022-09-30 - tjvfxtiwdr <tjvfxtiwdr@daimashili.com>
e27a5c79
- 2022-09-30 - a <a@daimashili.com>
2c05470f
- 2022-09-30 - tjvfxtiwdr <tjvfxtiwdr@daimashili.com>
53644516
- 2022-10-01 - random <thrizem+wnd43@gmail.com>
2 years ago
Mohamed Elashri
8d5653e60d
Merge branch 'searxng:master' into master
2 years ago
searxng-bot
4fea4acea1
[translations] update from Weblate
...
fbac3535
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
cf5d71b7
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
6dc351bd
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
42daf1f8
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
f5fb629f
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
4e5f2c79
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
5131835f
- 2022-09-28 - Robert Bridda <briddarobert@icloud.com>
02055902
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
716bd1d7
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
768c8e43
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
e8ad24c1
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
a88c5f91
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
fc70c33a
- 2022-09-28 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
a7d693231c
Merge pull request #1819 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Alexandre Flament
f3d25f9cef
Merge pull request #1821 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Alexandre Flament
5060732486
Merge pull request #1818 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
Alexandre Flament
520a873ab4
Merge pull request #1820 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
dalf
9cb792c0d6
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
2d429ebd75
Update searx.data - update_wikidata_units.py
2 years ago
dalf
8fc3940448
Update searx.data - update_currencies.py
2 years ago
dalf
b7f4a3a207
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
3153f0a795
Update searx.data - update_firefox_version.py
2 years ago
Alexandre Flament
a3148e5115
Merge pull request #1814 from return42/fix-typos
...
[fix] typos / reported by @kianmeng in searx PR-3366
2 years ago
Alexandre Flament
0e00af9c26
Merge pull request #1810 from return42/fix-1809
...
[fix] springer: unsupported operand type(s) for +: 'NoneType' and 'str'
2 years ago
Markus Heiser
ba8959ad7c
[fix] typos / reported by @kianmeng in searx PR-3366
...
[PR-3366] https://github.com/searx/searx/pull/3366
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Mohamed Elashri
212c98c9f5
Merge branch 'searxng:master' into master
2 years ago
Markus Heiser
52023e3d6e
[fix] doc of the paper.html template (isbn, issn)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
0052887929
[fix] springer: unsupported operand type(s) for +: 'NoneType' and 'str'
...
- fix issue reported #1809
- filter out `None` value from issn and isbn list
- add comments (from publicationName)
- add publisher
Closes: https://github.com/searxng/searxng/issues/1809
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Mohamed Elashri
5832c70680
correct sci-hub links/ add `.ru` and remove other 3rd party domains.
2 years ago
Markus Heiser
e36b023508
[mod] core.ac.uk: add cetgory 'scientific publications'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
b424ee255e
[mod] paper.html: simplify template by using result_link macro
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
bfd6f61849
Merge pull request #1804 from return42/fix-core.ac.uk
...
core.ac.uk: use paper.html template
2 years ago
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
2 years ago
Markus Heiser
3198c906af
[mod] paper.html: add links to doi resolver
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
c76830d8a8
[mod] core.ac.uk: use paper.html template
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
3ff2ad939d
[fix] ERROR searx.engines.core.ac.uk: list index out of range
...
Some result items from core.ac.uk do not have an URL::
Traceback (most recent call last):
File "searx/search/processors/online.py", line 154, in search
search_results = self._search_basic(query, params)
File "searx/search/processors/online.py", line 142, in _search_basic
return self.engine.response(response)
File "SearXNG/searx/engines/core.py", line 73, in response
'url': source['urls'][0].replace('http://', 'https://', 1),
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
caebafdd06
[fix] typo in crossref settings: disable --> disabled
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
d6446be38f
[mod] science category: various update of about PR 1705
2 years ago
Alexandre FLAMENT
fe43b6e821
[build] /static
2 years ago
Alexandre FLAMENT
e36f85b836
Science category: update the engines
...
* use the paper.html template
* fetch more data from the engines
* add crossref.py
2 years ago
Alexandre FLAMENT
593026ad9c
oa_doi_rewrite: add the doi to the result when it is found.
...
Currentty, when oa_doi_rewrite find a DOI in the result URL, it replace the URL.
In this commit, the plugin adds the key "doi" to the result,
so the paper.html can show it.
2 years ago
Alexandre FLAMENT
5ba831d6a8
Add paper.html result template
2 years ago
Alexandre FLAMENT
a96f503d7b
Add searx.webutils.searxng_format_date
...
* Move the datetime to str code from searx.webapp.search to searx.webutils.searxng_format_date
* When the month, day, hour, day and second are zero, the function returns only the year.
2 years ago
Alexandre Flament
bef3984d03
Merge pull request #1728 from liimee/eng-ddw
...
add duckduckgo weather engine
2 years ago
Alexandre Flament
d3fec1388c
Merge pull request #1624 from liimee/eng-wttr
...
Add wttr.in engine
2 years ago
searxng-bot
ab6e1542ff
[translations] update from Weblate
...
55133802
- 2022-09-21 - Linerly <linerly@protonmail.com>
b9309bdf
- 2022-09-22 - Xosé M <correo@xmgz.eu>
6da8db13
- 2022-09-21 - Constantine Giannopoulos <K.Giannopoulos@acg.edu>
c1edbd89
- 2022-09-21 - Markus Heiser <markus.heiser@darmarit.de>
9795e5fe
- 2022-09-22 - alexfs2015 <alex04fs@gmail.com>
2 years ago
Alexandre Flament
1a7b6872b5
Merge pull request #1792 from unixfox/google-images-internal-api
...
use the internal API for google images
2 years ago
Markus Heiser
cf7ee67f71
[mod] google-images: slightly improvements of the engine
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
8b40e68c56
[fix] wording: SearXNG is 'open' and not 'hackable'
...
The word "hackable" may arouse interest in programmers to participate in the
development, but it scares the ordinary user.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Emilien Devos
df5f8d0e8e
use the internal API for google images
2 years ago
Markus Heiser
dcf1d408a5
[fix] google-news: origin result does not have a content area
...
The google news are in a rework, the content area of a news item has been
removed.
Closes: https://github.com/searxng/searxng/issues/1790
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre FLAMENT
33b43763b9
Brave engine: fix BrotliDecoderDecompressStream error
2 years ago
Markus Heiser
fbf07237ff
[fix] and improve docs generated from source code.
...
Fix::
searx/locales.py:docstring of searx.locales.get_engine_locale:17: \
WARNING: Definition list ends without a blank line; unexpected unindent.
Improvement: don't show default values in the generated documentation whe it is
more a mess than a usefull information (`:meta hide-value:`).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
b3708e4137
Merge pull request #1757 from LencoDigitexer/master
...
add yandex autocomplete
2 years ago
LencoDigitexer
bc28091557
remove the print statement
2 years ago
searxng-bot
2ee8e5eff2
[translations] update from Weblate
...
570c4f7d
- 2022-09-15 - Fero Novák <itzwowsmile@gmail.com>
0ef09ea1
- 2022-09-15 - dogyx <aaronloit@tuta.io>
03f97e22
- 2022-09-09 - beriain <soila@disroot.org>
caddaedc
- 2022-09-10 - Markus Heiser <markus.heiser@darmarit.de>
addfb0c2
- 2022-09-09 - NxOne14 <kiril2315@gmail.com>
2872e3a6
- 2022-09-11 - Markus Heiser <markus.heiser@darmarit.de>
d2835b09
- 2022-09-11 - Sadith Nadungoda <sadithnadungoda@gmail.com>
2 years ago
LencoDigitexer
3f72a79088
add yandex to autocomplete backends settings
2 years ago
LencoDigitexer
7b8d6015e3
add yandex autocompleter
2 years ago
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
2 years ago
searxng-bot
bf8ea2020f
[translations] update from Weblate
2 years ago
dependabot[bot]
cbf65e8292
Bump sharp from 0.30.7 to 0.31.0 in /searx/static/themes/simple
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.30.7 to 0.31.0.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.30.7...v0.31.0 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Alexandre Flament
691c0ed6b9
Merge pull request #1743 from dalf/update_about_metrics
...
Update about the metrics
2 years ago
Markus Heiser
ad8ffd222c
[mod] option 'ui: cache_url:' to configure internet cache or archive
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre FLAMENT
dd0887be18
xpath engine: change raise_for_httperror to no_result_for_http_status
...
no_result_for_http_status contains a list of HTTP status.
These HTTP status are seen an empty result list.
In other cases an exception is thrown as usual.
Previously raise_for_httperror were ignoring all HTTP error,
which make defective engines invisible in the stats.
2 years ago
Markus Heiser
a15dfa5ee1
[fix] engine woxikon.de - don't raise exception on empty result list
...
Woxikon expects a word in German, so with query "foo" the site finds nothing and
respons a 404:
httpx.HTTPStatusError: Client error '404 Not Found' \
for url 'https://synonyme.woxikon.de/synonyme/foo.php '
[1] https://github.com/searxng/searxng/issues/1543#issuecomment-1193317054
Closes: https://github.com/searxng/searxng/issues/1543
Suggested-by: @allendema [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
8e9fb0b435
Merge pull request #1647 from return42/deepl-engine
...
[mod] add deepl translation engine
2 years ago
Alexandre FLAMENT
66f72a006f
template: when enable_metrics are disabled, hide the empty stats
...
when metrics are disabled:
* hide the link to /stats at the bottom of the pages
* in /preferences, hide the columns "Response time" and "Reliability"
2 years ago
Alexandre FLAMENT
94a28ebe53
Stats: display only the score per result, no anymore the score
2 years ago
searxng-bot
9e84cf31a4
[translations] update from Weblate
...
9b3635db
- 2022-08-31 - Andrij Mizyk <andmizyk@gmail.com>
875cbf38
- 2022-09-01 - Markus Heiser <markus.heiser@darmarit.de>
7b3b12a0
- 2022-08-31 - SecularSteve <fairfull.playing@gmail.com>
e60b4544
- 2022-08-28 - Markus Heiser <markus.heiser@darmarit.de>
dc9c17a4
- 2022-08-31 - SecularSteve <fairfull.playing@gmail.com>
7307cf31
- 2022-08-31 - SecularSteve <fairfull.playing@gmail.com>
ae642e6f
- 2022-09-01 - Xosé M <correo@xmgz.eu>
8db6b9c9
- 2022-08-28 - Markus Heiser <markus.heiser@darmarit.de>
d74ef692
- 2022-08-31 - SecularSteve <fairfull.playing@gmail.com>
3ddf8997
- 2022-08-30 - Markus Heiser <markus.heiser@darmarit.de>
303d0890
- 2022-08-28 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Émilien Devos
fcccf39030
Disable brave by default
...
Brave is too unstable and will often not work by default. As seen in many issues: https://github.com/searxng/searxng/issues?q=is%3Aissue++sort%3Aupdated-desc+brave+label%3Abug+
2 years ago
ta
85b5293e40
simplify infobox result
2 years ago
ta
12f7d4a46b
add duckduckgo weather engine
2 years ago
Alexandre Flament
242db53118
Merge pull request #1708 from dalf/result_proxy_default_settings
...
settings.yml: set default values for result_proxy
2 years ago
Alexandre Flament
a7bd2b47c2
Merge pull request #1712 from dalf/remove_searx_env_var
...
Remove usage of SEARX environment variables
2 years ago
Markus Heiser
13ef9cc125
Merge pull request #1720 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
e9b564d066
Merge pull request #1722 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2 years ago
Markus Heiser
2b65502388
Merge pull request #1723 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
55d04a089d
Merge pull request #1724 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Markus Heiser
4a96480bd5
Merge pull request #1721 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2 years ago
dalf
c2400a8677
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
e8bf907eef
Update searx.data - update_firefox_version.py
2 years ago
dalf
915c0a2bc6
Update searx.data - update_languages.py
2 years ago
dalf
b1ccecbeb3
Update searx.data - update_wikidata_units.py
2 years ago
dalf
2e6d41fa24
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
83fbc16908
Update searx.data - update_currencies.py
2 years ago
Alexandre FLAMENT
4adc9920e9
Remove usage of SEARX environment variables
2 years ago
Alexandre FLAMENT
341ad46303
settings.yml: set default values for result_proxy
...
* initialize result_proxy with searx/settings_defaults.py
* allow result_proxy.key to be a string
this commit supersedes #1522
2 years ago
Markus Heiser
8bdc6986a1
Merge pull request #1706 from dalf/fix-autocomplete-post
...
Fix: autocomplete with the POST method: url encode the user query
2 years ago
Markus Heiser
3be847149e
Merge pull request #1707 from dalf/fix-external-bang
...
External bang: bug fix: URL encode the query so "!!g 1+1" works as intended
2 years ago
Alexandre FLAMENT
2af1a6f547
External bang: bug fix: URL encode the query so "!!g 1+1" works as intended
2 years ago
Alexandre FLAMENT
268fa7e036
[build] /static
2 years ago
Alexandre FLAMENT
4a72a6b9fc
Theme: fix autocompletion with the POST method
...
With the POST method, autocomplete.js does not URL encode the values.
For example "1+1" is sent as "1+1" which is read as "1 1" since space are URL encoded with a plus.
There is no clean way to fix the bug since autocomplete.js seems abandoned.
The commit monkey patches the ajax function of autocomplete.js
Related to #1695
2 years ago
Alexandre Flament
56000d5162
Merge pull request #1699 from liimee/eng-app-store
...
add apple app store engine
2 years ago
Alexandre Flament
44bc94c36e
Merge pull request #1700 from liimee/eng-ddm
...
add apple maps engine
2 years ago
ta
5057007270
remove thumbnail from results
2 years ago
ta
525946d7dd
add poi's website and phone number, doesn't crash when there is no `displayMapRegion`, query the token on the first request
2 years ago
Alexandre Flament
5284de9137
Merge pull request #1702 from tiekoetter/limiter-accept-encoding-handling
...
[mod] limiter plugin: Accept-Encoding handling
2 years ago
searxng-bot
e5a25e51bf
[translations] update from Weblate
...
3e034294
- 2022-08-26 - Markus Heiser <markus.heiser@darmarit.de>
46a4dfd3
- 2022-08-24 - Markus Heiser <markus.heiser@darmarit.de>
d41463fd
- 2022-08-24 - Markus Heiser <markus.heiser@darmarit.de>
338b6716
- 2022-08-22 - Markus Heiser <markus.heiser@darmarit.de>
0c9d7756
- 2022-08-22 - Markus Heiser <markus.heiser@darmarit.de>
b422a480
- 2022-08-19 - Markus Heiser <markus.heiser@darmarit.de>
44c9caa0
- 2022-08-22 - Ricardo Simões <xmcorporation@gmail.com>
a774721f
- 2022-08-20 - Markus Heiser <markus.heiser@darmarit.de>
d8a322d6
- 2022-08-22 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Léon Tiekötter
221740f76e
[mod] limiter plugin: Accept-Encoding handling
...
Only raise "suspicious Accept-Encoding" when both "gzip" and "deflate" are missing from Accept-Encoding.
Prevent Browsers which only implement one compression solution from being blocked by the limiter plugin.
Example Browser which is currently blocked: Lynx Browser (https://lynx.invisible-island.net )
2 years ago
ta
5dce299b22
add apple maps engine
2 years ago
Alexandre Flament
5a241e545e
Merge pull request #1688 from liimee/eng-9gag
...
Add 9gag engine
2 years ago
ta
cef7bbab22
get the not cropped version of the thumbnail when the image height is not too important
2 years ago
ta
78bff4618c
add safesearch support
2 years ago
ta
bcae7ae4e3
add developer info as author
2 years ago
ta
e5c1b64b1d
add the apple app store engine
...
The Apple App Store is the digital app distribution platform for iOS & iPadOS.
2 years ago
ta
040e24f9ad
support playing videos directly
2 years ago
Markus Heiser
c2db7b2a66
[fix] Internal server error after changing UI language to BG
...
A placeholder has been translated to BG, issue was added 8 month ago, when BG
translation was added [1]
msgid "Compute {functions} of the arguments"
msgstr "Изчислете {функции} на аргументите"
The incorrect translation has been corrected here in the message files and on
weblate.
[1] https://weblate.bubu1.eu/translate/searxng/searxng/bg/?&offset=49#history
Closes: https://github.com/searxng/searxng/issues/1692
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ta
79d06509c1
add tags as suggestions
2 years ago
ta
d22f469010
use `invalid-name` instead of `C0103` for pylint
2 years ago
ta
dd9127492f
add 9gag engine
...
9GAG is a social media website where users upload and share user-generated images and videos
2 years ago
ta
e64cca8c3f
don't raise error when nothing was found
2 years ago
M Asenov
faa32d5773
fixed xpath selector for appropriate results
2 years ago
Alexandre Flament
5ed40af3ba
Merge pull request #1661 from liimee/eng-tw
...
Add twitter engine
2 years ago
Markus Heiser
ee3c5e7752
Merge pull request #1666 from return42/harden-get_engine_locales
...
[fix] typo in get_engine_locale
2 years ago
Markus Heiser
77a0f33819
[fix] engine duden - don't raise exception on empty result list
...
Duden expects a word in German, so with query "amazing" the site finds nothing
and respons a 404:
httpx.HTTPStatusError: Client error '404 Not Found' for url\
'https://www.duden.de/suchen/dudenonline/amazing '
[1] https://github.com/searxng/searxng/issues/1543#issuecomment-1193317054
Suggested-by: @allendema [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
6f28a69f12
Merge pull request #1677 from searxng/dependabot/pip/master/pygments-2.13.0
...
Bump pygments from 2.12.0 to 2.13.0
2 years ago
Markus Heiser
299635fb8b
[build] /static
2 years ago
Markus Heiser
b08a779f2e
make pygments.less
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
3478c0bc8b
[translations] update from Weblate
...
2b94abf3
- 2022-08-13 - Markus Heiser <markus.heiser@darmarit.de>
249c92f8
- 2022-08-13 - gkkulik <gregorykkulik@gmail.com>
a331870c
- 2022-08-12 - Markus Heiser <markus.heiser@darmarit.de>
5aca8ddc
- 2022-08-17 - Markus Heiser <markus.heiser@darmarit.de>
6e7d76a0
- 2022-08-18 - Markus Heiser <markus.heiser@darmarit.de>
2a49e5f0
- 2022-08-15 - Markus Heiser <markus.heiser@darmarit.de>
2d2cafa6
- 2022-08-18 - Content Card <weblate-bubu1@gabg.email>
adcf97ed
- 2022-08-15 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ta
05851978cf
add explanation of token
2 years ago
ta
c8acd4a3b6
add profile image to user results
2 years ago
ta
b6fd7cd571
add thumbnail to results if available
2 years ago
Markus Heiser
de1e7d12f7
[fix] get_engine_locale: better approximation of 'en' is 'en-US'
...
Compared to `en-EN` the better approximation of 'en' is 'en-US'.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
ac7776663b
[fix] typo in get_engine_locale
...
Due to a typo in get_engine_locale, a language selection like `!qw :de siemens`
did not work.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
ef81d14ccf
[fix] harden get_engine_locale: handle UnknownLocaleError exceptions
...
When a user selects an unknown or invalid locale by using the search syntax:
!qw siemens :de-TW
Before this patch a UnknownLocaleError exception will be rasied:
```
Traceback (most recent call last):
File "SearXNG/searx/search/processors/online.py", line 154, in search
search_results = self._search_basic(query, params)
File "SearXNG/searx/search/processors/online.py", line 128, in _search_basic
self.engine.request(query, params)
File "SearXNG/searx/engines/qwant.py", line 98, in request
q_locale = get_engine_locale(params['language'], supported_languages, default='en_US')
File "SearXNG/searx/locales.py", line 216, in get_engine_locale
locale = babel.Locale.parse(searxng_locale, sep='-')
File "SearXNG/local/py3/lib/python3.8/site-packages/babel/core.py", line 330, in parse
raise UnknownLocaleError(input_id)
```
This patch implements a simple exception handling, since e.g. `de-TW` does not
exists `de` will be used to get engines locale. On invalid terms like `xy-XY`
the default will be returned.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
27385e7898
[mod] qwant - add safesearch option
...
Closes: https://github.com/searxng/searxng/issues/1640
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
6579d6d558
[fix] qwant - API error::locale must be one ..
...
The request function should not request a language (aka locale) that is not
supported by qwant. Select a locale like zh-TW ends in qwant's API error:
ERROR searx.engines.qwant news: exception : \
API error::locale must be one of the following values: \
en_gb, en_ie, en_us, en_ca, en_my, en_au, en_nz, de_de, de_ch, de_at, fr_fr, \
fr_be, fr_ch, fr_ca, fr_ad, fc_ca, co_fr, es_es, es_ar, es_cl, es_co, es_mx, \
es_pe, es_ad, ca_es, ca_ad, ca_fr, eu_es, eu_fr, it_it, it_ch, pt_pt, pt_ad, \
nl_be, nl_nl
The existing searx.utils.match_language function is unsuitable for this purpose,
it is replaced by function searx.locales.get_engine_locale that is based on the
methods from the babel package.
The quant's _fetch_supported_languages function has been revised to filter out
languages 8aka locales) not supported by qwant.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
9ae409a05a
[mod] add locale.get_engine_locale to get predictable results
...
The match_language function sometimes returns incorrect results which is why a
new function get_engine_locale is required.
A bugfix of the match_language is not easily possible, because there is almost
no documentation for it and already the call parameters are undefined. E.g. the
function processes values like the ones from yahoo::
"yahoo": [
"ar",
...
"zh_chs",
"zh_cht"
]
The get_engine_locale has been documented in detail, there is a clear
description of the assumptions as well as the requirements and approximation
rules (read doc-string for more details)::
Argument ``engine_locales`` is a python dict that maps *SearXNG locales* to
corresponding *engine locales*:
<engine>: {
# SearXNG string : engine-string
'ca-ES' : 'ca_ES',
'fr-BE' : 'fr_BE',
'fr-CA' : 'fr_CA',
'fr-CH' : 'fr_CH',
'fr' : 'fr_FR',
...
'pl-PL' : 'pl_PL',
'pt-PT' : 'pt_PT'
}
.. hint::
The *SearXNG locale* string has to be known by babel!
In the following you will find a comparison:
>>> import babel.languages
>>> from searx.utils import match_language
>>> from searx.locales import get_engine_locale
Assume we have an engine that supports the follwoing locales:
>>> lang_list = {
... "zh-CN": "zh_CN",
... "zh-HK": "zh_HK",
... "nl-BE": "nl_BE",
... "fr-CA": "fr_CA",
... }
Assumption:
A. When a user selects a language the results should be optimized according to
the selected language.
B. When user selects a language and a territory the results should be
optimized with first priority on territory and second on language.
----
Example: (Assumption A.)
A user selects region 'zh-TW' which should end in zh_HK
hint:
CN is 'Hans' and HK ('Hant') fits better to TW ('Hant')
>>> get_engine_locale('zh-TW', lang_list)
'zh_HK'
>>> lang_list[match_language('zh-TW', lang_list)]
'zh_CN'
----
Example: (Assumption A.)
A user selects only the language 'zh' which should end in CN
>>> get_engine_locale('zh', lang_list)
'zh_CN'
>>> lang_list[match_language('zh', lang_list)]
'zh_CN'
----
Example: (Assumption B.)
A user selects region 'fr-BE' which should end in nl-BE
hint:
priority should be on the territory the user selected. If the user
prefers 'fr' he will select 'fr' without a region tag.
>>> get_engine_locale('fr-BE', lang_list, default='unknown')
'nl_BE'
>>> match_language('fr-BE', lang_list, fallback='unknown')
'fr-CA'
----
Example: (Assumption A.)
A user selects only the language 'fr' which should end in fr_CA
>>> get_engine_locale('fr', lang_list)
'fr_CA'
>>> lang_list[match_language('fr', lang_list)]
'fr_CA'
----
The difference in priority on the territory is best shown with a engine that
supports the following locales:
>>> lang_list = {
... "fr-FR": "fr_FR",
... "fr-CA": "fr_CA",
... "en-GB": "en_GB",
... "nl-BE": "nl_BE",
... }
----
Example: (Assumption A.)
A user selects only a language
>>> get_engine_locale('en', lang_list)
'en_GB'
>>> match_language('en', lang_list)
'en-GB'
hint: the engine supports fr_FR and fr_CA since no territory is given, fr_FR
takes priority ..
>>> get_engine_locale('fr', lang_list)
'fr_FR'
>>> lang_list[match_language('fr', lang_list)]
'fr_FR'
----
Example: (Assumption B.)
A user selects region 'fr-BE' which should end in nl-BE
>>> get_engine_locale('fr-BE', lang_list)
'nl_BE'
>>> lang_list[match_language('fr-BE', lang_list)]
'fr_FR'
----
If the user selects a language and there are two locales like the following:
>>> lang_list = {
... "fr-BE": "fr_BE",
... "fr-CH": "fr_CH",
... }
>>>
>>> get_engine_locale('fr', lang_list)
'fr_BE'
>>> lang_list[match_language('fr', lang_list)]
'fr_BE'
Looks like both functions return the same value, but match_language depends on the
order of the dictionary (which is not predictable):
>>> lang_list = {
... "fr-CH": "fr_CH",
... "fr-BE": "fr_BE",
... }
>>> get_engine_locale('fr', lang_list)
'fr_BE'
>>> lang_list[match_language('fr', lang_list)]
'fr_CH'
>>>
The get_engine_locale selects the locale by looking at the "population percent"
and this percentage has an higher amount in BE (68.%) compared to CH (21%)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
75bb8c45d0
[mod] decouple qwant's categories from SearXNG's categories
...
By using new property `qwant_categ:` the category of qwant is no longer bound to
the category of SearXNG.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ta
96ea355a1f
add twitter engine
2 years ago
Markus Heiser
0043190643
Merge pull request #1655 from return42/fix-opensearch
...
[fix] improve OpenSearch description
2 years ago
Léon Tiekötter
b56848e8d0
Merge pull request #1660 from liimee/eng-neeva
...
Add neeva engine
2 years ago
Léon Tiekötter
8fa84ee9f4
Fix time range support and add soft_max_redirects
...
Add custom time_range_url and time_range_map
Set soft_max_redirects = 2 to prevent "ErrorContext('searx/search/processors/online.py', 116, 'count_error(', None, '2 redirects, maximum: 0', ('200', 'OK', 'neeva.com')) True"
2 years ago
ta
d6dfada1a9
add neeva web engine
...
Neeva is "the world's first ad-free, private search engine" and uses data from Apple, Bing, Yelp and "others".
They claim to crawl "hundreds of millions" of URLs a day (https://twitter.com/Neeva/status/1536447373903335426 ).
2 years ago
searxng-bot
b4fea007f5
[translations] update from Weblate
...
f2997bfa
- 2022-08-12 - Markus Heiser <markus.heiser@darmarit.de>
eeca674f
- 2022-08-10 - Edrean Ernst <edrean@allesbeste.com>
7478de6a
- 2022-08-11 - Markus Heiser <markus.heiser@darmarit.de>
c4fb9110
- 2022-08-07 - wordpure <wordlesspure@gmail.com>
a5b432e2
- 2022-08-11 - Markus Heiser <markus.heiser@darmarit.de>
eb01d415
- 2022-08-09 - Markus Heiser <markus.heiser@darmarit.de>
f96eb06e
- 2022-08-11 - Shopimisrel <shopisrael12@gmail.com>
e7c79191
- 2022-08-08 - ajnasaboobacker <ajnasaboobacker@gmail.com>
f4dbd424
- 2022-08-08 - ajnasaboobacker <ajnasaboobacker@gmail.com>
2 years ago
Markus Heiser
3b0f9c07b2
[fix] improve OpenSearch description
...
Some HTTP-Clients do have issues with the ``opensearch.xml`` from SearXNG
(related [1][2]) while other OpenSearch descriptions[3] (e.g. from qwant) work
flawles.
Inspired by the OpenSearch description from qwant and with informations from the
specification[4] the ``opensearch.xml`` has been *improved*.
- convert `<Url>` methods from lower case to upper case (`POST`|`GET`)
- add `<moz:SearchForm>` and `xmlns:moz="http://www.mozilla.org/2006/browser/search/ "`
- add `<Query role="example" searchTerms="SearXNG" />` [4]
OpenSearch description documents should include at least one Query element of
`role="example"` that is expected to return search results. Search clients may
use this example query to validate that the search engine is working properly.
- modified `<LongName>` to SearXNG
- modified `<Description>` the word 'hackable' scares uninitiated users and was removed
- add the `type="image/png"` to `<Image>`
Test can be done by::
make run
Visit http://127.0.0.1:8888/ and add the search engine to your WEB-Browser /
test with different WEB-Browser from desktop and Smartphones (are there any iOS
user here, please test on Safari and Chrome).
[1] https://app.element.io/#/room/#searxng:matrix.org/$xN_abdKhNqUlgXRBrb_9F3pqOxnSzGQ1TG0s0G9hQVw
[2] https://github.com/searxng/searxng/issues/431
[3] https://developer.mozilla.org/en-US/docs/Web/OpenSearch
[4] https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#the-query-element
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
73ffa0c070
Update searx.data - update_engine_descriptions.py
...
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Johan Planchon
e0215e0cc8
add sourcehut engine
2 years ago
Markus Heiser
43c545910b
Merge pull request #1648 from unixfox/google_mobile_ui_parameter
...
output format protobuf to HTML for google mobile
2 years ago
Markus Heiser
eb02cc77c5
[fix] google - simplify XPath selectors to fetch more results
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Johan Planchon
90bdb23756
add lib.rs engine
2 years ago
Émilien Devos
b9f16a77db
output format protobuf to HTML for google mobile
2 years ago
Thomas Renard
d4acbcfe63
[mod] add deepl translation engine
...
This implements the Deepl Translation engine. It works nearly like lingva but
directly to the deepl API. This api only needs a to-lang, from-lang is a fake
by now.
There is a free option to use [1].
[1] https://www.deepl.com/pro-api?cta=header-pro-api for registering a free account.
2 years ago
Brock Vojković
24210fb10b
Revert PR #1633
...
This reverts the changes made to the Google results XPath in PR #1633 .
2 years ago
Léon Tiekötter
94b3656b4a
[fix] google engine: results XPath
...
Seems google rolls out changes first on the `google.com` domain and later on the
"language" domains. By example: yesterday [1] `google.com` did not work but
`google.de` and `google.fr` did work, today they do not work any longer and this
fix is needed on all domains.
Closes: https://github.com/searxng/searxng/issues/1628
[1] https://github.com/searxng/searxng/issues/1628#issuecomment-1208191816
2 years ago
Markus Heiser
925f3ff487
Merge pull request #1627 from allendema/add-marginalia
...
[enh] Initial Marginalia.nu support (foss)
2 years ago
Markus Heiser
58f630d312
Merge pull request #1623 from return42/mod-yep.com
...
[mod] engine yep.com: show all 100 results yep.com has
2 years ago
Allen
5b815b3966
[enh] initial Marginalia.nu support (foss)
...
Currently it uses a public api_key `/public/` [1]
The 'index' parameter selects the search index, corresponding to the drop down
next to the search field in the main GUI.
0: popular
1: blogs
2: big_sites
3: default
4: experimental
'experimental' is more up to date and does not exclude other sites, which is the
case with 'big sites' or 'blogs'.
[1] https://api.marginalia.nu/
[2] https://git.marginalia.nu/marginalia/marginalia.nu
[3] https://news.ycombinator.com/item?id=31536626
Closes: https://github.com/searxng/searxng/issues/1620
2 years ago
Markus Heiser
8b58cd1167
[fix] typo in uWSGI cache: searxcache --> searxngcache
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
liimee
8c318562e2
add description and wikidata ID to wttr.in engine
2 years ago
ta
8aa018db95
add wttr.in engine
2 years ago
Markus Heiser
647e6187d7
[mod] engine yep.com: show all 100 results yep.com has
...
yep.com is still in beta, the api.yep.com does not have paging support. There
is only a 'limit' argument with a maximum of 100 results.
yep.com seems fast; there is nor need for a timeout of 12 sec.
The API returns JSON nevertheless what the HTTP header is, the "show more"
button on yep.com's web site does not set a special HTTP Accept header.
FYI: The index does not support languages, the WEB UI does not offer a language
selection of the results and the entire index seems in English.
Closes: https://github.com/searxng/searxng/issues/1619
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
0f02fcc836
[translations] update from Weblate
...
acf8bd39
- 2022-08-05 - Markus Heiser <markus.heiser@darmarit.de>
4ad75b6e
- 2022-08-04 - Markus Heiser <markus.heiser@darmarit.de>
ee8cbee6
- 2022-07-31 - Markus Heiser <markus.heiser@darmarit.de>
87c19313
- 2022-08-01 - Academic tyro <y13593582403@gmail.com>
cbe0de32
- 2022-07-30 - Markus Heiser <markus.heiser@darmarit.de>
45029a17
- 2022-08-04 - Markus Heiser <markus.heiser@darmarit.de>
6eec3795
- 2022-08-03 - Markus Heiser <markus.heiser@darmarit.de>
f8d8f31f
- 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de>
b3fb365f
- 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de>
aaeabbc9
- 2022-08-03 - Lakatos Tamás <tomimost@gmail.com>
6c71c501
- 2022-08-03 - Markus Heiser <markus.heiser@darmarit.de>
f7b5ba19
- 2022-08-01 - Markus Heiser <markus.heiser@darmarit.de>
850e7fa0
- 2022-08-04 - Mico Hautaluoma <m@mha.fi>
0cb696fc
- 2022-07-31 - Markus Heiser <markus.heiser@darmarit.de>
04c3785f
- 2022-08-02 - Markus Heiser <markus.heiser@darmarit.de>
b500f2ad
- 2022-08-01 - Edrean Ernst <edrean@allesbeste.com>
0b576b83
- 2022-08-01 - GooGuJiang <gu@gmoe.cc>
0adeb6e2
- 2022-08-01 - Edrean Ernst <edrean@allesbeste.com>
0b025f17
- 2022-07-31 - PRATYAY MUSTAFI <pratyaymustafi@gmail.com>
2 years ago
Allen
58369e41d6
[wip] brave time range support
2 years ago
Markus Heiser
8df1f0c47e
[mod] add 'Accept-Language' HTTP header to online processores
...
Most engines that support languages (and regions) use the Accept-Language from
the WEB browser to build a response that fits to the language (and region).
- add new engine option: send_accept_language_header
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
a2badb4fe4
[doc] add description of method EngineProcessor.get_params()
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
2babf59adc
[fix] pyright repported errors
...
The errors make pyright usage useless since a new error won't be seen [1].
[1] https://github.com/searxng/searxng/pull/1569
```
searx/compat.py:11:27 - error: Expression of type "Type[cached_property[_T@cached_property]]" cannot be assigned to declared type "Type[cached_property]"
"Type[cached_property[_T@cached_property]]" is incompatible with "Type[cached_property]"
Type "Type[cached_property[_T@cached_property]]" cannot be assigned to type "Type[cached_property]" (reportGeneralTypeIssues)
searx/utils.py:69:36 - error: Expression of type "None" cannot be assigned to parameter of type "str"
Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
searx/utils.py:573:85 - error: Expression of type "None" cannot be assigned to parameter of type "int"
Type "None" cannot be assigned to type "int" (reportGeneralTypeIssues)
searx/webapp.py:1306:22 - error: Argument of type "str" cannot be assigned to parameter "__a" of type "BytesPath" in function "join"
Type "str" cannot be assigned to type "BytesPath"
"str" is incompatible with "bytes"
"str" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportGeneralTypeIssues)
searx/webapp.py:1306:68 - error: Argument of type "Literal['themes']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"
Type "Literal['themes']" cannot be assigned to type "BytesPath"
"Literal['themes']" is incompatible with "bytes"
"Literal['themes']" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportGeneralTypeIssues)
searx/webapp.py:1306:78 - error: Argument of type "str | Any | None" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"
Type "str | Any | None" cannot be assigned to type "BytesPath"
Type "str" cannot be assigned to type "BytesPath"
"str" is incompatible with "bytes"
"str" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportGeneralTypeIssues)
searx/webapp.py:1306:85 - error: Argument of type "Literal['img']" cannot be assigned to parameter "paths" of type "BytesPath" in function "join"
Type "Literal['img']" cannot be assigned to type "BytesPath"
"Literal['img']" is incompatible with "bytes"
"Literal['img']" is incompatible with protocol "PathLike[bytes]"
"__fspath__" is not present (reportGeneralTypeIssues)
searx/engines/mongodb.py:8:6 - warning: Import "pymongo" could not be resolved (reportMissingImports)
searx/engines/mysql_server.py:9:8 - warning: Import "mysql.connector" could not be resolved (reportMissingImports)
searx/engines/postgresql.py:9:8 - warning: Import "psycopg2" could not be resolved from source (reportMissingModuleSource)
searx/engines/xpath.py:187:28 - warning: "categories" is not defined (reportUndefinedVariable)
searx/search/__init__.py:184:82 - warning: "flask" is not defined (reportUndefinedVariable)
searx/search/checker/background.py:19:26 - error: Type of "schedule" is partially unknown
Type of "schedule" is "(delay: Any, func: Any, *args: Any) -> Literal[True]" (reportUnknownVariableType)
searx/shared/__init__.py:8:12 - warning: Import "uwsgi" could not be resolved (reportMissingImports)
searx/shared/shared_uwsgi.py:5:8 - warning: Import "uwsgi" could not be resolved (reportMissingImports)
```
2 years ago
Markus Heiser
782f73540e
[utils/searxng.sh] implement new script to install SearXNG
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
953aaec6a3
[translations] update from Weblate
...
c0c9107c
- 2022-07-27 - Sangha Lee <totoriato@gmail.com>
5b48bce6
- 2022-07-24 - Linerly <linerly@protonmail.com>
79669e65
- 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de>
520e9284
- 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de>
7cf52ff5
- 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de>
9d3ebe72
- 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de>
2d03c097
- 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de>
388af012
- 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de>
a4bcf098
- 2022-07-25 - Miguel Silva <miguelcabeca.dev@gmail.com>
93fd0b72
- 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de>
8f68b206
- 2022-07-26 - tents <remendne@pentrens.jp>
9007c99c
- 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de>
aeec96f2
- 2022-07-26 - Matija Kromar <matija.kromar@gmail.com>
69084863
- 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de>
b48190ab
- 2022-07-24 - alexfs2015 <alex04fs@gmail.com>
b6bbc0a5
- 2022-07-23 - Markus Heiser <markus.heiser@darmarit.de>
1a503806
- 2022-07-29 - Markus Heiser <markus.heiser@darmarit.de>
c960cb93
- 2022-07-27 - Markus Heiser <markus.heiser@darmarit.de>
8a2bd34b
- 2022-07-25 - Markus Heiser <markus.heiser@darmarit.de>
1064cea0
- 2022-07-23 - LagManCZ <lagmen@post.cz>
67423045
- 2022-07-24 - alexfs2015 <alex04fs@gmail.com>
56c87fda
- 2022-07-24 - Markus Heiser <markus.heiser@darmarit.de>
36a64f1c
- 2022-07-24 - Ankit Gupta <guptaa.ankitt@gmail.com>
2 years ago
Markus Heiser
14085cc0a7
Merge pull request #1580 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Markus Heiser
7602c23d71
Merge pull request #1579 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Markus Heiser
0bad4fb931
Merge pull request #1578 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
7dd75ae080
Merge pull request #1576 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2 years ago
dalf
2bdb367e8c
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
fc019fb296
Update searx.data - update_currencies.py
2 years ago
dalf
c2662ec3c8
Update searx.data - update_firefox_version.py
2 years ago
dalf
385542e6c5
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
90068b3d0b
Update searx.data - update_languages.py
2 years ago
Markus Heiser
c72d70d45c
Revert "Quick fix for google engine for EU countries"
...
This reverts commit 747cf1a246
.
2 years ago
Léon Tiekötter
950f036c03
[fix] google engine: results XPath
2 years ago
Émilien Devos
747cf1a246
Quick fix for google engine for EU countries
...
This revert part of the commit of 5fb2071cb2
2 years ago
Markus Heiser
0be0e63117
[fix] demo_online.py - fixed typo
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Emilien Devos
5fb2071cb2
[fix] google & youtube - set EU consent cookie
...
This change the previous bypass method for Google consent using
``ucbcb=1`` (6face215b8
) to accept the consent using ``CONSENT=YES+``.
The youtube_noapi and google have a similar API, at least for the consent[1].
Get CONSENT cookie from google reguest::
curl -i "https://www.google.com/search?q=time&tbm=isch " \
-A "Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Firefox/102.0" \
| grep -i consent
...
location: https://consent.google.com/m?continue=https://www.google.com/search?q%3Dtime%26tbm%3Disch&gl=DE&m=0&pc=irp&uxe=eomtm&hl=en-US&src=1
set-cookie: CONSENT=PENDING+936; expires=Wed, 24-Jul-2024 11:26:20 GMT; path=/; domain=.google.com; Secure
...
PENDING & YES [2]:
Google change the way for consent about YouTube cookies agreement in EU
countries. Instead of showing a popup in the website, YouTube redirects the
user to a new webpage at consent.youtube.com domain ... Fix for this is to
put a cookie CONSENT with YES+ value for every YouTube request
[1] https://github.com/iv-org/invidious/pull/2207
[2] https://github.com/TeamNewPipe/NewPipeExtractor/issues/592
Closes: https://github.com/searxng/searxng/issues/1432
2 years ago
Markus Heiser
4231a5770b
[fix] sjp engine - convert enginename to a latin1 compliance name
...
The engine name is not only a *name* its also a identifier that is used in
logs, HTTP headers and more. Unicode characters in the name of an engine could
cause various issues.
Closes: https://github.com/searxng/searxng/issues/1544
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
james-still
2516e21c58
[fix] emojipedia - update XPath to be relative
2 years ago
Markus Heiser
1540891561
[fix] engine tineye: handle 422 response of not supported img format
...
Closes: https://github.com/searxng/searxng/issues/1449
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
561433b12b
[translations] update from Weblate
...
cf6e9482
- 2022-07-19 - Linerly <linerly@protonmail.com>
918c1bfe
- 2022-07-20 - Markus Heiser <markus.heiser@darmarit.de>
4e65ecf6
- 2022-07-21 - calb sepherus <calb.sepherus@protonmail.com>
a54be8fe
- 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de>
cad6cb2f
- 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de>
a6bd1170
- 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de>
9d0e8754
- 2022-07-19 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Solirs
6d646129c3
[mod] add tor_check plugin - convenient tor checking trough searxng
2 years ago
Léon Tiekötter
d339e97727
[fix] preferences: missing option value
...
Fix missing option value "0".
2 years ago
Markus Heiser
7bf4e8d12d
Merge pull request #1512 from searxng/translations_update
...
Update translations
2 years ago
Markus Heiser
4e05197444
Merge pull request #1475 from return42/Emojipedia
...
[mod] Add engine for Emojipedia
2 years ago
Markus Heiser
445cba7c02
Update searx.data - update_engine_descriptions.py
...
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Jay
10edcbe3c2
[mod] Add engine for Emojipedia
...
Emojipedia is an emoji reference website which documents the meaning and
common usage of emoji characters in the Unicode Standard. It is owned by Zedge
since 2021. Emojipedia is a voting member of The Unicode Consortium.[1]
Cherry picked from @james-still [2[3] and slightly modified to fit SearXNG's
quality gates.
[1] https://en.wikipedia.org/wiki/Emojipedia
[2] 2fc01eb20f
[3] https://github.com/searx/searx/pull/3278
2 years ago
searxng-bot
f84e9f8154
[translations] update from Weblate
...
e78584e1
- 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de>
eb3f2140
- 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de>
9160b6d1
- 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de>
18d569b8
- 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de>
c9137f9e
- 2022-07-14 - Hachiki <ninonakano408@gmail.com>
14d8b61f
- 2022-07-14 - Markus Heiser <markus.heiser@darmarit.de>
c11e318d
- 2022-07-09 - Linerly <linerly@protonmail.com>
4d53b3bb
- 2022-07-12 - crazychicken1 <seymaomay1809@gmail.com>
613117bf
- 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de>
e5e38305
- 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de>
2bea37fa
- 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de>
5ab15881
- 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de>
32794ad3
- 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de>
830b01f9
- 2022-07-11 - Chris Capisce <christof1588@gmail.com>
b4d431e5
- 2022-07-08 - John Doe <cryptiox@protonmail.com>
c6d9841e
- 2022-07-10 - tents <remendne@pentrens.jp>
68692656
- 2022-07-13 - Markus Heiser <markus.heiser@darmarit.de>
8cba6d36
- 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de>
fe457886
- 2022-07-08 - Markus Heiser <markus.heiser@darmarit.de>
95e7d403
- 2022-07-13 - Markus Heiser <markus.heiser@darmarit.de>
f02673b1
- 2022-07-11 - Markus Heiser <markus.heiser@darmarit.de>
7d49be29
- 2022-07-10 - Markus Heiser <markus.heiser@darmarit.de>
fbe6e4da
- 2022-07-08 - Raúl Díaz <flan@chocoflan.net>
2 years ago
Léon Tiekötter
8e509941b9
[mod] allow brand.issue_url to overwrite the step1 url
2 years ago
Alexandre Flament
44f2eb50a5
Merge pull request #1219 from dalf/follow_bing_redirect
...
bing.py: remove redirection links
2 years ago
Emilien Devos
6face215b8
bypass google consent with ucbcb=1
2 years ago
Brock Vojković
84e2a3bd3f
Add infinite scroll as a setting in settings.yml
2 years ago
Alexandre Flament
a1e8af0796
bing.py: resolve bing.com/ck/a redirections
...
add a new function searx.network.multi_requests to send multiple HTTP requests at once
2 years ago
Alexandre Flament
7e695c6644
Merge pull request #1478 from dalf/submit_bug_workflow
...
Engine error log: Submit a new issue button: ask the user to check if there are some existing issues.
2 years ago
Alexandre Flament
f90aed7ef9
locales.py: add support for Papiamento
2 years ago
searxng-bot
cb3a31c04d
[translations] update from Weblate
...
b1809ae3
- 2022-07-07 - visiks-vs <vls@visiks.lv>
cf09e8b2
- 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de>
5a854ba3
- 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de>
e3586433
- 2022-07-06 - John Doe <cryptiox@protonmail.com>
9465ae78
- 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de>
1e1799d0
- 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de>
56429ebb
- 2022-07-07 - Markus Heiser <markus.heiser@darmarit.de>
e1e040b1
- 2022-07-06 - watchakorn-18k <porton2559@gmail.com>
d04f51ef
- 2022-07-06 - Adriano Xavier <px.adriano@gmail.com>
1a09e45a
- 2022-07-06 - John Doe <cryptiox@protonmail.com>
fab4f6de
- 2022-07-05 - Angelo B. J. Luidens <aluidens@stargue.com>
782eac5c
- 2022-07-05 - watchakorn-18k <porton2559@gmail.com>
73f6dde9
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
eb3bf7a4
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
5c337616
- 2022-07-03 - Sangha Lee <totoriato@gmail.com>
8511391a
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
816ec364
- 2022-07-02 - Morten R. Bjørklund <mortenrb@live.no>
24adf82f
- 2022-07-04 - 0xFFD <barann.afsarr@gmail.com>
25e13dcf
- 2022-07-04 - networkneil <shankyneil1@gmail.com>
f2008c36
- 2022-07-03 - Markus Heiser <markus.heiser@darmarit.de>
79b9b12a
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
1f2f61c8
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
e7a1cd6e
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
fc02ccbf
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
3d1afa88
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
95c871d2
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
f8825dd1
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
a781c97c
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
7290ce9c
- 2022-07-02 - John Doe <cryptiox@protonmail.com>
0a1286c5
- 2022-07-02 - tents <remendne@pentrens.jp>
baa49eef
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
3d3fbc15
- 2022-07-03 - Kuka Manó <dumpster@perjel.hu>
a1eb8798
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
a08b01a6
- 2022-07-02 - Xosé M <correo@xmgz.eu>
35634446
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
8d1fe456
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
805da3b0
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
c6f02cee
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
cd824613
- 2022-07-03 - Markus Heiser <markus.heiser@darmarit.de>
6a4b41ee
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
53eb448a
- 2022-07-03 - adriadam10 <adriadam10@gmail.com>
7012f643
- 2022-07-03 - Gerard Oliva Viñas <oliva3032001@gmail.com>
51ea1d58
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
744d130c
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
e92d37cd
- 2022-07-05 - Angelo B. J. Luidens <aluidens@stargue.com>
4576e883
- 2022-07-05 - watchakorn-18k <porton2559@gmail.com>
da7a9b10
- 2022-07-04 - Markus Heiser <markus.heiser@darmarit.de>
f20a317f
- 2022-07-04 - networkneil <shankyneil1@gmail.com>
cab15b15
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
12d6021c
- 2022-07-04 - niele2 <arifshafie.K@gmail.com>
c86a3738
- 2022-07-04 - niele2 <arifshafie.K@gmail.com>
9c6d05e2
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
2b6ca751
- 2022-07-02 - Kuka Manó <dumpster@perjel.hu>
55e9663c
- 2022-07-02 - Albin Håkanson <albin@sweplox.se>
49fac625
- 2022-07-02 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
be3ecf6e31
[build] /static
2 years ago
Alexandre Flament
eb489c45ea
Submit GH bug: ask the user to do some checks before submitting a new issue
2 years ago
Markus Heiser
81e8c7370f
Update searx.data - update_engine_descriptions.py
...
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
c63fab6928
Merge pull request #1443 from return42/fix-online_dictionary
...
[fix] online_dictionary: regular expression
2 years ago
Markus Heiser
480476fdf3
[fix] online_dictionary: regular expression
...
The query term of a engine-type `online_dictionary` can consist of more than one
word.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
df837d8b1b
Merge pull request #1428 from return42/fix-center_aligment
...
fix typo and document preference 'center_alignment' in the 'ui' section
2 years ago
Markus Heiser
c5ec8db6b3
Merge pull request #1457 from return42/fix-1435
...
[fix] engine z-zlibrary https URL
2 years ago
Markus Heiser
be2f782c9e
Merge pull request #1460 from unixfox/patch-1
...
Better explanation for the use of use_mobile_ui
2 years ago
Émilien Devos
63a995b8c1
Better explanation for the use of use_mobile_ui
2 years ago
mrpaulblack
38385e48cf
fix: return body on limiter block so there is not just a blank page
2 years ago
Markus Heiser
970a69012b
[fix] engine z-zlibrary https URL
...
before this patch:
DEBUG searx.engines.z-library : using base_url: https:https://de1lib.org
with this patch URL is fixed to:
DEBUG searx.engines.z-library : using base_url: https://de1lib.org
Closes: https://github.com/searxng/searxng/issues/1435
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
8de0b62005
[build] /static
2 years ago
Markus Heiser
f8222eb2cd
[fix] style.less: move <dl> from infobox.attributes to .attributes class
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ta
14756a2674
[mod] Adds Lingva translate engine
...
Add the lingva engine (which grabs data from google translate). Results from
Lingva are added to the infobox results.
2 years ago
Xavier horwood
61ee370e18
[mod] link to public-instances can be set to hidden
...
Some administrators may want to hide the link to public_instances: If you run a
private instance for a company that wants there employees to use the private
instance instead of any of the public instances.
2 years ago
Markus Heiser
241bde5ae3
[fix] typo: add missing 'n' in center_aligment --> center_alignment
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
4ef6263725
Merge pull request #1404 from dalf/donation_use_external_link
...
Donation link: default value to searxng.org, can be hidden or custom
2 years ago
Markus Heiser
5831c15b49
[fix] engines/openstreetmap.py typo: user_langage --> user_language
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
6716c6b0c3
openstreetmap engine: return the localized named.
...
For example: display "Tokyo" instead of "東京都" when the language is English.
2 years ago
Alexandre Flament
7f30ac37e9
map.html: display the intended text for the links instead of the URL
...
For example display "Tokyo (en)" instead of https://en.wikipedia.org/wiki/Tokyo
2 years ago
Markus Heiser
69a6d994e1
Merge pull request #1382 from dalf/fix_searxng_extra_update
...
fix searxng_extra/update/update*.py scripts
2 years ago
Markus Heiser
1416559f22
Update searx.data - update_engine_descriptions.py
...
./manage pyenv.cmd python ./searxng_extra/update/update_engine_descriptions.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
2bf800a4b1
Update searx.data - update_currencies.py
...
./manage pyenv.cmd python ./searxng_extra/update/update_currencies.py
Closes: https://github.com/searxng/searxng/pull/1375
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
f8f239fe1f
Donation link: default value to searxng.org, can be hidden or custom
...
Add a new setting: general.donation_url
By default the value is https://docs.searxng.org/donate.html
When the value is false, the link is hidden
When the value is true, the link goes to the infopage donation,
the administrator can create a custom page.
2 years ago
searxng-bot
8376833d7d
[translations] update from Weblate
2 years ago
Alexandre Flament
bcded7686e
[build] /static
2 years ago
Alexandre Flament
e3e5d2bd22
Theme: all top right icons have labels including "Preferences"
2 years ago
searxng-bot
4272ef3117
[translations] update from Weblate
...
c6c13e8c
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
284f86fe
- 2022-06-30 - Linerly <linerly@protonmail.com>
d659c9f2
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
3d76fb71
- 2022-06-29 - wordpure <wordlesspure@gmail.com>
874e15dc
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
10f3978d
- 2022-06-30 - Leonardo Colman <dev@leonardo.colman.com.br>
66556a49
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
6c5a28a7
- 2022-06-30 - Markus Heiser <markus.heiser@darmarit.de>
9bb7dc8e
- 2022-06-29 - Alexandre Flament <alex@al-f.net>
38bd6b55
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
1aecb8f8
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
9a74838e
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
3f139d79
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
d3449b5f
- 2022-06-29 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
1617ef1e41
Update searx/infopage/en/donate.md
...
Co-authored-by: Émilien Devos <contact@emiliendevos.be>
2 years ago
Alexandre FLAMENT
0e503c990a
Move donation page to docs.searxng.org and link to it from instances
...
Close #1378
2 years ago
Alexandre FLAMENT
ecccf02a02
infopage: a .md file can be remove without crash
...
An administrator might decide to remove some of the .md files.
This commit make sure to not crash the application.
2 years ago
Markus Heiser
eb3123e164
Merge pull request #1379 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
a89fca9d08
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
3a75d3c1cc
Merge pull request #1376 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
dalf
11def5155e
Update searx.data - update_wikidata_units.py
2 years ago
dalf
21ab024469
Update searx.data - update_firefox_version.py
2 years ago
Alexandre Flament
0801f9a24e
Add donate.md
2 years ago
Alexandre Flament
86f14fd066
[build] /static
2 years ago
Alexandre Flament
6e2b5f3d5a
Theme: add Help and Donate links in all pages
...
Close https://github.com/searxng/searxng/issues/931
2 years ago
Alexandre Flament
4bedd7465c
Merge pull request #1346 from dalf/theme-dependencies-upgrade
...
Theme: dependencies upgrade
2 years ago
searxng-bot
bfebaa15ad
[translations] update from Weblate
...
d745649a
- 2022-06-25 - Alexandre Flament <alex@al-f.net>
80c8f41f
- 2022-06-25 - tents <remendne@pentrens.jp>
2 years ago
Alexandre Flament
0f3e98ace4
Theme: upgrade dependencies & minor update of the grunt scripts
...
Remove webfont grunt script
Update clean grunt script
2 years ago
searxng-bot
dd2577e21d
[translations] update from Weblate
...
b4ef9941
- 2022-06-20 - Markus Heiser <markus.heiser@darmarit.de>
a4ad5c56
- 2022-06-23 - sdebnath002 <shibnathdebnath@gmail.com>
e9640746
- 2022-06-19 - liimee <alt3753.7@gmail.com>
063e2d09
- 2022-06-22 - HACKKER <andriy.o.vovk@gmail.com>
da095274
- 2022-06-21 - Vander <vander.azevedo88@gmail.com>
4d632f14
- 2022-06-21 - Vander <vander.azevedo88@gmail.com>
136edb67
- 2022-06-20 - Alexandre Flament <alex@al-f.net>
25533b02
- 2022-06-21 - Muhammad Hussein Fattahizadeh <semnanweb@gmail.com>
030b5310
- 2022-06-18 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
ed1ff4b8bc
Merge pull request #1357 from liimee/eng-3
...
Add curlie.org engine
2 years ago
ta
7c457fcf7a
add curlie engine
2 years ago
Markus Heiser
88f62cf0df
[fix] clean up templates / remove import of result_footer_rtl macro
...
A macro named 'result_footer_rtl' does not exists.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
ta
8883aed132
[fix] google play apps engine: implement engines/google_play_apps.py
2 years ago
Alexandre Flament
189df7db4e
Merge pull request #1287 from dalf/style-center-2nd
...
Theme: add a preference to center the results (Oscar) (2nd edition)
2 years ago
Alexandre Flament
0539e38309
Workaround: index.html: remove image preload
...
Related to https://github.com/searxng/searxng/issues/1326
URL for the logo is referenced twice:
* in index.html for preloading: it contains the hash for cache busting (when static_use_hash: true)
* in searxng.min.css: to actually display the image. The URL doesn't contain the hash.
So the image preload actually loads twice the same image.
This commit removed the image preloading.
This is workaround: the real fix is to be able to use the URL with the hash in the CSS.
2 years ago
Alexandre Flament
e6c3000909
[build] /static
2 years ago
Alexandre Flament
8a85d1b0c7
Theme: add a preference to center the results (Oscar) (2nd edition)
...
related to
* #1169
* #1281
* #1286
2 years ago
Alexandre Flament
5bcbec9b06
Fix: use sys.modules.copy() to avoid RuntimeError
...
use sys.modules.copy() to avoid "RuntimeError: dictionary changed size during iteration"
see https://github.com/python/cpython/issues/89516
and https://docs.python.org/3.10/library/sys.html#sys.modules
close https://github.com/searxng/searxng/issues/1342
2 years ago
Alexandre Flament
a7b0b2ecbf
Merge pull request #1329 from samsaptidev/feature/privacypolicy_url
...
Add privacypolicy_url option
2 years ago
Léon Tiekötter
6bdc66b70e
[fix] mojeek engine: XPath
...
Update the XPath of the Mojeek engine.
2 years ago
searxng-bot
8e107a9ad6
[translations] update from Weblate
...
7d7f9823
- 2022-06-14 - Markus Heiser <markus.heiser@darmarit.de>
61912312
- 2022-06-15 - liimee <alt3753.7@gmail.com>
895d116e
- 2022-06-16 - vmisovic <vladimir.misovic03@gmail.com>
2f55d1a3
- 2022-06-13 - Markus Heiser <markus.heiser@darmarit.de>
507db1e1
- 2022-06-10 - Markus Heiser <markus.heiser@darmarit.de>
1a7079d1
- 2022-06-12 - Markus Heiser <markus.heiser@darmarit.de>
aa30ed02
- 2022-06-10 - Stanisław Jankowski <stach.jankowski@gmail.com>
2 years ago
samsaptidev
31005595c9
Add privacypolicy_url option
2 years ago
ta
e9cc6ab0e7
add pub.dev engine
2 years ago
Paul Braeuning
d7a76f3772
Merge pull request #1322 from return42/fix-794
...
[fix] keyboard.js - highlightResult: don't steal focus on click event
2 years ago
Markus Heiser
ef4239c68a
[doc] fix some leftovers from ad964562c
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
1a361e6635
[build] /static
2 years ago
Markus Heiser
882282d0e9
[fix] keyboard.js - highlightResult: don't steal focus on click event
...
For keyboard navigation the highlightResult() function in keyboard.js steals the
focus. On a mouse click event (non keyboard action) the focus should resist
where it is, otherwise a marked region gets lost. This is the reason why text
can't be selected when using simple theme with JS enabled.
Closes: https://github.com/searxng/searxng/issues/794
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Alexandre Flament
3ade7ffc26
[build] /static
2 years ago
Alexandre Flament
fe1683c9c6
UX fix: when the user clicks on the search input, don't move the cursor at the end
...
Related to https://github.com/searxng/searxng/pull/1153#issuecomment-1154247988
2 years ago
Markus Heiser
9b0b6a2c90
Merge pull request #1313 from unixfox/help-rate-limit-google
...
add "warn" message to notify the admin that use_mobile_ui parameter exist
2 years ago
Alexandre Flament
ee3f230d93
Autocomplete: don't suggest the current query.
...
Example of minor issue before this commit:
the autocompletion can suggest "Test" if the query is "Test".
2 years ago
Alexandre Flament
2455f1d06a
Merge pull request #1308 from allendema/add-yep-com-json
...
[enh] Add yep.com via json_engine
2 years ago
Markus Heiser
916f5f8b90
Merge pull request #1306 from return42/fix-1303
...
[fix] move locale code from webapp.py to locales.py and fix #1303
2 years ago
Markus Heiser
ad964562ce
[fix] move locale code from webapp.py to locales.py and fix #1303
...
To improve modularization this patch:
- moves *locale* related implementation from the webapp.py application to the
locale.py module.
- The initialization of the locales is now done in the application (webapp) and
is no longer done while importing searx.locales.
In the searx.locales module a new dictionary named `LOCALE_BEST_MATCH` has been
added. In this dictionary we can map languages without a translation to
languages we have a translation for.
To fix #1303 zh-HK has been mapped to zh-Hant-TW (we do not need additional
translations of traditional Chinese)
Closes: https://github.com/searxng/searxng/issues/1303
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Emilien Devos
0d4c066119
notify the user that use_mobile_ui parameter exist
2 years ago
Allen
fd9a13a3e5
[enh] Initial no paging support for Yep.com
...
Upstream example query:
https://yep.com/web?q=test
https://yep.com/about
2 years ago
Alexandre Flament
cd2dd5dd55
Wikidata engine: ignore dummy entities
...
Close #641
2 years ago
Alexandre Flament
d068b67a71
Wikidata engine: minor change of the SPARQL request
...
The engine can be slow especially when the query won't return any answer.
See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual/MWAPI#Find_articles_in_Wikipedia_speaking_about_cheese_and_see_which_Wikibase_items_they_correspond_to
Related to #1290
2 years ago
searxng-bot
1e82dedcf3
[translations] update from Weblate
...
25debdad
- 2022-06-07 - Markus Heiser <markus.heiser@darmarit.de>
4ea83323
- 2022-06-08 - Markus Heiser <markus.heiser@darmarit.de>
034a61d2
- 2022-06-07 - Markus Heiser <markus.heiser@darmarit.de>
12598dee
- 2022-06-08 - Markus Heiser <markus.heiser@darmarit.de>
9ebd1a60
- 2022-06-06 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Maciej Błędkowski
98c4156f12
Fixed typo in settings.yml
2 years ago
Alexandre Flament
ea0cddba0b
Merge pull request #1047 from return42/redis-lib
...
Add a redis library to generalize DB functions we need in SearXNG.
2 years ago
Alexandre Flament
06217ef184
[build] /static
2 years ago
Alexandre Flament
9723cef99a
Revert "Theme: add a preference to center the results (Oscar)"
...
This reverts commit 4237f5fd50
.
2 years ago
Alexandre Flament
f8f6b95d8f
Merge pull request #1281 from dalf/style-center
...
Theme: add a preference to center the results
2 years ago
Alexandre Flament
2c62360e6e
[build] /static
2 years ago
Alexandre Flament
4237f5fd50
Theme: add a preference to center the results (Oscar)
...
related to #1169
2 years ago
Markus Heiser
0c489a25ac
[fix] version.py: git format '%cs' is not downward compatible
...
Committer date, short format YYYY-MM-DD ('%cs') [1] is not supported by older git
versions. Instead use '%cd' committer date (format respects --date= option) [2].
[1] https://www.git-scm.com/docs/git-show#Documentation/git-show.txt-emcsem
[2] https://www.git-scm.com/docs/git-show#Documentation/git-show.txt-emcdem
Suggested-by: @ravermeister https://github.com/searxng/searxng/issues/1251#issuecomment-1146282429
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
2de007138c
[fix] prepare for pylint 2.14.0
...
Remove issue reported by Pylint 2.14.0:
- no-self-use: has been moved to optional extension [1]
- The refactoring checker now also raises 'consider-using-generator' messages
for max(), min() and sum(). [2]
.pylintrc:
- <option name>-hint has been removed since long, Pylint 2.14.0 raises an
error on invalid options
- bad-continuation and bad-whitespace have been removed [3]
[1] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers
[2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/full.html#what-s-new-in-pylint-2-14-0
[2] https://pylint.pycqa.org/en/latest/whatsnew/2/2.6/summary.html#summary-release-highlights
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
searxng-bot
bc8cd9cb8c
[translations] update from Weblate
...
1f71567c
- 2022-06-01 - karlis69420 <korlass.karlis2@gmail.com>
67ff4da0
- 2022-05-27 - Tony <papetouses@gmail.com>
57bf9bd7
- 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de>
5f63090b
- 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de>
4b675666
- 2022-05-30 - Markus Heiser <markus.heiser@darmarit.de>
9fcfccff
- 2022-06-02 - Markus Heiser <markus.heiser@darmarit.de>
b28ac961
- 2022-06-01 - Markus Heiser <markus.heiser@darmarit.de>
ec7b3c14
- 2022-05-29 - Markus Heiser <markus.heiser@darmarit.de>
622896c1
- 2022-05-31 - Markus Heiser <markus.heiser@darmarit.de>
53d0f115
- 2022-05-31 - Joan Montané <joan@montane.cat>
e16d889a
- 2022-06-02 - Markus Heiser <markus.heiser@darmarit.de>
2c5337a5
- 2022-06-01 - karlis69420 <korlass.karlis2@gmail.com>
2 years ago
Alexandre FLAMENT
7e8a60fb27
[build] /static
2 years ago
Alexandre FLAMENT
fbad93e808
Theme: enable autofocus of #q only on the index page and when the width > 50em
...
Related to #1270
2 years ago
Markus Heiser
96dc4369d5
Merge pull request #1259 from allendema/petal-images
...
[enh] Add Petalsearch Images engine
2 years ago
Léon Tiekötter
7e95d6bb79
[mod] image proxy: allow binary/octet-stream mime type
...
The Petal Search Images engine sends the thumbnails with the binary/octet-stream mime type.
2 years ago
Allen
43dc9eb7d6
[enh] Initial Petalsearch Images support
...
Upstream example query:
https://petalsearch.com/search?query=test&channel=image&ps=50&pn=1®ion=de-de&ss_mode=off&ss_type=normal
Depending on locale it will internally use some/all results from other
engines. See:
https://seirdy.one/posts/2021/03/10/search-engines-with-own-indexes/#general-indexing-search-engines
2 years ago
Markus Heiser
e568da2314
Merge pull request #1266 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2 years ago
Markus Heiser
84a5e48a90
Merge pull request #1265 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2 years ago
Markus Heiser
78968843a8
Merge pull request #1267 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2 years ago
Markus Heiser
a9251cfeb4
Merge pull request #1268 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2 years ago
Markus Heiser
61ee915064
Merge pull request #1264 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2 years ago
dalf
fda176144e
Update searx.data - update_engine_descriptions.py
2 years ago
dalf
f37b9978cb
Update searx.data - update_currencies.py
2 years ago
dalf
a93170725f
Update searx.data - update_firefox_version.py
2 years ago
dalf
8d6d32bf6e
Update searx.data - update_ahmia_blacklist.py
2 years ago
dalf
012d7fcaa0
Update searx.data - update_languages.py
2 years ago
dalf
ab9616c2cc
Update searx.data - update_wikidata_units.py
2 years ago
Markus Heiser
1a8ff10e30
[mod] redislib - optimize LUA script registration.
...
Instead of register the LUA script on each call, the LUA script is registered
once and the `Script` object is cached in global storage.
[1] https://github.com/searxng/searxng/pull/1047#discussion_r884143305
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
4b185f0e11
[mod] plugins/limiter.py - use searx.redislib.incr_sliding_window
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
08876df7c2
[mod] collection of redis functions and lua scripts (initial)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Léon Tiekötter
167f635924
[engine] petal search news
...
Add Petal Search News to SearXNG via XPath
2 years ago
Léon Tiekötter
f09e8abd76
[engine] petal search
...
Add Petal Search to SearXNG via XPath
2 years ago
Léon Tiekötter
7c8903c809
[fix] mojeek engine: xpath
2 years ago
Markus Heiser
e93385e6de
Merge pull request #1249 from Linerly/english-infopage
...
Capitalize website names in search-syntax.md, in the English infopage
2 years ago
Linerly
c2f7b1136e
Capitalize website names
2 years ago
Linerly
979c42f044
Replace link
2 years ago
Linerly
2871900651
Capitalize website names
2 years ago
Linerly
db26b9b13b
Replace English links to Indonesian links
2 years ago
Markus Heiser
22d8971bc9
[translation] add DE translation of about.md and search-syntax.md
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
7686739f56
Merge pull request #1242 from Linerly/indonesian-infopage
...
Add Indonesian translations of about.md and search-syntax.md
2 years ago
searxng-bot
69886253d6
[translations] update from Weblate
...
00f6ec8e
- 2022-05-27 - Tony <papetouses@gmail.com>
76553d1e
- 2022-05-22 - Markus Heiser <markus.heiser@darmarit.de>
897c7b0a
- 2022-05-22 - Markus Heiser <markus.heiser@darmarit.de>
bed737a1
- 2022-05-23 - Markus Heiser <markus.heiser@darmarit.de>
9a0227e5
- 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
f8598b81
- 2022-05-24 - 358k <358k@protonmail.com>
a181f9e3
- 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
1c0c6941
- 2022-05-26 - Markus Heiser <markus.heiser@darmarit.de>
5b707d4d
- 2022-05-26 - smallaxe80 <smallaxe1980@gmail.com>
2 years ago
Linerly
f3134e0869
Add Indonesian translations of about.md and search-syntax.md
2 years ago
Allen
13f4dcafc1
[fix] [new] Brave - Update xpath
...
Last merge request was messed up with git.
2 years ago
Alexandre Flament
c24864a9ad
Enable duckduckgo by default
...
see https://github.com/searxng/searxng/pull/1219#discussion_r879543174
2 years ago
Alexandre Flament
cea7b71d14
Disable the bing engine
...
see
* https://github.com/searxng/searxng/discussions/1209
* https://github.com/searxng/searxng/issues/941
* https://github.com/searxng/searxng/pull/1219
2 years ago
Alexandre Flament
d694b339c5
Merge pull request #1214 from dalf/update_template_image
...
Template images.html: always use JS to lazy load the full size images
2 years ago
searxng-bot
1911d63186
[translations] update from Weblate
...
fffd40d4
- 2022-05-17 - Orwell Not <neteheste@gmail.com>
ae4b92e4
- 2022-05-16 - Linerly <linerly@protonmail.com>
946e5e9c
- 2022-05-18 - Markus Heiser <markus.heiser@darmarit.de>
c758b17b
- 2022-05-16 - tents <remendne@pentrens.jp>
0a73f5ad
- 2022-05-19 - Anthony ocic <drake@zmmapperz.net>
36c8c1a2
- 2022-05-15 - Alexandre Flament <alex@al-f.net>
42fec22c
- 2022-05-16 - Markus Heiser <markus.heiser@darmarit.de>
43d1f4ed
- 2022-05-17 - Orwell Not <neteheste@gmail.com>
2 years ago
Alexandre FLAMENT
0063427309
Template images.html: lazy by JS the full size image
...
Remove lazy loading by browser / width / height:
JS is required to display this HTML fragment anyway.
Simplify the HTML template.
2 years ago
Alexandre Flament
f814ac703b
Merge pull request #1202 from julianfairfax/master
...
Preferences URL in preferences
2 years ago
Julian Fairfax
7d443dfea3
Preferences URL in preferences
...
Revert translation changes
Auto-save preferences from URL
Preferences URL in preferences
Fix that
Preferences URL in preferences
2 years ago
Allen
6ef24ffd94
[enh] Add alexandria.org engine
...
engine: json_engine
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
2 years ago
searxng-bot
6b29cddadb
[translations] update from Weblate
...
2842aa38
- 2022-05-12 - gkkulik <gregorykkulik@gmail.com>
c8fd2dee
- 2022-05-08 - Linerly <linerly@protonmail.com>
6336104f
- 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
2419fe86
- 2022-05-13 - Luka <jovanovic.luka3214@gmail.com>
6ed911eb
- 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
b6afceca
- 2022-05-08 - tents <remendne@pentrens.jp>
a250f349
- 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
3506357b
- 2022-05-11 - Markus Heiser <markus.heiser@darmarit.de>
dbf772e9
- 2022-05-11 - Mico Hautaluoma <m@mha.fi>
ee7c5036
- 2022-05-11 - Mico Hautaluoma <m@mha.fi>
8411acd2
- 2022-05-09 - Markus Heiser <markus.heiser@darmarit.de>
2 years ago
mrpaulblack
bc89bb4790
[build] /static
2 years ago
mrpaulblack
392c9c4243
[simple theme] add products.html template
2 years ago
Léon Tiekötter
035a4eaa09
Merge pull request #1194 from mrpaulblack/fix-leaflet-src
...
[fix] loading of external resources in JS client toolkit
2 years ago
mrpaulblack
58d4086ce1
[build] /static
2 years ago
Paul Braeuning
b47e44a008
Merge pull request #1196 from unixfox/patch-2
...
Fix typo for the limiter plugin docs
2 years ago
Émilien Devos
66b77c46c7
Fix typo
2 years ago
Émilien Devos
06cb15cbf7
Reflect the real world parameter from settings.yml
2 years ago
mrpaulblack
33c0a9e410
[fix] loading of external resources in JS client toolkit
2 years ago
mrpaulblack
c69c61838b
[fix] autocomplete and infinite scroll persistence in preferences
...
* fixes a regression from https://github.com/searxng/searxng/pull/1186
2 years ago
mrpaulblack
6b124e5120
[build] /static
2 years ago
Monty
2115f6565e
[mod] simple theme: colors, autocomplete, border
...
* change colors, autocomplete, delete border in some places
2 years ago
Léon Tiekötter
18b8bbc017
[fix] PR 1186: GET method
...
PR https://github.com/searxng/searxng/pull/1186 prevented the GET method from being selected.
2 years ago
Alexandre Flament
1e45dbbae9
[build] /static
2 years ago
Alexandre Flament
9b3efa6d8a
theme: remove __common__
2 years ago
Markus Heiser
4326009d00
[format.python] based on bugfix in 9ed626130
2 years ago
Markus Heiser
8175290867
[build] /static
2 years ago
Markus Heiser
444b1e70db
[mod] add setting: search.autocomplete_min
...
Minimun characters to type before autocompleter starts.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
ed2a4c8087
[mod] client_settings: pass settings from server to JS client
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2 years ago
Markus Heiser
3f18761adb
Revert "[build] /static"
2 years ago
Markus Heiser
0f18bfc8a5
[build] /static
2 years ago
Alexandre FLAMENT
550f70b1aa
Add support for the Silesian language
2 years ago
searxng-bot
12a584c5dd
[translations] update from Weblate
...
7d941719
- 2022-05-05 - gkkulik <gregorykkulik@gmail.com>
c3fa2774
- 2022-05-04 - Markus Heiser <markus.heiser@darmarit.de>
0c527178
- 2022-05-05 - realdep <islekege@gmail.com>
3540a89f
- 2022-05-06 - AHOHNMYC <lqwh2h2cwa@protonmail.com>
c517f467
- 2022-05-06 - iFvt;/s:.Io8yejcE! <6dbjomtr@anonaddy.me>
f9b9f666
- 2022-05-06 - Markus Heiser <markus.heiser@darmarit.de>
2b3dfa75
- 2022-05-06 - Markus Heiser <markus.heiser@darmarit.de>
bacd0922
- 2022-05-05 - gkkulik <gregorykkulik@gmail.com>
2 years ago
Paul Braeuning
31521f3a46
Merge pull request #1153 from return42/drop-oscar
...
[theme] peel out oscar from SearXNG development
3 years ago
Markus Heiser
8a79eb4d7b
Merge pull request #1158 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
3 years ago
Markus Heiser
6bd6e09e14
Merge pull request #1159 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
3 years ago
Markus Heiser
9c7e9bf1d9
Merge pull request #1157 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
3 years ago
Markus Heiser
9e6000407a
Merge pull request #1156 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
3 years ago
dalf
6f0a717dce
Update searx.data - update_engine_descriptions.py
3 years ago
dalf
bdfbc0ec02
Update searx.data - update_currencies.py
3 years ago
dalf
6cb08a568a
Update searx.data - update_wikidata_units.py
3 years ago
dalf
10023344a5
Update searx.data - update_ahmia_blacklist.py
3 years ago
dalf
e36d7067a9
Update searx.data - update_firefox_version.py
3 years ago
Markus Heiser
c3bb6c7059
[upd] searx/translations/messages.pot
...
generated by::
./manage pyenv.cmd pybabel extract \
-F babel.cfg \
-o "searx/translations/messages.pot"\
"searx/"
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
ad1aca6823
[theme] delete static/themes/oscar and templates/oscar
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
templates/oscar# gelöscht: searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
3 years ago
Markus Heiser
e8541b6006
[theme] peel out oscar from SearXNG development
...
This is the first step of removing oscar theme
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
fa681580bf
Merge pull request #1150 from searxng/dependabot/pip/master/pygments-2.12.0
...
Bump pygments from 2.11.2 to 2.12.0
After each update of the pygments version, we (or github action) should [1]
1. update less files:
./manage pyenv.cmd searxng_extra/update/update_pygments.py
update: static/themes/oscar/src/generated/pygments-logicodev.less
update: static/themes/oscar/src/generated/pygments-pointhi.less
update: static/themes/simple/src/generated/pygments.less
2. rebuild the static files of each themes:
make static.build.commit
[1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
0275f0f5ad
[upd] ./manage pyenv.cmd searxng_extra/update/update_pygments.py
...
After each update of the pygments version, we (or github action) should [1]
1. update less files:
./manage pyenv.cmd searxng_extra/update/update_pygments.py
update: static/themes/oscar/src/generated/pygments-logicodev.less
update: static/themes/oscar/src/generated/pygments-pointhi.less
update: static/themes/simple/src/generated/pygments.less
2. rebuild the static files of each themes:
make static.build.commit
[1] https://github.com/searxng/searxng/pull/2#issuecomment-826958666
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
fcc177b6ed
Merge pull request #1151 from searxng/translations_update
...
Update translations
3 years ago
searxng-bot
4b77fc6acf
[translations] update from Weblate
...
07ad7224
- 2022-04-29 - Alexandre Flament <alex@al-f.net>
3 years ago
Léon Tiekötter
02026bcc76
[fix] library genesis engine: xpath and url
...
Changed the xpath to use the official download mirror.
Changed the URL to libgen.fun as this is the official instance. (https://en.wikipedia.org/wiki/Library_Genesis )
3 years ago
Allen
624b58764a
[enh] Add pagination to Brave
...
Also added ```&spellcheck=1``` because now it is disabled by default, not returning any ```suggestion_xpath```.
3 years ago
capric98
8c7e6cc983
[fix] FutureWarning from lxml
...
Just in case if content is None, the original code will skip extract_text(), and
just append the None value to 'content'. So just add allow_none=True, and this
will return None without raising a ValueError in extract_text().
3 years ago
Markus Heiser
62982c8812
[fix] add back missing languages & regions (followup of PR #1071 )
...
In PR #1071 the language catalog of dailymotion has been cleaned up, before
there had been over 7000 "languages" in the catalog.
As a side effect of this clean-up the language & region catalog in SearXNG has
been reduced [1].
This patch reduce the ``min_engines_per_lang`` from 13 to 12 to get the missed
languages back in language & region catalog of SearXNG.
[1] 3bb62823ec (diff-f3f00db0f87f95b882624a192e0aac21525638af0b18c9514e765fcf1991678d)
Requested-by: @tiekoetter in a Matrix chat
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
dependabot[bot]
1974a85461
Bump grunt-contrib-uglify in /searx/static/themes/simple
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.1.0 to 5.2.1.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.1.0...v5.2.1 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Markus Heiser
50bac93363
Merge pull request #1094 from searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/grunt-1.5.2
...
Bump grunt from 1.4.1 to 1.5.2 in /searx/static/themes/simple
3 years ago
Markus Heiser
cf644b413e
[test.pyright] suppress unneeded error & warning messages
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
searxng-bot
9fd5d3b2ac
[translations] update from Weblate
...
9398019a
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
2768987d
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
dc9e7f98
- 2022-04-21 - Markus Heiser <markus.heiser@darmarit.de>
b223bd62
- 2022-04-17 - Egor Ermakov <eg.ermakov2016@gmail.com>
715e7dac
- 2022-04-18 - Mihai <miihairadu@gmail.com>
5c53a0ec
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
5906fd34
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
691702ed
- 2022-04-19 - Markus Heiser <markus.heiser@darmarit.de>
cc8bb018
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
ebfab76a
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
a8ce22fa
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
e9b6e3c6
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
6266ea2e
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
1729fbd8
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
0d0f5293
- 2022-04-18 - Mihai <miihairadu@gmail.com>
1b022583
- 2022-04-18 - Markus Heiser <markus.heiser@darmarit.de>
f2a71d93
- 2022-04-18 - A. B <gamemc@virgilio.it>
30206782
- 2022-04-15 - Mico Hautaluoma <m@mha.fi>
10f54679
- 2022-04-17 - smallaxe80 <smallaxe1980@gmail.com>
3 years ago
Markus Heiser
4ab189315b
[build] /static
3 years ago
Markus Heiser
2bcd610eeb
[fix] add missing result.length and result.author to simple theme
...
Closes: https://github.com/searxng/searxng/issues/1027
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
e22dc2ba36
Merge pull request #1099 from dalf/update_engine_descriptions
...
Update engine descriptions
3 years ago
Alexandre Flament
bbf13a4657
Merge pull request #1101 from allendema/pass-cookies-from-settings
...
[enh] Allow passing headers/cookies from settings.yml
3 years ago
Allen
dae8a08089
[fix[ Update only cookies/headers
3 years ago
Allen
67fb6fba84
[lint] Remove whitespace
...
From GH GUI
3 years ago
Allen
f039873e1a
[mod] Make a default domain for ebay
...
Which can be changed.
3 years ago
Allen
15862ebc35
[mod] Pass desired ebay domain in settings
...
https://www.ebay.de
https://www.ebay.com
htttps://www.ebay.es
etc
3 years ago
Allen
155333f625
[enh] Allow passing headers/cookies from settings.yml
...
Example:
- engine: xpath
- search_url: example.org
- headers: {'example_header': 'example_header'}
- cookies: {'safesearch': 'off'}
3 years ago
Alexandre Flament
7bf9e12db9
Update searx.data - update_engine_descriptions.py
3 years ago
Alexandre Flament
c474616642
Merge pull request #1071 from return42/fix-lang-dailymotion
...
[fix] dailymotion engine: filter by language & country
3 years ago
Alexandre Flament
4224607c62
searx.utils.html_to_text: replace <br/> by a space
3 years ago
Alexandre Flament
1a82e79b50
dailymotion: send valid value for the language parameter
3 years ago
Markus Heiser
3bb62823ec
[fix] dailymotion engine: filter by language & country
...
- fix the issue of fetching more the 7000 *languages*
- improve the request function and filter by language & country
- implement time_range_support & safesearch
- add more fields to the response from dailymotion (allow_embed, length)
- better clean up of HTML tags in the 'content' field.
This is more or less a complete rework based on the '/videos' API from [1].
This patch cleans up the language list in SearXNG that has been polluted by the
ISO-639-3 2 and 3 letter codes from dailymotion languages which have never been
used.
[1] https://developers.dailymotion.com/tools/
Closes: https://github.com/searxng/searxng/issues/1065
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Vojtěch Fošnár
ccd8305465
Merge branch 'searxng:master' into master
3 years ago
searxng-bot
9109ad706d
[translations] update from Weblate
...
10e2e02d
- 2022-04-14 - Markus Heiser <markus.heiser@darmarit.de>
723fc2b4
- 2022-04-14 - Markus Heiser <markus.heiser@darmarit.de>
8c3ef0ce
- 2022-04-12 - Linerly <linerly@protonmail.com>
19b08ebf
- 2022-04-10 - A. B <gamemc@virgilio.it>
5838445a
- 2022-04-10 - BriLHR <brianlimapp@gmail.com>
a9541b96
- 2022-04-10 - Markus Heiser <markus.heiser@darmarit.de>
8f9c7cee
- 2022-04-10 - Michal Kuncl <michal.kuncl@gmail.com>
54ea2973
- 2022-04-11 - Taufik Hidayat <tfkhdyt@pm.me>
3 years ago
dependabot[bot]
e314cfe667
Bump grunt from 1.4.1 to 1.5.2 in /searx/static/themes/simple
...
Bumps [grunt](https://github.com/gruntjs/grunt ) from 1.4.1 to 1.5.2.
- [Release notes](https://github.com/gruntjs/grunt/releases )
- [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt/compare/v1.4.1...v1.5.2 )
---
updated-dependencies:
- dependency-name: grunt
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Vojtěch Fošnár
de4af2fefd
[enh] add seznam autocomplete
3 years ago
Jabster28
9eb1b04f48
change "Wolfram|Alpha" to "Wolfram Alpha" in search results
3 years ago
Alexandre Flament
27f8fa6fe0
Merge pull request #1048 from Linerly/patch-1
...
Improve the about page
3 years ago
Alexandre Flament
592cea0e5e
Merge pull request #1030 from austinhuang0131/master
...
(feat) add jisho.org
3 years ago
Alexandre Flament
74c7aee9ec
jisho : code refactoring
3 years ago
Alexandre Flament
e764427153
Merge branch 'master' into switch-md-parser
3 years ago
Markus Heiser
5e7f469911
Merge pull request #1051 from return42/fix-region-name
...
[fix] add missing territory (country) name
3 years ago
Paul Braeuning
02d64772f7
Merge pull request #1066 from unixfox/fix-icons-oscar
...
Revert "[fix] return correct favicon path"
3 years ago
Paul Braeuning
604d177551
Merge pull request #1064 from capric98/pretty-url
...
fix: %2F in path will be converted to " › " in searx/webapp.py
3 years ago
searxng-bot
01bbd1d0bd
[translations] update from Weblate
...
45fc8afe
- 2022-04-08 - Markus Heiser <markus.heiser@darmarit.de>
b187bba2
- 2022-04-08 - A. B <gamemc@virgilio.it>
9d380d66
- 2022-04-07 - A. B <gamemc@virgilio.it>
03029129
- 2022-04-07 - A. B <gamemc@virgilio.it>
be15e572
- 2022-04-06 - Linerly <linerly@protonmail.com>
71fb0c50
- 2022-04-03 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Émilien Devos
cad3d93fa2
Revert "[fix] return correct favicon path"
...
This fixes https://github.com/searxng/searxng/issues/1057
This reverts commit f99d109ceb
.
3 years ago
HZH
c7de5c043c
fix: %2F in path will be converted to " › "
3 years ago
Markus Heiser
9215281232
[mod] replace Markdown parser mistletoe by markdown-it-py
...
There are several reasons why we should prefer markdown-it-py over mistletoe:
- Get identical rendering results in SearXNG's `/info` pages and the SearXNG's
project documentation which is build by Sphinx-doc.
In the Sphinx-doc we use the MyST parser to render Markdown and the MyST
parser itself is built on top of the markdown-it-py package.
- markdown-it-py has a typographer that supports *replacements*
and *smartquotes* (e.g. em-dash, copyright, ellipsis, ...) [1]
- markdown-it-py is much more flexible compared to mistletoe [2]
- markdown-it-py is the fastest CommonMark compliant parser in python [3]
[1] https://markdown-it-py.readthedocs.io/en/latest/using.html#typographic-components
[2] https://markdown-it-py.readthedocs.io/en/latest/plugins.html
[3] https://markdown-it-py.readthedocs.io/en/latest/other.html#performance
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
mrpaulblack
170f0081c9
[build] /static
3 years ago
mrpaulblack
169f8d9988
[simple theme] add netloc to image result articles
3 years ago
Linerly
22309f398b
Fix spelling and punctuation
3 years ago
Markus Heiser
19ebd0e1ac
[mod] review of the "Search Syntax" page (en)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
655db9b003
[mod] review of the "About SearXNG" page (en)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
effcde3d0e
[fix] add missing territory (country) name
...
Related-to: https://github.com/searxng/searxng/pull/1029#issuecomment-1086824911
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
HZH
57a3252ff1
Unquote path on result page.
3 years ago
Linerly
036b46493b
Improve the about page
3 years ago
Alexandre Flament
765504ceca
Merge pull request #1031 from dalf/fix-bing-_fetch_supported_languages
...
Fix bing fetch supported languages
3 years ago
Austin Huang
19fa0095a0
(fix) satisfy the linter, and btw reduce timeout
3 years ago
Austin Huang
a399248f56
update jisho.py according to suggestions
3 years ago
dependabot[bot]
b40d57df82
Bump grunt-contrib-uglify in /searx/static/themes/oscar
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
c199eadaf9
Bump grunt-contrib-uglify in /searx/static/themes/simple
...
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify ) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases )
- [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG )
- [Commits](https://github.com/gruntjs/grunt-contrib-uglify/compare/v5.0.1...v5.1.0 )
---
updated-dependencies:
- dependency-name: grunt-contrib-uglify
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
searxng-bot
556e137f8e
[translations] update from Weblate
...
74fb5882
- 2022-04-01 - Markus Heiser <markus.heiser@darmarit.de>
303aa210
- 2022-03-30 - dryragtax hamham uk <dryragtax@hamham.uk>
3eef1150
- 2022-03-30 - Markus Heiser <markus.heiser@darmarit.de>
fce33e06
- 2022-03-30 - Markus Heiser <markus.heiser@darmarit.de>
236dc6cb
- 2022-03-31 - Joan Montané <joan@montane.cat>
666e5849
- 2022-03-28 - Markus Heiser <markus.heiser@darmarit.de>
3a6ee1c5
- 2022-03-28 - Markus Heiser <markus.heiser@darmarit.de>
42a5f993
- 2022-03-27 - Linerly <linerly@protonmail.com>
3 years ago
Markus Heiser
099840f4d6
Merge pull request #1035 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
3 years ago
Markus Heiser
b853ab717e
Merge pull request #1034 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
3 years ago
Markus Heiser
c2de356497
Merge pull request #1033 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
3 years ago
dalf
086517d269
Update searx.data - update_wikidata_units.py
3 years ago
dalf
d245ca97ca
Update searx.data - update_ahmia_blacklist.py
3 years ago
dalf
084d9ab4e4
Update searx.data - update_currencies.py
3 years ago
dalf
4d55523247
Update searx.data - update_firefox_version.py
3 years ago
Alexandre FLAMENT
7d31b2c0af
Update languages
3 years ago
Alexandre FLAMENT
f00cdb5e51
bing engine: _fetch_supported_languages: don't use the language code as a country
...
ref #1029
3 years ago
Austin Huang
934ae4e086
(feat) add jisho.org
...
Closes #1016
3 years ago
Alexandre Flament
d1334beb4f
Merge pull request #1023 from austinhuang0131/master
...
[fix] return correct plugin path
3 years ago
Austin Huang
96b8aac826
Extra null safety
...
Co-Authored-By: Alexandre Flament <alex.andre@al-f.net>
3 years ago
Austin Huang
6353b850b0
[fix] merge fake "plugins" endpoint back to "static"
...
https: //matrix.to/#/!vxScbLNEAmRvOraXBn:matrix.org/$0zqTtH3s-eVKlMwiAgiEJdetOkRx27EIRs-C0o8FzSg?via=libera.chat&via=matrix.org&via=tchncs.de
Co-Authored-By: Alexandre Flament <alex.andre@al-f.net>
3 years ago
Austin Huang
f99d109ceb
[fix] return correct favicon path
3 years ago
Paul Braeuning
b94fdd0df0
Merge pull request #1024 from MontyQI/answer-box
...
Fix answer box bug
3 years ago
Alexandre Flament
0379856712
Merge pull request #967 from return42/language-filter
...
[mod] add flags to the languages filter
3 years ago
Monty
a5b013be4f
[build] /static
3 years ago
Monty
c09ce4d0f2
Fix answer box bug
...
Fix bug of too long words.
3 years ago
Austin Huang
e09d2ad4a7
[fix] return correct plugin path
...
closes #1021
3 years ago
Alexandre Flament
dec04c0ed6
Merge pull request #999 from return42/fix-doc-settings2
...
[docs] document settings.yml: search.languages
3 years ago
Alexandre Flament
b44a29a5a2
Merge pull request #1004 from MontyQI/search_url
...
Search_url only if method is POST
3 years ago
Monty
d4d42b423c
Search_url only if method is POST
...
Shows search_url only if method is set to POST.
3 years ago
Markus Heiser
a521d4985a
[docs] document settings.yml: search.languages
...
Requested-by: @dalf https://github.com/searxng/searxng/pull/996#discussion_r830858139
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
ef8af285a2
Merge pull request #994 from return42/add-limiter-redis-doc
...
[doc] add some documentation about the limiter plugin (and redis)
3 years ago
mrpaulblack
fb5169c839
[build] /static
3 years ago
mrpaulblack
d8d42c8541
[fix] revert changes from #997
...
* in #997 there was a bug introduced: #1002
-> for now we just revert the change to make the image detail modal usable again
3 years ago
Markus Heiser
37493b0a1e
[doc] add some documentation about the limiter plugin (and redis)
...
Requested-by: https://github.com/searxng/searxng/discussions/993#discussioncomment-2396914
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
searxng-bot
1e3c0e4e3f
[translations] update from Weblate
...
539bbc2a
- 2022-03-25 - Markus Heiser <markus.heiser@darmarit.de>
b6819712
- 2022-03-25 - Markus Heiser <markus.heiser@darmarit.de>
8ae195a0
- 2022-03-25 - Markus Heiser <markus.heiser@darmarit.de>
3ae1423b
- 2022-03-20 - Linerly <linerly@protonmail.com>
45dcd109
- 2022-03-21 - Colin Xu <xuzhonglinx@gmail.com>
8ade7993
- 2022-03-21 - Colin Xu <xuzhonglinx@gmail.com>
b815082a
- 2022-03-20 - Markus Heiser <markus.heiser@darmarit.de>
cf6bffeb
- 2022-03-20 - Markus Heiser <markus.heiser@darmarit.de>
b8132699
- 2022-03-23 - AHOHNMYC <lqwh2h2cwa@protonmail.com>
58736d0d
- 2022-03-21 - Markus Heiser <markus.heiser@darmarit.de>
cffd9679
- 2022-03-21 - Markus Heiser <markus.heiser@darmarit.de>
94fe1122
- 2022-03-24 - Alexandre Flament <alex@al-f.net>
cdf14e88
- 2022-03-21 - Markus Heiser <markus.heiser@darmarit.de>
ab6bf599
- 2022-03-20 - Marc Abonce Seguin <marc-abonce@mailbox.org>
0c2a39e0
- 2022-03-20 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
cfd08055ca
Merge pull request #963 from MontyQI/mobile-bar
...
Mobile bar google-like
3 years ago
Markus Heiser
7653e8bf16
Merge pull request #995 from return42/fix-932
...
[interim fix] static files can't be delivered by HTTP.
3 years ago
mrpaulblack
4ba9f98209
[build] /static
3 years ago
Monty
47dcf876ff
[simple theme] refactor search form
...
* update search input form params; inspiried by whoogle
* remove autofocus from result page input form (JS impl. as well as input param)
-> autofocus on landing page still works only on desktop and tablet with JS impl.
* update landing page margins on mobile
* rework border and radius for search form to 0.8rem and outline
* remove positioning from autocomplete JS lib and use CSS impl.
* match search box and autocomplete width
* rework search form to a google like design on mobile
* fix settings icon display withg RTL on mobile on result page when search input is empty
3 years ago
Markus Heiser
b14ed494fb
Merge pull request #996 from return42/fix-settings-doc
...
[docs] improve settings.yml documentation (admin/engines/settings)
3 years ago
Markus Heiser
32a35b4654
[docs] improve settings.yml documentation (admin/engines/settings)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
11b2724b29
[build] /static
3 years ago
Markus Heiser
022479d4c2
[fix] Text can't be selected when using simple theme with JS enabled
...
Closes: https://github.com/searxng/searxng/issues/794
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
2486cdc2dc
[build] /static
3 years ago
Alexandre Flament
6eae697c73
simple theme: upgrade some of dependencies
...
* less-plugin-clean-css: no updated version.
@wikipedia/less-plugin-clean-css might be an alternative.
* stylelint & stylelint-config-standard
the new versions require configuration and source code changes
3 years ago
Markus Heiser
fd5fcdedce
[interim fix] static files can't be delivered by HTTP.
...
Since PR 932 [1][2] static files can't be delivered by HTTP server any longer.
This patch makes the hash paramter in the URL of static files:
/static/themes/simple/css/searxng.min.css?5fde34a74bc438c7b56ec8c6501e131cc9914bd8
optional. By default the hash parameter is disabled.
HINT:
Instances that do not deliver static files by their HTTP server and have a
long expire time [3] should enable this option.
----
This is only a interim solution, on the long run:
make static.build.commit
creates files including the file name:
css/searxng-5fde34a74bc438c7b56ec8c6501e131cc9914bd8.min.css
and a mapping.json with this content[4]
[1] https://github.com/searxng/searxng/issues/964
[2] https://github.com/searxng/searxng/pull/932#issuecomment-1067039518
[3] 5583336440
[4] https://github.com/searxng/searxng/pull/932#issuecomment-1067216426
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
b25f118d64
Merge pull request #990 from dalf/searxng_base_url
...
settings.yml: allow to base_url with the SEARXNG_BASE_URL env variable
3 years ago
Markus Heiser
3201aa1b3f
Merge pull request #859 from return42/fix-814
...
[mod] add i18n infrastructure for SearXNG message files (searxng.msg)
3 years ago
Markus Heiser
bc30309939
Merge pull request #992 from return42/fix-987
...
[fix] settings.yml: ui.results_on_new_tab
3 years ago
Markus Heiser
e4a2bfba38
[fix] settings.yml: ui.results_on_new_tab
...
Closes: https://github.com/searxng/searxng/issues/987
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
2366345429
[build] /static
3 years ago
Alexandre Flament
84340f56ec
simple theme: JS version: the reset button clear the text
...
The <input type="reset"> introduced in the PR 894, restores the default value.
It works in the index page, but it doesn't work in the /search page:
the reset button restore the initial query.
This PR:
* fix the JS version: the reset button clear the text
* keep the clear button in the / page
* hide the clear button in the /search page
3 years ago
Alexandre Flament
8d83787318
settings.yml: allow to base_url with the SEARXNG_BASE_URL env variable
...
Related to https://github.com/searxng/searxng-docker/pull/12
3 years ago
Markus Heiser
076c6889d3
[fix] simple theme: open preferences with general tab
...
BTW: fix also the category tab to open with category 'general'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
mrpaulblack
f428dea87c
[build] /static
3 years ago
mrpaulblack
3620d006a4
[fix] naming of id for prefs in css
3 years ago
Markus Heiser
2e4557f3f3
[fix] languages: show country name even if there is only one country
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
a25e3767d4
[fix] don't show flags for languages without region identifier
...
SearXNG shows two different things:
region:
"de-CH" is the equivalent of "Schweiz (de)" in DDG.
languages:
"en" doesn't say anything about the location. It is up the engines to do their
best to select English results without a region.
Suggested-by: @dalf https://github.com/searxng/searxng/pull/967#issuecomment-1072979693
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
2841abaf55
[mod] add flags to the languages filter
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
7625da9fa0
Merge pull request #986 from dalf/fix-startpage-fetch_supported_languages
...
fix startpage: update XPath in _fetch_supported_languages
3 years ago
Alexandre Flament
378b29be2f
fix startpage: update XPath in _fetch_supported_languages
3 years ago
Alexandre Flament
b692035120
Merge pull request #894 from dalf/simple-aria-1
...
[enh] simple: basic ARIA fixes
3 years ago
searxng-bot
06ff1ad967
[translations] update from Weblate
...
5ef4a876
- 2022-03-16 - Joseph Ko <eaglclaws@gmail.com>
4f81930f
- 2022-03-16 - Markus Heiser <markus.heiser@darmarit.de>
7d2abf90
- 2022-03-17 - Markus Heiser <markus.heiser@darmarit.de>
87d5542e
- 2022-03-16 - Markus Heiser <markus.heiser@darmarit.de>
d39c1e67
- 2022-03-16 - Joseph Ko <eaglclaws@gmail.com>
7b0c3b03
- 2022-03-16 - Joseph Ko <eaglclaws@gmail.com>
fc37b695
- 2022-03-16 - Joseph Ko <eaglclaws@gmail.com>
7df01eea
- 2022-03-16 - Joseph Ko <eaglclaws@gmail.com>
56af42c2
- 2022-03-13 - Markus Heiser <markus.heiser@darmarit.de>
4b17697d
- 2022-03-14 - Joseph Ko <eaglclaws@gmail.com>
f5523f9d
- 2022-03-12 - Markus Heiser <markus.heiser@darmarit.de>
04998001
- 2022-03-12 - Nik Drešar <nik.dresar@gmail.com>
e6f4d878
- 2022-03-13 - AHOHNMYC <lqwh2h2cwa@protonmail.com>
ede86266
- 2022-03-11 - Matheus Henrique <niletcode@gmail.com>
362b7f2e
- 2022-03-12 - Markus Heiser <markus.heiser@darmarit.de>
da14280c
- 2022-03-13 - Markus Heiser <markus.heiser@darmarit.de>
d68537d2
- 2022-03-12 - PLefebvreBJO <contact@plefebvrebjo.com>
da27e825
- 2022-03-12 - Markus Heiser <markus.heiser@darmarit.de>
1d00cc00
- 2022-03-12 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
26d47fe587
Merge pull request #975 from return42/fix-723
...
[fix] remove unmaintained searx/templates/simple/simple.spec.txt
3 years ago
Markus Heiser
3922612775
[fix] remove unmaintained searx/templates/simple/simple.spec.txt
...
Files hasn't been updated since it initial commit in 2017
Closes: https://github.com/searxng/searxng/issues/723
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
dbe3eaabc9
Info: code refactoring & bug fixes
3 years ago
mrpaulblack
a1776ff57d
[build] /static
3 years ago
mrpaulblack
6a8e168e25
[simple theme] use default font and font-size in info page
3 years ago
Markus Heiser
9622dbbc6b
[upd] searx/translations/messages.pot
...
generated by::
./manage pyenv.cmd pybabel extract \
-F babel.cfg \
-o "searx/translations/messages.pot"\
"searx/"
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
784bf9ed15
[mod] move category and names of constants to searx/searxng.msg
...
Closes: https://github.com/searxng/searxng/issues/814
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
b9cf3c82a1
[mod] add i18n infrastructure for SearXNG message files (searxng.msg)
...
With this patch ``searxng.msg`` files can be added to SearXNG. In
``searxng.msg`` files messages can be defined which are not captured by babel's
gettext, like the generic names of the categories or messages that are stored in
constants.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
cd92a7eacd
Merge pull request #930 from return42/merge-user-doc2
...
Integrate the user documentation into the application
3 years ago
Alexandre Flament
1157462ff9
Various change on PR 930
3 years ago
Markus Heiser
59100e8525
[fix] add module for backward compatibility
...
cache_property has been added in py3.8 [1]
To support cache_property in py3.7 the implementation from 3.8 has been
copied to compat.py. This code can be cleanup with EOL of py3.7.
[1] https://docs.python.org/3/library/functools.html#functools.cached_property
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
8d83e4aeff
[build] /static
3 years ago
Markus Heiser
3633dc5611
[simple] add CSS for /info pages
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
b1912607ae
[mod] replace /help by /info pages and include pages in project docs
...
This patch implements a bolierplate to share content from info-pages of the
SearXNG instance (URL /info) with the project documentation (path /docs/user).
The info pages are using Markdown (CommonMark), to include them in the project
documentation (reST) the myst-parser [1] is used in the Sphinx-doc build chain.
If base_url is known (defined in settings.yml) links to the instance are also
inserted into the project documentation::
searxng_extra/docs_prebuild
[1] https://www.sphinx-doc.org/en/master/usage/markdown.html
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
searxng-bot
e475828ed2
[translations] update from Weblate
...
7f5432c9
- 2022-03-11 - Matheus Henrique <niletcode@gmail.com>
1d7a266c
- 2022-03-07 - Markus Heiser <markus.heiser@darmarit.de>
54256fcf
- 2022-03-08 - Dmitry Zakharchenko <dmitz@disroot.org>
5240149c
- 2022-03-08 - Dmitry Zakharchenko <dmitz@disroot.org>
db511b5a
- 2022-03-07 - Deleted User <noreply+256@weblate.org>
114f4399
- 2022-03-04 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
d597f36e07
[fix] simple: the clear button works without javascript
...
related to #928
3 years ago
Alexandre Flament
a250ddadb9
[enh] simple: basic ARIA fixes
3 years ago
Markus Heiser
53b5a804e2
[fix] engine mediathekviewweb: replace http links by https
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Martin Fischer
579334a7d8
[help] move about.md to searx/help/en/
3 years ago
Alexandre Flament
740e3bc90f
Merge pull request #932 from dalf/static-file-hash
...
static files: add a hash as a query
3 years ago
Markus Heiser
20f4538e13
[fix] engine: Semantic Scholar (Science) // rework & fix
...
Closes: https://github.com/searxng/searxng/issues/939
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
1c7d8815fb
[mod] URL for the static file contains the sha1
...
* allow to cache the static file forever
* avoid bugs when the static files are updated but not reloaded
3 years ago
Alexandre FLAMENT
041446d12a
[build] /static
3 years ago
Alexandre FLAMENT
8ffbaa086a
[simple] switch to the tablet layout at 79.75em
...
The previous value was 80em (1280px).
Some desktop screens have this resolution,
and tablet layout takes too much space in this configuration
This PR switch to the table layout for screen width strictly below 1280px.
Close https://github.com/searxng/searxng/issues/874
3 years ago
searxng-bot
ebcf78eaa5
[translations] update from Weblate
...
82b357ae
- 2022-03-02 - Markus Heiser <markus.heiser@darmarit.de>
5aa11c25
- 2022-03-02 - Markus Heiser <markus.heiser@darmarit.de>
c188070f
- 2022-02-25 - OctopusET <sumoon@seoulsaram.org>
9b93e452
- 2022-02-26 - Markus Heiser <markus.heiser@darmarit.de>
2a286e9a
- 2022-02-25 - OctopusET <sumoon@seoulsaram.org>
3 years ago
Alexandre FLAMENT
28bccda78a
[build] /static
3 years ago
Alexandre Flament
3d9e48b84e
[simple] checkboxes can get the focusable
...
Do note that checkboxes in the engine tab are displayed reversed.
See: 3408d061aa/searx/templates/simple/preferences.html (L313)
A checkbox for an engine is checked when the engine is disabled.
3 years ago
Markus Heiser
0ddcc12474
Merge pull request #934 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
3 years ago
Markus Heiser
69f84d941f
Merge pull request #935 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
3 years ago
Markus Heiser
5508155252
Merge pull request #936 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
3 years ago
dalf
f4c6eba227
Update searx.data - update_currencies.py
3 years ago
dalf
6946c4566f
Update searx.data - update_wikidata_units.py
3 years ago
dalf
49bc3971ae
Update searx.data - update_firefox_version.py
3 years ago
dalf
6add9dd6d3
Update searx.data - update_ahmia_blacklist.py
3 years ago
Alexandre Flament
2e1d4fac5d
[build] /static
3 years ago
Alexandre Flament
56bb1443c4
[fix] simple: display "Click on the magnifier..." only the mouse over the categories
3 years ago
Alexandre Flament
e435806505
[fix] simple: detect touch screen using media query
...
related to https://github.com/searxng/searxng/issues/928
3 years ago
mrpaulblack
e2a5dddf8e
[build] /static
3 years ago
mrpaulblack
21e3c40516
[simple theme] replace Image_layout.js with flexbox CS impl.
...
* drop image_layout.js from simple theme
* move image_layout.js to oscar theme and delete common js dir (since its empty now)
* align top position of image detail modal with bottom position of search header
* use flexbox to display images; row height can be set via @results-image-row-height in defenitions.less
* display span title underneath each image with a max width of 12rem
* increase margin and padding around image article on desktop and tablet
* make article height smaller on phone layout (height of 6rem) to display more content on current view
* remove content from result, if the title and content matches
* use a group that cotains the flex image article, if images are mixed with other categories
* fix pylint issues in webapp.py
* use the default.html result template in unit tests (thanks @return42)
3 years ago
Paul Braeuning
3408d061aa
Merge pull request #924 from MontyQI/search-filters
...
Search filters changes
3 years ago
Monty
6d03fa002f
[build] /static
3 years ago
Monty
b850178d26
Search filters changes
...
Better search filters view on mobile.
3 years ago
searxng-bot
338304078b
[translations] update from Weblate
...
3ecf1edf
- 2022-02-21 - Linerly <linerly@protonmail.com>
f6c9465b
- 2022-02-23 - Markus Heiser <markus.heiser@darmarit.de>
988c0c74
- 2022-02-22 - Alexandre Flament <alex@al-f.net>
60fbd734
- 2022-02-22 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
8d937179ab
Merge pull request #913 from return42/add-artwork
...
[mod] add artwork to mixcloud & soundcloud engines
3 years ago
Markus Heiser
96ac99b1f6
[build] /static
3 years ago
Markus Heiser
b08b81b434
[mod] bandcamp & genius: in result set img_src instead thumbnail
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/900#issuecomment-1046009057
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
bded1ee280
[fix] genius: add player an avoid exceptional programming
...
Add player:
- The players are just playing 30sec from the title. Some of the player will be
blocked because of a cross-origin request and some players will link to apple
when you press the play button.
Avoid exceptions and (and BTW improve results)
- ERROR searx.engines.genius : list index out of range
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Léon Tiekötter
de5062c10a
[mod] version formatting
...
Change SearXNG version formatting to YYYY.MM.DD-commit_hash
3 years ago
Alexandre Flament
8230603f48
Merge pull request #916 from dalf/pref_infinite_scroll2
...
Convert the infinite_scroll plugin as a preference (second version)
3 years ago
Alexandre Flament
1832ec742a
[build] /static
3 years ago
Alexandre Flament
56e34947a6
[mod] infinite_scroll as preference
...
* oscar theme: code from searx/plugins/infinite_scroll.py
* simple theme: new implementation
Co-authored-by: Markus Heiser <markus.heiser@darmarIT.de>
3 years ago
Markus Heiser
5ec9eb8030
[mod] switch default theme from oscar to simple
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
36aee70c24
Merge pull request #910 from tiekoetter/fix-909
...
[fix] google images engine: Fix 'scrap_img_by_id' function
3 years ago
Markus Heiser
2921d3cd17
[mod] add artwork to mixcloud & soundcloud engines
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
efd81f9266
[build] /static
3 years ago
Markus Heiser
16d05ca285
[mod] simple theme: define a '.show-content-button'
...
With LESS function '.show-content-button' all the *Show-Media* links becomes
bottons.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
c2d9c93b3b
[fix] image_proxy: allow HTTP redirects
...
Without redirects the load of various images will fail when image_proxy is
enabled [1].
[1] https://github.com/searxng/searxng/pull/910#issuecomment-1045966577
Suggested-by: @dalf [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
4a28b593c2
[fix] google images engine: Fix 'scrap_img_by_id' function
...
The 'scrap_img_by_id' function didn't return any longer anything useful. This
fix allows the google images engine to present the full source image instead of
only the thumbnail.
The function scrap_img_by_id() is rpelaced by a fully rewrite to parse image
URLs by a regular expression. The new function parse_urls_img_from_js(dom)
returns a mapping of data-id to image URL.
Closes: https://github.com/searxng/searxng/issues/909
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
ace5401632
Merge pull request #900 from return42/fix-883
...
[fix] bandcamp: fix itemtype (album|track) and exceptions
3 years ago
Markus Heiser
e9a227c606
Merge pull request #893 from return42/mvw-video
...
[mod] mediathekviewweb engine: add data_src and use videos template
3 years ago
Markus Heiser
943a7fdcb5
[mod] mediathekviewweb engine: add iframe_src and use videos template
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
fa3cd7a696
[build] /static
3 years ago
Markus Heiser
05c105b837
[fix] bandcamp: fix itemtype (album|track) and exceptions
...
BTW: polish implementation and show tracklist for albums
Closes: https://github.com/searxng/searxng/issues/883
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
29182eb1c9
Merge pull request #899 from dalf/limiter_update
...
[limiter] update
3 years ago
Alexandre Flament
bf2a2ed48f
Merge pull request #882 from return42/fix-873
...
[fix] replace embedded HTML by data_src
3 years ago
Markus Heiser
761885682d
[build] /static
3 years ago
Markus Heiser
8acf540f0e
[mod] simple theme: set height of embedded content (iframe)
...
This commit sets appropriate height of the (embedded) player from:
- soundcloud
- mixcloud
- deezer
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
7352c6bc79
[mod] templates: rename field for <iframe> URL to iframe_src
...
Rename result field data_src to iframe_src
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#issuecomment-1037997402
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
f5e8cfade2
[fix] simple theme: support browsers which do not have aspect-ratio
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805187303
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
50ee7bcac6
[oscar] add scrolling="no" to iframes in HTML templates
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805180787
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
795e8af61d
[fix] hostname_replace.py: don't stop replace URL in fields
...
This is a rewrite of the hostname_replace.py that:
- don't stop to replace URL in fields ('data_src', 'audio_src') if there isn't a
'parsed_url',
- adds a comment about keep or remove a result from the result list
- adds a loop over ['data_src', 'audio_src'] instead of doubling code lines
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
searxng-bot
1084f5f42c
[translations] update from Weblate
...
8daeaf72
- 2022-02-16 - mezysinc <mezysinc@mailsac.com>
f373b0a4
- 2022-02-13 - temp <temp@mykolab.com>
273ae271
- 2022-02-16 - Márton Farkas <farkasmrton@gmail.com>
956496a3
- 2022-02-12 - Alexandre Flament <alex@al-f.net>
acf6d3ae
- 2022-02-15 - Markus Heiser <markus.heiser@darmarit.de>
aec5670e
- 2022-02-11 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
d1b7debac6
[limiter] update
3 years ago
Markus Heiser
ae8b174e93
[fix] replace peer.tube by peertube.biz
...
More peertube instances are listed at [1]
[1] https://instances.joinpeertube.org/instances
Closes: https://github.com/searxng/searxng/issues/881
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
98cab4cf75
[mod] result_templates/default.html replace embedded HTML by data_src audio_src
...
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src' (and 'audio_src'), an URL for embedded content (<iframe>).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
b9a2e8b387
[mod] hostname_replace: replace hostnames in result's data_src param
...
To test you need to redirect embeded videos (e.g.) from youtube to a invidios
instance. Search for videos using engine `!youtube lebowski`. The result URLs
and the embeded videos should link to the invidios instance.
Here is an example of such a `hostname_replace` configuration::
hostname_replace:
# youtube --> Invidious
'(.*\.)?youtube-nocookie\.com': 'invidio.xamh.de'
'(.*\.)?youtube\.com$': 'invidio.xamh.de'
'(.*\.)?invidious\.snopyta\.org$': 'invidio.xamh.de'
'(.*\.)?vid\.puffyan\.us': 'invidio.xamh.de'
'(.*\.)?invidious\.kavin\.rocks$': 'invidio.xamh.de'
'(.*\.)?inv\.riverside\.rocks$': 'invidio.xamh.de'
Closes: https://github.com/searxng/searxng/issues/873
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
46e131fdad
[mod] result_templates/videos.html: replace embedded HTML by data_src
...
Embedded HTML breaks SearXNG architecture. To modularize, HTML is generated in
the templates (oscar & simple) and result parameter 'embedded' is replaced by
'data_src', an URL for embedded content (<iframe>).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
a4942213a1
Merge pull request #892 from dalf/limiter-update
...
plugin limiter: check only /image_proxy and /search
3 years ago
Alexandre Flament
b99ccd7c02
plugin limiter: check only /image_proxy and /search
...
also adjust the number of req/time
3 years ago
Markus Heiser
9cd9dfd26e
Merge pull request #887 from unixfox/patch-5
...
Update the XPath for fetching the Google results
3 years ago
Alexandre Flament
782c81ec17
Merge pull request #884 from return42/disable-deezer
...
[mod] disable deezer engine by default
3 years ago
searxng-bot
eee41a2857
[translations] update from Weblate
...
085368cc
- 2022-02-08 - akynr <ak.red@web.de>
9b531712
- 2022-02-09 - Justas Zabulionis <justas.zabulionis@gmail.com>
6e13d297
- 2022-02-06 - Markus Heiser <markus.heiser@darmarit.de>
b1ac1da2
- 2022-02-06 - Markus Heiser <markus.heiser@darmarit.de>
de117bfe
- 2022-02-10 - Tamas Veres <zsumba1985@gmail.com>
7392a5b0
- 2022-02-10 - Markus Heiser <markus.heiser@darmarit.de>
a28a60d9
- 2022-02-07 - Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Émilien Devos
7d3e8118b0
Update the XPath for fetching the Google results
3 years ago
Markus Heiser
f2e16904a5
[mod] disable deezer engine by default
...
To play content from deezer a account is needed, the majority of the SearXNG
won't have.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
906a0a99cd
[fix] openstreatmap: load thumbnail from uploads.wikimedia.org
...
Openstreatmap images are now loaded from uploads.wikimedia.org instead of
commons.wikimedia.org to prevent redirects.
With `image_proxy` enabled images from commons.wikimedia.org cant be loaded
since they are redirected. We already discussed this issue [875] and
@tiekoetter fixed this issue in PR [878].
Related-to:
- [875] https://github.com/searxng/searxng/issues/875
- [878] https://github.com/searxng/searxng/pull/878
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
a967e59590
[pylint] searx/engines/wikidata.py (no functional change)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Léon Tiekötter
1c151ae92b
[fix] wikidata: URL decoding and file extension handling
...
Add '.png' to the second img_src_name if it has the extension '.svg'.
Use urllib.parse.unquote for URL decoding.
3 years ago
Markus Heiser
a13c5d70c7
[fix] wikidata engine: select image with higher (not lower) priority
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Léon Tiekötter
a50f32bcfc
wikidata: load thumbnail instead of full image
3 years ago
Léon Tiekötter
560a14e77b
[fix] wikidata info box images
...
Wikidata info box images are now loaded from uploads.wikimedia.org instead of commons.wikimedia.org to prevent redirects
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
10e6881ca8
Merge pull request #867 from return42/fix-base_url_rand
...
[fix] invidious engine: store random base_url in param
3 years ago
Alexandre Flament
bf987bb608
Merge pull request #848 from not-my-profile/help-route
...
Introduce `/help` route
3 years ago
Martin Fischer
91527fbd6b
[enh] avoid /about redirect in template links
3 years ago
Markus Heiser
24e2acf88e
Merge pull request #839 from dalf/docs_searx_utils
...
[mod] add documentation about searx.utils
3 years ago
Martin Fischer
07936060d1
preferences: Set autocomplete=off for form
...
Otherwise you can change the value of a select,
refresh the page and the preferences stay changed,
leaving the wrong impression that they were saved.
3 years ago
Markus Heiser
b35ef9789b
[pylint] engines/invidious.py
...
Fix remarks from pylint and remove usless comments
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
e2ec6b4211
[fix] invidious engine: store random base_url in param
...
Two different threads ( = two different user queries) can call the request
function in a row and then the response function. The namespace will be same
since this is the same engine.
To keep exactly the same value ``base_url`` must be stored in params and then
retrieve using ``resp.search_params["base_url"]``.
Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
ae804ddf40
Merge pull request #862 from return42/fix-858
...
[fix] solidtorrents engine - JSON API no longer exists
3 years ago
Markus Heiser
ddc2102a07
[fix] solidtorrents engine: store random bas_url in param
...
Two different threads ( = two different user queries) can call the request
function in a row and then the response function. The namespace will be same
since this is the same engine.
To keep exactly the same value ``base_url`` must be stored in params and then
retrieve using ``resp.search_params["base_url"]``.
Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#discussion_r799324861
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
d6061b7c8a
[mod] solidtorrents engine: add metadata & torrentfile
...
BTW: define min_len in eval_xpath_list of 'stats' list
Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#pullrequestreview-872910744
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
f9c4868142
[fix] solidtorrents engine: use get_torrent_size from searx.utils
...
Suggested-by: @dalf https://github.com/searxng/searxng/pull/862#pullrequestreview-872858489
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
d92b3d96fd
[fix] solidtorrents engine: JSON API no longer exists
...
The API endpoint, we where using does not exist anymore. This patch is a
rewrite that parses the HTML page.
Related: https://github.com/paulgoio/searxng/issues/17
Closes: https://github.com/searxng/searxng/issues/858
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
de32d543bc
Merge pull request #863 from searxng/dependabot/pip/master/black-22.1.0
...
Bump black from 21.12b0 to 22.1.0
3 years ago
Markus Heiser
2e5d562da3
Merge pull request #865 from searxng/dependabot/npm_and_yarn/searx/static/themes/simple/master/sharp-0.30.0
...
Bump sharp from 0.29.3 to 0.30.0 in /searx/static/themes/simple
3 years ago
Markus Heiser
964902e779
[fix] issue reported by pylint 22.1.0
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
searxng-bot
cc99386523
[translations] update from Weblate
...
bf218121
- 2022-01-31 - Markus Heiser <markus.heiser@darmarit.de>
ba9e50fd
- 2022-01-30 - Genghis Khan <genghiskhan@gmx.ca>
258505ba
- 2022-01-29 - Markus Heiser <markus.heiser@darmarit.de>
dacbf882
- 2022-01-31 - Markus Mikkonen <markus.mikkonen@outlook.com>
968e7f6b
- 2022-02-02 - Marco Ciampa <ciampix@posteo.net>
3 years ago
dependabot[bot]
6eee2d8771
Bump sharp from 0.29.3 to 0.30.0 in /searx/static/themes/simple
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.29.3 to 0.30.0.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.0 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Alexandre Flament
9fae80facb
Merge pull request #618 from dalf/limiter
...
[enh] limiter plugin
3 years ago
Alexandre Flament
f79b0fce06
[enh] limiter plugin
...
can replace filtron:
* rate limite the number of request per IP and per (IP, User-Agent)
* block some bots
use Redis
data stored in Redis never contains the IP addresses, only HMAC using the secret_key
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
07f7289e23
Merge pull request #849 from return42/fix-787
...
[fix] engines description - currency_convert.py
3 years ago
Markus Heiser
50a56532c4
[pylint] engines/currency_convert.py
...
Fix remarks from pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
314ea2dc61
Merge pull request #852 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
3 years ago
Markus Heiser
4d0bd47ff0
Merge pull request #853 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
3 years ago
Markus Heiser
20cbabff96
Merge pull request #851 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
3 years ago
dalf
f4f90aa3a4
Update searx.data - update_firefox_version.py
3 years ago
dalf
7b402e1aa0
Update searx.data - update_ahmia_blacklist.py
3 years ago
dalf
1c47f4b6e0
Update searx.data - update_currencies.py
3 years ago
dalf
e78dc45d1e
Update searx.data - update_wikidata_units.py
3 years ago
Martin Fischer
14338e2c3b
[enh] generate navigation for help pages
3 years ago
Martin Fischer
c53c295573
[enh] make searx.user_help use an explicit TOC
...
When we have multiple help pages we want them
to be displayed in a specific order.
3 years ago
Martin Fischer
0f7bcd17b2
[build] /static
3 years ago
Martin Fischer
5012d06e72
[simple] allow .tabs to be used for help pages
3 years ago
Martin Fischer
fb9eedbf40
[enh] introduce /help route
...
Translation will be implemented in the future.
For now the "en" in /help/en/<pagename> is hardcoded.
3 years ago
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.
3 years ago
Martin Fischer
08bb3a5f3a
[pyright:basic] searx.user_help
3 years ago
Martin Fischer
e931590312
[build] /static
3 years ago
Martin Fischer
b6200563ba
[simple] improve margin of #linkto_preferences
...
Co-authored-by: Paul Braeuning <paul@paulgo.io>
3 years ago
Markus Heiser
15320b5eec
[fix] engines description - currency_convert.py
...
Currency engine has DuckDuckGo metadata
In the engine selector of the preferences window, the currency search engine has
the same metadata and wikidata url as duckduckgo, I'd assume there should be a
difference of some sort there clarifying what source the currency uses or, if
it's a duckduckgo service, at least clarifying that it's a currency service by
duck duck go.
Closes: https://github.com/searxng/searxng/issues/787
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago