Alexandre Flament
fbf63f72c7
Merge branch 'master' into requirements-upgrade
2020-04-13 10:34:50 +02:00
Dalf
3973951770
[mod] requirements.txt: upgrade dependency versions.
2020-04-08 15:58:26 +02:00
Dalf
a7862ba3c1
[mod] .travis.yml: add Python 3.7 and Python 3.8
2020-04-08 15:42:02 +02:00
Dalf
4dad366146
[fix] travis: fix docker tag.
...
the "-dirty" ignores the searx/brand.py and utils/brand.env files.
2020-04-02 15:06:10 +02:00
Alexandre Flament
2a1db2ac4a
Merge branch 'master' into docker-build-fix
2020-03-31 20:14:40 +02:00
Dalf
4bb35e7ef5
[fix] template: fix typo in about.html
2020-03-31 16:52:52 +02:00
Dalf
d425e26e80
[fix] fix travis build
2020-03-31 11:59:54 +02:00
Dalf
88f9ac58f4
[mod] move public instance list to https://searx.space
2020-02-14 13:48:44 +01:00
Dalf
0579d93783
[fix] Disable HTTP keep alive
...
Fix HTTP 429 response from filtron
See https://github.com/searx/searx-docker/issues/24
2020-02-07 19:16:15 +01:00
Dalf
0e7b6c9a03
[mod] infinite scroll: XHR requests are sent with the header "Accept: text/html".
...
Fix https://github.com/searx/searx-docker/issues/16
2019-12-11 14:34:25 +01:00
Dalf
f34ac58752
[mod] tidy oscar HTML output
2019-12-10 10:58:30 +01:00
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
2019-11-15 09:33:15 +01:00
Alexandre Flament
8e62f7600f
Merge pull request #1647 from dalf/no-inline-script
...
No inline script for oscar and simple theme
2019-08-06 12:25:25 +02:00
Dalf
6fbba63c83
oscar and simple themes: no inline script (allow A+ Content-Security-Policy)
2019-08-06 12:14:11 +02:00
Dalf
90b24f1060
manage.sh grunt_build: add node_modules/.bin to the path
2019-08-06 11:49:46 +02:00
Alexandre Flament
12f891da84
Merge pull request #1669 from dalf/engine-fixes
...
Engine fixes
2019-08-05 15:57:33 +02:00
Dalf
1cee2c1796
[fix] bing engine
...
before this commit, sometimes there are no results
use a generic user-agent instead of one with the OS "Windows NT 6.3; WOW64"
2019-08-05 15:46:40 +02:00
Dalf
9a378ca8c6
[fix] etymonline, voat engines
2019-08-05 15:44:22 +02:00
Dalf
fcc9587ee9
[fix] fdroid engine
2019-08-05 15:44:02 +02:00
Dalf
fbf6b689dd
[fix] dictzone engine
2019-08-05 15:43:21 +02:00
Dalf
9ff5001816
[fix] arxiv engine
2019-08-05 15:43:01 +02:00
Alexandre Flament
91a59ff350
[fix] Docker: without -f parameter, settings.yml is not replaced by the new version ( #1668 )
...
Before this commit, the existing settings.yml were always replaced.
2019-08-03 13:53:14 +02:00
Alexandre Flament
333e54943d
[fix] fix monkey patch in test_webapp.py ( #1667 )
...
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
2019-08-03 13:23:36 +02:00
Alexandre Flament
d24e7948eb
Merge pull request #1665 from dalf/fix-paging
...
[fix] fix paging for the oscar theme after PR #1640
Close #1664
2019-08-02 20:38:53 +02:00
Dalf
ba80a0ba38
[fix] fix paging for the oscar theme after PR #1640
2019-08-02 20:04:37 +02:00
Alexandre Flament
72029d27de
[enh] Add timeout limit per request ( #1640 )
...
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
2019-08-02 13:50:51 +02:00
Alexandre Flament
2179079a91
[fix] fix flickr_noapi decoding ( #1655 )
...
Characters that were not ASCII were incorrectly decoded.
Add an helper function: searx.utils.ecma_unescape (Python implementation of unescape Javascript function).
2019-08-02 13:37:13 +02:00
Alexandre Flament
02bbbf59d6
[fix] Dockerfile: searx version stores in org.label-schema.version ( #1659 )
...
instead of org.label-schema.schema-version
2019-08-01 07:51:09 +02:00
Alexandre Flament
1bed39e6cb
Merge pull request #1658 from dalf/video-fixes
...
Fix dailymotion, google_videos and youtube_noapi engines
2019-08-01 07:44:30 +02:00
Dalf
0c032c8429
[fix] youtube_noapi engine: fix the title
2019-07-31 08:39:40 +02:00
Dalf
8b7ac56669
[fix] google_videos engine: some results don't a thumbnail
2019-07-31 08:38:45 +02:00
Dalf
d44677e226
[fix] dailymotion engine: remove HTML tags from the description
2019-07-31 08:37:51 +02:00
Alexandre Flament
7f56c78876
Merge pull request #1650 from dalf/wikidata
...
[fix] wikidata engine: faster processing, remove one HTTP redirection.
2019-07-29 08:28:50 +02:00
Dalf
6e0285b2db
[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 )
2019-07-29 07:39:39 +02:00
Alexandre Flament
c6ac39bcea
Merge pull request #1654 from MarcAbonce/small_fixes
...
[fix] Small fixes in Preferences view's text
2019-07-28 10:31:57 +02:00
Alexandre Flament
4b56a4bfaa
Merge pull request #1653 from dalf/bug-fixes
...
Various bug fixes
2019-07-27 09:11:03 +02:00
Dalf
70a01e5f02
[fix] don't merge image results if the img_src is different
2019-07-27 08:52:30 +02:00
Dalf
23611897ec
[fix] make sure then engine name is lower case
...
Minor fix: "%s engine initialized" display the right engine name
2019-07-27 08:52:30 +02:00
Dalf
8645ef717e
[fix] settings.yml: make sure all engine names are lower case
2019-07-27 08:52:30 +02:00
Dalf
7d8000d965
[fix] "!wp !wp test" send only one request to wikipedia.
...
Note that "!general !wp test" is not fixed because the category for "!wp" is "none".
2019-07-27 08:52:30 +02:00
Dalf
2fab23ab9a
[fix] fix the debug message "starting webserver on ip:port"
...
was "port:ip"
2019-07-27 08:52:30 +02:00
Alexandre Flament
f34b5cedb1
[fix] fixes google play engines ( #1651 )
...
update commit 87baa74a86
2019-07-25 09:31:47 +02:00
Alexandre Flament
d0dd296424
Merge pull request #1642 from dalf/start-speed
...
Speed up start time and decrease CPU load
2019-07-23 13:18:29 +02:00
Dalf
da0ce5880f
[fix] fix soundcloud engine, speed up searx start time
2019-07-19 08:59:11 +02:00
Dalf
7e201cbf65
[mod] use cache in _match_language function to speed up searx start time significantly
2019-07-19 08:58:08 +02:00
Alexandre Flament
554a21e1d0
[enh] Add Server-Timing header ( #1637 )
...
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.
2019-07-17 10:38:45 +02:00
Alexandre Flament
cfcbc3a5c3
[mod] settings.yml: update comments about the morty key. ( #1639 )
...
Fix #1310
Since commit af77ec35d9bd28facdab645a3d57ae340d2b501c Morty accepts base64 encoded key.
2019-07-17 10:29:28 +02:00
Alexandre Flament
582f3bfcbc
Merge pull request #1638 from dalf/suggestions
...
Suggestions: use RawTextQuery to make the suggestions URLs.
2019-07-17 09:20:07 +02:00
Dalf
c7220b40ea
Suggestions: use RawTextQuery to make the suggestions URLs. Update all themes accordingly.
2019-07-17 09:05:29 +02:00
Alexandre Flament
ddee4861ce
Merge pull request #1630 from MarcAbonce/bang_fixes
...
[fix] Small fixes with bangs in queries
2019-07-16 11:08:36 +02:00
Alexandre Flament
4d38b8bef7
Merge branch 'master' into bang_fixes
2019-07-16 11:03:52 +02:00
Alexandre Flament
f750df8713
Merge pull request #1636 from MarcAbonce/babel_update
...
Add Interlingua translation (fix #978 )
2019-07-16 10:48:41 +02:00
Alexandre Flament
2b5a7169a3
Merge pull request #1635 from asciimoo/update-documentation
...
README.rst: installation: add searx/searx-docker
2019-07-13 17:56:17 +02:00
Alexandre Flament
efc2a87e77
README.rst: installation: add searx/searx-docker
2019-07-13 17:28:05 +02:00
Alexandre Flament
5b50e116b8
Merge pull request #1629 from dalf/docker
...
Update Docker image
2019-07-13 16:37:39 +02:00
Dalf
45702b77ca
embedded iframe (youtube, dailymotion, vimeo): use https
2019-07-13 15:49:59 +02:00
Dalf
609ac5795a
.travis.yml: robot tests: remove the xvfb dependency
2019-07-13 15:49:59 +02:00
Dalf
fbe40001d3
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
2019-07-13 15:49:59 +02:00
Alexandre Flament
3b8b862d8c
Merge branch 'master' into bang_fixes
2019-07-06 18:48:03 +02:00
Alexandre Flament
3faaf34e25
Fix ./manage.sh robot_tests ( #1633 )
...
doi_resolvers / default_doi_resolver were missing in the settings_robots.yml file, so the test server was not able to start (crash). Since the output wasn't displayed, it was not obvious why the Selenium couldn't connect to searx.
2019-07-06 18:47:35 +02:00
Alexandre Flament
a255651671
Merge pull request #1562 from asciimoo/settings
...
Remove some engines : subtitleseeker, seedpeer, swisscows
2019-05-28 11:14:15 +09:00
Dalf
ffe0972f91
Remove some engines : subtitleseeker, seedpeer, swisscows
...
http://www.subtitleseeker.com and http://www.seedpeer.eu don't exist anymore.
https://swisscows.ch/ has change : the engine needs to be updated
2019-05-28 04:06:35 +02:00
Alexandre Flament
6c95ebcff5
Merge pull request #1595 from Venca24/fix_seznam
...
[fix] seznam engine
2019-05-28 07:27:40 +09:00
Alexandre Flament
9318551890
Merge branch 'master' into fix_seznam
2019-05-28 07:23:06 +09:00
Dalf
1418361cbc
requirements.txt : update dependencies
2019-05-26 04:31:58 +02:00
Alexandre Flament
a84caa22cf
Merge pull request #1558 from brunob/patch-1
...
simple theme : use instance_name for page title
2019-04-19 10:04:53 +02:00
Alexandre Flament
9012ad498c
Merge branch 'master' into patch-1
2019-04-19 09:59:04 +02:00
Alexandre Flament
629b36d442
Merge pull request #1563 from Nachtalb/ne/fix-google-image-search
...
Fix google image search engine
2019-04-14 14:11:05 +02:00
Alexandre Flament
df2b9a76f7
Merge branch 'master' into ne/fix-google-image-search
2019-04-14 13:55:00 +02:00
Alexandre Flament
30cdec37aa
Merge pull request #1565 from MarcAbonce/fix_duck_images
...
[fix] DuckDuckGo Images requests
2019-04-14 11:13:19 +02:00
Alexandre Flament
34d85c8c3c
Merge pull request #1533 from theel0ja/patch-1
...
Use HTTPS for crossref
2019-04-09 03:38:42 +02:00
Alexandre Flament
3e9ce2638a
Merge branch 'master' into patch-1
2019-04-09 03:32:39 +02:00
Alexandre Flament
ca09d91023
Merge pull request #1544 from MarcAbonce/youtube_fix
...
[fix] get YouTube results
2019-04-09 03:26:27 +02:00
Alexandre Flament
e868650df7
Merge branch 'master' into youtube_fix
2019-04-09 03:21:37 +02:00
Alexandre Flament
3ee804ec8c
Merge pull request #1545 from MarcAbonce/fix_duplicated_query
...
[fix] Stop engine from sending duplicated requests
2019-04-09 03:06:17 +02:00
Dalf
a80a2d05d1
Merge branch 'kvch-update-packages'
2019-03-24 07:41:42 +01:00
dalf
965eebd12b
simple theme : remove unused files
2018-08-26 10:34:41 +02:00
dalf
d19a0f469c
manage.sh : no error when npm is not found and not required
2018-08-26 10:32:32 +02:00
Alex
3ba0d0516e
simple theme update
...
- npm package update
- apply #1226
- implement vim help dialog
- display cookies and search URL with preferences
- allow to enable / disable Open Access DOI rewrite
- add a clear text button on the left of the search button
- implement #1011 : the HTML title page is not set when using POST
- remove searx/static/themes/simple/img/loader.gif
- use full width when only there are only images as result
2018-08-14 17:21:30 +02:00
Alex
50c836864a
fetch_firefox_version.py : compatible with Python 3 and minor fixes.
2018-08-05 10:55:42 +02:00
Alexandre Flament
066bd916bf
[mod] fetch firefox versions in a standalone script
2018-08-05 10:10:15 +02:00
Alex
ec62e00df9
manage.sh : minor change
2018-08-01 11:53:08 +02:00
Alex
34a68197a6
Update dependencies
2018-08-01 11:40:08 +02:00
Alexandre Flament
5dc8b271f0
[mod] simplify manage.sh
...
- npm install less@2.7 less-plugin-clean-css grunt-cli is moved inside manage.sh
- if it is possible to source manage.sh to update the PATH (to start grunt)
- tidy the help documentation
- update the geckodriver version to 0.19.1
2017-12-10 10:39:12 +01:00
Alexandre Flament
cc69b1cd87
simple theme : replace magnet.svg with a home made version
2017-12-05 21:58:17 +01:00
Dalf
9babe06a0e
[mod] simple theme: add the license to different files.
2017-11-26 14:33:11 +01:00
Alexandre Flament
c1cfe97851
[enh] timeout and total HTTP time are managed by searx.poolrequests
2017-11-22 18:33:35 +01:00
Alexandre Flament
13216b6706
Dependencies upgrade
...
https://pypi.python.org/pypi/pyOpenSSL : fix memory leak
http://lxml.de/4.1/changes-4.1.1.html : speed improvement
2017-11-22 15:17:23 +01:00
Alexandre Flament
c12e0c39b9
codecov : update the commit status
2017-09-28 19:43:58 +02:00
Alexandre Flament
cf3a099c65
codecov: disable comments in the PR
2017-09-28 19:08:57 +02:00
Alexandre Flament
fb587f11fe
Switch to code-cov
2017-09-17 17:52:22 +02:00
Alexandre Flament
5baad02c06
"./manage.sh update_packages" updates pip and setuptools
...
Fix issue #887 , #962
2017-08-16 19:22:36 +02:00
Alexandre Flament
1a814369fd
[fix] manage.sh: add quotes arround parameters dealing with directories or files.
2017-08-16 18:14:07 +02:00
Alexandre Flament
d87eb4da61
[mod] travis build : travis uses ./manage.sh to install the geckodriver
...
./manage.sh don't build css that are built by ./manage.sh grunt_build
2017-08-13 14:01:09 +02:00
Alexandre Flament
57dc6b625f
[fix] travis build : various fix about grunt builds
2017-08-13 13:41:59 +02:00
Alexandre Flament
d0cebd6e77
[fix] fix selenium tests
2017-08-13 12:57:08 +02:00
Alexandre Flament
14a8dd28c2
[fix] fix no_results.html template of the simple theme
2017-08-12 21:15:31 +02:00
Alexandre Flament
10a24bdc2c
[enh] add simple theme (WIP)
2017-08-06 16:04:21 +02:00
Alexandre Flament
4f6586d808
[mod] upgrade dependencies
...
Mostly interresting for :
* pyopenssl : https://github.com/pyca/pyopenssl/pull/578
* certifi
2017-07-31 22:02:57 +02:00
Alexandre Flament
7ebe3a6f41
[mod] add category to each results, and change group criterias (template and existing image)
2017-05-22 22:20:35 +02:00