Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							9d106ae972 
							
						 
					 
					
						
						
							
							[fix] make oscar theme more CSP compliant - default-image-style  
						
						... 
						
						
						
						Add default-image-style in::
    searx/static/themes/oscar/src/less/result_templates.less
Replaced style= in files::
    ./oscar/result_templates/default.html:19:        <img src="{{ image_proxify(result.img_src or result.thumbnail) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content">
    ./oscar/result_templates/files.html:24:<img src="{{ image_proxify(result.img_src) }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content">
Reported-by: https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-09-07 08:20:30 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							0d070fde92 
							
						 
					 
					
						
						
							
							[build] /static  
						
						
						
						
					 
					
						2021-09-06 11:12:17 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							ad528c706e 
							
						 
					 
					
						
						
							
							[fix] make result template map more CSP compliant - simple & oscar  
						
						... 
						
						
						
						Add osm-map-box in::
    searx/static/themes/__common__/less/result_templates.less
Replaced sty= in files::
    ./oscar/result_templates/map.html:64:        <div style="height:300px; width:100%; margin: 10px 0;" id="osm-map-{{ index }}"></div>
    ./simple/result_templates/map.html:65:    <div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" style="height:300px; width:100%; margin: 10px 0;" ></div></div>
Reported-by: https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-09-06 11:08:50 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							d246679dbe 
							
						 
					 
					
						
						
							
							[build] /static  
						
						
						
						
					 
					
						2021-08-31 15:43:28 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							d29094579b 
							
						 
					 
					
						
						
							
							[build] /static  
						
						
						
						
					 
					
						2021-06-28 10:39:10 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							76a066d4a3 
							
						 
					 
					
						
						
							
							[mod] themes: remove banner generated by grunt  
						
						... 
						
						
						
						The banner is useless and responsible for unwanted diff.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-06-28 10:38:44 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							04492b76de 
							
						 
					 
					
						
						
							
							[themes] ignore packages-lock.json  
						
						
						
						
					 
					
						2021-06-22 08:17:06 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							2bc9b00cd7 
							
						 
					 
					
						
						
							
							Static build  
						
						
						
						
					 
					
						2021-06-22 08:15:17 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							d20f6a1f19 
							
						 
					 
					
						
						
							
							[mod] make themes.all update pygments*.less  
						
						... 
						
						
						
						Add a searx/static/themes/*/src/generated empty folder 
						
						
					 
					
						2021-06-22 08:15:11 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							14ba56fd1a 
							
						 
					 
					
						
						
							
							[mod] make node.clean: call the "clean" script from the packages.json  
						
						... 
						
						
						
						The dependencies and build process are described in the gruntfiles.js and packages.json files.
It makes sense to move the clean up to these files too. 
						
						
					 
					
						2021-06-16 16:04:58 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							15178e5b96 
							
						 
					 
					
						
						
							
							[static] make themes.all - based on commit 12af3b39  
						
						... 
						
						
						
						Based on commit 12af3b39 this patch is generated by::
    make themes.all
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-06-10 09:20:51 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							c75425655f 
							
						 
					 
					
						
						
							
							[enh] openstreetmap / map template: improve results  
						
						... 
						
						
						
						implements ideas described in #69 
* update the engine
* use wikidata
* update map.html template 
						
						
					 
					
						2021-06-09 18:08:23 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							60dc91f234 
							
						 
					 
					
						
						
							
							[static] make /stats more CSP compliant- make themes.all  
						
						... 
						
						
						
						Based on commit:
- a89b823f [mod] remove overpass API call
this patch is generated by::
     make themes.all
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-06-01 17:54:31 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							a89b823f8d 
							
						 
					 
					
						
						
							
							[mod] remove overpass API call  
						
						... 
						
						
						
						prepare the code the PR #90  
						
						
					 
					
						2021-06-01 17:52:49 +02:00 
						 
				 
			
				
					
						
							
							
								Kyle Anthony Williams 
							
						 
					 
					
						
						
						
						
							
						
						
							d6a2d4f969 
							
						 
					 
					
						
						
							
							[enh] add engine - Docker Hub  
						
						... 
						
						
						
						Slightly modified merge of commit [1cb1d3ac] from searx [PR 2543]:
      This adds Docker Hub .. as a search engine .. the engine's favicon was
      downloaded from the Docker Hub website with wget and converted to a PNG
      with ImageMagick .. It supports the parsing of URLs, titles, content,
      published dates, and thumbnails of Docker images.
[1cb1d3ac] https://github.com/searx/searx/pull/2543/commits/1cb1d3ac 
[PR 2543] https://github.com/searx/searx/pull/2543 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-05-30 15:18:36 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							73d73dcf9b 
							
						 
					 
					
						
						
							
							[static] make /stats more CSP compliant- make themes.all  
						
						... 
						
						
						
						Based on commits
- 0507e185 [fix] bar graph and rename CSS class engine-scores -> engine-score
- 3e9ad7ae [fix] make /stats more CSP compliant - github issue form
- 34859d0e [fix] make /stats more CSP compliant - oscar theme
- 0a6c4884 [fix] make /stats more CSP compliant - simple theme
- cdfb4b7f [fix] make /stats more CSP compliant - bar graph
- 965817f2 [fix] simple theme - generate missing sourceMap file
this patch is generated by::
     make themes.all
Reported-by: https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-05-17 21:25:32 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							cdfb4b7ff9 
							
						 
					 
					
						
						
							
							[fix] make /stats more CSP compliant - bar graph  
						
						... 
						
						
						
						Replace bar graph's *styles* (see below) by CSP compliant implementation in
``searx/static/themes/__common__/less/stats.less`` ::
    ./simple/stats.html:49: <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:57: <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./simple/stats.html:58: <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}
    ./oscar/stats.html:50:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.result_count / engine_stats.max_result_count )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:58:  <span style="width: calc(max(2px, 100%*{{ (engine_stat.http / engine_stats.max_time )|round(3) }}))" class="stacked-bar-chart-serie1"></span>{{- "" -}}
    ./oscar/stats.html:59:  <span style="width: calc(100%*{{ engine_stat.processing / engine_stats.max_time |round(3) }})" class="stacked-bar-chart-serie2"></span>{{- "" -}}
Reported-by: https://github.com/searxng/searxng/issues/57 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-05-17 17:41:22 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							8291804082 
							
						 
					 
					
						
						
							
							[static] make themes.all - from commit 9e8171e38  
						
						... 
						
						
						
						Based on commit 9e8171e38 this patch is generated by::
     make themes.all
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-04-28 16:22:47 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							70cc196e2d 
							
						 
					 
					
						
						
							
							[fix] new_issue.html: drop inline style attributes (CSP conformance)  
						
						... 
						
						
						
						Inline styles are blocked by default with Content Security Policy (CSP).  Move
the inline styles from 'new_issue.html' to::
    searx/static/themes/__common__/less/new_issue.less
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-04-28 16:22:37 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							54d57c8296 
							
						 
					 
					
						
						
							
							[fix] grunt/less/development: oscar light & dark logicodev mixes CSS  
						
						... 
						
						
						
						closes: https://github.com/searxng/searxng/issues/39 
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-04-28 15:15:29 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							6b92e8c6fd 
							
						 
					 
					
						
						
							
							[upd] ./manage pyenv.cmd searx_extra/update/update_pygments.py  
						
						... 
						
						
						
						Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-04-26 19:11:58 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							09e7ecdce2 
							
						 
					 
					
						
						
							
							[mod] /stats : add reliability column and sort by column links  
						
						
						
						
					 
					
						2021-04-24 06:58:49 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							65c29081cc 
							
						 
					 
					
						
						
							
							[mod] update /stats  
						
						
						
						
					 
					
						2021-04-24 06:58:22 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							7cfd8d900a 
							
						 
					 
					
						
						
							
							[mod] oscar: /preferences , engines tab: report engine times  
						
						... 
						
						
						
						* display the median time instead of the average.
* add a "Reliability" column (sum up the metrics and the checker results).
* the "selected language", "SafeSearch", "Time range" values are displayed as "broken" when the checker tests fail. 
						
						
					 
					
						2021-04-21 16:24:46 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							92db0227b1 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'dalf/oscar-images'  
						
						
						
						
					 
					
						2021-04-19 09:36:54 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Heiser 
							
						 
					 
					
						
						
						
						
							
						
						
							062d589f86 
							
						 
					 
					
						
						
							
							[fix] xpath expressions to grap all items from bandcamp's response  
						
						... 
						
						
						
						I also found some items missing a thumbnail and I used text_extract for content
and title, to remove unneeded whitespaces.
BTW: added bandcamp's favicon
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> 
						
						
					 
					
						2021-04-15 08:52:11 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							7a0fbdecc4 
							
						 
					 
					
						
						
							
							[enh] oscar: image thumbnail layout  
						
						... 
						
						
						
						Adjust thumbnail sizes to fill the container width 
						
						
					 
					
						2021-04-05 11:29:17 +02:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							419b907a0b 
							
						 
					 
					
						
						
							
							fix dark "expand" button from infobox  
						
						
						
						
					 
					
						2021-03-28 21:54:37 -07:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							d648001688 
							
						 
					 
					
						
						
							
							[mod] preferences: a tooltip is shown when the mouse is over the engine names  
						
						
						
						
					 
					
						2021-03-22 08:22:59 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							6bd01bf81f 
							
						 
					 
					
						
						
							
							[mod] oscar: fix the sourcemap URL in *.min.css  
						
						... 
						
						
						
						Close https://github.com/searx/searx/issues/2670 
Note: clean-css contains a bug:
* a multiline comment or URL adds "$stdin" to the sourcemap (see src/less/logicodev/search.less)
* in this case when the user opens the devtools, the browser fails to load this "https://.../$stdin " URL
* it is not a problem and the error appears only when the user actively tries to debug the CSS.
* seems related to https://github.com/jakubpawlowicz/clean-css/issues/593  
						
						
					 
					
						2021-03-21 18:03:40 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							6553c79029 
							
						 
					 
					
						
						
							
							[mod] replace /translations.js by embedded JSON  
						
						... 
						
						
						
						In webapp.py, there is a new function "get_translations" lists available translations
Close  #2064  
						
						
					 
					
						2021-03-16 11:22:21 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							32cd0d31b3 
							
						 
					 
					
						
						
							
							[mod] upgrade pygments  
						
						... 
						
						
						
						add searx_extra/update/update_pygments.py to update the css style of the oscar and simple themes. 
						
						
					 
					
						2021-03-16 09:07:08 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							cb04d42806 
							
						 
					 
					
						
						
							
							[mod] oscar: update README.rst  
						
						
						
						
					 
					
						2021-03-11 09:33:04 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							86912e2272 
							
						 
					 
					
						
						
							
							[mod] oscar: get bootstrap and typeahead from NPM  
						
						
						
						
					 
					
						2021-03-11 09:33:01 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							44407353ef 
							
						 
					 
					
						
						
							
							[mod] oscar: get leaflet and jquery from NPM  
						
						... 
						
						
						
						easy to upgrade (package.json) 
						
						
					 
					
						2021-03-11 09:32:22 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							c7133efb12 
							
						 
					 
					
						
						
							
							[mod] oscar: move compiled files to the src directory  
						
						
						
						
					 
					
						2021-03-10 19:28:51 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							1268910274 
							
						 
					 
					
						
						
							
							[mod] oscar: remove unused images  
						
						
						
						
					 
					
						2021-03-10 19:01:16 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							bdb41bea7b 
							
						 
					 
					
						
						
							
							[mod] theme: remove require-2.1.15.min.js  
						
						... 
						
						
						
						See https://github.com/requirejs/requirejs/issues/1816 
requirejs loads one file: leaflet.
This commit:
* removes requirejs
* load leaflet using <script src...> HTML tag in searx/templates/oscar/base.html 
						
						
					 
					
						2021-03-10 19:01:15 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							2f3d5ec2af 
							
						 
					 
					
						
						
							
							[mod] oscar: upgrade npm dependencies  
						
						
						
						
					 
					
						2021-03-10 19:01:14 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Flament 
							
						 
					 
					
						
						
						
						
							
						
						
							f1e016e9ea 
							
						 
					 
					
						
						
							
							[mod] oscar theme: added option into gruntfile.js for generate sourceMap  
						
						... 
						
						
						
						Credits go to @mrwormo  (see PR #2308  ) 
						
						
					 
					
						2020-12-01 10:07:01 +01:00 
						 
				 
			
				
					
						
							
							
								GazoilKerozen 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1b700738eb 
							
						 
					 
					
						
						
							
							[fix] fix the reset button in the oscar theme ( #2306 )  
						
						... 
						
						
						
						Rely on javascript instead of type="clear"
Close  #2009  
						
						
					 
					
						2020-11-30 16:30:21 +01:00 
						 
				 
			
				
					
						
							
							
								Noémi Ványi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a36a3044d 
							
						 
					 
					
						
						
							
							Add recoll engine ( #2325 )  
						
						... 
						
						
						
						recoll is a local search engine based on Xapian:
http://www.lesbonscomptes.com/recoll/ 
By itself recoll does not offer web or API access,
this can be achieved using recoll-webui:
https://framagit.org/medoc92/recollwebui.git 
This engine uses a custom 'files' result template
set `base_url` to the location where recoll-webui can be reached
set `dl_prefix` to a location where the file hierarchy as indexed by recoll can be reached
set `search_dir` to the part of the indexed file hierarchy to be searched, use an empty string to search the entire search domain 
						
						
					 
					
						2020-11-30 08:35:15 +01:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							7e82817925 
							
						 
					 
					
						
						
							
							wait for img to load before hiding infobox toggle  
						
						
						
						
					 
					
						2020-09-10 09:54:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2430154b9 
							
						 
					 
					
						
						
							
							fix selects in preferences so they look consistent ( #2150 )  
						
						
						
						
					 
					
						2020-08-27 21:55:47 +02:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							0601f2bb48 
							
						 
					 
					
						
						
							
							add toggle to resize infobox  
						
						
						
						
					 
					
						2020-08-10 00:12:45 -07:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							57bad502a6 
							
						 
					 
					
						
						
							
							add visually-hidden css class to pointhi style  
						
						
						
						
					 
					
						2020-08-09 20:44:26 -07:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							74270a3fc2 
							
						 
					 
					
						
						
							
							add class for infobox's official url  
						
						
						
						
					 
					
						2020-08-09 20:44:26 -07:00 
						 
				 
			
				
					
						
							
							
								Marc Abonce Seguin 
							
						 
					 
					
						
						
						
						
							
						
						
							001eb047cd 
							
						 
					 
					
						
						
							
							set max-height on infobox's images  
						
						
						
						
					 
					
						2020-08-09 20:44:26 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Tauber 
							
						 
					 
					
						
						
						
						
							
						
						
							3227695b0b 
							
						 
					 
					
						
						
							
							[fix] indicate visually active tab programmatically on the page Preferences -  #350  
						
						
						
						
					 
					
						2020-07-06 13:07:45 +02:00 
						 
				 
			
				
					
						
							
							
								Noémi Ványi 
							
						 
					 
					
						
						
						
						
							
						
						
							223114c575 
							
						 
					 
					
						
						
							
							[fix] refine contrast ratios of texts and borders -  #350  
						
						
						
						
					 
					
						2020-07-02 16:24:58 +02:00