Alexandre Flament
0e02fee930
Merge pull request #2345 from dalf/mod-oscar
...
[mod] oscar theme: added option into gruntfile.js for generate sourceMap
2020-12-01 14:11:13 +01:00
Alexandre Flament
f1e016e9ea
[mod] oscar theme: added option into gruntfile.js for generate sourceMap
...
Credits go to @mrwormo (see PR #2308 )
2020-12-01 10:07:01 +01:00
GazoilKerozen
1b700738eb
[fix] fix the reset button in the oscar theme ( #2306 )
...
Rely on javascript instead of type="clear"
Close #2009
2020-11-30 16:30:21 +01:00
Noémi Ványi
4a36a3044d
Add recoll engine ( #2325 )
...
recoll is a local search engine based on Xapian:
http://www.lesbonscomptes.com/recoll/
By itself recoll does not offer web or API access,
this can be achieved using recoll-webui:
https://framagit.org/medoc92/recollwebui.git
This engine uses a custom 'files' result template
set `base_url` to the location where recoll-webui can be reached
set `dl_prefix` to a location where the file hierarchy as indexed by recoll can be reached
set `search_dir` to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain
2020-11-30 08:35:15 +01:00
Alexandre Flament
93c2603561
Merge pull request #2336 from efectn/patch-1
...
Photon API Link Update
2020-11-28 09:06:53 +01:00
M. Efe Çetin
d1f527c3af
Photon API Link Update
...
Via https://photon.komoot.io/
2020-11-27 10:22:28 +03:00
Alexandre Flament
6ada5bac60
Merge pull request #2327 from renyhp/master
...
Add preference for displaying advanced settings
2020-11-26 17:37:43 +01:00
renyhp
0323606691
Remove unused lines
2020-11-26 17:26:19 +01:00
renyhp
844ae0b310
Fix syntax error
2020-11-26 16:27:46 +01:00
renyhp
4979b4f9d9
Another patch
2020-11-26 15:34:53 +01:00
renyhp
22489c4b5f
Patch advanced search preferences
2020-11-23 19:13:29 +01:00
Alexandre Flament
aec6a2656c
Merge pull request #2319 from dalf/multiple-proxies
...
[enh] Add multiple outgoing proxies
2020-11-23 08:43:53 +01:00
renyhp
b00f77059c
Add preference for displaying advanced settings
2020-11-22 18:16:43 +01:00
Alexandre Flament
3786920df9
[enh] Add multiple outgoing proxies
...
credits go to @bauruine see https://github.com/searx/searx/pull/1958
2020-11-20 15:29:21 +01:00
Alexandre Flament
2fc3b17c85
Merge pull request #2323 from kvch/fix-unresponsive-engine-set-modified
...
Fix RuntimeError during search with translated errors
2020-11-18 09:37:29 +01:00
Noémi Ványi
80a8bc5ad9
Fix type of unresponsive_engines
...
Previously __get_translated_errors
returned a list. But unresponsive_engines
is a set.
Closes #2305
2020-11-17 23:22:45 +01:00
Alexandre Flament
963b93b543
[fix] fix github workflow: deploy documentation
2020-11-17 15:54:14 +01:00
Alexandre Flament
c9fb3ac34f
[fix] fix github workflow
2020-11-17 15:44:50 +01:00
Alexandre Flament
197a013d2e
[fix] fix github workflow
...
bug fix of 9c25cd99c4
2020-11-17 15:38:31 +01:00
Alexandre Flament
2fc7273141
Merge pull request #2322 from dalf/github-actions
...
[mod] use github actions instead of travis
2020-11-17 15:20:45 +01:00
Alexandre Flament
9c25cd99c4
[mod] use github actions instead of travis
...
fix https://github.com/searx/searx/issues/2279
2020-11-17 15:09:06 +01:00
Alexandre Flament
a30d9f2655
Merge pull request #2321 from dalf/fix-standalone
...
[fix] fix a test_standalone_searx test case
2020-11-17 13:19:55 +01:00
Alexandre Flament
230a5ecd04
[fix] fix a test_standalone_searx test case
...
If test_engines_init.py runs before test_standalone_searx.py, the engine list is not empty.
It makes test_get_search_query flaky.
This commit initializes the engline list in test_standalone_searx.py
2020-11-17 10:39:44 +01:00
Alexandre Flament
17b48ff6e8
Merge pull request #2286 from return42/fix-deviantart
...
[refactor] deviantart - improve results and clean up source code
2020-11-14 17:31:39 +01:00
Markus Heiser
c71d214b0c
[refactor] deviantart - improve results and clean up source code
...
Devian's request and response forms has been changed.
- fixed title
- fixed time_range_dict to 'popular-*-***'
- use image from <noscript> if exists
- drop obsolete "http to https, remove domain sharding"
- use query URL https://www.deviantart.com/search/deviations?page=5&q=foo
- add searx/engines/deviantart.py to pylint check (test.pylint)
Error pattern::
There DEBUG:searx:result: invalid title: {'url': 'https://www.deviantart.com/ ...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-11-14 17:09:56 +01:00
Alexandre Flament
4f18faebe1
Merge pull request #2288 from dalf/lint
...
[mod] remove unused import
2020-11-14 14:24:45 +01:00
Alexandre Flament
3038052c79
[mod] remove unused import
...
use
from searx.engines.duckduckgo import _fetch_supported_languages, supported_languages_url # NOQA
so it is possible to easily remove all unused import using autoflake:
autoflake --in-place --recursive --remove-all-unused-imports searx tests
2020-11-14 14:11:02 +01:00
Alexandre Flament
6489a560ea
Merge pull request #2299 from rachmadaniHaryono/feature/pep8-to-pycodestyle
...
pep8 to pycodestyle
2020-11-14 13:49:25 +01:00
Alexandre Flament
e1bd617669
Merge pull request #2296 from rachmadaniHaryono/feature/suppress-output
...
suppress test output
2020-11-14 13:45:32 +01:00
Alexandre Flament
c3d9b17c2a
Merge pull request #2292 from kvch/elasticsearch-engine
...
New engine: Elasticsearch
2020-11-14 13:25:08 +01:00
Alexandre Flament
102c08838b
Merge pull request #2289 from dalf/pylint
...
[mod] pylint: add extension-pkg-whitelist=lxml.etree
2020-11-14 13:24:31 +01:00
Alexandre Flament
46b454277f
Merge pull request #2309 from dalf/mod_search_repr
...
[mod] searx.search: EngineRef, SearchQuery: add __repr__ and __eq__ methods
2020-11-14 13:23:44 +01:00
Alexandre Flament
ebed1461bc
Merge pull request #2300 from dalf/fix-webapp-index
...
[fix] fix of / and /search
2020-11-14 13:23:03 +01:00
Alexandre Flament
20c95712ea
Merge pull request #2301 from pierrechtux/fix_typo_virualenv
...
Fix typo virualenv
2020-11-13 17:55:54 +01:00
Pierre Chevalier
482da5c6c7
Correct what was obviously a typo in vir(t)ualenv.
2020-11-13 16:06:16 +01:00
Noémi Ványi
43e697681e
New engine: Elasticsearch
2020-11-10 19:53:38 +01:00
Alexandre Flament
8fc74d0d7b
[mod] searx.search: EngineRef, SearchQuery: add __repr__ and __eq__ methods
2020-11-10 10:45:40 +01:00
Noémi Ványi
aa6eaf603f
Merge pull request #2295 from searx/default-http-headers
...
[enh] add default http headers - closes #715
2020-11-08 17:05:16 +01:00
Alexandre Flament
b3a3ccf2db
[fix] fix of / and /search
...
* URL / : the index page displayed the selected or the default category.
* URL / : when the q parameter is set using the URL, the redirect includes the URL query.
* URL /search : an empty query doesn't raise an exception.
2020-11-06 12:11:52 +01:00
rachmadaniHaryono
5d015b58f7
new: test: ignored warning and errors
2020-11-06 18:54:53 +08:00
rachmadaniHaryono
d422f60529
chg: test: Makefile pep8 test
2020-11-06 08:40:21 +08:00
rachmadaniHaryono
3dea5eada0
chg: dev: pep8 to pycodestyle
2020-11-06 08:26:31 +08:00
Adam Tauber
063260d090
[enh] add default http headers - closes #715
2020-11-05 16:14:23 +01:00
rachmadaniHaryono
4d4b6750bc
chg: test: suppress output
2020-11-05 07:15:29 +08:00
rachmadani haryono
c03e4c86bc
Feature/standalone searx update ( #1591 )
...
* chg: dev: update standalone_searx
parent d8a5df721b33dd8a7cc9e21dba4060f21d629f69
author rachmadaniHaryono <foreturiga@gmail.com> 1603896594 +0800
committer rachmadaniHaryono <foreturiga@gmail.com> 1603896619 +0800
chg: dev: debug engine_shortcuts
chg: dev: only initilize if engine is given
chg: dev: split main
chg: dev: standalone_searx
chg: dev: update standalone_searx
chg: doc: remove unnecessary log
chg: test: differentiate travis
chg: test: disable shortcut
chg: test: use default engine settings
fix: dev: category choices
fix: dev: duplicate engine shortcut
fix: dev: travis python3
fix: test: use empty string as shortcut
fix: test: apkm
fix: test: engine shortcut
fix: test: mypy
fix: test: parameter
fix: test: pep8
fix: test: py2 compatibilities
fix: test: searx settings
fix: test: travis engines
new: dev: deduplicate engine
new: dev: main receive engines parameter
new: dev: parse_argument accept engines parameter
new: dev: split search query from get_result func
new: test: basic result case
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
* new: doc: searx import and init
* chg: dev: parse_argument
- doc
- run on __main__
- simple parse_args
* chg: doc: module
* chg: dev: import section
- remove unused python path modification
- new required package
* chg: dev: script run
- parse_argument func return directly parsed results
- main func return dict instead json text
- dump directly on sys.stdout.write
* chg: dev: get_search_query and get_search_query func
* chg: dev: main func
- move inner function outside
- return dict instead of json text
* new: dev: add utils to doc sys path
* new: doc: standalone_searx
* fix: doc: run script
* chg: dev: mypy type hint
* chg: dev: SearchQuery don't have attr engines
* chg: dev: reset engines __init__
* chg: test: unit test update
* chg: dev: pylint and flake8
* new: test: standalone_searx
* chg: dev: main func and doc
* chg: dev: import and type hint
* new: dev: main func
- remove get_result func
- single func which just translate dict
* chg: test: put mypy on dev requirement
* chg: doc: update
* new: doc: add standalone_searx module member
* chg: doc: shell command line
* chg: dev: remove mypy
* chg: doc: module docstring
2020-11-04 12:38:54 +00:00
Adam Tauber
1b42d42695
Merge pull request #2290 from dalf/fix-misc
...
Various bug fixes
2020-11-03 15:12:25 +01:00
Adam Tauber
9c3382d12a
Merge pull request #1681 from MarcAbonce/index_refactor
...
[mod] Separate index and search routes
2020-11-03 15:09:44 +01:00
Alexandre Flament
58d72f2692
[mod] pylint: minor code change to allow pylint globally
...
This commit is only a step, it doesn't fix all the issues reported by pylint
2020-11-03 11:35:53 +01:00
Alexandre Flament
e28b56e262
[fix] webadapter: fix locked categories
2020-11-03 10:55:49 +01:00
Alexandre Flament
eed43783f9
[fix] comamnd engine: fix import
2020-11-03 10:55:08 +01:00