Age | Commit message (Collapse) | Author |
|
Pylint 2.10 added new default checks [1]:
unspecified-encoding:
Emitted when open() is called without specifying an encoding [2]
[1] https://pylint.pycqa.org/en/latest/whatsnew/2.10.html
[2] https://github.com/PyCQA/pylint/issues/3826
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
There are detected from the searx/translations directory
|
|
In ./manage implement babel.*:
- extract : extract messages from source files and generate POT file
- update : update existing message catalogs from POT file
- compile : compile translation catalogs into binary MO files
Replace searx_extra/update/update_translations.sh by command:
- ci.babel.update
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
the script expects searx/translations/messages.pot to be commited
it calls "pybabel extract", and if there is a meaningful change,
it calls "pybabel update"
exit code 0 when there is a change in messages.pot
|
|
In commit 4d3f2f48d common used languages has been droped. By reducing the
number of `min_engines_per_lang` from 15 to 13 we get theses languages back.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
Add a searx/static/themes/*/src/generated empty folder
|
|
BTW: move some comments into script's doc-string
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
implements ideas described in #69
* update the engine
* use wikidata
* update map.html template
|
|
* call searx.engines.load_engines (instead of initialize_engines)
* set timeout to 10 seconds
* remove some dead code
|
|
These py files are linted by `test.pylint`, all other files are linted by
`test.pep8`.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
BTW: remove trailing whitespace
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
|
|
|
|
Fix bug for 'FileNotFoundError: [Errno 2] No such file or directory: 'utils/standalone_searx.py' ' in example to run standalone_searx.py from python
|
|
settings.yml:
* outgoing.networks:
* can contains network definition
* propertiers: enable_http, verify, http2, max_connections, max_keepalive_connections,
keepalive_expiry, local_addresses, support_ipv4, support_ipv6, proxies, max_redirects, retries
* retries: 0 by default, number of times searx retries to send the HTTP request (using different IP & proxy each time)
* local_addresses can be "192.168.0.1/24" (it supports IPv6)
* support_ipv4 & support_ipv6: both True by default
see https://github.com/searx/searx/pull/1034
* each engine can define a "network" section:
* either a full network description
* either reference an existing network
* all HTTP requests of engine use the same HTTP configuration (it was not the case before, see proxy configuration in master)
|
|
|
|
add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes.
|
|
Split the utils directory into:
* searx_extra contains update scripts, standalone_searx.py
* utils contains the files to build and setup searx.
|