Adam Tauber
e12ea9a510
Merge branch '500px_rewrite' of github.com:asciimoo/searx
8 years ago
Adam Tauber
9b2bd6847f
[fix] 500px unit tests
8 years ago
Adam Tauber
4676e1dcde
[fix] remove result escaping from engine
8 years ago
Adam Tauber
1a82ed6f54
[mod] 500px rewrite
9 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
Adam Tauber
ceb8ae6439
Merge pull request #751 from dalf/searchpy2
Simplify search.py
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
8116e341cc
[fix] kickass test html escaping
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
Adam Tauber
028e5b43d4
Merge pull request #764 from kvch/set-search-language-from-settings-yml
set search language from settings.yml
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
044809e298
[fix] search mocking in webapp test
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
Adam Tauber
6c7c6ba695
Merge pull request #753 from kvch/lobsters-engine
add lobste.rs xpath engine
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
Adam Tauber
51eafdd471
Merge pull request #733 from dalf/searchpy
Search architecture
8 years ago