Dalf
0e7b6c9a03
[mod] infinite scroll: XHR requests are sent with the header "Accept: text/html".
...
Fix https://github.com/searx/searx-docker/issues/16
5 years ago
Markus Heiser
a3b5f3230c
theme: oscar - remove dust (comes from PR #1671 implementation)
...
was inadvertently included in the commit [1]
[1] f34ac58752 (diff-0243d1c24e9981002156cc87cc10bd53R103)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
f373169c84
theme: oscar - add accesskey to input tags
...
l - language field
s - search field
t - time range field
The way to activate the accesskey depends on the browser and its platform [1]
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
57c6fa6e63
theme: oscar - fix auto-submit on language seletion
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
2a5c39e33c
theme: oscar - tidy up trailing whitespaces and tab usage
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
9988cdcbc5
Merge branch 'master' of https://github.com/asciimoo/searx into dos2unix
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
50e1fcaa5e
Merge pull request #1671 from dalf/tidy-oscar
...
[mod] tidy oscar HTML output
5 years ago
Markus Heiser
7fbb15e050
Merge branch 'master' into tidy-oscar
5 years ago
Adam Tauber
f7a0510ac0
Merge pull request #1756 from return42/boilerplate
...
RFC: Makefile based boilerplate for python projects
5 years ago
Markus Heiser
7beb49b1fb
Merge branch 'master' into boilerplate
5 years ago
Dalf
f34ac58752
[mod] tidy oscar HTML output
5 years ago
Adam Tauber
e9311ee776
[enh] add @pofilo & @return42 to maintainers
5 years ago
Adam Tauber
4cddb829f9
Merge pull request #1628 from MarcAbonce/google_fix
...
[fix] Update xpaths for new Google results page
5 years ago
Markus Heiser
56b7e05721
themes: remove CR from newlines
...
Adding a CR in some files and in others not, is a good starting point for a
DOS+Unix mess we all have already seen in many projects.
Patch fixes all files matching (even those comming from grunt's build)::
find ./searx -exec file {} \; | grep CR
BTW: Same with mixing TAB and SPACE indent styles in one and the same file. So
if sources are tuched here in this patch, its also fixed.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Marc Abonce Seguin
ccaf6ca02c
[fix] update xpaths for new google results page
5 years ago
Markus Heiser
1b90e1403b
Merge branch 'master' of https://github.com/asciimoo/searx into boilerplate
5 years ago
Adam Tauber
1bb46e5e37
Merge pull request #1680 from robbyoconnor/patch-1
...
Add --no-cache to tell apk to not cache packages
5 years ago
Adam Tauber
1da10f2960
Merge pull request #1736 from x250/master
...
Mojeek engine hotfix
5 years ago
Adam Tauber
731e34299d
Merge pull request #1744 from dalf/optimizations
...
[mod] speed optimization
5 years ago
Adam Tauber
574cb25a16
Merge pull request #1758 from return42/ddd-fix
...
[fix] duckduckgo_definitions
5 years ago
Markus Heiser
30ad0c666d
duckduckgo_definitions: remove the debug message
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Adam Tauber
20da8f2cbf
Merge pull request #1754 from MarcAbonce/seedpeer
...
Add Seedpeer again
5 years ago
Adam Tauber
349697e803
Merge pull request #1757 from return42/fix-sc-id
...
[fix] soundcloud: URLs of JS sources has been moved
5 years ago
Markus Heiser
b6d9f5aa71
[fix] duckduckgo_definition issues reported by 'manage.sh test'
...
Fix this error while travis build::
/home/travis/build/asciimoo/searx/searx/engines/duckduckgo_definitions.py:21:44: E225 missing whitespace around operator
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
4998e9ec85
[fix] duckduckgo_definitions - where 'AnswerType' is 'calc'
...
Do not try to get text when 'AnswerType' is 'calc'.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
2aa95c16e3
[fix] soundcloud: URLs of JS sources has been moved
...
The client_id is found under (new) URL:
https://a-v2.sndcdn.com/assets/49-a0c01933-3.js
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
52450fd08a
.dir-locals.el: add some comments about jedi & EPC
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
147f40c386
Merge branch 'master' of https://github.com/asciimoo/searx into boilerplate
5 years ago
Adam Tauber
8721be2f7d
Merge pull request #1682 from Venca24/devel_mojeek
...
[fix] mojeek engine
5 years ago
Adam Tauber
789d71350d
Merge pull request #1745 from lorddavidiii/python3.8-fix
...
Fix python 3.8 compatibility
5 years ago
Markus Heiser
62a4b7443f
boilerplate: add .dir-locals.el with emacs python enviroment
...
The .dir-locals.el set the project's python enviroment for the emacs tasks like
flycheck or jedi. The py-environment has to be next to <repo>/.dir-locals.el::
./local/py3
To setup such an environment build target 'pyenv' or 'pyenvinstall'::
$ make pyenvinstall
TL;DR
Alternatively create the virtualenv, source it and install jedi + epc
(required by `emacs-jedi <https://tkf.github.io/emacs-jedi >`_)::
$ virtualenv --python=python3 "--no-site-packages" ./local/py3
...
$ source ./local/py3/bin/activate
(py3)$ # now install into the activated 'py3' environment ..
(py3)$ pip install jedi epc
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
796197db2d
boilerplate: add pylint / WIP: balance linting with pylint
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
7e572a2453
Makefile: add test.pep8 test.unit test.robot (from manage.sh)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
b55a8004ed
boilerplate: add inital Makefile with run & install targets
...
Add *Makefile* boilerplate useful for python projects. All python tasks are
using a virtualenv from ./local/py3
$ make help
run - run developer instance
install - developer install (./local)
uninstall - uninstall (./local)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
a56c56ead3
seatup.py: fix [dev_]requirements and open file with context
...
setup(..) named arguments 'install_requires' and 'extras_require' need lists
arguments, the <map object> is ignored when installing extra environment
'test'::
pip install -e .\[test\]
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Adam Tauber
05033ea8d8
Merge pull request #1689 from MarcAbonce/images_fixes
...
[fix] Google Images
5 years ago
Adam Tauber
2a527b8187
Merge pull request #1749 from unixfox/patch-1
...
[fix] Force Google old UI with a new user agent
5 years ago
Marc Abonce Seguin
9299355570
add seedpeer again
5 years ago
Marc Abonce Seguin
d0d91fa331
update user agents
5 years ago
Marc Abonce Seguin
94ca30de1b
add a shortcut for utils/fetch_firefox_version.py in manage.sh
5 years ago
Emilien Devos
8f51430f5c
[fix] Force Google old UI with a new user agent
5 years ago
lorddavidiii
5e5ff0cbf8
webapp.py: use html.escape if cgi.escape is not available
...
- cgi.escape was removed in python 3.8
- also use html.escape in framalibre.py
5 years ago
Dalf
85b3723345
[mod] speed optimization
...
compile XPath only once
avoid redundant call to urlparse
get_locale(webapp.py): avoid useless call to request.accept_languages.best_match
5 years ago
x250
3ea5ea8fae
Mojeek engine hotfix
5 years ago
Noémi Ványi
42d5e2c02c
Merge pull request #1719 from Monogramm/feature/accessibility
...
Add aria labels for oscar buttons
5 years ago
Mathieu Brunot
e9d90d06a9
Merge branch 'master' into feature/accessibility
5 years ago
Noémi Ványi
4e029b023a
Merge pull request #1728 from MarcAbonce/corrections_fix
...
[fix] Preserve bangs in corrections
5 years ago
Noémi Ványi
bf24b39fce
Merge branch 'master' into corrections_fix
5 years ago
Noémi Ványi
147ad504c3
Merge pull request #1729 from MarcAbonce/fix_tracker_remover
...
Fix out of range error in tracker remover plugin
5 years ago
Adam Tauber
61e9b0b75f
Merge pull request #1730 from kvch/gh-pages
...
Add post about introducing offline engines to blog
5 years ago