Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								1420d717e3 
								
							 
						 
						
							
							
								
								[ #2231 ] revert the aws-sdk-go-v2 change  
							
							 
							
							
							
						 
						
							2023-04-06 20:17:22 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								48d6803d17 
								
							 
						 
						
							
							
								
								check only the existence of the thumb and add ContentType metadata when creating the thumb  
							
							 
							
							
							
						 
						
							2023-03-31 23:06:22 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								29a264e132 
								
							 
						 
						
							
							
								
								[ #1346 ] upgraded to aws-sdk-v2  
							
							 
							
							... 
							
							
							
							Co-authored-by: Yuxiang Gao <yuxiang-gao@outlook.com> 
							
						 
						
							2023-03-30 16:10:13 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								250642a8f9 
								
							 
						 
						
							
							
								
								allowed overwriting the default file serve headers if an explicit response header is set  
							
							 
							
							
							
						 
						
							2023-01-30 12:54:51 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								ecfae2e5c9 
								
							 
						 
						
							
							
								
								added predefined mime types list and other minor ui improvements  
							
							 
							
							
							
						 
						
							2023-01-24 20:58:24 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								ba7c8e2108 
								
							 
						 
						
							
							
								
								synced with master  
							
							 
							
							
							
						 
						
							2023-01-12 21:18:43 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								f792a9e08d 
								
							 
						 
						
							
							
								
								fixed ListBucket iterator to always break on seek/forward error  
							
							 
							
							
							
						 
						
							2023-01-12 15:19:27 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								5fb1e85372 
								
							 
						 
						
							
							
								
								fixed formatting  
							
							 
							
							
							
						 
						
							2023-01-12 13:44:37 +02:00  
						
					 
				
					
						
							
							
								 
								Andrei Varabyeu
							
						 
						
							 
							
							
							
							
								
							
							
								a5ceee33df 
								
							 
						 
						
							
							
								
								Allows files to be read through FileSystem interface.  
							
							 
							
							... 
							
							
							
							The functionality is needed while Pocketbase is used in embedded mode 
							
						 
						
							2023-01-12 13:40:40 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								8f6cb5ad2d 
								
							 
						 
						
							
							
								
								updated changelog and godoc  
							
							 
							
							
							
						 
						
							2022-12-29 18:58:07 +02:00  
						
					 
				
					
						
							
							
								 
								David Schissler
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								775417ac2b 
								
							 
						 
						
							
							
								
								[ #1420 ] added filesystem.NewFileFromBytes  
							
							 
							
							
							
						 
						
							2022-12-29 18:51:27 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								7fc1d979dd 
								
							 
						 
						
							
							
								
								added fs.UploadFile unit test and updated changelog  
							
							 
							
							
							
						 
						
							2022-12-22 16:06:44 +02:00  
						
					 
				
					
						
							
							
								 
								Yuxiang Gao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ede7804a80 
								
							 
						 
						
							
							
								
								[ #1343 ] fixed s3 file upload error caused by underscore in metadata  
							
							 
							
							
							
						 
						
							2022-12-22 15:39:45 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								687a79b450 
								
							 
						 
						
							
							
								
								updated linter  
							
							 
							
							
							
						 
						
							2022-12-16 17:06:03 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								37bac5cc50 
								
							 
						 
						
							
							
								
								abstract rest.UploadedFile to allow loading local files  
							
							 
							
							
							
						 
						
							2022-12-10 16:47:45 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								355f7053fd 
								
							 
						 
						
							
							
								
								[ #1187 ] move file upload and delete out of the record save transaction  
							
							 
							
							
							
						 
						
							2022-12-06 12:26:29 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								f1d546c845 
								
							 
						 
						
							
							
								
								truncate the original filename metadata  
							
							 
							
							
							
						 
						
							2022-12-06 07:17:59 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								599c542c5a 
								
							 
						 
						
							
							
								
								store the original uploaded file name as metadata  
							
							 
							
							
							
						 
						
							2022-12-05 14:28:28 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								2deca759fa 
								
							 
						 
						
							
							
								
								added multipart range test  
							
							 
							
							
							
						 
						
							2022-11-29 18:12:40 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								bd65125744 
								
							 
						 
						
							
							
								
								[ #1125 ] added support for partial/range file requests  
							
							 
							
							
							
						 
						
							2022-11-29 15:52:37 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								d8963c6fc3 
								
							 
						 
						
							
							
								
								added plugins subpackage and added basic support for js migrations  
							
							 
							
							
							
						 
						
							2022-11-26 09:06:09 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								90dba45d7c 
								
							 
						 
						
							
							
								
								initial v0.8 pre-release  
							
							 
							
							
							
						 
						
							2022-10-30 10:28:14 +02:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								d84e57174b 
								
							 
						 
						
							
							
								
								updated code comments formatting  
							
							 
							
							
							
						 
						
							2022-10-02 13:38:59 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								a6cafd1ed7 
								
							 
						 
						
							
							
								
								[ #677 ] unset the X-Frame-Options when serving static files to allow files embedding  
							
							 
							
							
							
						 
						
							2022-10-02 13:28:33 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								b0db2399b8 
								
							 
						 
						
							
							
								
								updated filesystem tests  
							
							 
							
							
							
						 
						
							2022-10-02 12:38:14 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								81d0af6e80 
								
							 
						 
						
							
							
								
								[ #693 ] added media-src to the default files CSP  
							
							 
							
							
							
						 
						
							2022-10-02 12:33:31 +03:00  
						
					 
				
					
						
							
							
								 
								Rohan Verma
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								3cbab96f51 
								
							 
						 
						
							
							
								
								[ #661 ] serve css files with text/css content-type  
							
							 
							
							... 
							
							
							
							Currently, css files are served as text/plain by the server. It is not
trivial to detect css file types similar to the issue with svg files.
When the css files are served as text/plain instead of
text/css they become unusable as stylesheets in the browser when served
via the api.
In this commit we generalize the svg detection to also detect css files
and serve specific extensions with their respective mimetypes. 
							
						 
						
							2022-09-28 21:25:50 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								9a8c9dd115 
								
							 
						 
						
							
							
								
								[ #586 ] fixed multiple nested relation expansions with shared base path  
							
							 
							
							
							
						 
						
							2022-09-21 13:34:34 +03:00  
						
					 
				
					
						
							
							
								 
								Aaron Schmied
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								a1ad5004f8 
								
							 
						 
						
							
							
								
								[ #585 ] respect the EXIF orientation tag when generating thumbs  
							
							 
							
							... 
							
							
							
							@see: https://github.com/disintegration/imaging#incorrect-image-orientation-after-processing-eg-an-image-appears-rotated-after-resizing  
							
						 
						
							2022-09-21 13:13:26 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								2fa5233fa6 
								
							 
						 
						
							
							
								
								[ #440 ] try to use the original image format when creating thumbs  
							
							 
							
							
							
						 
						
							2022-09-14 17:12:47 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								b717896232 
								
							 
						 
						
							
							
								
								[ #390 ] serve the mimetype detected during upload  
							
							 
							
							
							
						 
						
							2022-09-05 15:46:40 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								efda3d5a0b 
								
							 
						 
						
							
							
								
								[ #87 ] added additional thumb resizers  
							
							 
							
							
							
						 
						
							2022-08-17 22:29:47 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								d60dd13581 
								
							 
						 
						
							
							
								
								[ #294 ] added additional inline serving mime types  
							
							 
							
							
							
						 
						
							2022-08-11 20:09:26 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								ff935a39a1 
								
							 
						 
						
							
							
								
								removed spacing  
							
							 
							
							
							
						 
						
							2022-08-11 08:13:07 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								7926501649 
								
							 
						 
						
							
							
								
								updated comments and added CSP header check in the tests  
							
							 
							
							
							
						 
						
							2022-07-21 17:22:31 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								4c2cd5a534 
								
							 
						 
						
							
							
								
								simplify the svg extension check  
							
							 
							
							
							
						 
						
							2022-07-21 12:58:06 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								5d8fc939e2 
								
							 
						 
						
							
							
								
								[ #164 ] serve common media files inline and fix svg content-type  
							
							 
							
							
							
						 
						
							2022-07-21 12:56:17 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								73fb12c2bc 
								
							 
						 
						
							
							
								
								[ #156 ] added forcePathStyle to the s3 config  
							
							 
							
							
							
						 
						
							2022-07-19 10:45:38 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								9a231ba7b3 
								
							 
						 
						
							
							
								
								applied some of the changes from  #149  
							
							 
							
							
							
						 
						
							2022-07-18 01:03:09 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								7b2d88fa30 
								
							 
						 
						
							
							
								
								[ #45 ] don't set Last-Modified header if time.location data cannot be loaded  
							
							 
							
							
							
						 
						
							2022-07-10 20:53:24 +03:00  
						
					 
				
					
						
							
							
								 
								Valley
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								d64fbf9011 
								
							 
						 
						
							
							
								
								[ #38 ] added lint and used the lint suggestions  
							
							 
							
							
							
						 
						
							2022-07-09 17:17:41 +03:00  
						
					 
				
					
						
							
							
								 
								Gani Georgiev
							
						 
						
							 
							
							
							
							
								
							
							
								3d07f0211d 
								
							 
						 
						
							
							
								
								initial public commit  
							
							 
							
							
							
						 
						
							2022-07-07 00:19:05 +03:00