4a0dc883cf 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix/parse upload filename ( #6241 )  
							
							
 
							
							
							* fix: parse filename in PUT + refactor
* fix: master iu public url with http
* fix: better parsing and handle disposition header
* fix: take mime type from file extension if not set 
							
						 
						12 months ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								5ffacbb6ea 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor all methods strings to const ( #5726 )  
							
							
								
 
							
							
						 
						1 year ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a3dab1fcd0 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: upload files directly without multipart/form-data ( #5539 )  
							
							
								
 
							
							
						 
						2 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								277976bd76 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(storage): readability improvements ( #3703 )  
							
							
 
							
							
							Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org> 
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26dbc6c905 
								
							
								 
							
						 
						
							
							
								
								move to  https://github.com/seaweedfs/seaweedfs  
							
							
								
 
							
							
						 
						3 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								a23bcbb7ec 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor: move from io/ioutil to io and os package  
							
							
 
							
							
							The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> 
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d688e10ed1 
								
							
								 
							
						 
						
							
							
								
								do not try to compress if not sure about the file content  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								332f5ad3a8 
								
							
								 
							
						 
						
							
							
								
								revert temporary changes that disabled compression  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/2362  
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6c82326575 
								
							
								 
							
						 
						
							
							
								
								use bytes.Buffer to reduce memory allocation and gc  
							
							
								
 
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								039ad101b1 
								
							
								 
							
						 
						
							
							
								
								manifest file also need to detect compression  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1724#issuecomment-753585046  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0da7ecfd29 
								
							
								 
							
						 
						
							
							
								
								go fmt  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92f906b6fc 
								
							
								 
							
						 
						
							
							
								
								remove zstd  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1629  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab6e5c0dc4 
								
							
								 
							
						 
						
							
							
								
								adjust error message  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4ecfa9879d 
								
							
								 
							
						 
						
							
							
								
								volume: report Content-MD5 in response header  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f89186a3cf 
								
							
								 
							
						 
						
							
							
								
								better logging  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20d9cfae86 
								
							
								 
							
						 
						
							
							
								
								volume: following md5 base64 encoding  
							
							
 
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1374  
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ff37ccdbd 
								
							
								 
							
						 
						
							
							
								
								testing parsing the upload  
							
							
 
							
							
							The mime type is always the value passed in.
Compress or not depends on the content detection, file name extension, and compression ratio.
If the content is already compressed, need to know the content size. 
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4eeab2a379 
								
							
								 
							
						 
						
							
							
								
								remove unused imports  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ffddecebef 
								
							
								 
							
						 
						
							
							
								
								do md5 validation AFTER decompression  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe60db404a 
								
							
								 
							
						 
						
							
							
								
								prepare for zstd  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b1e93ba0b 
								
							
								 
							
						 
						
							
							
								
								check request header not part header for content-encoding  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								38626cb584 
								
							
								 
							
						 
						
							
							
								
								don't forget the last few bytes  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d1f6cd567 
								
							
								 
							
						 
						
							
							
								
								added optional md5 verification of uploaded data  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3080c197e3 
								
							
								 
							
						 
						
							
							
								
								rename UnCompressData to DecompressData  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e912fd15e3 
								
							
								 
							
						 
						
							
							
								
								renaming  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16fe132a20 
								
							
								 
							
						 
						
							
							
								
								detect mime type before replicating to other volume servers  
							
							
								
 
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22400c6633 
								
							
								 
							
						 
						
							
							
								
								consistent gzip logic  
							
							
 
							
							
							local store gzip same as replicated writes 
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ea1169dc80 
								
							
								 
							
						 
						
							
							
								
								filer cipher: single chunk http POST and PUT and read  
							
							
								
 
							
							
						 
						6 years ago