Markus Heiser
79e0aa2645
Merge pull request #733 from not-my-profile/about-default
...
[fix] add default for "about" engine property
2022-01-10 10:28:38 +01:00
Markus Heiser
613fb15599
[fix] Documentation of the builtin plugins
...
Closes: https://github.com/searxng/searxng/issues/637
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-07 19:59:42 +01:00
Markus Heiser
836aa437a5
Merge pull request #724 from tiekoetter/ccengine-openverse
...
Fix ccengine engine and rename it to Openverse
2022-01-07 14:41:02 +01:00
Markus Heiser
4fc5e5299c
[fix] ccengine engine - avoid unwanted redirects
...
api.openverse.engineering is a little picky and wants to have a trailing slash
in the path:
/v1/images? -->/ v1/images/?
otherwise it redirects, here is the debug log:
DEBUG searx.network.openverse : HTTP Request: GET https://api.openverse.engineering/v1/images?&page=1&page_size=20&format=json&q=foo "HTTP/2 301 Moved Permanently" (text/html; charset=utf-8)
DEBUG searx.network.openverse : HTTP Request: GET https://api.openverse.engineering/v1/images/?&page=1&page_size=20&format=json&q=foo "HTTP/2 200 OK" (application/json)
WARNING searx.engines.openverse : ErrorContext('searx/search/processors/online.py', 105, 'count_error(', None, '1 redirects, maximum: 0', ('200', 'OK', 'api.openverse.engineering')) True
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-07 14:14:31 +01:00
Markus Heiser
1461d6a07e
[upd] engine_descriptions.json
...
Updated by:
./manage pyenv.cmd python3 \
./searxng_extra/update/update_engine_descriptions.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-07 13:59:03 +01:00
Markus Heiser
ced656606f
Merge pull request #709 from return42/drop-etools
...
[fix] drop etools engine module
2022-01-07 11:18:47 +01:00
Markus Heiser
5dd3442f83
[fix] drop etools engine module
...
The implementation of the etools engine is poor. No date-range support, no
language support and it is broken by a CAPTCHA.
etools is a metasearch engine, the major search engines it supports (google,
bing, wikipedia, Yahoo) are already available in SeaarXNG.
While etools does support several engines we currently don't support directly,
support for them should be added directly to SearXNG if there is demand.
In practice: in SearXNG the worse etools results will be mixed with good results
from other engines we have (as long as there is no captcha).
At best case, what we win with etools is in e.g. results from de.ask.com in a
query from a german request .. in all other cases worse results are bubble up in
SearXNG's result list.
[1] https://github.com/searxng/searxng/issues/696#issuecomment-1005855499
Closes: https://github.com/searxng/searxng/issues/696
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-07 10:41:09 +01:00
Markus Heiser
a583d09582
Merge pull request #716 from searxng/dependabot/pip/master/sphinx-jinja-1.4.0
...
Bump sphinx-jinja from 1.2.1 to 1.4.0
2022-01-07 08:45:48 +01:00
Markus Heiser
d74000c0da
Merge pull request #717 from searxng/dependabot/pip/master/sphinx-issues-2.0.0
...
Bump sphinx-issues from 1.2.0 to 2.0.0
2022-01-07 08:41:09 +01:00
Markus Heiser
2eb95f1532
Merge pull request #718 from searxng/dependabot/pip/master/pygments-2.11.2
...
Bump pygments from 2.11.0 to 2.11.2
2022-01-07 08:40:55 +01:00
Markus Heiser
c956ed6c43
[build] /static
2022-01-07 08:36:32 +01:00
Markus Heiser
d8db85638e
make pygments.less
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-07 08:35:14 +01:00
Markus Heiser
0447035992
Merge pull request #719 from searxng/translations_update
...
Update translations
2022-01-07 08:25:58 +01:00
Markus Heiser
5305ff8cb6
Merge pull request #705 from not-my-profile/leaflet-gitattr
...
[fix] prevent leaflet.{css,js} from polluting git grep results
2022-01-06 15:36:59 +01:00
Markus Heiser
0ebad8220f
Merge pull request #688 from dalf/settings_enable_stats
...
[enh] settings.yml: implement general.enable_metrics
2022-01-05 18:53:49 +00:00
Markus Heiser
295876abaa
[pylint] add scripts from searxng_extra/update to pylint
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-05 16:09:40 +01:00
Markus Heiser
ffea5d8ef5
[docs] add documentation for the scripts in searxng_extra/update
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-05 16:09:40 +01:00
Markus Heiser
c9cfa6181b
[fix] debug console (pdb) in a session started by make run
...
Commit c7f27404 moves the `python -m searx.webapp` process to the background. A
background job can't open a simple python-debugger (pdb) console.
This patch moves all processes to the background except the searx.webapp.
Insert a break point somewhere in the webapp application::
import pdb
pdb.set_trace()
And start a debug session by::
make run
and test you break point.
To test that the entire 'make run' stops in the case of an error in the
themes.live [1] background process try:
make LIVE_THEME=typo-theme-name run
[1] https://github.com/searxng/searxng/pull/664#discussion_r776419585
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-05 10:09:17 +01:00
Markus Heiser
00d3a7477c
Merge pull request #664 from return42/themes.live
...
[mod] manage: add themes.live command (rebuild on modification)
2022-01-04 19:44:51 +01:00
Markus Heiser
d7b4306444
[fix] links in comments - https://docs.searxng.org/
...
fixed links from https://searxng.github.io/searxng/ to https://docs.searxng.org/
2022-01-04 16:04:49 +01:00
Markus Heiser
a3332cd550
Merge pull request #684 from return42/fix-makefile
...
[fix] Makefile: mixed tab & space indentation
2022-01-03 13:57:59 +01:00
Markus Heiser
a585f7c66f
[fix] Makefile: mixed tab & space indentation
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-03 13:51:35 +01:00
Markus Heiser
b630c5d7bc
Merge pull request #666 from return42/mod-doc
...
[docs] move searxng_extra/ stuff to the developer section.
2022-01-03 10:25:14 +01:00
Markus Heiser
de819bb1f5
[docs] move searxng_extra/ stuff to the developer section.
...
Stuff in folder searxng_extra/ is not suitable for normal users and should only
be used by developers.
The script searxng_extra/standalone_searx.py must not give the impression that
it improves privacy. [1]
[1] https://github.com/searxng/searxng/pull/651#issuecomment-1001389726
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-03 10:20:54 +01:00
Markus Heiser
c2e4b95e8d
Merge pull request #672 from searxng/update_data_update_languages.py
...
Update searx.data - update_languages.py
2022-01-01 18:44:53 +01:00
Markus Heiser
3cdf2d6570
Update searx.data - update_languages.py
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-01 18:37:35 +01:00
Markus Heiser
8191e1a253
[fix] update_languages.py: generate code that passes CI
...
File searx/languages.py, created by update_languages.py has to pass quality
check from CI::
make format.python
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-01 18:32:21 +01:00
Markus Heiser
21d7c8b367
Merge pull request #676 from return42/fix-bing-lang
...
Fix issues on running update_languages.py
2022-01-01 18:12:47 +01:00
Markus Heiser
8a07559ab5
[fix] update_languages.py: no excption on unknown locale & language
...
Fix exception handling of unknown locales and languages::
ERROR: ca_ES_valencia --> [Errno 2] No such file or directory: 'local/py3/lib/python3.8/site-packages/babel/locale-data/ca_ES_valencia.dat'
ERROR: languages['fil-PH'] --> {'name': None, 'english_name': None}
ERROR: languages['nb-NO'] --> {'name': None, 'english_name': None}
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-01 17:31:38 +01:00
Markus Heiser
61ce0c2244
[fix] bing engines: fetch_supported_languages
...
The Request to and the Response from https://www.bing.com/account/general has
been changed.
[1] https://github.com/searxng/searxng/pull/672#discussion_r777104919
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2022-01-01 17:31:38 +01:00
Markus Heiser
3dcba2f67c
Merge pull request #671 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2022-01-01 12:08:26 +01:00
Markus Heiser
877293c470
Merge pull request #673 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2022-01-01 12:08:02 +01:00
Markus Heiser
9f175295dd
Merge pull request #674 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2022-01-01 12:07:27 +01:00
Markus Heiser
021b4a0a02
Merge pull request #667 from searxng/dependabot/pip/master/pygments-2.11.0
...
Bump pygments from 2.10.0 to 2.11.0
2021-12-31 09:29:29 +01:00
Markus Heiser
efbcaaab3b
[build] /static
2021-12-31 09:14:38 +01:00
Markus Heiser
391e4b57c9
make pygments.less
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-31 09:12:22 +01:00
Markus Heiser
cd6b64156b
Merge pull request #668 from searxng/translations_update
...
Update translations
2021-12-31 09:02:49 +01:00
Markus Heiser
c7f2740414
[mod] live build of a theme: LIVE_THEME=simple make run
...
Environment variable to get live builds while modifying CSS & JS of a theme::
LIVE_THEME=simple make run
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-29 21:53:12 +01:00
Markus Heiser
1706b130a4
[fix] remove leftover from 59f4c792
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-29 21:53:12 +01:00
Markus Heiser
edfd069d16
[mod] manage: add themes.live command (rebuild on modification)
...
To have a live build while editing the HTML client of a theme. The first
argument of the command is the theme name:
./manage themes.live simple
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-29 21:53:12 +01:00
Markus Heiser
f087d01e24
[build] /static
2021-12-29 14:33:54 +01:00
Markus Heiser
f75199b1ec
[fix] simple theme: hide the image if img load fails
...
Add event listener to query selector::
'#urls img.image'
From the user point of view, I think it is better to hide the image:
img_load_error.svg is helplful in the image category because it still allows to
select the image. IMO, in the news category, the fact there is a missing image
won't help to choose the links. From a developer point of view, the place holder
is signal that may be the engine needs to be updated (at least give a look). The
browser console should show the same information too, but it requires some
additional steps. [1]
[1] https://github.com/searxng/searxng/pull/610#issuecomment-997640132
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-29 14:30:16 +01:00
Markus Heiser
7966fd3bbd
Merge pull request #663 from dalf/mod_secret_key
...
changes about the secret_key
2021-12-29 13:33:27 +01:00
Markus Heiser
5cbbdc305f
Merge pull request #614 from return42/pylint-bing-video
...
[pylint] Bing (Videos) engine
2021-12-29 09:30:10 +01:00
Markus Heiser
8f3a7feb47
[mod] implement is_hmac_of() in webutils / close to new_hmac()
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >, Alexandre Flament
2021-12-28 23:04:06 +01:00
Markus Heiser
dc4f1f705d
[pylint] Bing (Images) engine
...
Fix remarks from pylint and remove obsolete try/except block
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-28 14:43:39 +01:00
Markus Heiser
6d7a38a912
[pylint] Bing (Videos) engine
...
Fix remarks from pylint and remove obsolete try/except block
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-28 14:33:05 +01:00
Markus Heiser
d84226bf63
[fix] issues reported by pylint
...
Fix pylint issues from commit (3d96a983 )
[format.python] initial formatting of the python code
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 10:16:20 +01:00
Markus Heiser
3d96a9839a
[format.python] initial formatting of the python code
...
This patch was generated by black [1]::
make format.python
[1] https://github.com/psf/black
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 09:26:22 +01:00
Markus Heiser
fcdc2c2cd2
[format.python] disable py code formatting for some hunks of code
...
Disable the python code formatting from python-black, where the readability of
code suffers by formatting.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 09:16:03 +01:00
Markus Heiser
c849731eb1
[mod] test.black: show issues (diff) reported by python-black
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-27 08:59:47 +01:00
Markus Heiser
54bce130f9
Merge pull request #658 from dalf/fix-standalone-script
...
Fix standalone script
2021-12-27 08:10:04 +01:00
Markus Heiser
6ffa741e7a
Merge pull request #653 from searxng/dependabot/pip/master/linuxdoc-20211220
...
Bump linuxdoc from 20210324 to 20211220
2021-12-24 10:24:07 +01:00
Markus Heiser
e1c7623100
Merge pull request #652 from searxng/dependabot/pip/master/sphinx-4.3.2
...
Bump sphinx from 4.3.1 to 4.3.2
2021-12-24 10:18:29 +01:00
Markus Heiser
6c32043e47
Merge pull request #648 from return42/doc-globaltoc
...
[doc] add global TOC to sidebar
2021-12-24 10:17:49 +01:00
Markus Heiser
188efe53e8
[doc] add global TOC to sidebar
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-24 07:05:33 +01:00
Markus Heiser
69af219d39
[test.robot] update gecko driver / required by selenium 4.1.0
...
Update gecko driver to v0.30.0 [1]
[1] https://github.com/mozilla/geckodriver/releases/tag/v0.30.0
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-23 13:09:48 +01:00
Markus Heiser
65c6d57b56
Bump splinter from 0.16.0 to 0.17.0
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-23 12:43:24 +01:00
Markus Heiser
cb1b6686f0
[ci] drop Python 3.6
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-23 10:09:23 +01:00
Markus Heiser
fe751b0ee8
Merge pull request #640 from not-my-profile/drop-dead-engines
...
Drop dead engines
2021-12-22 13:57:21 +01:00
Markus Heiser
56f68a1c29
Merge pull request #632 from not-my-profile/module-column
...
[doc] engine-table: rename Engine column to Module & link
2021-12-21 21:08:35 +01:00
Markus Heiser
e869e3089c
Merge pull request #630 from not-my-profile/engine-count
...
[doc] say how many engines are supported / enabled
2021-12-21 13:11:37 +01:00
Markus Heiser
06435e08ef
Merge pull request #629 from not-my-profile/about-language
...
[doc] introduce about.language and sort engines by it
2021-12-21 12:54:58 +01:00
Markus Heiser
3c0f01aed7
Merge pull request #627 from unixfox/patch-3
...
Direct link to the web chat of libera chat
2021-12-21 06:40:27 +01:00
Markus Heiser
5951bb5488
Merge pull request #628 from not-my-profile/sort-engines
...
[doc] engine-table: sort by Disabled and Name
2021-12-21 06:37:45 +01:00
Markus Heiser
c5d604f06f
[upd] engine_descriptions.json
...
Updated by:
./manage pyenv.cmd python3 \
./searxng_extra/update/update_engine_descriptions.py
Include documentation of new added engines:
- superuser
- stackoverflow
- askubuntu
- indb
- ...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-20 14:39:10 +01:00
Markus Heiser
6fb6e8c22a
Merge pull request #621 from not-my-profile/engines-table
...
[doc] Improve engines table
2021-12-20 14:02:29 +01:00
Markus Heiser
7a215e07e7
Merge pull request #611 from return42/fix-bing
...
[fix] bing engine: fix paging support, show inital page.
2021-12-20 10:08:52 +01:00
Markus Heiser
24f4ec530d
Merge pull request #617 from mrpaulblack/fix-error-svg
...
[fix] theme: build `img_load_error.svg` as SVG instead of PNG
2021-12-19 07:28:18 +01:00
Markus Heiser
2af50c2588
[pylint] Reddit engine
...
Add Reddit engine to pylint process
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-18 17:59:47 +01:00
Markus Heiser
6b85607274
[fix] bing engine: fix paging support, show inital page.
...
Follow up queries for the pages needed to be fixed.
- Split search-term in one for initial query and one for following queries.
- Set some headers in HTTP requests, bing needs for paging support.
- IMO //div[@class="sa_cc"] does no longer match in a bing response.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-18 13:50:38 +01:00
Markus Heiser
b2177e5916
[pylint] Bing (Web) engine
...
Fix remarks from pylint and improved code-style. In preparation for a bug-fix
of the Bing (Web) engine I add this engine to the pylint-list.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-18 13:40:36 +01:00
Markus Heiser
f41734a543
[fix] engine bing-news: replace the http:// by https://
...
BTW: add bing_news to the pylint process
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-17 13:25:50 +01:00
Markus Heiser
8069bc83e6
[fix] weblate: separate commit description from commit body
...
It is a common convention to separate commit description from commit body by a
empty line [1].
[1] https://www.conventionalcommits.org/en/v1.0.0/#summary
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-17 10:48:12 +01:00
Markus Heiser
c351993fdc
Merge pull request #607 from searxng/translations_update
...
Update translations
2021-12-17 08:27:32 +01:00
Markus Heiser
876968d462
Merge pull request #606 from searxng/dependabot/pip/master/lxml-4.7.1
...
Bump lxml from 4.6.5 to 4.7.1
2021-12-17 08:18:59 +01:00
Markus Heiser
c82c708528
Merge pull request #605 from searxng/update-user-agent
...
update_firefox_version.py: update user agent signature
2021-12-17 06:34:28 +01:00
Markus Heiser
07f2a9ee3c
[fix] engine: MediathekViewWeb (mvw) disable by default
...
The MediathekViewWeb delivers only content for the german speaking area.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-15 19:03:35 +01:00
Markus Heiser
84836a5000
[build] /static
2021-12-15 14:47:43 +01:00
Markus Heiser
c020b90056
[mod] simple theme: remove vendor prefix of width: max-content
...
Remove no longer needed workarounds like `width: 1000px;`
and vendor prefix of max-content [1].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/max-content#browser_compatibility
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-15 14:43:15 +01:00
Markus Heiser
459f33a18e
[mod] simple-theme: remove vendor CSS
...
flexbox
Browser support for flexbox is excellent, and the majority of browsers do not
need a prefix at this point. Safari was the last of the major browsers to
remove prefixes, with the release of Safari 9 in 2015. [1]
user-select:
Vendor prefix of user-select is not needed, see 'Browser compatibility' [2].
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox#status_in_browsers
[2] https://developer.mozilla.org/en-US/docs/Web/CSS/user-select#browser_compatibility
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-15 14:43:15 +01:00
Markus Heiser
ff48a41af0
Merge pull request #573 from return42/img-lazy
...
[fix] lazy loading of <img> tags
2021-12-15 13:28:40 +01:00
Markus Heiser
715f578cda
[build] /static
2021-12-15 10:45:25 +01:00
Markus Heiser
c416464949
[fix] lazy loading of <img> tags
...
Images should include dimension attributes. Without `width` and `height`
specified, image dimensions are 0×0 pixels at first. ... In this case the
browser determines that all of them are visible to the user and decides to load
everything [1].
In CSS the `width` is set to a value and the `height` is unsed to scale the image
proportional in both dimensions.
[1] https://web.dev/browser-level-image-lazy-loading/#images-should-include-dimension-attributes
[2] https://caniuse.com/loading-lazy-attr
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-15 10:39:55 +01:00
Markus Heiser
709482088e
[fix] move engines gpodder and AZlyrics into category music
...
Closes: https://github.com/searxng/searxng/issues/600
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-15 09:43:56 +01:00
Markus Heiser
4f22615259
Merge pull request #538 from return42/eslint
...
SearXNG JavaScript Style Guide
2021-12-14 08:07:22 +01:00
Markus Heiser
f287787c44
[simple theme] activate - SearXNG JavaScript Style Guide
...
Add the 'SearXNG JavaScript Style Guide' as one quality gate in the build chain
of the simple theme::
make themes.simple
make themes.simple.test
In the github CI the `themes.all` target enforce a `themes.simple`.
BTW: Remove 'jshint' left overs from 0ee316f3d
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-14 07:50:53 +01:00
Markus Heiser
34f5e9c7a3
[fix] eslint --fix
...
automatically fix some of the problems reported by eslint rules::
$ ./manage nvm.bash
nvm-env$ npm --prefix searx/static/themes/simple run eslint-fix
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-14 07:31:58 +01:00
Markus Heiser
32cf24a272
[mod] eslint: add gruntfile.js to the files to lint
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-14 07:26:41 +01:00
Markus Heiser
06730588a6
[mod] SearXNG JavaScript Style Guide (eslint:recommended)
...
The SearXNG JavaScript Style Guide is a set of eslint rules [1] based on the
eslint:recommended [2] rules.
"extends": "eslint:recommended"
The additional rules adopted from the JavaScript Standard Style [3][4].
[1] https://eslint.org/docs/rules/
[2] https://github.com/kunalgolani/eslint-config/tree/master/packages/recommended
[3] https://standardjs.com/rules.html#javascript-standard-style
[4] https://github.com/standard/eslint-config-standard/blob/master/.eslintrc.json
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-14 06:50:26 +01:00
Markus Heiser
07e9d952cf
[emacs] .dir-locals.el: in json-mode use indentation of 4
...
In JS + JSON we use indentation of 4.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-14 06:50:26 +01:00
Markus Heiser
9fc27088ef
Merge pull request #583 from return42/fix-combo-with
...
[fix] simple theme: remove width 45% from language and time filters
2021-12-12 17:02:31 +01:00
Markus Heiser
8cc7c880ae
Merge pull request #587 from dalf/fix-gigablast
...
[fix] gigablast engine
2021-12-12 15:58:13 +01:00
Markus Heiser
5307fd841d
Merge pull request #591 from searxng/dependabot/pip/master/twine-3.7.1
...
Bump twine from 3.7.0 to 3.7.1
2021-12-10 08:35:06 +01:00
Markus Heiser
4207eea676
Merge pull request #592 from searxng/dependabot/pip/master/pylint-2.12.2
...
Bump pylint from 2.12.1 to 2.12.2
2021-12-10 08:34:43 +01:00
Markus Heiser
055198698a
Merge pull request #593 from searxng/translations_update
...
Update translations
2021-12-10 08:34:08 +01:00
Markus Heiser
b5c9cc4ff3
Merge pull request #586 from dalf/remove-yggtorrent
...
[del] remove yggtorrent
2021-12-07 07:00:47 +01:00
Markus Heiser
5f902bbb0f
[fix] simple theme: remove width 45% from language and time filters
...
All three filters (`language`, `time_range` and `safesearch`) are rendered in
one line. A size of 45% for `language` and `time_range` left only 10% for the
`safesearch` filter. Solution: drop with from `language` and `time_range`.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-05 14:22:55 +01:00
Markus Heiser
d6d6585b26
[build] /static
2021-12-05 11:51:36 +01:00
Markus Heiser
2b26285a73
[fix] simple theme: make autocomplete-js CSP compliant
...
The CSP issue is, that the `_Position` function in the autocomplete-js set the
style attributes by `setAttribute("style", ...)`. Using `setAttribute` to set
the style attribute invokes the HTML parser and CSP is triggered [1].
This patch overwrite the `_Position` function of autocomplete-js.
BTW: remove trailing whitespace
[1] https://stackoverflow.com/a/57633533
Closes: https://github.com/searxng/searxng/issues/352
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de >
2021-12-05 11:48:23 +01:00