dc2b9f940e
	 
					 
					
						
						
							
							[CORE][GSFile] Assert that the destination folder where to store the attachment is inside the INSTALLDIR and store the filepath in the database  
						
						
						
						
					 
					
						2021-09-14 13:13:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						88dd9e542f
	 
					 
					
						
						
							
							[CORE][GSFile] Change actor_id paramenter of validateAndStoreFileAsAttachment to optional and reorder them and their usages  
						
						
						
						
					 
					
						2021-09-14 13:13:17 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f5fb4ed3c3
	 
					 
					
						
						
							
							[TESTS] Add tests for GSFile  
						
						
						
						
					 
					
						2021-09-14 13:13:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						861732176e
	 
					 
					
						
						
							
							[Media] Support any kind of thumbnails in the Core  
						
						... 
						
						
						
						Sanitize Attachments instead of Validate (part 1)
Ensure the intended filetypes and mimetypes during Vips conversions (part 1)
Various bug fixes 
						
						
					 
					
						2021-09-14 13:13:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c8cf8c3f13
	 
					 
					
						
						
							
							[FILE][TemporaryFile] Fix various issues now that we also have Symfony's file abstractions  
						
						
						
						
					 
					
						2021-09-14 13:13:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4f936108a1
	 
					 
					
						
						
							
							[ATTACHMENTS] Don't store an attachment if it's a dupplicate, reuse it  
						
						
						
						
					 
					
						2021-09-14 13:12:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1e7d8cac9a
	 
					 
					
						
						
							
							[ATTACHMENTS] Follow URL redirects and don't duplicate attachments  
						
						
						
						
					 
					
						2021-09-14 13:12:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1c9f807595
	 
					 
					
						
						
							
							[Embed] Fix some bugs and change AttachmentEmbed::url to ::media_url  
						
						
						
						
					 
					
						2021-09-14 13:12:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c9090e6cee
	 
					 
					
						
						
							
							[ATTACHMENTS][GSFile] Rename ValidateAndStore functions  
						
						
						
						
					 
					
						2021-09-14 13:12:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6d31945401
	 
					 
					
						
						
							
							[ATTACHMENTS] In sendFile, check that file exists or show a custom exception  
						
						
						
						
					 
					
						2021-09-14 13:12:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7509913fcf
	 
					 
					
						
						
							
							[ENTITY] Add field size to attachments, used for quota calculations  
						
						
						
						
					 
					
						2021-09-14 13:12:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be91fb754d
	 
					 
					
						
						
							
							[CORE] Typo in GSFile and slight Twig weirdness in base template  
						
						
						
						
					 
					
						2021-09-14 13:12:52 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2adb3c3521
	 
					 
					
						
						
							
							[ATTACHMENTS] Add event 'AttachmentFileInfo' to allow a plugin to override the file displayed  
						
						
						
						
					 
					
						2021-09-14 13:12:52 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						34059a8d3d
	 
					 
					
						
						
							
							[ATTACHMENTS][EVENT] Add onHashFile event, which can be used to deduplicate files  
						
						... 
						
						
						
						Currently, we simply hash the contents of the file with sha256, but in the future we can use something smarter,
which could find visual feature similarity between images 
						
						
					 
					
						2021-09-14 13:12:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e94df546c3
	 
					 
					
						
						
							
							[Posting] Extract and store URLs from note content. Introduce 'AttachmentStoreNew' event  
						
						
						
						
					 
					
						2021-09-14 13:12:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e1995f44ce
	 
					 
					
						
						
							
							[ATTACHMENTS] Move thumbnail controller to core and cleanup  
						
						
						
						
					 
					
						2021-09-14 13:12:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e385a9ac29
	 
					 
					
						
						
							
							[ATTACHMENTS] Even more further refactoring  
						
						... 
						
						
						
						Introduce Encoder plugins Instead of abstract upload and thumb modules
Ported attachment routes. In v3 thumbnail depends on existing attachment
so route updated accordingly. 
						
						
					 
					
						2021-09-14 13:12:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0eaccc32fe
	 
					 
					
						
						
							
							[ATTACHMENTS] Further refactoring  
						
						... 
						
						
						
						Some key points:
- Components and Plugins shouldn't extend Module directly
- Avatars should be fetched via GSActor ID, not by nickname as that isn't unique
- Avatar now is a separate Component
- Common file utilities are now to be placed in Core\GSFile, this will
  handle storage and trigger validation
- Some bug fixes 
						
						
					 
					
						2021-09-14 13:11:51 +01:00