4676e1dcde
								
							 
						 
						
							[fix] remove result escaping from engine 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								1a82ed6f54
								
							 
						 
						
							[mod] 500px rewrite 
							
							
						 
						před 10 roky  
				
					
						
							
								 
						
							
								f6e9c074bb
								
							 
						 
						
							[fix] vimeo engine change follow-up 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								a2c94895c1
								
							 
						 
						
							[fix] google news engine change follow-up 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								a764ebb4b1
								
							 
						 
						
							[enh] extend json response with suggestions, infoboxes and answers 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								c3dcebb778
								
							 
						 
						
							[fix] remove html tags from qwant results 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								be6ae81cb2
								
							 
						 
						
							Merge pull request #776  from asciimoo/voat-engine 
							
							
add voat.co engine 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								e12a137a2f
								
							 
						 
						
							[fix] unicode response in deezer and spotify 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								75aa46a6b3
								
							 
						 
						
							[fix] remove unused variable 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								0205838f25
								
							 
						 
						
							[enh] handle engine response crashes 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								ceb8ae6439
								
							 
						 
						
							Merge pull request #751  from dalf/searchpy2 
							
							
Simplify search.py 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								e48f07a367
								
							 
						 
						
							Merge branch 'master' into searchpy2 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								d80fb2c8e8
								
							 
						 
						
							[enh] central handling of empty result titles 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								72a217f983
								
							 
						 
						
							[mod] return empty string on missing osm title 
							
							
Sometimes openstreetmap returns with None as title. In these cases use an empty
string instead. 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								8116e341cc
								
							 
						 
						
							[fix] kickass test html escaping 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								fdf63940e8
								
							 
						 
						
							[fix] tests ++ flickr error 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								ef2ef7974a
								
							 
						 
						
							[enh] central html escaping of results 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								7e1f27e459
								
							 
						 
						
							[enh] add author to image result content 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								39f5035e13
								
							 
						 
						
							[fix] query escaping in rss/opensearch output 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								16bdc0baf4
								
							 
						 
						
							[mod] do not escape html content in engines 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								28f12ef5a0
								
							 
						 
						
							[fix] proper escaping of the search query in templates 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								7986d4cf41
								
							 
						 
						
							[fix] correct path for autoscroll on non-root urls 
							
							
closes #758  
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								3007e4e451
								
							 
						 
						
							add voat.co engine 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								0724bd8168
								
							 
						 
						
							[fix] pep8 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								7eed8a5dd9
								
							 
						 
						
							[enh] add statistics answerer 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								971ed0abd1
								
							 
						 
						
							[enh] add quick answer functionality with an example answerer 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								55dc538398
								
							 
						 
						
							[mod] move load_module function to utils 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								827f9e41ca
								
							 
						 
						
							[fix] gettext requires request.preferences 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								028e5b43d4
								
							 
						 
						
							Merge pull request #764  from kvch/set-search-language-from-settings-yml 
							
							
set search language from settings.yml 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								299c882304
								
							 
						 
						
							search: make language configurable from settings.yml 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								12c369e858
								
							 
						 
						
							preferences: refactor to check consistently input values 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								044809e298
								
							 
						 
						
							[fix] search mocking in webapp test 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								a757c2f005
								
							 
						 
						
							[fix] remove unused imports 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								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 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								88dfee858e
								
							 
						 
						
							[fix] rewrite missing variable 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								96f182d75d
								
							 
						 
						
							[fix] allow empty autocomplete setting 
							
							
closes #756 
closes #761  
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								43ddbc60da
								
							 
						 
						
							[fix] pep8 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								16f2e346b3
								
							 
						 
						
							[fix] bing unicode issue part III. 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								94196c4b6c
								
							 
						 
						
							[enh] show traceback of search errors 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								1176505fa4
								
							 
						 
						
							[fix] bing character encoding - closes #760  
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								17b08d096c
								
							 
						 
						
							[fix] unicode search expression for bing 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								16ff8d06c7
								
							 
						 
						
							[fix] bing paging and language support 
							
							
see https://msdn.microsoft.com/en-us/library/ff795620.aspx for bing
specific search operators
closes #755  
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								219f047bf3
								
							 
						 
						
							Merge branch 'master' into searchpy2 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								7d26b3f8f8
								
							 
						 
						
							[fix] suspend end time check 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								6c7c6ba695
								
							 
						 
						
							Merge pull request #753  from kvch/lobsters-engine 
							
							
add lobste.rs xpath engine 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								c7906555a0
								
							 
						 
						
							add lobste.rs xpath engine 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								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) 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								51eafdd471
								
							 
						 
						
							Merge pull request #733  from dalf/searchpy 
							
							
Search architecture 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								58a6c045c8
								
							 
						 
						
							[mod] replace references request.request_data (GET or POST parameters) by request.form (based on merge of POST and GET parameters) 
							
							
						 
						před 9 roky  
				
					
						
							
								 
						
							
								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 
							
							
						 
						před 9 roky