Markus Heiser
89df9d9141
utils/searx.sh: add script to install isolated searx service (WIP)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
3cf31528f3
utils/searx.sh: add script to install isolated searx service (WIP)
...
WIP: written from scratch / linted but untested
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
c2b27d9120
Merge branch 'filtron' of https://github.com/return42/searx into filtron
5 years ago
Markus Heiser
b5449ec47c
filtron: log suspiciously frequent queries (WIP)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
3ed82a97af
utils/filtron.sh: add command 'update filtron'
...
BTW: tidy up some code style and fix some issues reported by the linter.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
39feb141bc
docs(admin): add description of the utils/filtron.sh script
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
4990b07b4b
utils/filtron.sh: various fix from first installation test (WIP)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
4139c63d23
utils/filtron.sh: add script to install filtron middleware
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
28dacee288
utils: add lib.sh containing common shell script
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
d3e4e81faf
makefile.sphinx: fix gh-pages / pull before add commits
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
121f696460
Makefile: gh-pages: keep history of gh-branch intact (don't drop)
...
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
ef85943e06
Makefile: add documentation build targets docs & docs-live
...
BTW:
- add build & dist folder to .gitignore
- justify indentation of build messages (makefile.python)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
5 years ago
Markus Heiser
bb2b9b8da4
utils: add makefile.sphinx to the boilerplate
...
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
Dalf
c7220b40ea
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
5 years ago
Ivan Skytte Jørgensen
0b7f0bde62
Use a more human-friendly format in searx/data/engines_languages.json ( #1399 )
...
Instead of a single line with 500000 characters use nicely formatted JSON.
Sort the lists in engine_languages.py so when updating it is possible to
more easily see the differences (search engines do change the order their
languages are listed in)
6 years ago
Alex
50c836864a
fetch_firefox_version.py : compatible with Python 3 and minor fixes.
6 years ago
Alexandre Flament
066bd916bf
[mod] fetch firefox versions in a standalone script
6 years ago
Marc Abonce Seguin
772c048d01
refactor engine's search language handling
...
Add match_language function in utils to match any user given
language code with a list of engine's supported languages.
Also add language_aliases dict on each engine to translate
standard language codes into the custom codes used by the engine.
7 years ago
Marc Abonce Seguin
d1eae9359f
fix fetch_langauges to be more accurate
...
Add languages supported by either all default general engines or 10 engines.
7 years ago
cclauss
9984c99665
print() is a function in Python 3
7 years ago
marc
44085e31d0
update engines_languages.json and languages.py
...
Also, fix fetch_languages.py so it can run on python3.
7 years ago
Thirnearez
076cfe25d7
handle input carefully in shell scripts
...
- prevent whitespace-splitting of variable expansions
- prevent interpretation of values as flags/options
(mostly)
7 years ago
NK
cda9f8593f
Avoid UnicodeEncodeError when redirecting standalone output
7 years ago
marc
805fb02ed1
add language support for qwant
...
closes issue #863
8 years ago
Alexandre Flament
369ec017b7
[enh] standalone_seax.py is a command line interface to searx with JSON output.
8 years ago
Alexandre Flament
7bcdc27a2e
[fix] fix standalone_search.py
8 years ago
marc
1175b3906f
change language list to only include languages with a minimum of engines
...
that support them.
users can still query lesser supported through the :lang_code bang.
8 years ago
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
8 years ago
marc
af35eee10b
tests for _fetch_supported_languages in engines
...
and refactor method to make it testable without making requests
8 years ago
marc
f62ce21f50
[mod] fetch supported languages for several engines
...
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc
92c6e88ad3
small fixes
8 years ago
marc
922d51bf0c
Add country names in language list.
8 years ago
marc
a11948c71b
Add language support for more engines.
8 years ago
marc
c677aee58a
filter langauges
8 years ago
marc
149802c569
[enh] add supported_languages on engines and auto-generate languages.py
8 years ago
stepshal
7e16c9d360
Add missing blank lines after class or function definition.
8 years ago
stepshal
6e5f46db42
utils/fetch_currencies: fix comment
8 years ago
stepshal
4261a41c1b
Comparison to None should be 'if cond is not None:'
8 years ago
stepshal
d9231d173a
Fix whitespaces
8 years ago
stepshal
cd9b494cb5
Fix quantity of blank lines after code object.
8 years ago
stepshal
2f83750619
Remove trailing whitespace
8 years ago
Alexandre Flament
5525625dae
[enh] currency_convert engine: user can write "1 dollars in euros" instead of "1 USD in EUR".
...
The currency names are fetched wikidata and store into a static file : searx/data/currencies.json
This file is loaded when the currency_converter is loaded.
A database is perhaps more appropiated.
10 years ago
Adam Tauber
e43f61069a
[fix] category name i18n - closes #221
10 years ago
Adam Tauber
9492b50070
[enh] fabfile to setup searx with uwsgi+nginx under debian based distros
10 years ago
Cqoicebordel
5e26ce63be
Don't create fuzzy translation
10 years ago
Adam Tauber
ea414c6574
[enh] standalone search example
10 years ago
asciimoo
474f6a861d
[enh] utils - translation updater script added
11 years ago