Ivan Tashkinov 
								
							 
						 
						
							
							
							
							
								
							
							
								f170d47130 
								
							 
						 
						
							
							
								
								[ #2497 ] Adjusted media proxy preview invalidation. Allowed client-side caching for media preview. Adjusted prewarmer to fetch only proxiable URIs.  
							
							... 
							
							
							
							Removed :preview pool in favor of existing :media one. Misc. refactoring. 
							
						 
						
							2020-09-05 20:19:09 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ivan Tashkinov 
								
							 
						 
						
							
							
							
							
								
							
							
								1298a2ea2c 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy  
							
							... 
							
							
							
							# Conflicts:
#	mix.lock 
							
						 
						
							2020-08-07 09:38:05 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									rinpatch 
								
							 
						 
						
							
							
							
							
								
							
							
								d4fbec62a3 
								
							 
						 
						
							
							
								
								ReverseProxy: Fix a gun connection leak when there is an error with no  
							
							... 
							
							
							
							body
- Modify `close/1` function to do the same thing it does for hackney,
which is - close the client rather than the whole connection
- Release the connection when there is no body to chunk 
							
						 
						
							2020-07-26 19:30:17 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ivan Tashkinov 
								
							 
						 
						
							
							
							
							
								
							
							
								bdf57b8ef4 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'remotes/origin/develop' into 2168-media-preview-proxy  
							
							... 
							
							
							
							# Conflicts:
#	config/config.exs
#	lib/pleroma/web/media_proxy/media_proxy.ex
#	mix.lock
#	test/web/media_proxy/media_proxy_test.exs 
							
						 
						
							2020-07-19 20:05:37 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								72b3dbf4d1 
								
							 
						 
						
							
							
								
								Credo line length complaint  
							
							
							
						 
						
							2020-07-10 11:04:19 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									href 
								
							 
						 
						
							
							
							
							
								
							
							
								a1dace088c 
								
							 
						 
						
							
							
								
								ReverseProxy: Streaming and disable encoding if Range  
							
							... 
							
							
							
							Fixes  #1823 
Fixes  #1860  
						
							2020-07-10 17:23:11 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ivan Tashkinov 
								
							 
						 
						
							
							
							
							
								
							
							
								1b23acf164 
								
							 
						 
						
							
							
								
								[ #2497 ] Media preview proxy for images: fixes, tweaks, refactoring, tests adjustments.  
							
							
							
						 
						
							2020-05-11 23:21:53 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexander Strizhakov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f0651730bd 
								
							 
						 
						
							
							
								
								Merge branch 'develop' into gun  
							
							
							
						 
						
							2020-03-16 14:25:55 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								7321429a2e 
								
							 
						 
						
							
							
								
								Lint  
							
							
							
						 
						
							2020-03-13 12:42:06 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								c62195127d 
								
							 
						 
						
							
							
								
								Update comment to reflect what the code is actually doing  
							
							
							
						 
						
							2020-03-13 11:46:40 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								ad31d0726a 
								
							 
						 
						
							
							
								
								Do not trust remote Cache-Control headers for mediaproxy  
							
							
							
						 
						
							2020-03-13 11:30:27 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexander Strizhakov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								98ed0d1c4b 
								
							 
						 
						
							
							
								
								more clean up  
							
							
							
						 
						
							2020-03-13 09:37:57 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								4427161ca3 
								
							 
						 
						
							
							
								
								Merge branch 'develop' into gun  
							
							
							
						 
						
							2020-03-03 17:15:49 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								05da5f5cca 
								
							 
						 
						
							
							
								
								Update Copyrights  
							
							
							
						 
						
							2020-03-03 16:44:49 -06:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexander Strizhakov 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								514c899275 
								
							 
						 
						
							
							
								
								adding gun adapter  
							
							
							
						 
						
							2020-02-18 08:19:01 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									rinpatch 
								
							 
						 
						
							
							
							
							
								
							
							
								9bdbf0811b 
								
							 
						 
						
							
							
								
								Make MediaProxy failure tracking less brutal  
							
							... 
							
							
							
							The current failure tracking mechanism will never request anything that
didn't respond with a success, 403, 404, or 5xx codes. This is causing
issues when using in real fediverse because of weird status codes
some software has and timeouts being frequent. This patch changes
failure tracking mechanism to only never request the url again if it
responded with 400, 204, or the body is too large, otherwise it can be
re-requested in 60 seconds. 
							
						 
						
							2019-10-11 22:52:38 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey Suprunenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c541b83bef 
								
							 
						 
						
							
							
								
								Track failed proxy urls and don't request them again  
							
							
							
						 
						
							2019-10-01 20:00:27 +00:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								ef82f868d9 
								
							 
						 
						
							
							
								
								Formatting  
							
							
							
						 
						
							2019-08-16 10:00:18 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Felder 
								
							 
						 
						
							
							
							
							
								
							
							
								6a3b1a526e 
								
							 
						 
						
							
							
								
								max_body_size -> max_body_length, as it should be  
							
							
							
						 
						
							2019-08-15 15:34:41 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									rinpatch 
								
							 
						 
						
							
							
							
							
								
							
							
								b001b8891a 
								
							 
						 
						
							
							
								
								Merge the default options with custom ones in ReverseProxy and  
							
							... 
							
							
							
							Pleroma.HTTP 
							
						 
						
							2019-07-12 23:52:26 +03:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Alexander Strizhakov 
								
							 
						 
						
							
							
							
							
								
							
							
								4e6e5d8042 
								
							 
						 
						
							
							
								
								reverse proxy tests  
							
							
							
						 
						
							2019-07-09 16:54:13 +00:00