Adam Tauber
b4c657d227
[enh] add asksteem engine - closes #1163
7 years ago
Noémi Ványi
988cf38196
fix Microsoft Academic engine
7 years ago
Adam Tauber
2f69eaeb2f
[fix] fix engine initialization
7 years ago
Noémi Ványi
c645915171
fix bing videos engine
7 years ago
Adam Tauber
0fe6042cc9
[mod] add bottom margin to results - closes #1176
7 years ago
Adam Tauber
480a85340f
[enh] update translations
7 years ago
Adam Tauber
a173c5b4e2
[enh] build oscar css
7 years ago
Matthew Olmsted
c61e1a8165
Preserve image aspect ratio in results
...
Noticed that images are often distorted in the results due to a hard minimum height. This keeps the 4-per-row image results consistent in row height without distorting wider images.
7 years ago
Marc Abonce Seguin
829032f306
[fix] read utf-8 files (settings, languages, currency) with python3.5
...
Related to discussion in #1124
The io.open import is necessary for python2
7 years ago
Adam Tauber
8511e64f35
Merge pull request #1124 from JosephKiranBabu/python3-unicode-support
...
Make Python 3 able to read settings files with Unicode characters
7 years ago
Noémi Ványi
f3aa5ea47d
fix yacy result url
...
Closes #1064
7 years ago
Adam Tauber
e303339370
[enh] overwrite secret_key from env with the SEARX_SECRET env var if exists - closes #845
7 years ago
Joseph Nuthalapati
bdc803e185
Make Python 3 able to read settings files with Unicode characters
...
SearX currently doesn't start up when run with Python 3 as it tries to parse the
settings.yml file with ASCII codecs.
There are similar problems with engines_languages.json and currencies.json
Python 3 requires that files with Unicode characters be read with a 'b' flag.
This also works with Python 2 and hence can be integrated into the main source
code.
Tested with the latest Python 3.6.4rc1 on Debian unstable.
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
7 years ago
Noémi Ványi
0cb8a849da
dark background for answers && no background for highlight
7 years ago
Noémi Ványi
2d5eed9b59
send constant cookie with query to Google
7 years ago
Noémi Ványi
e31409daf7
revert changin about to searx docs
7 years ago
Noémi Ványi
4f4dcdf38f
add links to footers of oscar and simple themes
...
Links:
* Source code
* Issue tracker
* List of public instances
Closes #1071
7 years ago
Adam Tauber
2dc02f50c2
[fix] do not save engine/plugin cookies as unknown settings options - fixes #1110
7 years ago
Adam Tauber
7752b0a807
[fix] gigablast url parameter change - fixes #1107
7 years ago
Adam Tauber
7061eb91af
[fix] use proper encoding with both py2/3 - closes #1094
7 years ago
Adam Tauber
49b845051f
Merge pull request #973 from MarcAbonce/languages
...
Remove 'all' option from search languages
7 years ago
Adam Tauber
df0b8ee527
Merge pull request #1109 from dalf/simple_magnet_svg
...
simple theme : magnet.svg is replaced by a home made version
7 years ago
marc
4d1770398a
remove 'all' option from search languages
7 years ago
Adam Tauber
e060aedc16
[enh] make custom oscar option configurable from url
7 years ago
Adam Tauber
46fb0d860e
[enh] add dark version of oscar/logicodev
7 years ago
Alexandre Flament
cc69b1cd87
simple theme : replace magnet.svg with a home made version
7 years ago
Adam Tauber
1613c6319e
[fix] handle /sorry redirects
7 years ago
Adam Tauber
1435ae7e96
[enh] display engine error messages
7 years ago
Adam Tauber
1088c2a75d
[fix] do not crash if publication date is missing in pubmed engine
7 years ago
Adam Tauber
801b5a56ad
[fix] multiple fixes in pdbe engine
7 years ago
Adam Tauber
0969e50c5b
[fix] convert json engine result attributes to string - closes #1006
7 years ago
Adam Tauber
a065fcdcc9
[fix] skip non-string result url/title/content
7 years ago
Noémi Ványi
31005f3121
use `change` function just like in case of language selection
...
The previous version did not work in Chrome browser.
Closes #1102
7 years ago
Dalf
9babe06a0e
[mod] simple theme: add the license to different files.
7 years ago
Zeph
02cb5602b4
[fix] autocompleter py3 compatibility - fixes #1088
7 years ago
Adam Tauber
7828a1833b
[enh] version 0.13.1
7 years ago
Adam Tauber
f65f90bf3c
[fix] autocompleter py3 compatibility - fixes #1088
7 years ago
Adam Tauber
fe6e87a5a4
[fix] replace obsolete string.join function
7 years ago
Adam Tauber
27e95846ea
[fix] measure request duration only if total_time attribute is set - fixes autocompleter
7 years ago
Adam Tauber
6eb9503896
[fix] use english in google engine if no language was set - this prevents guessing the language by the IP of the instance
7 years ago
Adam Tauber
6fdb6640d9
[fix] revert language changes to prevent CAPTCHAs
7 years ago
Alexandre Flament
c1cfe97851
[enh] timeout and total HTTP time are managed by searx.poolrequests
7 years ago
Adam Tauber
e766939440
[enh] version 0.13.0
7 years ago
Adam Tauber
14a22b1993
[enh] update translations
7 years ago
Adam Tauber
b5071fea6a
[fix] remove trailing 0x00 from csv output
7 years ago
Adam Tauber
3d6c67951a
[fix] resurrect csv output in py2
7 years ago
Adam Tauber
9ab8536479
[fix] fix language support of google
7 years ago
Adam Tauber
128eb76604
[fix] allow none as category in preferences - #1086
7 years ago
yujunqiang
ed1c78d923
fix bug: TypeError: set(['bing', 'google']) is not JSON serializable, when curl ' http://127.0.0.1:8888/?q=xxxxxxxx&categories=general&format=json '
7 years ago
Adam Tauber
400e77b7fe
[enh] update translations
7 years ago
pyrrh0n1c
4340c0b16c
Fixed typos.
7 years ago
pyrrh0n1c
2231b02add
Fixed the currency_convert engine.
7 years ago
Adam Tauber
00a7041daa
Merge pull request #1068 from Apply55gx/genius
...
Continuation of PR #1004 (seems abandoned)
7 years ago
Noémi Ványi
59c02e8e5f
results: make engines of results set
...
Previously, if a same result was returned from the
same engine, the name of the engine would be added
more than once. To eliminate engine name duplication
engine list was changed to set.
7 years ago
Adam Tauber
7a9b18e9e9
[mod] add more error handling to json engine II.
7 years ago
Adam Tauber
181f1c6305
[mod] add more error handling to json engine
7 years ago
jibe-b
b7eb80122e
[fix] update openairepublications
7 years ago
jibe-b
3e9cc1474f
[add] OpenAIRE publication engine
...
and modifies OpenAIRE datasets engine
7 years ago
Noémi Ványi
5954a8e16a
minor fix of BASE engine
7 years ago
Noémi Ványi
d20bba6dc7
minor fixes of pubmed engine
...
Closes #1045
7 years ago
jibe-b
df0d915806
[add] pubmed engine
7 years ago
Noémi Ványi
1b10abfc92
minor fixes of doi resolver
...
Closes #1047
7 years ago
jibe-b
575159b194
[enh] oa_doi_rewrite plugin broadens doai_rewrite
7 years ago
Noémi Ványi
7de8b43eb2
add OpenAIRE engine as a json engine
...
This is the continuation of #1048 created by @jibe-b.
Closes #1048
7 years ago
Noémi Ványi
9c2b7a82f0
minor fixes of arxiv
...
Closes #1050
7 years ago
jibe-b
e391b2d970
[fix] remove .encode for python3 compatibility
7 years ago
jibe-b
5278fa666c
[enh] use format to concatenate strings
7 years ago
jibe-b
3e3672e079
[add] arxiv engine
7 years ago
Adam Tauber
6d28e9d694
[enh] update translations
7 years ago
Adam Tauber
8901b7bddb
[fix] pep8
7 years ago
Adam Tauber
5f758b2d39
[mod] compress saved preferences in url
7 years ago
Apply55gx
d800e3fcfa
Merge pull request #1 from asciimoo/master
...
-
7 years ago
Apply55gx
18a4e7035f
removed unused indicies array
7 years ago
Hypolite Petovan
d506d87f60
Remove / in url_for parameter for simple theme
...
Same change as with the oscar theme.
7 years ago
Hypolite Petovan
904a8e7e3f
Remove extra / in url_for parameter for oscar theme
...
The `filename` parameter of the `url_for` function doesn't need a leading `/`, or else the resulting URL features a double-slash `//` that throws off searx 0.12.0 with Apache 2.4.25 on Debian, resulting in missing favicons.
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
marc
a524dbb823
[fix] language support for bing images and videos
7 years ago
Adam Tauber
1adc8d6e26
Merge pull request #1059 from kvch/preferences-support-intuitive
...
preferences: make supported/not supported labels
7 years ago
Noémi Ványi
47ee15f5ce
preferences: make supported/not supported labels
...
Also, Time range support display was missing from RTL locales.
Now it is fixed.
Closes #558
7 years ago
Adam Tauber
e2afc1cdba
[mod] disable yahoo by default
...
closes #869
closes #1055
7 years ago
Adam Tauber
eddc162f2c
[fix] remove duplicated german translation - closes #937
7 years ago
Adam Tauber
bd48df289f
Merge pull request #1035 from misnyo/voat
...
[fix] voat.co search xpath and url fixed
7 years ago
Noémi Ványi
e73cb14889
fix hmac python3 compatibility
7 years ago
misnyo
ae99f9070c
[fix] static path fixed in templates and webapp, line endings fixed
7 years ago
misnyo
043143c898
[fix] voat.co search xpath and url fixed
7 years ago
misnyo
33fd938016
[mod] int_or_zero refactored to searx_utils
7 years ago
misnyo
c3232b0e1a
Merge branch 'master' into nyaa
7 years ago
Adam Tauber
688801076d
Merge pull request #1017 from misnyo/geektimes
...
[fix] geektimes.ru xpath fix
7 years ago
Adam Tauber
234366b900
Merge pull request #1018 from misnyo/generalfile
...
[mod]generalfile engine removed
7 years ago
Adam Tauber
c505c3c1ca
Merge pull request #1019 from misnyo/gigablast
...
[fix] gigablast api fix
7 years ago
Adam Tauber
2040aac936
Merge pull request #1020 from misnyo/gitlab
...
[fix] gitlab search fixed for proper api usage
7 years ago
misnyo
9b6307a365
[fix] gitlab search fixed for proper api usage
7 years ago
misnyo
b91772eff1
[fix] gigablast pep8 fix
7 years ago
misnyo
01330f71cd
[fix] nyaa.si fixed
7 years ago
misnyo
1e2b60f380
[mod] tokyotoshokan dependecy to other engine removed
7 years ago
misnyo
bf1ca2ccd3
[fix] habrahabr.ru xpath fix
7 years ago
misnyo
3182ba7069
[fix] google news dom xpath fix
7 years ago
misnyo
8849606e5f
[fix] gigablast api fix
7 years ago
misnyo
2d66df0548
[mod]generalfile engine removed
7 years ago
misnyo
9711795876
[fix] geektimes.ru xpath fix
7 years ago
Adam Tauber
e74aaa781e
Merge pull request #1016 from misnyo/blekko
...
[mod]blekko images removed
7 years ago
Adam Tauber
610117d054
Merge pull request #1015 from misnyo/digg
...
[fix] digg now requires cookie for search
7 years ago
misnyo
6e92fb383a
[fix] digg cookie characters created in module import
7 years ago
misnyo
20d2d4dab1
[fix] pep8 fix for faroo engine
7 years ago
misnyo
0607b167f8
[fix] faroo json api and image layout fixed
7 years ago
misnyo
a49cc18f9c
[fix] digg now requires cookie for search
7 years ago
misnyo
f139f9cfdb
[mod]blekko images removed
7 years ago
misnyo
d14e2781b2
[fix]torrentz search engine fixed for new version
7 years ago
woorst
2434c29dc5
New engine: Genius (lyrics)
7 years ago
Alexandre Flament
57dc6b625f
[fix] travis build : various fix about grunt builds
7 years ago
Alexandre Flament
14a8dd28c2
[fix] fix no_results.html template of the simple theme
7 years ago
Adam Tauber
6254d360a3
[fix] add missing no_results.html template to simple theme
7 years ago
Adam Tauber
ac59f5e168
Merge branch 'master' into simple
7 years ago
Alexandre Flament
10a24bdc2c
[enh] add simple theme (WIP)
7 years ago
marc
3ca9cad927
add bing videos engine
7 years ago
Mostafa Ahangarha
b142e88391
Update results.less
...
More gap between search results increase the readability. Currently, the result page is just filled with text.
7 years ago
marc
5f36e85b37
ensure all parameters are merged in results
7 years ago
marc
856dfc3018
add google videos
7 years ago
Adam Tauber
077d8efed8
[fix] use poolrequests in ddg engines
7 years ago
Adam Tauber
0f6612bb40
[mod] separate engine load and initialization
7 years ago
Adam Tauber
f2b13a7de0
[enh] allow default empty values for normal and result proxies
7 years ago
Adam Tauber
1794f6a4d3
[enh] add "inactive" attribute to engines
...
This modification allows us to deactivate engines in settings.yml
without commenting them out
7 years ago
Noémi Ványi
80331cc8e6
add timeout errors in search_multiple_requests
7 years ago
Noémi Ványi
2242000bd4
change unresponsive_engines to a set to eliminate duplication of errors
7 years ago
Noémi Ványi
bdd9528c6b
show engine errors when no result is returned at all
7 years ago
Noémi Ványi
243d3e4298
show engine errors in infobox && add new error alert
7 years ago
Luke Bonham
3bd5ce6595
Italian localisation: corrected and fixed typos
7 years ago
marc
405e5c8f24
[fix] duckduckgo images doesn't fail with countryless language
7 years ago
Adam Tauber
38d6ba4066
[enh] generate search url of saved preferences
7 years ago
Adam Tauber
36af8f9d67
[fix] use py2/3 compatibility layer
7 years ago
marc
80460be8f6
[fix] wrap suggestions inside suggestion box
...
long suggestions now wrap around the box instead of going overboard.
7 years ago
potato
9b82cb1908
[fix] is_valid_lang fixed for new languages.py + dictzone engine encoding
7 years ago
vache asatryan
5835ebf955
fix github url
7 years ago
Noémi Ványi
c361811cb5
[fix] fix xpath of google images
7 years ago
Adam Tauber
6d76d9b202
[fix] load engines if debug mode is enabled using uwsgi
7 years ago
Adam Tauber
343ac7197d
[fix] pep8
7 years ago
Adam Tauber
78365ffb8a
[enh] add init function to engines which loads parallel
7 years ago
Adam Tauber
f82646f386
[enh] version 0.12.0
7 years ago
marc
3b950929b1
[fix] fix duckduckgo's offset
...
First page now starts with 0 offset,
rather than starting on the 30th result.
DuckDuckGo returns 30 results on each page.
8 years ago
marc
c65a409f0d
add duckduckgo images engine
8 years ago
Adam Tauber
e60e98156f
[enh] update translations - closes #930
8 years ago
Alexandre Flament
7ebe3a6f41
[mod] add category to each results, and change group criterias (template and existing image)
8 years ago
Alexandre Flament
87f673336f
[fix] rss feed : the jinja template was not found when the rss feed returns an valid feed including an error.
8 years ago
Adam Tauber
1972a044a3
[fix] produce valid urls if scheme is missing
8 years ago
Adam Tauber
8db527c1d2
[fix] use raw response with etree.parsefromstring - Unicode strings with encoding declaration are not supported
8 years ago
Noémi Ványi
b685e9753b
[enh] update existing translations
8 years ago
Adam Tauber
a4f7046b8f
[fix] pep8
8 years ago
Noémi Ványi
2a9339f4b7
[fix] add more description on possible search tpyes
8 years ago
Noémi Ványi
87f117d50e
[enh] add free software directory engine
8 years ago
Noémi Ványi
2db807368c
[enh] make search type of mediawiki configurable
8 years ago
marc
9ee8e552da
[fix] bing images
8 years ago
Alexandre Flament
9c91ab33f8
[mod] settings.yml can be /etc/searx/settings.yml
...
The exact order is
* first from SEARX_SETTINGS_PATH,
* if not found then from searx code base,
* if not found then from /etc/searx/settings.yml
* if not found an exception stops searx loading
8 years ago
Alexandre Flament
ee080feaed
[mod] the static and templates directories can be defined in the settings.yml
8 years ago
Dalf
c233bf0df9
[fix] framalibre : remove result['thumbnail'] (not used)
8 years ago
Alexandre Flament
f5128c7cb9
[mod] add/modify image fetching for bing_news, qwant and twitter engines
8 years ago
Adam Tauber
52e615dede
[enh] py3 compatibility
8 years ago
Adam Tauber
46a2c63f8e
[fix] yahoo news date parsing
8 years ago
Alexandre Flament
12d91c1d67
[mod] searx doesn't crash at startup when an engine can't be loaded (see #884 )
8 years ago
Adam Tauber
92ca80ba5a
[fix] build french translation to be identical with the .po source
8 years ago
Alexandre Flament
181c12ae04
[mod] upgrade requirements.txt
8 years ago
François Revol
45d15bd6f0
Add framalibre engine
...
framalibre.org is a catalogue of Free Software, edited by Framasoft.
For now we pass the thumbnail as img_src as it doesn't seem to be used
for IT...
8 years ago
Noémi Ványi
4a4975d7fc
[enh] update translation files
...
New languages: German (Germany), Finnish, Slovak, Ukrainian
Updated: Bulgarian, German, Esperanto, Italian, Japanese, Dutch,
Portuguese (Brazil), Russian, Swedish
8 years ago
marc
fd65c12921
make search language handling less strict
...
languages.py can change, so users may query on a language that is not
on the list anymore, even if it is still recognized by a few engines.
also made no and nb the same because they seem to return the same,
though most engines will only support one or the other.
8 years ago
marc
805fb02ed1
add language support for qwant
...
closes issue #863
8 years ago
Alexandre Flament
e4d46d21c7
[mod] oscar theme: use tinypng.com to reduce logos and favicon
8 years ago
Alexandre Flament
e9785a69c7
[mod] reduce png and gif image sizes using optipng and gifsicle tools.
8 years ago
Noémi Ványi
247534be76
[fix] pageno param of search reqs in form
8 years ago
Adam Tauber
0e7ac3797d
Merge pull request #848 from maxigas/master
...
add library genesis engine
8 years ago
maxigas
4ebde2b2af
add library genesis engine
8 years ago
Noémi Ványi
742e4dfdcc
[fix] fix paging of duckduckgo
8 years ago
Alexandre Flament
e67dfaaac7
Merge branch 'master' into flask_perimeter
8 years ago
Adam Tauber
ee1d44caf9
[mod] darker green url in logicodev
8 years ago
Adam Tauber
4906ac5192
[fix] add padding to pointhi theme's navbar - closes #841
8 years ago
Noémi Ványi
d88950c25f
[fix] darker green for result urls
8 years ago
Adam Tauber
b3974fc880
[fix] do not show glyph icons if noscript is enabled - #838
8 years ago
Adam Tauber
52d1087202
[enh] add result number parsing to google engine
8 years ago
Noémi Ványi
d635b5fd4d
[enh] make navbar smaller
8 years ago
Noémi Ványi
508d0f063e
[enh] make number of results less prominent
8 years ago
Noémi Ványi
8354bd0c60
[enh] make result url green
8 years ago
Adam Tauber
04306bad89
[fix] whitespace
8 years ago
Adam Tauber
30695265c2
[enh] search input design mods according to #226
8 years ago
Adam Tauber
e7aa98902f
[fix] correct search parameter check
8 years ago
Adam Tauber
2522254fb2
[fix] search time range value check
8 years ago
Adam Tauber
fa26afafd8
[fix] handle missing mapsettings
8 years ago
Alexandre Flament
15eef0ebdb
[enh] validate input and raise an exception inside search.py. The exception message is output in json and rss format.
8 years ago
Alexandre Flament
7fdfeca3a4
[mod] add a __common__ template that can't be selected but that provides a common place for shared templates.
...
What has been moved into this template :
* opensearch*.xml is always the same whatever the themes.
* the text inside */about.html
8 years ago
Adam Tauber
57149661e4
Merge pull request #830 from davidar/se
...
Semantic Scholar
8 years ago
Adam Tauber
b1d49bacb0
Merge pull request #827 from davidar/spell
...
[enh] show spelling corrections
8 years ago
David A Roberts
7814d4b796
Semantic Scholar
8 years ago
David A Roberts
7492997c51
[fix] allow empty content
8 years ago
David A Roberts
1d30141c20
[enh] show spelling corrections
8 years ago
Alexandre Flament
7a16aca346
Merge branch 'master' into flask_perimeter
8 years ago
jcherqui
d98705bd06
Add 1337x icon
8 years ago
jcherqui
39a97825d9
Add torrent infos
8 years ago
jcherqui
4776abd1ac
Remove categories
8 years ago
jcherqui
a320328dda
Fix test
8 years ago
jcherqui
0549fb40d2
Add 1337x.to engine
8 years ago
Alexandre Flament
448903cd4a
[fix] searching for "!google_images text" doesn't work (bang with underscore)
8 years ago
Adam Tauber
d6cbc6b78b
[enh] 0.11.0 version bump
8 years ago
Adam Tauber
108392f8da
[fix] skip non-complete google news results
8 years ago
Dalf
06bea82935
[mod] /config API : add language_support, paging, safesearch, supported_languages, time_range_support, timeout fields.
8 years ago
Adam Tauber
0d4da30c7f
[enh] add instant answers to google engine
8 years ago
Adam Tauber
fc14fb0a67
[fix] french translation template var name
8 years ago
Adam Tauber
261015002e
[enh] update translations
8 years ago
Adam Tauber
14b96b8824
[enh] propagate all search properties to the results page's components
8 years ago
Adam Tauber
627962ce40
Merge branch 'master' into flask_perimeter
8 years ago
Noémi Ványi
e8319fa2cb
Revert "Merge pull request #793 from kvch/pics-modal"
...
This reverts commit bff41987a4
, reversing
changes made to d08108be62
.
8 years ago
Noémi Ványi
8af29d9797
Revert "Merge pull request #799 from kvch/modal-arrows"
...
This reverts commit 79ceb13577
, reversing
changes made to eaa0fb8102
.
8 years ago
Adam Tauber
7b1daf254e
[fix] autocomplete unicode issue - closes #808
8 years ago
Adam Tauber
525e5d275c
Merge pull request #801 from dalf/extract_text
...
[fix] extract_text: use html.tostring instead html_to_text.
8 years ago
Alexandre Flament
84a2c97a65
[mod] searx uses flask framework only in webapp.py. Make migration to another framework easier.
8 years ago
Alexandre Flament
90e1db3e5c
[fix] extract_text: use html.tostring instead html_to_text. Fix #711
8 years ago
Adam Tauber
3d8c9bab96
Merge pull request #800 from dalf/searchpy5
...
search.py : Fix and some minor modifications
8 years ago
Adam Tauber
6bf9c398a7
[fix] use english as default language in bing
...
If no language is specified, bing returns results with multiple languages
for one query which isn't really useful. Setting english as default
insted if nothing.
8 years ago
Alexandre Flament
5a9551925d
[fix] fix bugs introduced by commit 0a2fde19d0
from dalf/searchpy4
8 years ago
Alexandre Flament
28d51fd063
[mod] timeout in log are readable (the timeouts are compare to the start_time of the request).
8 years ago
Alexandre Flament
3a8ab5880a
[mod] result_container.extend sets result['engine'] = engine_name for each result
8 years ago
Noémi Ványi
d18d09a98b
[fix] change modal glyphicon arrows to image icons
8 years ago
Alexandre Flament
0a2fde19d0
[mod] add a search_one_request_safe function wrapper to call search_one_request. All exceptions are catched in this wrapper.
8 years ago
Noémi Ványi
1710043eb7
remove unnecessary media query && generated files
8 years ago
Noémi Ványi
420ef433ae
add img pagination support of infinite scroll
8 years ago
Noémi Ványi
2ec6034c85
add modal window for pointhi style
8 years ago
Noémi Ványi
d82f64238f
fix opening of result on new tab
8 years ago
Noémi Ványi
1157cefb1e
add generated css of modal window
8 years ago
Noemi Vanyi
5fa6af648d
add own pics modal window
8 years ago
marc
896c0c3734
revert language support column in preferences
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
Adam Tauber
7388067f15
[fix] load engines with uwsgi too
8 years ago
Adam Tauber
116521192e
[mod] display supported languages in preferences engine view
8 years ago
Adam Tauber
8bff42f049
Merge branch 'master' into languages
8 years ago
Adam Tauber
ea034fafa9
[fix] proper engine init
8 years ago
Adam Tauber
68cbf0448f
[fix] do not reload engines twice if started with debug mode
8 years ago
Adam Tauber
a605377c40
[enh] explicit engine init
8 years ago
Adam Tauber
14f58bdaec
[fix] robot tests ++ set default value for server http protocol version
8 years ago
Adam Tauber
a98bbefbcf
[enh] configurable listening http protocol version
8 years ago
Stefan Antoni
89914e52e3
Update settings.yml
8 years ago
Stefan Antoni
e6d69b082f
Merge branch 'master' into add_ccctv_to_settings
8 years ago
Adam Tauber
07448e15e4
[fix] disable etymonline by default - closes #789
8 years ago
Adam Tauber
b6fc154616
[enh] add searx engine
8 years ago
Stefan Antoni
96c8d36e7b
Add ccctv engine to settings.yml
8 years ago
Adam Tauber
0171db5c3f
[fix] handle missing images in google news
8 years ago
Adam Tauber
4b225eb7ef
Merge pull request #661 from davidar/et
...
Online Etymology Dictionary
8 years ago
marc
f30d5e8793
[fix] supported languages column in preferences page
8 years ago
marc
7fba3d1179
Merge branch 'master' into languages
8 years ago
marc
4a1ff56389
minor fixes in utils/fetch_languages.py
8 years ago
Adam Tauber
19cd2bf3b5
[fix] re-enable ssl verification for searchcode
...
closes #784
8 years ago
Adam Tauber
cf5c7d050a
[fix] engine setting if no categories specified
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
e0c270bd72
tests for language support in engines
8 years ago
marc
1b46ecd21a
[fix] broken language selector
8 years ago
marc
93233c786a
Refactor search language preference.
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
727c287856
[fix] backwards compatibility with old language cookies
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
a11230819f
automatic search when language is selected
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
Noémi Ványi
b034356825
add year filter to engines with time range support && tests
...
Following engines does not support "Last year":
* Bing News
* DeviantArt
* DuckDuckGo
* Yahoo
* YouTube (noapi)
8 years ago
Noémi Ványi
c59c76e6ee
add year to time range to engines which support "Last year"
...
Engines:
* Bing images
* Flickr (noapi)
* Google
* Google Images
* Google News
8 years ago
Noémi Ványi
2fc1091b7f
add "Last year" option to time range selection
8 years ago
Thomas Renard
16c40ffefd
htmlize yacy contents
8 years ago
Noémi Ványi
9c8ec209e1
[mod] add timeout to gigablast
8 years ago
Noémi Ványi
553f3a3a1a
fix xpath of yandex
8 years ago
Noémi Ványi
85f363774c
fix habrahabr xpath
8 years ago
Noémi Ványi
c6ed0dae6c
fix google play movies xpath
8 years ago
Adam Tauber
4676e1dcde
[fix] remove result escaping from engine
8 years ago
Adam Tauber
1a82ed6f54
[mod] 500px rewrite
8 years ago
Adam Tauber
f6e9c074bb
[fix] vimeo engine change follow-up
8 years ago
Adam Tauber
a2c94895c1
[fix] google news engine change follow-up
8 years ago
Adam Tauber
a764ebb4b1
[enh] extend json response with suggestions, infoboxes and answers
8 years ago
Adam Tauber
c3dcebb778
[fix] remove html tags from qwant results
8 years ago
Adam Tauber
be6ae81cb2
Merge pull request #776 from asciimoo/voat-engine
...
add voat.co engine
8 years ago
Adam Tauber
e12a137a2f
[fix] unicode response in deezer and spotify
8 years ago
Adam Tauber
75aa46a6b3
[fix] remove unused variable
8 years ago
Adam Tauber
0205838f25
[enh] handle engine response crashes
8 years ago
Alexandre Flament
e48f07a367
Merge branch 'master' into searchpy2
8 years ago
Adam Tauber
d80fb2c8e8
[enh] central handling of empty result titles
8 years ago
Adam Tauber
72a217f983
[mod] return empty string on missing osm title
...
Sometimes openstreetmap returns with None as title. In these cases use an empty
string instead.
8 years ago
Adam Tauber
fdf63940e8
[fix] tests ++ flickr error
8 years ago
Adam Tauber
ef2ef7974a
[enh] central html escaping of results
8 years ago
Adam Tauber
7e1f27e459
[enh] add author to image result content
8 years ago
Adam Tauber
39f5035e13
[fix] query escaping in rss/opensearch output
8 years ago
Adam Tauber
16bdc0baf4
[mod] do not escape html content in engines
8 years ago
Adam Tauber
28f12ef5a0
[fix] proper escaping of the search query in templates
8 years ago
Adam Tauber
7986d4cf41
[fix] correct path for autoscroll on non-root urls
...
closes #758
8 years ago
Noémi Ványi
3007e4e451
add voat.co engine
8 years ago
Adam Tauber
0724bd8168
[fix] pep8
8 years ago
Adam Tauber
7eed8a5dd9
[enh] add statistics answerer
8 years ago
Adam Tauber
971ed0abd1
[enh] add quick answer functionality with an example answerer
8 years ago
Adam Tauber
55dc538398
[mod] move load_module function to utils
8 years ago
Adam Tauber
827f9e41ca
[fix] gettext requires request.preferences
8 years ago
Noémi Ványi
299c882304
search: make language configurable from settings.yml
8 years ago
Noémi Ványi
12c369e858
preferences: refactor to check consistently input values
8 years ago
Adam Tauber
a757c2f005
[fix] remove unused imports
8 years ago
Adam Tauber
832cf37a97
[enh] display errors
...
also tried flask's flash feature but flask creates session cookies if it
isn't flushed. Avoiding session cookies to preserve privacy
8 years ago
Adam Tauber
88dfee858e
[fix] rewrite missing variable
8 years ago
Adam Tauber
96f182d75d
[fix] allow empty autocomplete setting
...
closes #756
closes #761
8 years ago
Adam Tauber
43ddbc60da
[fix] pep8
8 years ago
Adam Tauber
16f2e346b3
[fix] bing unicode issue part III.
8 years ago
Adam Tauber
94196c4b6c
[enh] show traceback of search errors
8 years ago
Adam Tauber
1176505fa4
[fix] bing character encoding - closes #760
8 years ago
Adam Tauber
17b08d096c
[fix] unicode search expression for bing
8 years ago
Adam Tauber
16ff8d06c7
[fix] bing paging and language support
...
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing
specific search operators
closes #755
8 years ago
Alexandre Flament
219f047bf3
Merge branch 'master' into searchpy2
8 years ago
Adam Tauber
7d26b3f8f8
[fix] suspend end time check
8 years ago
Noémi Ványi
c7906555a0
add lobste.rs xpath engine
8 years ago
Alexandre Flament
01e2648e93
Simplify search.py, basically updated PR #518
...
The timeouts in settings.yml is about the total time (not only the HTTP request but also the prepare the request and parsing the response)
It was more or less the case before since the threaded_requests function ignores the thread after the timeout even the HTTP request is ended.
New / changed stats :
* page_load_time : record the HTTP request time
* page_load_count: the number of HTTP request
* engine_time : the execution total time of an engine
* engine_time_count : the number of "engine_time" measure
The avg response times in the preferences are the engine response time (engine_load_time / engine_load_count)
To sum up :
* Search.search() filters the engines that can't process the request
* Search.search() call search_multiple_requests function
* search_multiple_requests creates one thread per engine, each thread runs the search_one_request function
* search_one_request calls the request function, make the HTTP request, calls the response function, extends the result_container
* search_multiple_requests waits for the the thread to finish (or timeout)
8 years ago
Alexandre Flament
58a6c045c8
[mod] replace references request.request_data (GET or POST parameters) by request.form (based on merge of POST and GET parameters)
8 years ago
dalf
fbb080f358
Change plugin API :
...
- pre_search(request, search)
- post_search(request, search)
- on_result(request, search, result)
with
- request is the Flask request
- search a searx.Search instance
- result a searx result as usual
8 years ago
dalf
67e11c42b9
Clean up the architecture
...
Purposes :
- isolate the plugins calls
- distinction between parsing the web request and running the search (Search class). To be able to test code easily, to run searx code outside a web server, to filter the search query parameters with plugins more easily, etc...
Details :
- request.request_data contains request.form or request.args (initialize inside pre_request() function)
- Query class is renamed RawTextQuery
- SearchQuery class defines all search parameters
- get_search_query_from_webapp create a SearchQuery instance (basically the previous Search.__init__ code)
- Search class and SearchWithPlugins class takes a SearchQuery instance as class constructor parameter
- SearchWithPlugins class inherites from Search class, and run plugins
- A dedicated function search_with_plugins executes plugins to have a well define locals() (which is used by the plugins code).
- All plugins code is executed inside the try...except block (webapp.py, index function)
- advanced_search HTTP parameter value stays in webapp.py (it is only part of UI)
- multiple calls to result_container.get_ordered_results() doesn't compute the order multiple time (note : this method was call only once before)
- paging value is stored in the result_container class (compute in the extend method)
- test about engine.suspend_end_time is done during search method call (instead of __init__)
- check that the format parameter value is one of these : html, rss, json, rss (before the html value was assumed but some text formatting wasn't not done)
8 years ago
Adam Tauber
142cd87095
[fix] menu style in pointhi oscar theme
8 years ago
Adam Tauber
9782633054
[fix] menu without js - closes #747
8 years ago
Noémi Ványi
1490d6bc93
add time range search for flickr
8 years ago
Noémi Ványi
5c02b9ef31
add time range support for bing images
8 years ago
Noémi Ványi
d2e0cbafb2
add time range search for youtube noapi
8 years ago
Noémi Ványi
f70d405202
add time range search for bing news
8 years ago
Noémi Ványi
e3d748ded4
show time range support in preferences
8 years ago
Adam Tauber
6243639f01
[mod] do not proxify images if image proxy is not set
8 years ago
Noémi Ványi
6334fca11c
add version info to config endpoint
8 years ago
Adam Tauber
1b9045ed89
[enh] use morty proxy for image proxification too if it is configured
8 years ago
Adam Tauber
a67a4bf2c0
[enh] allow morty proxy without hmac key
8 years ago
Adam Tauber
574d9d40d2
Merge pull request #697 from Eig8phei/http1.1
...
serve pages with HTTP/1.1
8 years ago
dalf
3e7554422b
[mod] the environment variable SEARX_DEBUG can override the general.debug value in settings.yml
8 years ago
Adam Tauber
e249698b26
Merge pull request #737 from dalf/ixquick
...
[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com
8 years ago
dalf
972f32d973
[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com, close #727
8 years ago
Noémi Ványi
db8c2ebc3f
[fix] images modal with infinite scroll
8 years ago
Adam Tauber
760cb3c5af
Merge pull request #734 from dalf/seeks_url
...
[fix] seeks URLS, close #731
8 years ago
Alexandre Flament
a88768efd8
Merge branch 'master' into http1.1
8 years ago
Noémi Ványi
53c9fde992
fix kickass torrents engine
8 years ago
Adam Tauber
218857999e
Merge pull request #726 from mmuman/opensearch_shortname
...
[fix] set the title on the opensearch link tag
8 years ago
Adam Tauber
d5c0dcd18a
[fix] unicode url proxiing
8 years ago
Adam Tauber
1be6e72d51
[enh] add result proxy support - #707
8 years ago
Adam Tauber
19a6ca0b68
[enh] use HMAC for image proxy url verification
8 years ago
Alexandre Flament
5b21a7fb65
Merge branch 'master' into opensearch_shortname
8 years ago
dalf
cae84e71a5
[fix] seeks URLS, close #731
8 years ago
Alexander Minges
3c5883408c
initial commit of pdbe engine
...
Adds support for queries to the Protein Data Bank Europe (PDBe).
8 years ago
François Revol
96cfdc77d2
[fix] set the title on the opensearch link tag
...
Firefox uses the title attributes instead of the ShortName from the xml file
as set in 0fbd7052
which closed #405
8 years ago
Pydo
beff8c6007
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
8 years ago
Pydo
01844b6f04
Set default categories for seedpeer provider
8 years ago
Adam Tauber
dceb903114
[mod] disallow search results for robots
8 years ago
Pydo
55a5b686ed
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
...
Resolved conflict searx/settings.yml
8 years ago
Pydo
6f87bf2a1c
Disabled seepeer.eu by default since it does not support https
8 years ago
Adam Tauber
812ade82b1
[fix] robot test engine names
8 years ago
Adam Tauber
86daef2063
[fix] do not allow underscore in engine names - closes #708
8 years ago
Adam Tauber
bee7b497a3
[mod] rename "default" theme to "legacy"
8 years ago
marc
d1d4ed4376
[fix] results with digbit don't truncate anymore
8 years ago
Eig8phei
f90eb428c6
serve pages with HTTP/1.1
8 years ago
Lorenzo J. Lucchini
2bc42b378d
Remove unrelated change that mistakenly ended up into this branch
8 years ago
firebovine
e145fdb86d
#607 - noapi fix
8 years ago
Lorenzo J. Lucchini
05206f86e3
Adding Urban Dictionary xpath engine
8 years ago
Lorenzo J. Lucchini
a8907224a1
Improving Wolfram Alpha search hit content
...
Making WA search hits contain
- the (parsed) input inside the "title" instead of just "Wolfram|Alpha", to better match other hit titles and to confirm correct parsing of input to the user
- the first output field that contains any text (skipping ones that are only pictures; this is usually the most meaningful "result" field) instead of the raw input as the "content", making it additionally possible to obtain WA computations from JSON API calls
8 years ago
marc
09ee2aa69d
[fix] Result text in Wolfram|Alpha ( #607 )
8 years ago
firebovine
baeb3ff911
fix xpath expressions for urban dictionary
8 years ago
Adam Tauber
8d4dd3c515
[fix] 404 HTTP status on not found pages - closes #681
8 years ago
Adam Tauber
ce371f766a
[enh] version 0.10.0
...
closes #659
8 years ago
Adam Tauber
ea19e19ff2
[enh] translation updates
8 years ago
Adam Tauber
3144ec1d59
[fix] unicode urls
8 years ago
potato
983415bc38
[enh] is_valid_lang moved to utils
8 years ago
potato
b7d578ae80
[enh] engine header comments
8 years ago
potato
5ed9846bbf
[fix] revert the port change
8 years ago
potato
8c72a22757
[enh] api_key usage, disable the engine by default
8 years ago
potato
c051e6a2c3
[fix] pep8
8 years ago
potato
ab471fd13b
[enh] mymemory translated engine added for multi-word translations
8 years ago
potato
22bd39fd42
[fix] only 1-word search triggers the engine
8 years ago
potato
7bf1013c15
[enh] removed missing params; [fix] pep8
8 years ago
potato
bc806bfab1
[fix] no lambda anymore, cgi.escape
8 years ago
potato
5416f0f248
[enh] dictionary engine renamed to dictzone
8 years ago
potato
84ff6e289e
[enh] filter non-existing language code/name containing requests
8 years ago
potato
b808a2e266
[fix] don't merge with suggestions
8 years ago
potato
3f4cc2146c
[enh] return results instead of answers
8 years ago
potato
9d08c81f47
Merge branch 'master' of https://github.com/asciimoo/searx
8 years ago
potato
f4525880ed
[enh] dictionary engine added
8 years ago
Adam Tauber
55abf07a4f
[fix] thread safe threaded_requests() function
8 years ago
Adam Tauber
b816752719
[enh] more compact image results ++ fixed modal links
8 years ago
Adam Tauber
3a1b6fa818
[fix] replace modal-content class to prevent remote content load
...
details: http://stackoverflow.com/questions/18378720/bootstrap-3-with-remote-modal
8 years ago
Adam Tauber
fa5bc3a563
[fix] use threading to recover after incomplete request crashes - closes #651 #662
8 years ago
Adam Tauber
b27f07af23
[enh] socks proxy support
8 years ago
Adam Tauber
da4f1c2512
[mod] truncate result content in html - closes #224
8 years ago
Adam Tauber
94b5f2ca77
[fix] result url wrap - closes #652
8 years ago
Adam Tauber
959497e26b
[fix] remove trailing whitespaces
8 years ago
Pydo
41ce76e9c9
Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration
8 years ago
Pydo
2c2123b2e8
Added seepeer to config and added seepeer search parser
8 years ago
Adam Tauber
465d47283f
[fix] 404 page localization #2
8 years ago
Adam Tauber
c2f4d4449d
[fix] 404 page localization
8 years ago
Adam Tauber
b4b0231617
[fix] links in new tabs without js ++ noopener bug fix - closes #674
8 years ago
Adam Tauber
7591c8bfe3
Merge pull request #672 from kvch/self-info-paging
...
Self information on later pages
8 years ago
Adam Tauber
3043c404e4
Merge pull request #671 from kvch/custom-404
...
Custom 404 message - fixes #317
8 years ago
Noemi Vanyi
aa227180e2
remove self info answers from pages after first one
8 years ago
Noemi Vanyi
0056c4035e
add custom 404 page
8 years ago
Adam Tauber
b72aec0a9b
[fix] remove btdigg - see https://torrentfreak.com/btdigg-shut-down-due-to-torrent-spam-for-now-160711/
8 years ago
Adam Tauber
32604be790
[fix] piratebay engine - using pirateproxy.red - see https://proxybay.tv/
8 years ago
Adam Tauber
f693a54ad7
Merge pull request #664 from kvch/uncapitalize-searx
...
uncapitalize searx in templates
8 years ago
Adam Tauber
13bed1f872
Merge pull request #639 from kvch/digbt-engine
...
add digbt engine - fixes #638
8 years ago
Noémi Ványi
4bd44cd98f
uncapitalize searx in templates
8 years ago
David A Roberts
45120bc711
Add Hoogle search engine
8 years ago
David A Roberts
1e9dab08e6
[fix] behaviour for page_size>1 and first_page_num>0
...
eg. pageno=1,21,41,... instead of 20,40,60,...
8 years ago
David A Roberts
413e143707
[fix] don't merge results with distinct fragments
8 years ago
David A Roberts
ee320d4e5b
Online Etymology Dictionary
8 years ago