Markus Heiser
ed1454cfda
Merge pull request #1039 from searxng/dependabot/pip/master/black-22.3.0
...
Bump black from 22.1.0 to 22.3.0
2022-04-01 10:50:24 +02:00
Markus Heiser
6c747c40c1
[fix] issue when upgrading from werkzeug v2.0.3 to v2.1.0
...
In v2.1.0 werkzeug [1] fixed an issue [2] to keep relative redirect locations by
default [3]. Since relative locations are returned, we need to fix out test
cases to avoid AssertionErrors like this one::
======================================================================
FAIL: test_index_html_get (tests.unit.test_webapp.ViewsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/searxng/searxng/tests/unit/test_webapp.py", line 105, in test_index_html_get
self.assertEqual(result.location, 'http://localhost/search?q=test ')
AssertionError: '/search?q=test' != 'http://localhost/search?q=test '
- /search?q=test
+ http://localhost/search?q=test
[1] https://werkzeug.palletsprojects.com/
[2] https://github.com/pallets/werkzeug/issues/2352 fixed in
[3] https://github.com/pallets/werkzeug/pull/2354
Related-to: https://github.com/searxng/searxng/pull/1039#issuecomment-1085538288
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-04-01 10:34:21 +02:00
Markus Heiser
7decb056ab
Merge pull request #1043 from searxng/translations_update
...
Update translations
2022-04-01 09:48:26 +02:00
Markus Heiser
099840f4d6
Merge pull request #1035 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2022-04-01 09:02:19 +02:00
Markus Heiser
b853ab717e
Merge pull request #1034 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2022-04-01 09:01:48 +02:00
Markus Heiser
c2de356497
Merge pull request #1033 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2022-04-01 09:00:51 +02:00
Markus Heiser
9d565b0fc6
Merge pull request #1032 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2022-04-01 08:56:00 +02:00
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 >
2022-03-26 13:32:42 +01:00
Markus Heiser
ef8af285a2
Merge pull request #994 from return42/add-limiter-redis-doc
...
[doc] add some documentation about the limiter plugin (and redis)
2022-03-25 17:08:32 +01:00
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 >
2022-03-25 11:26:10 +01:00
Markus Heiser
16aa731053
Merge pull request #1005 from searxng/dependabot/pip/master/redis-4.2.0
...
Bump redis from 4.1.4 to 4.2.0
2022-03-25 11:00:57 +01:00
Markus Heiser
c9b4dc64ef
Merge pull request #1011 from return42/fix-autoescape
...
[fix] jinja/babel: WithExtension and AutoEscapeExtension are built-iin now
2022-03-25 10:04:04 +01:00
Markus Heiser
deba31981c
[fix] jinja/babel: WithExtension and AutoEscapeExtension are built-in now.
...
[1] https://github.com/pallets/jinja/pull/1544
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-25 09:42:12 +01:00
Markus Heiser
06718cee37
Merge pull request #1010 from return42/fix-py3.10
...
[fix] pylint issue in py3.10
2022-03-25 08:48:44 +01:00
Markus Heiser
34fd2021d8
[fix] pylint issue in py3.10
...
searxng_extra/update/update_firefox_version.py:16:0: W0402:
Uses of a deprecated module 'distutils.version' (deprecated-module)
[1] https://github.com/searxng/searxng/pull/1007
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-25 08:39:40 +01:00
Markus Heiser
bea4a46368
Merge pull request #1006 from searxng/dependabot/pip/master/wlc-1.13
...
Bump wlc from 1.12 to 1.13
2022-03-25 08:32:12 +01:00
Markus Heiser
74c071e668
Merge pull request #1009 from searxng/translations_update
...
Update translations
2022-03-25 08:26:29 +01:00
Markus Heiser
bab27057b3
Merge pull request #1007 from searxng/dependabot/pip/master/pylint-2.13.0
...
Bump pylint from 2.12.2 to 2.13.0
2022-03-25 08:25:54 +01:00
Markus Heiser
4bd214516d
Merge pull request #1008 from searxng/dependabot/pip/master/jinja2-3.1.0
...
Bump jinja2 from 3.0.3 to 3.1.0
2022-03-25 08:24:10 +01:00
Markus Heiser
cfd08055ca
Merge pull request #963 from MontyQI/mobile-bar
...
Mobile bar google-like
2022-03-25 07:59:18 +01:00
Markus Heiser
7653e8bf16
Merge pull request #995 from return42/fix-932
...
[interim fix] static files can't be delivered by HTTP.
2022-03-25 06:56:11 +01:00
Markus Heiser
24f53276c1
[doc] add sphinx-notfound-page
...
Closes: https://github.com/searxng/searxng/issues/703
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-22 21:18:17 +01:00
Markus Heiser
b14ed494fb
Merge pull request #996 from return42/fix-settings-doc
...
[docs] improve settings.yml documentation (admin/engines/settings)
2022-03-21 08:52:44 +01:00
Markus Heiser
32a35b4654
[docs] improve settings.yml documentation (admin/engines/settings)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-21 08:48:06 +01:00
Markus Heiser
3c924c22d9
Merge pull request #997 from return42/fix-794
...
[fix] Text can't be selected when using simple theme with JS enabled
2022-03-21 08:16:38 +01:00
Markus Heiser
11b2724b29
[build] /static
2022-03-20 19:32:59 +01:00
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 >
2022-03-20 19:32:40 +01:00
Markus Heiser
728b2b5796
Merge pull request #979 from dalf/simple-upgrade-dependencies
...
Simple upgrade dependencies
2022-03-20 18:45:20 +01:00
Markus Heiser
2486cdc2dc
[build] /static
2022-03-20 18:12:42 +01:00
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] https://github.com/searxng/searxng/pull/932/commits/55833364401ed72c30b3e85c16824a75de6b547a
[4] https://github.com/searxng/searxng/pull/932#issuecomment-1067216426
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-20 16:28:14 +01:00
Markus Heiser
3201aa1b3f
Merge pull request #859 from return42/fix-814
...
[mod] add i18n infrastructure for SearXNG message files (searxng.msg)
2022-03-20 08:31:07 +01:00
Markus Heiser
bc30309939
Merge pull request #992 from return42/fix-987
...
[fix] settings.yml: ui.results_on_new_tab
2022-03-19 23:14:03 +01:00
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 >
2022-03-19 23:06:21 +01:00
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 >
2022-03-19 19:55:54 +01:00
Markus Heiser
2e4557f3f3
[fix] languages: show country name even if there is only one country
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-19 16:45:14 +01:00
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 >
2022-03-19 15:09:13 +01:00
Markus Heiser
2841abaf55
[mod] add flags to the languages filter
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-19 15:09:13 +01:00
Markus Heiser
7625da9fa0
Merge pull request #986 from dalf/fix-startpage-fetch_supported_languages
...
fix startpage: update XPath in _fetch_supported_languages
2022-03-19 14:49:22 +01:00
Markus Heiser
6ccd557650
Merge pull request #983 from return42/fix-dep
...
[revert interim] bump sphinx-tabs from interim fix to 3.3.1
2022-03-18 11:38:25 +01:00
Markus Heiser
c7a21b96f0
[revert interim] bump sphinx-tabs from interim fix to 3.3.1
...
The bugfix of sphinx-tabs issue 152 [1] has been released, we can bump the
version and remove the interim return42/sphinx-tabs.git@fix-152 branch.
[1] https://github.com/executablebooks/sphinx-tabs/issues/152
[2] https://github.com/searxng/searxng/pull/954#issuecomment-1064888261
Closes: https://github.com/searxng/searxng/pull/954
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-18 11:22:58 +01:00
Markus Heiser
750724cb23
Merge pull request #981 from searxng/translations_update
...
Update translations
2022-03-18 08:41:33 +01:00
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 >
2022-03-17 11:38:00 +01:00
Markus Heiser
8c78c895a3
Merge pull request #969 from dalf/fix_info
...
Fix info
2022-03-17 01:37:10 +01:00
Markus Heiser
22cc4d3e5c
Merge pull request #968 from mrpaulblack/normalize-info-page
...
[simple theme] Normalize info page
2022-03-16 21:24:49 +01:00
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 >
2022-03-16 09:55:53 +01:00
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 >
2022-03-16 09:55:53 +01:00
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 >
2022-03-16 09:55:53 +01:00
Markus Heiser
cd92a7eacd
Merge pull request #930 from return42/merge-user-doc2
...
Integrate the user documentation into the application
2022-03-13 23:12:46 +01:00
Markus Heiser
e847313007
Merge pull request #949 from return42/fix-inst-scripts
...
Fix and improve installtion scripts in /utils
2022-03-12 18:41:18 +01:00
Markus Heiser
7308a6e33c
[LXC] ubuntu 20.10 EOL, upgrade to ubunut 21.10 [1]
...
[1] https://wiki.ubuntu.com/Releases
Tested by::
# build the container ..
$ sudo -H ./utils/lxc.sh build searx-ubu2110
# open a shell in the container
$ sudo -H ./utils/lxc.sh cmd searx-ubu2110 bash
[root@searx-ubu2110 SearXNG]#
# install a complete SearXNG suite ..
[root@searx-ubu2110 SearXNG]# ./utils/searx.sh install all
...
# install apache to export the SearXNG instance by HTTP
[root@searx-ubu2110 SearXNG]# ./utils/searx.sh apache install
...
INFO: got 200 from http://10.174.184.94/searx
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-12 18:00:45 +01:00
Markus Heiser
1c79c1a3d2
[LXC] fedora33 EOL [1], upgrade to fedora35 [2]
...
[1] https://docs.fedoraproject.org/en-US/releases/eol/
[2] https://docs.fedoraproject.org/en-US/releases/f35/
Tested by::
# build the container ..
$ sudo -H ./utils/lxc.sh build searx-fedora35
# open a shell in the container
$ sudo -H ./utils/lxc.sh cmd searx-fedora35 bash
[root@searx-fedora35 SearXNG]#
# install a complete SearXNG suite ..
[root@searx-fedora35 SearXNG]# ./utils/searx.sh install all
...
# install apache to export the SearXNG instance by HTTP
[root@searx-fedora35 SearXNG]# ./utils/searx.sh apache install
...
INFO: got 200 from http://10.174.184.94/searx
To build wheel `python3-devel` needs to be added to SEARX_PACKAGES_fedora::
|searx| Ă— Building wheel for setproctitle (pyproject.toml) did not run successfully.
|searx| │ exit code: 1
...
|searx| In file included from src/spt.h:15,
|searx| from src/setproctitle.c:14:
|searx| src/spt_python.h:16:10: fatal error: Python.h: No such file or directory
|searx| 16 | #include <Python.h>
|searx| | ^~~~~~~~~~
|searx| compilation terminated.
|searx| error: command '/usr/bin/gcc' failed with exit code 1
|searx| [end of output]
...
|searx| ERROR: Failed building wheel for setproctitle
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-12 17:44:00 +01:00
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 >
2022-03-12 15:45:28 +01:00
Markus Heiser
8751940169
[interim fix] of sphinx-tabs and sphinx-jinja
...
The myst-parser requires >= docutils v.0.17 what ends in a dependency hell where
plugins sphinx-tabs and sphinx-jinja we use are involved.
This patch can be reverted when [2], [3], [4] are solved and new release is
available / see [1].
[1] https://github.com/searxng/searxng/pull/954
[2] https://github.com/executablebooks/sphinx-tabs/issues/152
[3] https://github.com/executablebooks/sphinx-tabs/pull/153
[4] https://github.com/executablebooks/sphinx-tabs/pull/154
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-12 14:25:34 +01:00
Markus Heiser
8d83e4aeff
[build] /static
2022-03-12 11:36:31 +01:00
Markus Heiser
3633dc5611
[simple] add CSS for /info pages
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-12 11:36:31 +01:00
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 >
2022-03-12 11:36:31 +01:00
Markus Heiser
9941a8262a
Merge pull request #955 from searxng/dependabot/pip/master/selenium-4.1.3
...
Bump selenium from 4.1.2 to 4.1.3
2022-03-11 08:24:19 +01:00
Markus Heiser
92709c919c
Merge pull request #956 from searxng/translations_update
...
Update translations
2022-03-11 08:23:54 +01:00
Markus Heiser
8d69ee5e7f
[mod] Serving static files with uWSGI (searxng.ini)
...
1. Serving static files with uWSGI by using static file mount points [1].
2. Expires set to one year since there are hashes [2]
[1] https://uwsgi-docs.readthedocs.io/en/latest/StaticFiles.html#mode-3-using-static-file-mount-points
[2] https://github.com/searxng/searxng/pull/932
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-08 18:13:13 +01:00
Markus Heiser
5eedd5b72a
[fix] socket in SearXNG's uWSGI app (searxng.ini)
...
Use SEARX_UWSGI_SOCKET in uWSGI systemd service
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-08 17:44:27 +01:00
Markus Heiser
e48e2a9914
[fix] APACHE_SEARX_SITE=searxng.conf renamed in 2b125214
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-08 17:18:02 +01:00
Markus Heiser
e1319fc21c
Merge pull request #947 from return42/fix-mvw
...
[fix] engine mediathekviewweb: replace http links by https
2022-03-07 19:58:13 +01:00
Markus Heiser
53b5a804e2
[fix] engine mediathekviewweb: replace http links by https
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-03-07 19:49:16 +01:00
Markus Heiser
0d86e7e4ea
Merge pull request #944 from return42/fix-939
...
[fix] engine: Semantic Scholar (Science) // rework & fix
2022-03-05 11:58:14 +01:00
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 >
2022-03-05 11:53:41 +01:00
Markus Heiser
e2ba347669
Merge pull request #942 from searxng/translations_update
...
Update translations
2022-03-04 08:23:33 +01:00
Markus Heiser
0ddcc12474
Merge pull request #934 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2022-03-01 07:54:58 +01:00
Markus Heiser
69f84d941f
Merge pull request #935 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2022-03-01 07:53:33 +01:00
Markus Heiser
5508155252
Merge pull request #936 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2022-03-01 07:52:54 +01:00
Markus Heiser
ded0d56b21
Merge pull request #937 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2022-03-01 07:52:19 +01:00
Markus Heiser
33965959b2
Merge pull request #925 from searxng/dependabot/pip/master/selenium-4.1.2
...
Bump selenium from 4.1.0 to 4.1.2
2022-02-25 08:24:48 +01:00
Markus Heiser
234c573c5e
Merge pull request #926 from searxng/translations_update
...
Update translations
2022-02-25 08:23:22 +01:00
Markus Heiser
8d937179ab
Merge pull request #913 from return42/add-artwork
...
[mod] add artwork to mixcloud & soundcloud engines
2022-02-21 22:24:40 +01:00
Markus Heiser
97181080b7
Merge pull request #912 from return42/fix-genius
...
[fix] genius: add player and avoid exceptional programming
2022-02-21 22:23:17 +01:00
Markus Heiser
96ac99b1f6
[build] /static
2022-02-21 22:16:24 +01:00
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 >
2022-02-21 22:12:07 +01:00
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 >
2022-02-21 22:12:07 +01:00
Markus Heiser
cb037c89f9
Merge pull request #917 from tiekoetter/version-format
...
[mod] version formatting
2022-02-21 21:42:56 +01:00
Markus Heiser
fdeece0aae
[fix] changeover of the unit tests to the simple theme
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-02-20 18:51:12 +01:00
Markus Heiser
5ec9eb8030
[mod] switch default theme from oscar to simple
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-02-20 18:36:41 +01:00
Markus Heiser
36aee70c24
Merge pull request #910 from tiekoetter/fix-909
...
[fix] google images engine: Fix 'scrap_img_by_id' function
2022-02-20 18:29:50 +01:00
Markus Heiser
2921d3cd17
[mod] add artwork to mixcloud & soundcloud engines
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-02-19 21:59:12 +01:00
Markus Heiser
efd81f9266
[build] /static
2022-02-19 15:13:09 +01:00
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 >
2022-02-19 15:12:50 +01:00
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 >
2022-02-19 14:34:02 +01:00
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 >
2022-02-19 14:33:56 +01:00
Markus Heiser
e9a227c606
Merge pull request #893 from return42/mvw-video
...
[mod] mediathekviewweb engine: add data_src and use videos template
2022-02-19 00:55:46 +01:00
Markus Heiser
943a7fdcb5
[mod] mediathekviewweb engine: add iframe_src and use videos template
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-02-19 00:50:54 +01:00
Markus Heiser
fa3cd7a696
[build] /static
2022-02-18 22:46:51 +01:00
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 >
2022-02-18 22:44:43 +01:00
Markus Heiser
c81b46150e
Merge pull request #903 from searxng/dependabot/pip/master/nose2-coverage_plugin--0.11.0
...
Bump nose2[coverage_plugin] from 0.10.0 to 0.11.0
2022-02-18 20:28:16 +01:00
Markus Heiser
949df1f63e
Merge pull request #904 from searxng/dependabot/pip/master/typing-extensions-4.1.1
...
Bump typing-extensions from 4.0.1 to 4.1.1
2022-02-18 19:52:59 +01:00
Markus Heiser
761885682d
[build] /static
2022-02-18 19:00:51 +01:00
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 >
2022-02-18 19:00:51 +01:00
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 >
2022-02-18 19:00:49 +01:00
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 >
2022-02-18 19:00:02 +01:00
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 >
2022-02-18 19:00:02 +01:00
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 >
2022-02-18 18:59:58 +01:00
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 >
2022-02-13 22:48:09 +01:00
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 >
2022-02-13 14:20:47 +01:00