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) 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								142cd87095
								
							 
						 
						
							[fix] menu style in pointhi oscar theme 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								9782633054
								
							 
						 
						
							[fix] menu without js - closes #747  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								e23c8f954b
								
							 
						 
						
							Merge pull request #746  from kvch/moar-time-range-support 
							
							
Support time range search in more engines 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								1490d6bc93
								
							 
						 
						
							add time range search for flickr 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								5c02b9ef31
								
							 
						 
						
							add time range support for bing images 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								d2e0cbafb2
								
							 
						 
						
							add time range search for youtube noapi 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								f70d405202
								
							 
						 
						
							add time range search for bing news 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								e3d748ded4
								
							 
						 
						
							show time range support in preferences 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								6243639f01
								
							 
						 
						
							[mod] do not proxify images if image proxy is not set 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								b30bc5eeeb
								
							 
						 
						
							Merge pull request #745  from kvch/version-info-in-config 
							
							
add version info to config endpoint 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								6334fca11c
								
							 
						 
						
							add version info to config endpoint 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								1b9045ed89
								
							 
						 
						
							[enh] use morty proxy for image proxification too if it is configured 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								a67a4bf2c0
								
							 
						 
						
							[enh] allow morty proxy without hmac key 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								574d9d40d2
								
							 
						 
						
							Merge pull request #697  from Eig8phei/http1.1 
							
							
serve pages with HTTP/1.1 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								3e7554422b
								
							 
						 
						
							[mod] the environment variable SEARX_DEBUG can override the general.debug value in settings.yml 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								e249698b26
								
							 
						 
						
							Merge pull request #737  from dalf/ixquick 
							
							
[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								dcf9380616
								
							 
						 
						
							Merge pull request #736  from kvch/fix-images-infinite-scroll 
							
							
[fix] images modal with infinite scroll 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								972f32d973
								
							 
						 
						
							[fix] ixquick : fetch results from ixquick.eu instead of ixquick.com, close #727  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								db8c2ebc3f
								
							 
						 
						
							[fix] images modal with infinite scroll 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								760cb3c5af
								
							 
						 
						
							Merge pull request #734  from dalf/seeks_url 
							
							
[fix] seeks URLS, close #731  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								a88768efd8
								
							 
						 
						
							Merge branch 'master' into http1.1 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								85c7237a4f
								
							 
						 
						
							Merge pull request #728  from kvch/fix-kickass-torrents 
							
							
fix kickass torrents engine 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								53c9fde992
								
							 
						 
						
							fix kickass torrents engine 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								218857999e
								
							 
						 
						
							Merge pull request #726  from mmuman/opensearch_shortname 
							
							
[fix] set the title on the opensearch link tag 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								629fa4355a
								
							 
						 
						
							[fix] gecko driver cannot detect the page load finish on preferences form submit. It now works with this dirty workaround.. 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								684ceab1c3
								
							 
						 
						
							[enh] add latest firefox addon to travis 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								ecd2e1fac0
								
							 
						 
						
							[fix] add missing gecko executable to travis 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								38883d6c7d
								
							 
						 
						
							[enh] update dev requirements 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								d5c0dcd18a
								
							 
						 
						
							[fix] unicode url proxiing 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								1be6e72d51
								
							 
						 
						
							[enh] add result proxy support - #707  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								19a6ca0b68
								
							 
						 
						
							[enh] use HMAC for image proxy url verification 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								5b21a7fb65
								
							 
						 
						
							Merge branch 'master' into opensearch_shortname 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								cae84e71a5
								
							 
						 
						
							[fix] seeks URLS, close #731  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								e2245611d7
								
							 
						 
						
							Merge pull request #724  from Athemis/master 
							
							
[engine] PDBe (Protein Data Bank Europe) 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								3c5883408c
								
							 
						 
						
							initial commit of pdbe engine 
							
							
Adds support for queries to the Protein Data Bank Europe (PDBe). 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								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  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								8b10eb6fe1
								
							 
						 
						
							[enh] update certifi to the current latest 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								e7d005c621
								
							 
						 
						
							Merge pull request #677  from pydo/feature/seedpeer-engine-integration 
							
							
Feature/seedpeer engine integration 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								beff8c6007
								
							 
						 
						
							Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								01844b6f04
								
							 
						 
						
							Set default categories for seedpeer provider 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								dceb903114
								
							 
						 
						
							[mod] disallow search results for robots 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								ccd1d93891
								
							 
						 
						
							Add pydo to authors 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								55a5b686ed
								
							 
						 
						
							Merge branch 'master' of https://github.com/asciimoo/searx into feature/seedpeer-engine-integration 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								6f87bf2a1c
								
							 
						 
						
							Disabled seepeer.eu by default since it does not support https 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								295fc9ce96
								
							 
						 
						
							[fix] robot test engine names II. 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								812ade82b1
								
							 
						 
						
							[fix] robot test engine names 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								86daef2063
								
							 
						 
						
							[fix] do not allow underscore in engine names - closes #708  
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								bee7b497a3
								
							 
						 
						
							[mod] rename "default" theme to "legacy" 
							
							
						 
						9 years ago  
				
					
						
							
								 
						
							
								aaf5d506e5
								
							 
						 
						
							Merge pull request #702  from a01200356/digbt 
							
							
[fix] results with digbit don't truncate anymore 
							
							
						 
						9 years ago