dependabot[bot]
8bde693189
Bump pylint from 2.11.1 to 2.12.1
...
Bumps [pylint](https://github.com/PyCQA/pylint ) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/PyCQA/pylint/releases )
- [Changelog](https://github.com/PyCQA/pylint/blob/main/ChangeLog )
- [Commits](https://github.com/PyCQA/pylint/compare/v2.11.1...v2.12.1 )
---
updated-dependencies:
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-26 23:36:06 +00:00
Markus Heiser
96cb7123bb
Merge pull request #553 from return42/fix-oscar
...
[fix] oscar theme: use SearXNG logo and wordmark
2021-11-27 00:34:22 +01:00
Markus Heiser
27c1b9f660
Merge pull request #551 from dalf/fix-results-lock
...
[fix] searx.results: fix pylint issue "useless-with-lock"
2021-11-27 00:28:22 +01:00
Markus Heiser
ab5097d708
Merge pull request #545 from return42/fix-523
...
[fix] simple-theme templates: polish HTML <img> elements
2021-11-27 00:26:19 +01:00
mrpaulblack
c443e56458
[build] /static
2021-11-26 20:52:27 +01:00
mrpaulblack
0bb4d6b296
[oscar theme] center search on index and use logo with ponthi
2021-11-26 20:52:07 +01:00
Markus Heiser
e54a06bae7
[fix] oscar theme: use SearXNG logo and wordmark
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-26 16:43:18 +01:00
Markus Heiser
cfb5eda4d1
Merge pull request #552 from return42/fix-searx.sh
...
[fix] searx.sh update: replace git pull by a hard reset
2021-11-26 15:41:52 +01:00
Markus Heiser
ee8b6aac36
[fix] searx.sh update: replace git pull by a hard reset
...
If the fetched branch has been rebased a 'git pull' will fails. To get fetched
branch in the working tree, a git reset is needed.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-26 15:15:17 +01:00
Alexandre Flament
0d41f26a20
[fix] searx.results: fix pylint issue "useless-with-lock"
...
Replace "with threading.Lock():" by "with self._lock"
2021-11-26 08:46:43 +01:00
Alexandre Flament
da1d502cf7
Merge pull request #550 from searxng/translations_update
...
Update translations
2021-11-26 08:26:51 +01:00
Alexandre Flament
328473befd
Merge pull request #547 from return42/fix-442
...
[fix] google & google video engines
2021-11-26 08:25:38 +01:00
searxng-bot
7b737e33e4
[translations] update
...
647aee3b
- 2021-11-25 - Markus Heiser <markus.heiser@darmarit.de>
2021-11-26 07:18:23 +00:00
Markus Heiser
1ce09df9aa
[fix] google video engine - rework of the HTML parser
...
The google video response has been changed slightly, a rework of the parser was
needed.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-26 01:14:17 +01:00
Markus Heiser
488ace1da9
[fix] google engine - suggestion
...
BTW: google no longer offers *spelling suggestions*
Closes: https://github.com/searxng/searxng/issues/442
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-25 19:42:03 +01:00
Markus Heiser
8fbffb1409
[fix] simple-theme templates: polish HTML <img> elements
...
- <img> [1] element does not have an end tag, no need for a leading `/>`
- add global attribute title[2] to result_templates/images.html (result-images-source)
- in jinja macro 'macro result_header' remove duplicate of class="image"
- in jinja macro 'macro result_header' remove alt attribute (fix [3])::
alt="{{ result.title|striptags }}"
the result.title is already shown in::
<h3>{{ result_link(result.url, result.title|safe) }}</h3>
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
[2] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-title
[3] https://github.com/searxng/searxng/issues/523
Closes: https://github.com/searxng/searxng/issues/523
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-25 12:07:57 +01:00
Markus Heiser
bd285de48a
Merge pull request #543 from return42/fix-485
...
[fix] templates: remove unneeded escape \' of single quotation mark
2021-11-24 20:20:26 +01:00
Markus Heiser
3f3097c772
[fix] templates: remove unneeded escape \' of single quotation mark
...
Strings like::
'Query in the page\'s title'
are hard to read / remove escape sequence by using double quotation marks for
strings ::
"Query in the page's title"
BTW: remove a leading dot in the simple theme [1].
[1] 80fb77476f (r756112716)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-24 17:40:03 +01:00
Alexandre Flament
42c1a938f0
Merge pull request #485 from dalf/pref_query_in_title
...
[mod] new preference: query_in_title
2021-11-24 13:10:27 +01:00
Markus Heiser
dae165eaa0
Merge pull request #537 from return42/moz-warnings
...
[simple theme] remove '-moz-border-radius' property
2021-11-23 20:25:17 +01:00
Markus Heiser
167e374ee1
Merge pull request #539 from searxng/fix-pr-535
...
fix PR #535
2021-11-23 20:24:49 +01:00
Markus Heiser
3364a15b3a
[build] /static
2021-11-23 20:04:27 +01:00
Markus Heiser
28a597e43e
[simple theme] remove '-webkit-border-radius' property
...
[1] https://github.com/searxng/searxng/pull/537#issuecomment-976582675
Suggested-by: @dalf [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-23 20:02:39 +01:00
Markus Heiser
8935b1d8a2
[simple theme] remove '-moz-border-radius' property
...
Support for the prefixed version (-moz-border-radius) was removed in Gecko
13.0 (Firefox 13.0 / Thunderbird 13.0 / SeaMonkey 2.10) [1].
[1] https://developer.mozilla.org/pt-BR/docs/Web/CSS/border-radius
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-23 20:02:39 +01:00
Alexandre Flament
c4caa52989
fix PR #535
...
Use the "empty_element" CSS class.
2021-11-23 18:59:50 +01:00
Paul Braeuning
6bc2de0194
Merge pull request #535 from mrpaulblack/article-default-description
...
[simple template] return a default string if there is no description
2021-11-23 18:28:26 +01:00
Markus Heiser
02391cc892
[build] /static
2021-11-23 15:28:26 +01:00
Markus Heiser
f57a9f425d
[simple template] format default string 'italic'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-23 15:28:08 +01:00
mrpaulblack
047d0ac6d6
[simple template] return a default string if there is no description
2021-11-23 14:13:36 +01:00
Markus Heiser
fbd8afb93d
Merge pull request #536 from return42/jinja2-mode.el
...
[emacs] .dir-locals.el: use jinja2-mode to format html files
2021-11-23 14:05:01 +01:00
Markus Heiser
611f145a4a
[emacs] .dir-locals.el: use jinja2-mode to format html files
...
The jinja2-mode [1] can be installed from melpa [2]::
M-x package-install / jinja2-mode
[1] https://github.com/paradoxxxzero/jinja2-mode
[2] https://melpa.org/#/jinja2-mode
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-23 13:56:31 +01:00
Markus Heiser
0e27578e35
Merge pull request #527 from dalf/fix-simple-modal
...
[fix] simple theme: fix modal dialog
2021-11-23 12:44:49 +01:00
Markus Heiser
339838f9f5
[build] /static
2021-11-23 12:37:43 +01:00
mrpaulblack
6a367b59ce
[simple theme] add animations.less for keyframe animations
2021-11-23 12:35:37 +01:00
Alexandre Flament
e612b81f41
[fix] simple theme: fix modal dialog
2021-11-23 12:35:37 +01:00
Paul Braeuning
a87f1eb9ec
Merge pull request #510 from mrpaulblack/result-article-improvments
...
[simple theme] rework select and impove url
2021-11-23 11:04:34 +01:00
Markus Heiser
ef3f084c49
Merge pull request #516 from return42/searxng/filtron
...
[mod] filtron.sh - install github.com/searxng/filtron
2021-11-23 00:23:23 +01:00
Markus Heiser
deca799e9f
Merge pull request #529 from return42/nvm-improve
...
Various improvements of the NVM environment
2021-11-21 23:49:05 +01:00
mrpaulblack
b0aebf7069
[build] /static
2021-11-21 21:40:49 +01:00
mrpaulblack
f3aff26086
[simple theme] rework select; add safesearch to search and replace / with › in article url
...
* rework selection UI in pref (fix based on: 78643e9f43
)
* moved search filters underneath categories
* cut params from url and replace / with ›
* make h3 and url in article bigger
* add safe search select to search filter (this will not override settings and only be valid while on result page in a session)
* make search form button not overlap each other when js is disabled
* 1rem padding around preview image and thumbnail in default article template
2021-11-21 21:38:00 +01:00
Alexandre Flament
02cccdf876
Merge pull request #533 from return42/fix-532
...
[fix] google images: @href index 0 not found
2021-11-21 21:26:20 +01:00
Markus Heiser
93e933278a
[fix] filtron.sh & morty.sh: quote "$GO_ENV"
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-21 17:13:34 +01:00
Markus Heiser
ac5cce69cc
[doc] filtron.sh - install github.com/searxng/filtron
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-21 17:13:34 +01:00
Markus Heiser
c1bee0d96f
[mod] filtron.sh - install github.com/searxng/filtron
...
SearXNG maintains a fork of filtron at [1]
[1] https://github.com/searxng/filtron
Related: https://github.com/searxng/searxng/issues/507#issuecomment-970254027
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-21 17:13:34 +01:00
Markus Heiser
d51298177a
Merge pull request #528 from return42/brand
...
[brand] initial - folder src/brand for searxng-wordmark
2021-11-21 11:46:24 +01:00
Markus Heiser
5b28c9109f
[fix] google images: @href index 0 not found
...
Sometimes there is no href in the `<a ..>` tag of a *link_node* [1].
[1] https://github.com/searxng/searxng/issues/532
Reported-by: @TheEssem
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-21 09:55:59 +01:00
Markus Heiser
5242a841a5
[mod] NVM: dev-tools pre-installed in NVM's node installation
...
The Node.js installation in the NVM environment can be used by IDEs and other
developer tasks. The required developer packagaes are added to the file
./.nvm_packages and will be installed when Node.js is installed. Initial we
start with:
- eslint
Having a dedicated developer enviroment, provided by nvm makes it easy to
integrate Node.js packages into various IDEs. One example is shown in the
.dir-locals.el which is used by emacs.
[1] https://github.com/nvm-sh/nvm#default-global-packages-from-file-while-installing
[2] https://eslint.org
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-20 17:08:22 +01:00
Markus Heiser
69dd025da9
[mod] nvm.cmd ... : run command ... in NVM environment
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-20 15:40:18 +01:00
Markus Heiser
61af147849
[emacs] use NVM environment installed at nvm-dir <repo>/.nvm
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-20 15:21:35 +01:00
Markus Heiser
6b4cad768d
[mod] NVM: pin Node.js to v16.13.0
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-20 15:19:17 +01:00