Alexandre Flament
a7d575c099
[enh] flask debug mode: reload the app when searx/settings.yml changes
2021-06-03 12:03:38 +02:00
Alexandre Flament
7457f3fe40
Merge pull request #124 from return42/searx-merge
...
merge redis offline engine from searx
2021-06-02 12:35:33 +02:00
Markus Heiser
39c18274c6
[fix] enigine redis - avoid error when the engine is loaded
...
Should be _redis_client to avoid an error when the engine is loaded.
Suggested-by: @dalf https://github.com/searxng/searxng/pull/124#pullrequestreview-673885664
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-02 09:54:58 +02:00
Alexandre Flament
3ce1b40512
Merge pull request #113 from searxng/remove-overpass
...
[mod] remove overpass API call
2021-06-01 18:10:05 +02:00
Markus Heiser
60dc91f234
[static] make /stats more CSP compliant- make themes.all
...
Based on commit:
- a89b823f
[mod] remove overpass API call
this patch is generated by::
make themes.all
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 17:54:31 +02:00
Alexandre Flament
a89b823f8d
[mod] remove overpass API call
...
prepare the code the PR #90
2021-06-01 17:52:49 +02:00
Alexandre Flament
ee83c99d2b
Merge pull request #116 from searxng/minor-refactoring-searx-engines
...
[mod] searx.engines.__init__: refactoring
2021-06-01 16:40:38 +02:00
Markus Heiser
15de8708b7
[docs] highlight source code linked from *automodule* content
...
sphinx.ext.viewcode won't highlight when 'highlight_language' [1] is set to
string 'none' [2]
[1] https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html
[2] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-highlight_language
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 16:37:20 +02:00
Markus Heiser
ebbd5f7366
[docs] add new rubric 'Source-Code'
...
- document namespace: searx.engines
- move docs/dev/xpath_engine.rst -> docs/src/searx.engines.xpath.rst
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 16:37:20 +02:00
Alexandre Flament
8375974dff
[fix] sys.exit(1) when there is duplicate engine name
2021-06-01 16:37:20 +02:00
Markus Heiser
8908937046
[mod] searx.engines.load_engine return None instead of sys.exit(1)
...
Loading an engine should not exit the application (*). Instead
of exit, return None.
(*) RuntimeError still exit the application: syntax error, etc...
BTW: add documentation and normalize indentation (no functional change)
Suggested-by: @dalf https://github.com/searxng/searxng/pull/116#issuecomment-851865627
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 16:35:17 +02:00
Alexandre Flament
70a9208972
[mod] searx.engines.__init__: refactoring
2021-06-01 16:32:40 +02:00
Alexandre Flament
e3f4a77311
Merge pull request #110 from searxng/mod-default-settings
...
[mod] move all default settings into searx.settings_defaults
2021-06-01 16:13:04 +02:00
Markus Heiser
495d86b520
[pylint] searx/__init__.py & searx/settings_defaults.py
...
BTW: normalize some indentations in searx/settings_defaults.py
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 16:03:19 +02:00
Adam Tauber
e4b6558339
[enh] add redis offline engine / https://redis.io/
...
Slightly modified merge of commit [97269be6], [01a8a5814a] and [c8d2b5eb] from
searx.
[97269be6] https://github.com/searx/searx/commit/97269be6
[01a8a581] https://github.com/searx/searx/commit/01a8a581
[c8d2b5eb] https://github.com/searx/searx/commit/c8d2b5eb
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 11:51:25 +02:00
Adam Tauber
e33858d6ef
[fix] correct kv template formatting and remove internal data
...
Slightly modified merge of commit [ea7ccf24] from searx.
[ea7ccf24] https://github.com/searx/searx/commit/ea7ccf24
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-06-01 10:53:37 +02:00
Alexandre Flament
e0af67f0af
Merge pull request #123 from searxng/fix_update_languages
...
[fix] searx_extra/update/update_languages.py
2021-06-01 10:07:27 +02:00
Alexandre Flament
925c21ce42
Merge pull request #122 from searxng/update_data_update_ahmia_blacklist.py
...
Update searx.data - update_ahmia_blacklist.py
2021-06-01 10:03:50 +02:00
Alexandre Flament
3266738e7a
Merge pull request #121 from searxng/update_data_update_currencies.py
...
Update searx.data - update_currencies.py
2021-06-01 10:03:35 +02:00
Alexandre Flament
54ae95b95b
Merge pull request #120 from searxng/update_data_update_wikidata_units.py
...
Update searx.data - update_wikidata_units.py
2021-06-01 10:03:22 +02:00
Alexandre Flament
414ad5b733
Merge pull request #119 from searxng/update_data_update_firefox_version.py
...
Update searx.data - update_firefox_version.py
2021-06-01 10:03:09 +02:00
dalf
43d06e8224
Update searx.data - update_ahmia_blacklist.py
2021-06-01 08:01:50 +00:00
dalf
e53ed4742c
Update searx.data - update_currencies.py
2021-06-01 08:01:48 +00:00
dalf
666a25314a
Update searx.data - update_wikidata_units.py
2021-06-01 08:01:45 +00:00
Alexandre Flament
fa0ae252b0
[fix] searx_extra/update/update_languages.py
...
* call searx.engines.load_engines (instead of initialize_engines)
* set timeout to 10 seconds
* remove some dead code
2021-06-01 10:01:39 +02:00
dalf
9f3a455777
Update searx.data - update_firefox_version.py
2021-06-01 08:01:33 +00:00
Alexandre Flament
6fa114c9ba
[mod] settings_default: remove searx.search.max_request_timeout global variable
2021-06-01 08:10:15 +02:00
Alexandre Flament
4b07df62e5
[mod] move all default settings into searx.settings_defaults
2021-06-01 08:10:15 +02:00
Alexandre Flament
856729226d
Merge pull request #118 from searxng/fix-mankier
...
[fix] mankier: fix paging
2021-05-31 22:49:11 +02:00
Alexandre Flament
6ca74386d6
[fix] mankier: fix paging
...
See https://github.com/searxng/searxng/pull/111#issuecomment-851641967
2021-05-31 22:33:40 +02:00
Alexandre Flament
6793af7608
Merge pull request #117 from return42/add-docker-hub
...
[enh] add engine - Docker Hub
2021-05-31 17:47:08 +02:00
Kyle Anthony Williams
d6a2d4f969
[enh] add engine - Docker Hub
...
Slightly modified merge of commit [1cb1d3ac] from searx [PR 2543]:
This adds Docker Hub .. as a search engine .. the engine's favicon was
downloaded from the Docker Hub website with wget and converted to a PNG
with ImageMagick .. It supports the parsing of URLs, titles, content,
published dates, and thumbnails of Docker images.
[1cb1d3ac] https://github.com/searx/searx/pull/2543/commits/1cb1d3ac
[PR 2543] https://github.com/searx/searx/pull/2543
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-30 15:18:36 +02:00
Alexandre Flament
737f5f05d2
Merge pull request #114 from searxng/only-files-category-for-bittorent
...
[mod] the bittorent search engines are available only in the files category
2021-05-30 07:01:49 +02:00
Alexandre Flament
1113f7e616
[mod] the bittorent search engines are available only in the files category
...
related to #101
2021-05-29 16:14:19 +02:00
Alexandre Flament
e239369f1f
Merge pull request #109 from return42/sql-engines
...
Merge MySQL and PostgreSQL from searx
2021-05-29 08:34:19 +02:00
Alexandre Flament
c22c7cf35b
Merge pull request #111 from return42/mankier
...
[enh] add engine ManKier (JSON) / ManKier: Linux man pages
2021-05-29 08:33:54 +02:00
Alexandre Flament
a8b0705816
Merge pull request #112 from return42/pypi
...
[enh] add engine PyPi (XPath)
2021-05-29 08:33:41 +02:00
Jordan Webb
a8f474b23f
[enh] add engine PyPi (XPath)
...
Add a XPath configuration for PyPI (Python Package Index)
Slightly modified merge of [66d06b05] from searx's [PR 2830].
[PR 2830] https://github.com/searx/searx/pull/2830
[66d06b05] https://github.com/searx/searx/pull/2830/commits/66d06b05
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-29 05:51:33 +02:00
Jordan Webb
52672d887b
[enh] add engine ManKier (JSON) / ManKier: Linux man pages
...
Slightly modified merge of [a881e742aa] from searx's [PR 2829].
[PR 2829] https://github.com/searx/searx/pull/2829
[a881e742aa] https://github.com/searx/searx/pull/2829/commits/a881e742aa
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-29 05:29:47 +02:00
Markus Heiser
e7a4d0961b
[doc] add blog post about SQL servers
...
Modified merge of [22a79a4] from searx.
[22a79a4] 22a79a4896
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-28 19:46:54 +02:00
Noémi Ványi
87a01a1736
[enh] add MySQL engine
...
Slightly modified merge of [c00a33fe] from searx.
[c00a33fe] c00a33feee
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-28 17:36:46 +02:00
Noémi Ványi
324aa96062
[enh] add PostgreSQL engine
...
Slightly modified merge of [22079ff] from searx.
[22079ff] 22079ffdef
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-28 17:34:44 +02:00
Alexandre Flament
da111f7fec
Merge pull request #108 from return42/dogpile
...
[enh] add metasearch engin dogpile.com (XPath)
2021-05-28 15:56:01 +02:00
Allen
a4b0746044
[enh] add metasearch engin dogpile.com (XPath)
...
Add Dogpile engine [1] / merged from [2]
[1] https://www.dogpile.com
[2] https://github.com/searx/searx/pull/2822
2021-05-28 15:52:28 +02:00
Alexandre Flament
54e783f3b1
Merge pull request #107 from return42/wikimini
...
[enh] add engine Wikimini (fr.wikimini.org)
2021-05-28 14:47:38 +02:00
LL Productions FR
15f1d6a80f
[enh] add engine Wikimini (fr.wikimini.org)
...
Online encyclopedia for children (only language fr), merged from [1]
[1] https://github.com/searx/searx/pull/2819
2021-05-28 14:03:21 +02:00
Alexandre Flament
83ccf7b04d
Merge pull request #99 from return42/webapp-misc
...
[enh] add settings option to enable/disable search formats
2021-05-28 13:26:48 +02:00
Markus Heiser
96b223023a
[mod] utils.get_value() - avoidance of a recursion
...
In a comment [1] dalf suggested to avoid a recursion of get_value()
[1] https://github.com/searxng/searxng/pull/99#discussion_r640833716
Suggested-by: Alexandre Flament <alex@al-f.net>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-28 08:32:52 +02:00
Markus Heiser
6ed4616da9
[enh] add settings option to enable/disable search formats
...
Access to formats can be denied by settings configuration::
search:
formats: [html, csv, json, rss]
Closes: https://github.com/searxng/searxng/issues/95
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-05-28 08:32:52 +02:00
Alexandre Flament
b48b4c93d5
Merge pull request #100 from return42/webapp-pylint
...
[pylint] webapp.py
2021-05-27 17:04:32 +02:00