Alexandre Flament
c75425655f
[enh] openstreetmap / map template: improve results
...
implements ideas described in #69
* update the engine
* use wikidata
* update map.html template
3 years ago
Alexandre Flament
92c8a8829f
[fix] strip spaces from searx user agent
...
h11 (used by httpx) rejects HTTP request with a trailing space in HTTP headers
3 years ago
Markus Heiser
ab259017cc
[fix] section "Overrides" in engine's documentation
...
[1] https://github.com/searxng/searxng/pull/97#discussion_r646094256
Suggested-by: @dalf [1]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Alexandre Flament
2a109d0a5f
[mod] refactor searx.webapp.render
...
render automatically adds these variables to the template context:
* advanced_search
* all_categories
* categories
before render was checking if the variable was already set
but it is actually never set by the callers
3 years ago
Alexandre Flament
70bbd14b1a
[mod] move hook to set Unix thread name into searx.unixthreadname
...
requires setproctitle (but optional)
3 years ago
Alexandre Flament
0e23113f70
[mod] remove unused filter searx.webapp.extract_domain
...
it was used in the pix-art theme
3 years ago
Alexandre Flament
cfa07b0a9a
[mod] refactor searx.webapp.render
...
no functional change, reorder declarations
3 years ago
Alexandre Flament
91856e8f6a
[mod] refactor searx.webapp.render: remove unused parameters
3 years ago
Alexandre Flament
15567955b4
[mod] remove check of Python 2.
3 years ago
Alexandre Flament
aedf0aa5fe
[mod] remove searx.webapp.get_base_url function
...
see the result of:
git grep "base_url" searx/templates
"base_url" is not used any more.
3 years ago
Alexandre Flament
eeb0998787
[mod] refactor: move Flask proxy fix to searx.flaskfix module
3 years ago
Markus Heiser
5c5db719d2
Merge pull request #97 from return42/drop-searx-admin
...
[docs] reorder blog articles
3 years ago
Alexandre Flament
5f76238d5c
Merge pull request #105 from return42/yaml
...
[enh] add test.yamllint - lint yaml files
3 years ago
Markus Heiser
6b9633098d
[emacs] flycheck - activate yamllint and use .yamllint.yml
...
Open YAML file and use:
M-x flycheck-mode
Since we use yamllint from local/py3/bin, creating a virtualenv is a
prerequisite:
make pyenv
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
5a7b12ee6f
[yamllint] searx/settings.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
4e845966ba
[yamllint] searx/settings_robot.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
b86a3f6303
[yamllint] tests/unit/settings/user_settings_remove2.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
008760a8c2
[yamllint] tests/unit/settings/user_settings_remove.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
15da3f6591
[yamllint] tests/unit/settings/user_settings_simple.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
00b10bb443
[yamllint] tests/unit/settings/user_settings_keep_only.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
c5d3f542d5
[yamllint] tests/unit/settings/user_settings.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
68213f6be4
[yamllint] tests/unit/settings/syntaxerror_settings.yml
...
Fixed messages reported by::
make test.yamllint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
393c06f537
[enh] add test.yamllint - lint yaml files
...
Usage::
make test.yamllint
./manage test.yamllint
test.yamllint is also added to the `test` makefile target.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
fb6dd416e5
Merge pull request #131 from searxng/fix-peertube-languages
...
Fix peertube languages
3 years ago
Alexandre Flament
cf2b549967
Update engines_languages.json
3 years ago
Alexandre Flament
8194db4e21
[fix] peertube fetch supported languages
...
close #127
3 years ago
Markus Heiser
6f7b0d72c0
[docs] revision of the section 'Command Line Engines'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
5bea04869d
[docs] move LXC blog article into developer documentation.
...
Move article 'Developing in Linux Containers' from blog section do developer
section. Since there are no more articles in the blog section, remove the
section completely.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
c5ccd50ffa
[docs] revision of the blog article about local search engines
...
The blog article 'Query your local search engines' has been renamed 'Local
Search Engines', revised and moved into admin's chapter 'Engine & Settings'.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
27e5a7437a
[docs] rename 'Recoll' to 'Recoll Engine'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
e34dc7818f
[docs] move 'settings.yml' into admin's 'Engines & Settings'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
340d25b19b
[docs] rename 'General Engine Settings' to 'Configured Engines'
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
c647c8b7a5
[docs] revision of the article "settings.yml"
...
This patch is a marginal revision of the article "settings.yml", most changes
are from normalizing the YAML syntax.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
5caebb379f
[docs] revision of the article "Engine Overview"
...
This patch revision of the article "Engine Overview":
- add links & anchors
- improve formating of the tables
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
f122cb0e27
[fix] typo: online_dictionnary --> online_dictionary
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
97d801e8a0
[fix] docs/conf.py - docutils docs moved to docutils.sourceforge.io
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
79cc82a4db
[docs] add engine "Demo Online Engine"
...
This engine just exists for documentation purpose.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
f844282089
[docs] move blog article "private engines" to admin/engines/
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
d965c63429
[docs] reorder chapter "Engines & Settings"
...
- Split chapter "Engines" and rename it into "Engines & Settings"
- Move docs/admin/engines.rst -> docs/admin/engines/engine_settings.rst
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
0d31740cfd
[docs] move article "XPath Engine" to to admin/engines/
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
274288ea99
[docs] revision of the article "Offline engines"
...
This patch is a a complete revision of the article "Offline engines", which also
merges the content from the searx-wiki [1] into this article.
[1] https://github.com/searx/searx/wiki/Offline-engines
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
1c8cf1d3a8
[docs] add engine "Demo Offline Engine"
...
This engine just exists for documentation purpose.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
acb1577202
[docs] move blog article "Offline engines" to dev/offline_engines.rst
...
The article "Offline engines" should be in developer's documentation next to
chapter "Engine overview".
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
b88d9d49cc
[docs] remove blog article 'Introducing Python 3 support'
...
This article is obsolete since a long time: Python 2 support has been dropped
and these days, virtualenv is managed by ``make pyenv.install``.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
1b3f0c848e
[docs] move blog article "SQL engines" to admin/engines/
...
The article "SQL engines" should be in admin's engine documentation (like the
recoll engine).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
a561083537
[docs] move blog article "Command line engines" to admin/engines/
...
The article "Command line engines" should be in admin's engine
documentation (like the recoll engine).
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
523bddf987
[docs] remove blog article about searx-admin
...
- https://github.com/kvch/searx-admin last maintained 4 years ago
- searx-admin does not support 'use_default_settings' [1] (b4b81a5e
)
[1] https://searxng.github.io/searxng/admin/settings.html#use-default-settings
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
Markus Heiser
d69c731403
Merge pull request #132 from searxng/docs-load-engines
...
[mod] "make docs" doesn't initialize the engines
3 years ago
Alexandre Flament
dddf3e2be2
[mod] "make docs" doesn't initialize the engines
...
avoid external HTTP requests with "make docs"
3 years ago
Alexandre Flament
cac6562a9e
Merge pull request #129 from searxng/dependabot/pip/master/certifi-2021.5.30
...
Bump certifi from 2020.12.05 to 2021.5.30
3 years ago