| Age | Commit message (Collapse) | Author |
|
[enh] add Brave-Search engine (XPath)
|
|
[fix] decoding of saved preferences in the URL
|
|
[fix] .config.sh: typo SEARX_INTERNAL_URL --> SEARX_INTERNAL_HTTP
|
|
There is a typo in .config.sh that causes confusion more and more often.
SEARX_INTERNAL_HTTP should be the correct name of the environment variable.
First mentioned in [1] and also discussed in [2].
[1] https://github.com/searx/searx/pull/2273
[2] https://github.com/searx/searx/discussions/2863
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] utils/lib.sh: prefix_stdout show cursor (ANSI escape \e[?25h)
|
|
Some piped commands hide the cursor, show cursory when the stream ends.
Most often this is a bug of the command which piped. The command should not
hide the cursor when it writes to a pipe. I have seen this bug with the package
manager (pacman) from ArchLinux.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
To compress saved preferences in the URL was introduced in 5f758b2d3 and
slightly fixed in 8f4401462. But the main fail was not fixed; The decompress
function returns a binary string and this binary should first be decoded to a
string before it is passed to urllib.parse_qs.
BTW: revert the hot-fix from 5973491
Related-to: https://github.com/searxng/searxng/issues/166
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Add https://search.brave.com which was requested by @kaonashi696 [1].
This patch was suggested by @eagle-dogtooth [2].
[1] https://github.com/searx/searx/issues/2857
[2] https://github.com/searx/searx/issues/2857#issuecomment-867199241
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Set use_mobile_ui to false for Google engine
|
|
|
|
|
|
[mod] utils/lxc.sh: detect conflict of docker & LXC in the iptables
|
|
Lint the less files of the simple theme
|
|
- move jshint option from gruntfile to .jshintrc
- remove trailing-whitespace from gruntfile and
- add jshint esversion: 6
- .dir-locals.el add locals for js-mode to use JSHint from the simple theme
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
This patch disables role 'no-descending-specificity'. IMO it is better to have
this rule active (see below [1]), but it is hard to rewrite the less files to
pass this rule, so for the first I chose to disable this rule.
---
Source order is important in CSS, and when two selectors have the same
specificity, the one that occurs last will take priority. However, the situation
is different when one of the selectors has a higher specificity. In that case,
source order does not matter: the selector with higher specificity will win out
even if it comes first.
The clashes of these two mechanisms for prioritization, source order and
specificity, can cause some confusion when reading stylesheets. If a selector
with higher specificity comes before the selector it overrides, we have to think
harder to understand it, because it violates the source order
expectation. Stylesheets are most legible when overriding selectors always come
after the selectors they override. That way both mechanisms, source order and
specificity, work together nicely.
This rule enforces that practice as best it can, reporting fewer errors than it
should. It cannot catch every actual overriding selector, but it can catch
certain common mistakes.
[1] https://stylelint.io/user-guide/rules/list/no-descending-specificity/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
This fix was autogenerated by::
npx stylelint -f unix --fix 'searx/static/themes/simple/src/less/**/*.less'
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Before build, do lint the LESS files using stylelint [1]. The configuration
'stylelint-config-standard' [2] is added to the root of the simple theme [3].
[1] https://stylelint.io/
[2] https://github.com/stylelint/stylelint-config-standard
[3] https://stylelint.io/user-guide/configure
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] utils/searx.sh: signature of YAML settings has been changed
|
|
Docker is blocking network of existing LXC containers / there is a conflict in
the iptables setup of Docker & LXC. With this patch:
- utils/lxc.sh checks internet connectivity (instead of silently hang)
- Chapter "Internet Connectivity & Docker" describes the problem and made a
suggestion for a solution a solution
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
In 5a7b12ee we changed the signature of the YAML settings, this patch takes this
into account.
Related-to: 5a7b12ee [yamllint] searx/settings.yml
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[fix] tidy up ignore lists .gitignore & .dockerignore
|
|
Build static cleanup
|
|
|
|
|
|
[emacs] .dir-locals.el: add setup for json-mode
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
static build: move generated files to searx/static/themes/*/src/generated
|
|
see 86912e22 [mod] oscar: get bootstrap and typeahead from NPM
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
BTW: add pygments.less to the help message
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
|
|
"npm run webfont" to build the fonts directory.
It requires fontforge and ttfautohint distro packages.
partial revert of commit 7137d2893f33e9158e8563a21d9586119d175269
|
|
Add a searx/static/themes/*/src/generated empty folder
|
|
Docker: upgrade to alpine 3.14
|
|
[fix] UnicodeEncodeError for preferences ULR
|
|
Closes: https://github.com/searxng/searxng/issues/166
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
improve & document google engine
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Uses Python version 3.9 instead of 3.8
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Reverse engineering shows that not all of the parameters used by google's mobile
UI (aka "more results" button) are needed [1].
[1] https://github.com/searxng/searxng/pull/160#issuecomment-865013625
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
[experimental] google: use the mobile UI
|
|
[fix] py.build - fix small typo in the build message
|
|
disable by default, it has to be enabled in settings.yml
related to #159
|
|
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
[fix] node.clean - ignore npm dependencies when npm is not installed
|
|
error pattern::
$ make clean
CLEAN pyenv
PYENV [virtualenv] drop local/py3
CLEAN docs -- build/docs dist/docs
CLEAN locally installed npm dependencies
./manage: line 318: npm: command not found
ERROR: node.clean exit with error (127)
make: *** [Makefile:90: node.clean] Error 127
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|