Alexandre Flament
8a85d1b0c7
Theme: add a preference to center the results (Oscar) (2nd edition)
...
related to
* #1169
* #1281
* #1286
2022-06-18 08:54:24 +02:00
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
2022-06-18 07:39:46 +02:00
Alexandre Flament
a7b0b2ecbf
Merge pull request #1329 from samsaptidev/feature/privacypolicy_url
...
Add privacypolicy_url option
2022-06-18 07:26:40 +02:00
Léon Tiekötter
6bdc66b70e
[fix] mojeek engine: XPath
...
Update the XPath of the Mojeek engine.
2022-06-17 09:32:53 +02:00
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>
2022-06-17 07:17:59 +00:00
samsaptidev
31005595c9
Add privacypolicy_url option
2022-06-16 11:56:24 +02:00
ta
e9cc6ab0e7
add pub.dev engine
2022-06-15 12:55:37 +02:00
Paul Braeuning
d7a76f3772
Merge pull request #1322 from return42/fix-794
...
[fix] keyboard.js - highlightResult: don't steal focus on click event
2022-06-14 19:07:09 +02:00
Markus Heiser
ef4239c68a
[doc] fix some leftovers from ad964562c
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-14 16:31:41 +02:00
Markus Heiser
1a361e6635
[build] /static
2022-06-14 15:14:33 +02:00
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>
2022-06-14 15:14:19 +02:00
Alexandre Flament
3ade7ffc26
[build] /static
2022-06-13 21:38:07 +02:00
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
2022-06-13 21:35:14 +02:00
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
2022-06-12 17:07:13 +02:00
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".
2022-06-12 11:21:24 +02:00
Alexandre Flament
2455f1d06a
Merge pull request #1308 from allendema/add-yep-com-json
...
[enh] Add yep.com via json_engine
2022-06-12 11:09:04 +02:00
Markus Heiser
916f5f8b90
Merge pull request #1306 from return42/fix-1303
...
[fix] move locale code from webapp.py to locales.py and fix #1303
2022-06-12 10:56:59 +02:00
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>
2022-06-12 10:52:26 +02:00
Emilien Devos
0d4c066119
notify the user that use_mobile_ui parameter exist
2022-06-11 17:20:56 +02:00
Allen
fd9a13a3e5
[enh] Initial no paging support for Yep.com
...
Upstream example query:
https://yep.com/web?q=test
https://yep.com/about
2022-06-11 14:17:44 +02:00
Alexandre Flament
cd2dd5dd55
Wikidata engine: ignore dummy entities
...
Close #641
2022-06-11 11:09:21 +02:00
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
2022-06-11 10:50:11 +02:00
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>
2022-06-10 07:19:19 +00:00
Maciej Błędkowski
98c4156f12
Fixed typo in settings.yml
2022-06-09 17:08:14 +02:00
Alexandre Flament
ea0cddba0b
Merge pull request #1047 from return42/redis-lib
...
Add a redis library to generalize DB functions we need in SearXNG.
2022-06-06 10:59:11 +02:00
Alexandre Flament
06217ef184
[build] /static
2022-06-05 23:06:19 +02:00
Alexandre Flament
9723cef99a
Revert "Theme: add a preference to center the results (Oscar)"
...
This reverts commit 4237f5fd50
.
2022-06-05 23:03:26 +02:00
Alexandre Flament
f8f6b95d8f
Merge pull request #1281 from dalf/style-center
...
Theme: add a preference to center the results
2022-06-05 21:39:58 +02:00
Alexandre Flament
2c62360e6e
[build] /static
2022-06-05 20:00:11 +02:00
Alexandre Flament
4237f5fd50
Theme: add a preference to center the results (Oscar)
...
related to #1169
2022-06-05 19:59:49 +02:00
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>
2022-06-04 09:15:26 +02:00
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>
2022-06-03 15:41:52 +02:00
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>
2022-06-03 07:18:49 +00:00
Alexandre FLAMENT
7e8a60fb27
[build] /static
2022-06-02 20:35:49 +00:00
Alexandre FLAMENT
fbad93e808
Theme: enable autofocus of #q only on the index page and when the width > 50em
...
Related to #1270
2022-06-02 20:33:31 +00:00
Markus Heiser
96dc4369d5
Merge pull request #1259 from allendema/petal-images
...
[enh] Add Petalsearch Images engine
2022-06-02 14:59:24 +02:00
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.
2022-06-02 14:32:37 +02:00
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
2022-06-02 14:32:37 +02:00
Markus Heiser
e568da2314
Merge pull request #1266 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2022-06-01 13:49:48 +02:00
Markus Heiser
84a5e48a90
Merge pull request #1265 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2022-06-01 11:29:41 +02:00
Markus Heiser
78968843a8
Merge pull request #1267 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2022-06-01 11:24:35 +02:00
Markus Heiser
a9251cfeb4
Merge pull request #1268 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2022-06-01 11:24:00 +02:00
Markus Heiser
61ee915064
Merge pull request #1264 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2022-06-01 10:34:19 +02:00
dalf
fda176144e
Update searx.data - update_engine_descriptions.py
2022-06-01 06:40:37 +00:00
dalf
f37b9978cb
Update searx.data - update_currencies.py
2022-06-01 06:32:10 +00:00
dalf
a93170725f
Update searx.data - update_firefox_version.py
2022-06-01 06:31:57 +00:00
dalf
8d6d32bf6e
Update searx.data - update_ahmia_blacklist.py
2022-06-01 06:31:54 +00:00
dalf
012d7fcaa0
Update searx.data - update_languages.py
2022-06-01 06:31:54 +00:00
dalf
ab9616c2cc
Update searx.data - update_wikidata_units.py
2022-06-01 06:31:52 +00:00
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>
2022-05-30 11:21:09 +02:00
Markus Heiser
4b185f0e11
[mod] plugins/limiter.py - use searx.redislib.incr_sliding_window
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-30 11:10:30 +02:00
Markus Heiser
08876df7c2
[mod] collection of redis functions and lua scripts (initial)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-30 11:10:30 +02:00
Léon Tiekötter
167f635924
[engine] petal search news
...
Add Petal Search News to SearXNG via XPath
2022-05-29 22:49:41 +02:00
Léon Tiekötter
f09e8abd76
[engine] petal search
...
Add Petal Search to SearXNG via XPath
2022-05-29 22:23:30 +02:00
Léon Tiekötter
7c8903c809
[fix] mojeek engine: xpath
2022-05-28 18:09:25 +02:00
Markus Heiser
e93385e6de
Merge pull request #1249 from Linerly/english-infopage
...
Capitalize website names in search-syntax.md, in the English infopage
2022-05-28 16:50:55 +02:00
Linerly
c2f7b1136e
Capitalize website names
2022-05-28 14:41:53 +00:00
Linerly
979c42f044
Replace link
2022-05-28 14:38:14 +00:00
Linerly
2871900651
Capitalize website names
2022-05-28 14:34:58 +00:00
Linerly
db26b9b13b
Replace English links to Indonesian links
2022-05-28 14:33:10 +00:00
Markus Heiser
22d8971bc9
[translation] add DE translation of about.md and search-syntax.md
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-28 14:28:51 +02:00
Markus Heiser
7686739f56
Merge pull request #1242 from Linerly/indonesian-infopage
...
Add Indonesian translations of about.md and search-syntax.md
2022-05-28 12:06:00 +02:00
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>
2022-05-27 07:19:13 +00:00
Linerly
f3134e0869
Add Indonesian translations of about.md and search-syntax.md
2022-05-27 10:06:44 +07:00
Allen
13f4dcafc1
[fix] [new] Brave - Update xpath
...
Last merge request was messed up with git.
2022-05-26 18:44:11 +02:00
Alexandre Flament
c24864a9ad
Enable duckduckgo by default
...
see https://github.com/searxng/searxng/pull/1219#discussion_r879543174
2022-05-24 23:33:12 +02:00
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
2022-05-24 23:33:08 +02:00
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
2022-05-24 23:14:47 +02:00
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>
2022-05-20 07:19:10 +00:00
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.
2022-05-18 07:29:31 +00:00
Alexandre Flament
f814ac703b
Merge pull request #1202 from julianfairfax/master
...
Preferences URL in preferences
2022-05-15 20:42:37 +02:00
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
2022-05-15 20:34:04 +02:00
Allen
6ef24ffd94
[enh] Add alexandria.org engine
...
engine: json_engine
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
2022-05-15 11:10:15 +02:00
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>
2022-05-13 07:20:35 +00:00
mrpaulblack
bc89bb4790
[build] /static
2022-05-11 00:03:42 +02:00
mrpaulblack
392c9c4243
[simple theme] add products.html template
2022-05-11 00:03:21 +02:00
Léon Tiekötter
035a4eaa09
Merge pull request #1194 from mrpaulblack/fix-leaflet-src
...
[fix] loading of external resources in JS client toolkit
2022-05-10 23:24:24 +02:00
mrpaulblack
58d4086ce1
[build] /static
2022-05-10 23:06:44 +02:00
Paul Braeuning
b47e44a008
Merge pull request #1196 from unixfox/patch-2
...
Fix typo for the limiter plugin docs
2022-05-10 22:51:03 +02:00
Émilien Devos
66b77c46c7
Fix typo
2022-05-10 20:45:59 +00:00
Émilien Devos
06cb15cbf7
Reflect the real world parameter from settings.yml
2022-05-10 20:44:35 +00:00
mrpaulblack
33c0a9e410
[fix] loading of external resources in JS client toolkit
2022-05-10 22:40:46 +02:00
mrpaulblack
c69c61838b
[fix] autocomplete and infinite scroll persistence in preferences
...
* fixes a regression from https://github.com/searxng/searxng/pull/1186
2022-05-10 22:25:42 +02:00
mrpaulblack
6b124e5120
[build] /static
2022-05-10 21:58:22 +02:00
Monty
2115f6565e
[mod] simple theme: colors, autocomplete, border
...
* change colors, autocomplete, delete border in some places
2022-05-10 21:56:43 +02:00
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.
2022-05-10 17:47:53 +02:00
Alexandre Flament
1e45dbbae9
[build] /static
2022-05-07 19:43:20 +02:00
Alexandre Flament
9b3efa6d8a
theme: remove __common__
2022-05-07 19:40:48 +02:00
Markus Heiser
4326009d00
[format.python] based on bugfix in 9ed626130
2022-05-07 18:23:10 +02:00
Markus Heiser
8175290867
[build] /static
2022-05-07 17:58:53 +02:00
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>
2022-05-07 17:58:30 +02:00
Markus Heiser
ed2a4c8087
[mod] client_settings: pass settings from server to JS client
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-05-07 17:58:30 +02:00
Markus Heiser
3f18761adb
Revert "[build] /static"
2022-05-07 17:56:30 +02:00
Markus Heiser
0f18bfc8a5
[build] /static
2022-05-07 17:36:58 +02:00
Alexandre FLAMENT
550f70b1aa
Add support for the Silesian language
2022-05-06 09:40:45 +00:00
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>
2022-05-06 07:18:36 +00:00
Paul Braeuning
31521f3a46
Merge pull request #1153 from return42/drop-oscar
...
[theme] peel out oscar from SearXNG development
2022-05-03 18:47:35 +02:00
Markus Heiser
8a79eb4d7b
Merge pull request #1158 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2022-05-01 09:51:56 +02:00
Markus Heiser
6bd6e09e14
Merge pull request #1159 from searxng/update_data_update_engine_descriptions.py
...
Update searx.data - update_engine_descriptions.py
2022-05-01 09:51:21 +02:00
Markus Heiser
9c7e9bf1d9
Merge pull request #1157 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2022-05-01 09:50:28 +02:00