Commit Graph

3001 Commits (db5815d3d8d4e1f5e1bbec4cabbc4ac322b4ad20)
 

Author SHA1 Message Date
Alexandre Flament 2b5a7169a3
Merge pull request #1635 from asciimoo/update-documentation
README.rst: installation: add searx/searx-docker
5 years ago
Alexandre Flament efc2a87e77 README.rst: installation: add searx/searx-docker 5 years ago
Alexandre Flament 5b50e116b8
Merge pull request #1629 from dalf/docker
Update Docker image
5 years ago
Dalf 45702b77ca embedded iframe (youtube, dailymotion, vimeo): use https 5 years ago
Dalf 609ac5795a .travis.yml: robot tests: remove the xvfb dependency 5 years ago
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
5 years ago
Alexandre Flament 3b8b862d8c
Merge branch 'master' into bang_fixes 5 years ago
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.
5 years ago
Marc Abonce Seguin 6626f01365 [fix] preserve bangs in suggestions and corrections 5 years ago
Marc Abonce Seguin 40272b0044 [fix] never pass bangs to autocomplete suggestions 5 years ago
Noémi Ványi 69c8ad86f3
Merge pull request #1614 from Nachtalb/ne/improve-infinite-scroll
Improve infinite scroll (and with it fixing a bug)
5 years ago
Noémi Ványi 6c75052874
Merge branch 'master' into ne/improve-infinite-scroll 5 years ago
Noémi Ványi 4c768f9fe6
Merge pull request #1590 from rachmadaniHaryono/feature/fix-config
fix: dev: python3 dict keys jsonify
5 years ago
Noémi Ványi 1e30f19800
Merge branch 'master' into feature/fix-config 5 years ago
Noémi Ványi 48ccc6c39a
Merge pull request #1620 from nfk/addr_setup
Add addr setup via SEARX_BIND_ADDRESS
5 years ago
Nicolas Gelot 373a66be30 Fix locale and search language
Locale and search language was always defined with english value.

This patch inits the locale on `pre_request` in order to define the
default value of locale and language preferences.

Plus the `best_match` function provided by flask babel library did not
work as expected. So the function `match_language` provided
by searx is used to detect that the language from Accepted-Language
header can be used in searx project.
5 years ago
Nicolas Gelot a818d3241d Remove get local from request.args
args parameters are merged in form in pre_request, so
this patch removes that useless operation.
5 years ago
Nicolas Gelot db1dfa4a28 Add addr setup via SEARX_BIND_ADDRESS 5 years ago
rachmadani haryono 697102af78
Merge branch 'master' into feature/fix-config 5 years ago
Nick Espig 06979fa082
Load next page shortly before hitting the bottom
This improves the user experience by loading in the next entries shortly before him getting to the bottom. It makes the scrolling more smooth without a break in between.

It also fixes an error on my browser that scrolling never hits the defined number. When I debugged it I hit `.scrolltop` of 1092.5 and the `doc.height - win.height` of 1093, so the condition was never true.
5 years ago
Noémi Ványi 8189b0d192
Merge pull request #1588 from rachmadaniHaryono/feature/fix-nose-coverage
install coverage_plugin of nose2 instead of coverage-plugin
5 years ago
rachmadani haryono 45eb2688d0
Merge branch 'master' into feature/fix-config 5 years ago
rachmadani haryono 43568a76dc
Merge branch 'master' into feature/fix-nose-coverage 5 years ago
Emilien Devos cbd1ebdce8 [fix] Force Google old UI (#1597) 5 years ago
rachmadani haryono ac357b12e3
Merge branch 'master' into feature/fix-config 5 years ago
rachmadani haryono 914141292f
Merge branch 'master' into feature/fix-nose-coverage 5 years ago
Frank de Lange 4b7332286a Use string formatter to create source and img_format labels (#1566)
google_images :  use JSON embedded in HTML (engine expected pure JSON)
5 years ago
Alexandre Flament a255651671
Merge pull request #1562 from asciimoo/settings
Remove some engines : subtitleseeker, seedpeer, swisscows
5 years ago
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
5 years ago
rachmadani haryono 7a127b4547
Merge branch 'master' into feature/fix-config 5 years ago
rachmadaniHaryono 22a35f0362 fix: dev: nose package 5 years ago
Alexandre Flament 6c95ebcff5
Merge pull request #1595 from Venca24/fix_seznam
[fix] seznam engine
5 years ago
Alexandre Flament 9318551890
Merge branch 'master' into fix_seznam 5 years ago
Adam Tauber b6ae5c340d
Merge pull request #1605 from dalf/requirements
requirements.txt : update dependencies
5 years ago
Dalf 1418361cbc requirements.txt : update dependencies 5 years ago
Venca24 c66a019478 [fix] seznam engine 5 years ago
rachmadaniHaryono 9afc1b1e83 new: dev: test for config api 5 years ago
rachmadaniHaryono 535fff109f fix: dev: python3 dict keys jsonify 5 years ago
Alexandre Flament a84caa22cf
Merge pull request #1558 from brunob/patch-1
simple theme : use instance_name for page title
5 years ago
Alexandre Flament 9012ad498c
Merge branch 'master' into patch-1 5 years ago
Alexandre Flament 629b36d442
Merge pull request #1563 from Nachtalb/ne/fix-google-image-search
Fix google image search engine
5 years ago
Alexandre Flament df2b9a76f7
Merge branch 'master' into ne/fix-google-image-search 5 years ago
Nick Espig 1c6ab79b9f
Fix google image search
- Because there is not full image url in the dom, we replace "image_url" with the same url as the "url" (url of source).
  See example HTML https://gist.github.com/Nachtalb/2dea8a4d2c723c49226ad9645838121f
- Remove unused import
- Fix google image search title
- Keep google image safe value up to date
5 years ago
Alexandre Flament 30cdec37aa
Merge pull request #1565 from MarcAbonce/fix_duck_images
[fix] DuckDuckGo Images requests
5 years ago
Marc Abonce Seguin 3e1c2153f7 [fix] duckduckgo images requests 5 years ago
b_b 4ca7e68841
use instance_name for page title
related to #1025
5 years ago
Alexandre Flament 34d85c8c3c
Merge pull request #1533 from theel0ja/patch-1
Use HTTPS for crossref
5 years ago
Alexandre Flament 3e9ce2638a
Merge branch 'master' into patch-1 5 years ago
Alexandre Flament ca09d91023
Merge pull request #1544 from MarcAbonce/youtube_fix
[fix] get YouTube results
5 years ago
Alexandre Flament e868650df7
Merge branch 'master' into youtube_fix 5 years ago