Age | Commit message (Collapse) | Author |
|
version (#1668)
Before this commit, the existing settings.yml were always replaced.
|
|
at the end of test_webapp.py, the monkey patch of searx.search.Search was not revert which lead to side effects on other tests
close #1663
|
|
[fix] fix paging for the oscar theme after PR #1640
Close #1664
|
|
|
|
The new url parameter "timeout_limit" set timeout limit defined in second.
Example "timeout_limit=1.5" means the timeout limit is 1.5 seconds.
In addition, the query can start with <[number] to set the timeout limit.
For number between 0 and 99, the unit is the second :
Example: "<30 searx" means the timeout limit is 3 seconds
For number above 100, the unit is the millisecond:
Example: "<850 searx" means the timeout is 850 milliseconds.
In addition, there is a new optional setting: outgoing.max_request_timeout.
If not set, the user timeout can't go above searx configuration (as before: the max timeout of selected engine for a query).
If the value is set, the user can set a timeout between 0 and max_request_timeout using
<[number] or timeout_limit query parameter.
Related to #1077
Updated version of PR #1413 from @isj-privacore
|
|
Characters that were not ASCII were incorrectly decoded.
Add an helper function: searx.utils.ecma_unescape (Python implementation of unescape Javascript function).
|
|
closes #1372
|
|
instead of org.label-schema.schema-version
|
|
Fix dailymotion, google_videos and youtube_noapi engines
|
|
|
|
|
|
|
|
[fix] wikidata engine: faster processing, remove one HTTP redirection.
|
|
* Search URL is https://www.wikidata.org/w/index.php?{query}&ns0=1 (with ns0=1 at the end to avoid an HTTP redirection)
* url_detail: remove the disabletidy=1 deprecated parameter
* Add eval_xpath function: compile once for all xpath.
* Add get_id_cache: retrieve all HTML with an id, avoid the slow to procress dynamic xpath '//div[@id="{propertyid}"]'.replace('{propertyid}')
* Create an etree.HTMLParser() instead of using the global one (see #1575)
|
|
'img_format', 'source', etc. (#1571)
Fetch complete JSON data block, use legend to extract images.
Unquote urlencoded strings.
Add image description as 'content'.
Add 'img_format' and 'source' data (needs PR #1567 to enable this data to be displayed).
Show images which lack ownerid instead of discarding them.
|
|
[fix] Small fixes in Preferences view's text
|
|
|
|
use JSON where possible, compose 'content' using all available data, use correct 'url' (direct to source instead of redirect through bing)
|
|
Various bug fixes
|
|
|
|
|
|
Minor fix: "%s engine initialized" display the right engine name
|
|
|
|
Note that "!general !wp test" is not fixed because the category for "!wp" is "none".
|
|
was "port:ip"
|
|
page title) (#1568)
use data from embedded JSON to improve results (e.g. real page title), add image format and source info (see PR #1567), improve paging logic (it now works)
|
|
update commit 87baa74a863ac74ae4c86bbfcb04148ba7f70696
|
|
|
|
|
|
|
|
fix google play apps, google play apps, google play music engines
xpath engine: thumbnail_xpath can define an optional thumbnail
|
|
Speed up start time and decrease CPU load
|
|
|
|
significantly
|
|
Server Timing specification: https://www.w3.org/TR/server-timing/
In the browser Dev Tools, focus on the main request, there are the responses per engine in the Timing tab.
|
|
Fix #1310
Since commit af77ec35d9bd28facdab645a3d57ae340d2b501c Morty accepts base64 encoded key.
|
|
Fix #1600
In settings.yml, the secret_key can be written as string or as base64 encoded data using !!binary notation.
|
|
Fix issue #1598
|
|
Suggestions: use RawTextQuery to make the suggestions URLs.
|
|
themes accordingly.
|
|
[fix] Small fixes with bangs in queries
|
|
|
|
Add Interlingua translation (fix #978)
|
|
|
|
README.rst: installation: add searx/searx-docker
|
|
|
|
Update Docker image
|
|
|
|
|
|
See #1561 , use uwsgi and Alpine Linux
Volume:
/var/log/uwsgi contains error log for 2 days (file uwsgi.log)
/etc/searx contains the settings.yml and uwsgi.ini files.
The docker image creates them if they don't exist.
The two files can be modified after the first run. See below.
Environement variables:
MORTY_URL : external URL of Morty
MORTY_KEY : base64 encoded key
BASE_URL : external URL of Searx
BIND_ADDRESS : internal HTTP port to listen to
Labels : org.label-schema.schema.*
Parameters:
-h : display this help
-d : will update the settings and quit immediately (settings.yml and uwsgi.ini)
-f : always update the settings (previous version saved with suffix .old).
without this parameter, the new settings are copied with suffix .new
When the Docker image contains newer settings:
- without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new.
- with -f parameter: the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini
Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image.
The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py)
"git describe" is used to create a meaningful version.
Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes).
Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image.
.dockerignore based on .gitignore
.travis.yml: include docker stage
|