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
Noémi Ványi
021e1da4c9
add post about introducing offline engines
5 years ago
Marc Abonce Seguin
dede46a2d5
fix out of range error in tracker remover plugin
5 years ago
Marc Abonce Seguin
b0f89ed477
[fix] preserve bangs in corrections
5 years ago
Mathieu Brunot
a51b2b6c20
Merge branch 'master' into feature/accessibility
5 years ago
Adam Tauber
12f42d1572
Merge pull request #1700 from kvch/intro-offline-engines
...
Initialize support for offline engines
5 years ago
Noémi Ványi
5796dc60c9
fix pep 8 check
5 years ago
Noémi Ványi
a6f20caf32
add initial support for offline engines && command engine
5 years ago
Adam Tauber
2946c5f106
Merge pull request #1720 from Monogramm/docker/config
...
Config for instance name and autocomplete
5 years ago
Adam Tauber
3c34e0c3a7
[mod] remove cloudflare protected digbt from engines list
5 years ago
Adam Tauber
3c425f09c1
[fix] remove useless engine tests
5 years ago
Adam Tauber
7d8fd4b95e
[fix] pep8
5 years ago
Adam Tauber
bbe4442a86
[fix] update gigablast engine
5 years ago
Adam Tauber
1057e42cfd
[fix] update digg engine
5 years ago
Adam Tauber
72459b246b
[fix] convert bytes type to string in language detection (fixes dictzone)
5 years ago
Adam Tauber
7177c9e12f
[fix] update devianart engine
5 years ago
Adam Tauber
6ca1622378
[fix] update 1x engine
5 years ago
Adam Tauber
c98a2df36d
[fix] enable paging support for arxiv engine
5 years ago
Adam Tauber
ed1c1bdb04
[fix] pep8
5 years ago
Adam Tauber
e74bdf8429
[fix] engine test
5 years ago
Adam Tauber
27ed31c7a2
[fix] add message to SearxParameterException - fixes #1722
5 years ago
Adam Tauber
28c75c187f
[fix] update query params sanitization - closes #722
5 years ago
Adam Tauber
07a0a50e0d
[fix] update voat xpaths - closes #1581
5 years ago
Adam Tauber
77a70fe541
[fix] update startpage engine - closes #1601
5 years ago
Adam Tauber
3d0c22c58d
[fix] normalize time range parameter
5 years ago
Adam Tauber
94ea9d6622
[fix] duckduckgo paging - closes #1677
5 years ago
mathieu.brunot
2485d41bdd
🐳 Config for instance name and autocomplete
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
5 years ago
mathieu.brunot
4d17d453bf
♿ Add aria labels for oscar buttons
...
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
5 years ago
CaffeinatedTech
cc8d4b958e
Update README.rst
...
Fixed some grammar in README.rst
5 years ago
Marc Abonce Seguin
bb4d223770
[fix] google images
5 years ago