Markus Heiser
85ffaf448a
Merge pull request #1358 from return42/flask-babel
...
[doc] intersphinx: fix https://python-babel.github.io/flask-babel
2022-06-22 09:34:06 +02:00
Markus Heiser
b224761a1b
[doc] intersphinx: fix https://python-babel.github.io/flask-babel
...
The URL https://flask-babel.tkte.ch/ is no longer valid [1].
[1] https://github.com/python-babel/flask-babel/commit/0847cc6284
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-22 09:22:21 +02:00
ta
7c457fcf7a
add curlie engine
2022-06-22 11:46:33 +07:00
Markus Heiser
bd5d1c00a0
Merge pull request #1353 from return42/clean-up
...
[fix] clean up templates / remove import of result_footer_rtl macro
2022-06-20 19:09:17 +02:00
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>
2022-06-20 19:00:10 +02:00
Markus Heiser
8f7cb4ad6f
Merge pull request #1343 from liimee/eng-1
...
Fix google play apps engine
2022-06-18 16:12:46 +02:00
ta
8883aed132
[fix] google play apps engine: implement engines/google_play_apps.py
2022-06-18 16:02:39 +02:00
Alexandre Flament
189df7db4e
Merge pull request #1287 from dalf/style-center-2nd
...
Theme: add a preference to center the results (Oscar) (2nd edition)
2022-06-18 12:34:57 +02:00
Markus Heiser
62e88e63a1
Merge pull request #1345 from dalf/index_remove_img_preload
...
Workaround: index.html: remove image preload
2022-06-18 09:36:23 +02:00
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.
2022-06-18 09:04:13 +02:00
Alexandre Flament
e6c3000909
[build] /static
2022-06-18 08:58:06 +02:00
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
43b8b64866
Merge pull request #1328 from return42/yaml-strict
...
[fix] test.yamllint: return non-zero exit code on warnings
2022-06-18 08:53:07 +02:00
Alexandre Flament
b41a685eb1
Merge pull request #1336 from searxng/dependabot/pip/master/splinter-0.18.0
...
Bump splinter from 0.17.0 to 0.18.0
2022-06-18 08:37:25 +02:00
Alexandre Flament
1945039017
Merge pull request #1344 from dalf/fix-sys-modules-iterator
...
Fix: use sys.modules.copy() to avoid RuntimeError
2022-06-18 08:26:46 +02:00
dependabot[bot]
880378f48d
Bump splinter from 0.17.0 to 0.18.0
...
Bumps [splinter](https://github.com/cobrateam/splinter ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/cobrateam/splinter/releases )
- [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst )
- [Commits](https://github.com/cobrateam/splinter/compare/0.17.0...0.18.0 )
---
updated-dependencies:
- dependency-name: splinter
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alexandre Flament <alex@al-f.net>
2022-06-18 08:10:33 +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
Markus Heiser
8177bf3f0a
Merge pull request #1337 from searxng/dependabot/pip/master/aiounittest-1.4.2
...
Bump aiounittest from 1.4.1 to 1.4.2
2022-06-17 10:13:46 +02:00
Markus Heiser
9f819d4b6a
Merge pull request #1341 from tiekoetter/fix-mojeek-xpath
...
[fix] mojeek engine: XPath
2022-06-17 09:42:40 +02:00
Markus Heiser
af699082db
Merge pull request #1338 from searxng/dependabot/pip/master/certifi-2022.6.15
...
Bump certifi from 2022.5.18.1 to 2022.6.15
2022-06-17 09:39:18 +02:00
dependabot[bot]
545ea6e4aa
Bump certifi from 2022.5.18.1 to 2022.6.15
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2022.5.18.1 to 2022.6.15.
- [Release notes](https://github.com/certifi/python-certifi/releases )
- [Commits](https://github.com/certifi/python-certifi/compare/2022.05.18.1...2022.06.15 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 07:33:29 +00: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
Markus Heiser
ad18ac1ff2
Merge pull request #1340 from searxng/dependabot/pip/master/babel-2.10.3
...
Bump babel from 2.10.1 to 2.10.3
2022-06-17 09:32:42 +02:00
Markus Heiser
36db2679c3
Merge pull request #1339 from searxng/translations_update
...
Update translations
2022-06-17 09:19:43 +02:00
dependabot[bot]
0fce1395e9
Bump babel from 2.10.1 to 2.10.3
...
Bumps [babel](https://github.com/python-babel/babel ) from 2.10.1 to 2.10.3.
- [Release notes](https://github.com/python-babel/babel/releases )
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-babel/babel/compare/v2.10.1...v2.10.3 )
---
updated-dependencies:
- dependency-name: babel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 07:18:48 +00:00
Markus Heiser
4f90b93e1d
Merge pull request #1335 from searxng/dependabot/pip/master/pylint-2.14.2
...
Bump pylint from 2.14.1 to 2.14.2
2022-06-17 09:18:19 +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
dependabot[bot]
acf67c0729
Bump aiounittest from 1.4.1 to 1.4.2
...
Bumps [aiounittest](https://github.com/kwarunek/aiounittest ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/kwarunek/aiounittest/releases )
- [Commits](https://github.com/kwarunek/aiounittest/compare/1.4.1...1.4.2 )
---
updated-dependencies:
- dependency-name: aiounittest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 07:06:34 +00:00
dependabot[bot]
01a1ad00a4
Bump pylint from 2.14.1 to 2.14.2
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.14.1 to 2.14.2.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.14.1...v2.14.2 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 07:06:28 +00:00
samsaptidev
31005595c9
Add privacypolicy_url option
2022-06-16 11:56:24 +02:00
Markus Heiser
c377679103
[fix] test.yamllint: return non-zero exit code on warnings
...
SearXNG's YAML files should be free of any warnings. This will stop the test
when there are warnings like::
[warning] truthy value should be one of [false, true] (truthy)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2022-06-15 13:17:24 +02:00
Markus Heiser
36184b2f29
Merge pull request #1327 from liimee/eng
...
add pub.dev engine
2022-06-15 13:06:37 +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
e67ed89447
Merge pull request #1323 from return42/fix-typo
...
[doc] fix some leftovers from ad964562c
2022-06-14 16:42:21 +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
Paul Braeuning
7bc3d17b11
Merge pull request #1320 from dalf/theme-fix-click-on-search-input
...
Theme fix click on search input
2022-06-13 22:05:01 +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
Markus Heiser
1bc5455db1
Merge pull request #1315 from dalf/autocomplete-no-duplicate
...
Autocomplete: don't suggest the current query.
2022-06-12 12:26:59 +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
Alexandre Flament
a029ebff01
Merge pull request #1311 from dalf/wikidata-optmization
...
Wikidata optmizations
2022-06-11 18:36:26 +02:00
Emilien Devos
0d4c066119
notify the user that use_mobile_ui parameter exist
2022-06-11 17:20:56 +02:00