Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								cce4c285db 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix email buttons for white theme  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								0eebff152a 
								
									
								
							
								 
							
						 
						
							
							
								
								Update license headers  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								6a035bd0a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Move attachment creators to mailer class  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								65e938c4fd 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix docs  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								dcb322a6b3 
								
									
								
							
								 
							
						 
						
							
							
								
								Extend the API with teh parameters from Swift  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								ce27e8cf34 
								
									
								
							
								 
							
						 
						
							
							
								
								Add attachment support to emails  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								c9af36a9ab 
								
									
								
							
								 
							
						 
						
							
							
								
								Introduce a public interface for Message  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								f109c1a10c 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow templating of email subjects  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								6dbb64c4a2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge setMetaData into constructor  
							
							 
							
							 
							
							
								
 
							
							
							This ensures that the meta data is set in the beginning
Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								09747b296a 
								
									
								
							
								 
							
						 
						
							
							
								
								Add meta information to emails for better customisation  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								70d42afb93 
								
									
								
							
								 
							
						 
						
							
							
								
								Use non-deprecated INTL_IDNA_VARIANT_UTS46  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								e1f52fc901 
								
									
								
							
								 
							
						 
						
							
							
								
								Stricter phan config fixes  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Roeland Jago Douma
							
						 
						
							
							
								
								
							
							
								
							
								5f227bd93b 
								
									
								
							
								 
							
						 
						
							
							
								
								More phpstorm inspection fixes  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
							
								
							
								ae13d011d1 
								
							
								 
							
						 
						
							
							
								
								Remove unneeded styles  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								bb6fe6afba 
								
									
								
							
								 
							
						 
						
							
							
								
								Adjust to height=120  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
							
								
							
								ba1e16ea2e 
								
							
								 
							
						 
						
							
							
								
								Revert "Set max-width of image to 100px in Outlook as well"  
							
							 
							
							
								
 
							
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
							
								
							
								a98f57ebd0 
								
							
								 
							
						 
						
							
							
								
								Set max-width of image to 100px in Outlook as well  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						8 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								3af8abb098 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow to overwrite the email template again  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								099234cf12 
								
									
								
							
								 
							
						 
						
							
							
								
								Add function to request SVG or regular fallback image  
							
							 
							
							 
							
							
								
 
							
							
							Fixes https://github.com/nextcloud/server/issues/4647 
Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								f1ffb728b9 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow meta info and icons  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								35414884d3 
								
									
								
							
								 
							
						 
						
							
							
								
								Add lists to HTML emails  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								16c4755e03 
								
									
								
							
								 
							
						 
						
							
							
								
								Rename renderHTML to renderHtml  
							
							 
							
							 
							
							
								
 
							
							
							* fixes  #4383 
* improves consistency
Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								1c0bffe87f 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix translations  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								bae64e810e 
								
									
								
							
								 
							
						 
						
							
							
								
								Add instance name to default sender  
							
							 
							
							 
							
							
								
 
							
							
							Otherwise your mail program shows "foo@mail.com" instead of "Nextcloud" or whatever your instance name is.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								1f962f9115 
								
									
								
							
								 
							
						 
						
							
							
								
								Update email template for lost password email  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								4b639e2763 
								
									
								
							
								 
							
						 
						
							
							
								
								No newlines when heading is empty  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Bjoern Schiessle
							
						 
						
							
							
								
								
							
							
								
							
								0a464dfb61 
								
									
								
							
								 
							
						 
						
							
							
								
								make the plain text footer standard compliant and add a space after '--'. It also adds a line break in front so that there is some spacing between the mail body and the footer  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								1c8c62272c 
								
									
								
							
								 
							
						 
						
							
							
								
								Use instance name as alt-text  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								506c7731a6 
								
									
								
							
								 
							
						 
						
							
							
								
								Don't duplicate the sentence with the header  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Joas Schilling <coding@schilljs.com> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								33e077c1c1 
								
									
								
							
								 
							
						 
						
							
							
								
								Properly escape heading, body and button text  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								050ce1d40b 
								
									
								
							
								 
							
						 
						
							
							
								
								Add addBodyButton to add a single button to email templates  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								be9a514dff 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow to set text versions for the plain text email  
							
							 
							
							 
							
							
								
 
							
							
							* allows different texts for HTML and text version of the email
Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								3600dd4f52 
								
									
								
							
								 
							
						 
						
							
							
								
								Add IEMailTemplate to public OCP API  
							
							 
							
							 
							
							
								
 
							
							
							Also adds `\OCP\Mail\IMailer::createEMailTemplate` as helper so the functionality can easily be used within apps.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								5b4adf66e5 
								
									
								
							
								 
							
						 
						
							
							
								
								Move OC_Defaults to OCP\Defaults  
							
							 
							
							 
							
							
								
 
							
							
							* currently there are two ways to access default values:
  OCP\Defaults or OC_Defaults (which is extended by
  OCA\Theming\ThemingDefaults)
* our code used a mixture of both of them, which made
  it hard to work on theme values
* this extended the public interface with the missing
  methods and uses them everywhere to only rely on the
  public interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								281ad406e8 
								
									
								
							
								 
							
						 
						
							
							
								
								Add support for theming  
							
							 
							
							 
							
							
								
 
							
							
							Add support for theming in generated emails and simplify API
Signed-off-by: Lukas Reschke <lukas@statuscode.ch> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								0560e69913 
								
									
								
							
								 
							
						 
						
							
							
								
								New layout for welcome email  
							
							 
							
							 
							
							
								
 
							
							
							* thanks to @espina2  for make this nice design
* the button says "Set password" if the admin didn't specified a password
Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Morris Jobke
							
						 
						
							
							
								
								
							
							
								
							
								12e3b357d4 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix default of mail_smtpmode -  fixes   #3102  
							
							 
							
							 
							
							
								
 
							
							
							Signed-off-by: Morris Jobke <hey@morrisjobke.de> 
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Joas Schilling
							
						 
						
							
							
								
								
							
							
								
							
								ba87db3fcc 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix others  
							
							 
							
							
								
 
							
							
						 
						9 years ago  
					 
				
					
						
							
							
								 
								Lukas Reschke
							
						 
						
							
							
								
								
							
							
								
							
								aba539703c 
								
									
								
							
								 
							
						 
						
							
							
								
								Update license headers  
							
							 
							
							
								
 
							
							
						 
						10 years ago  
					 
				
					
						
							
							
								 
								Roeland Jago Douma
							
						 
						
							
							
								
								
							
							
								
							
								bc4185a6fe 
								
									
								
							
								 
							
						 
						
							
							
								
								Move \OC\Mail to PSR-4  
							
							 
							
							
								
 
							
							
						 
						10 years ago