summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-13doc: theme - make sidebar less eye-catchingMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-13doc: document the new reST & gh-pages workflowMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-13Makefile: gh-pages: keep history of gh-branch intact (don't drop)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: moved reST sources in the right folder (much clearer)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: proofread of the all reST sources (no content change)Markus Heiser
Normalize reST sources with best practice and KISS in mind. to name a few points: - simplify reST tables - make use of ``literal`` markup for monospace rendering - fix code-blocks for better rendering in HTML - normalize section header markup - limit all lines to a maximum of 79 characters - add option -H to the sudo command used in code blocks - drop useless indentation of lists - ... [1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12gh-pages - build docs & deploy on gh-pages branchMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: installation.rst improve reST markupMarkus Heiser
- normalize section header markup - limit all lines to a maximum of 79 characters - add option -H to the sudo command used in code blocks - place *WARNING* lines into a '.. warning::' admonition block - make use of ``literal`` markup for monospace rendering - drop useless indentation of lists [1] https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: [fix] WARNING: Could not lex literal_block as "json"Markus Heiser
docs/admin/filtron.rst:24: \ WARNING: Could not lex literal_block as "json". Highlighting skipped. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: make use of sphinx.ext.extlinks & sphinx.ext.intersphinxMarkus Heiser
- add sphinx extensions - patch documentation to make use of These modules help to simplify the reST markup of external references. BTW it helps to write more readable reST and form custom brands. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: use customized pocoo theme (pallets-sphinx-themes)Markus Heiser
The old searx theme was a copy of the flask theme. In the meantime this theme is available from the python module pallets-sphinx-themes. This patch makes pallets-sphinx-themes as a (dev) requirement and drops most of the old and obsolete searx theme settings/files. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12Makefile: add documentation build targets docs & docs-liveMarkus Heiser
BTW: - add build & dist folder to .gitignore - justify indentation of build messages (makefile.python) Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12utils: add makefile.sphinx to the boilerplateMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-12doc: move patches from /doc folder of branch gh-pages to masterMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-11Merge pull request #1752 from MarcAbonce/user-agents-updateAdam Tauber
User agents update
2019-12-11Merge pull request #1763 from return42/dos2unixAdam Tauber
themes: remove CR from newlines
2019-12-10theme: oscar - remove dust (comes from PR #1671 implementation)Markus Heiser
was inadvertently included in the commit [1] [1] https://github.com/asciimoo/searx/commit/f34ac58752b3857468d01c79d7bc3409e8b03fe3#diff-0243d1c24e9981002156cc87cc10bd53R103 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10theme: oscar - add accesskey to input tagsMarkus Heiser
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>
2019-12-10theme: oscar - fix auto-submit on language seletionMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10theme: oscar - tidy up trailing whitespaces and tab usageMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10Merge branch 'master' of https://github.com/asciimoo/searx into dos2unixMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-10Merge pull request #1671 from dalf/tidy-oscarMarkus Heiser
[mod] tidy oscar HTML output
2019-12-10Merge branch 'master' into tidy-oscarMarkus Heiser
2019-12-10Merge pull request #1756 from return42/boilerplateAdam Tauber
RFC: Makefile based boilerplate for python projects
2019-12-10Merge branch 'master' into boilerplateMarkus Heiser
2019-12-10[mod] tidy oscar HTML outputDalf
2019-12-09[enh] add @pofilo & @return42 to maintainersAdam Tauber
2019-12-09Merge pull request #1628 from MarcAbonce/google_fixAdam Tauber
[fix] Update xpaths for new Google results page
2019-12-08themes: remove CR from newlinesMarkus Heiser
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>
2019-12-07[fix] update xpaths for new google results pageMarc Abonce Seguin
2019-12-03Merge branch 'master' of https://github.com/asciimoo/searx into boilerplateMarkus Heiser
2019-12-02Merge pull request #1680 from robbyoconnor/patch-1Adam Tauber
Add --no-cache to tell apk to not cache packages
2019-12-02Merge pull request #1736 from x250/masterAdam Tauber
Mojeek engine hotfix
2019-12-02Merge pull request #1744 from dalf/optimizationsAdam Tauber
[mod] speed optimization
2019-12-02Merge pull request #1758 from return42/ddd-fixAdam Tauber
[fix] duckduckgo_definitions
2019-12-02duckduckgo_definitions: remove the debug messageMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-12-02Merge pull request #1754 from MarcAbonce/seedpeerAdam Tauber
Add Seedpeer again
2019-12-02Merge pull request #1757 from return42/fix-sc-idAdam Tauber
[fix] soundcloud: URLs of JS sources has been moved
2019-11-29[fix] duckduckgo_definition issues reported by 'manage.sh test'Markus Heiser
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>
2019-11-29[fix] duckduckgo_definitions - where 'AnswerType' is 'calc'Markus Heiser
Do not try to get text when 'AnswerType' is 'calc'. Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-11-29[fix] soundcloud: URLs of JS sources has been movedMarkus Heiser
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>
2019-11-29.dir-locals.el: add some comments about jedi & EPCMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-11-28Merge branch 'master' of https://github.com/asciimoo/searx into boilerplateMarkus Heiser
2019-11-28Merge pull request #1682 from Venca24/devel_mojeekAdam Tauber
[fix] mojeek engine
2019-11-28Merge pull request #1745 from lorddavidiii/python3.8-fixAdam Tauber
Fix python 3.8 compatibility
2019-11-28boilerplate: add .dir-locals.el with emacs python enviromentMarkus Heiser
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>
2019-11-28boilerplate: add pylint / WIP: balance linting with pylintMarkus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-11-28Makefile: add test.pep8 test.unit test.robot (from manage.sh)Markus Heiser
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2019-11-28boilerplate: add inital Makefile with run & install targetsMarkus Heiser
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>
2019-11-28seatup.py: fix [dev_]requirements and open file with contextMarkus Heiser
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>
2019-11-26Merge pull request #1689 from MarcAbonce/images_fixesAdam Tauber
[fix] Google Images