Changes for page Release Notes for XWiki 6.1 Milestone 2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -32,6 +32,7 @@ 32 32 33 33 * [[extensions:Extension.SpaceIndex Macro]] has now a new parameter to sort the document by creation date, modification date, or by name. 34 34 * User Profile page display email hyperlink (if the email is not obfuscated) on view and preview mode. 35 +* The SOLR index synchronization which is automatically run at XWiki startup can now be disabled using ##solr.synchronizeAtStartup## property in ##xwiki.properties## file 35 35 36 36 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%226.1-milestone-2%22&tempMax=1000]] fixed in this release. 37 37 ... ... @@ -44,6 +44,26 @@ 44 44 * The LESS Compiler now compress the generated CSS. 45 45 * A new component has been added to compute a Color Theme compatible with [[extensions:Extension.Color Theme Application]] from a LESS file. 46 46 48 +== New Mail module == 49 + 50 +Allows to send mails in Java and from wiki pages. 51 + 52 +See [[Mail Sender API>>extensions:Extension.Action API]] for all details. 53 + 54 +Example to send an email from a wiki page: 55 + 56 +{{code language="none"}} 57 +{{velocity}} 58 +#set ($message = $services.mailsender.createMessage("localhost@xwiki.org", "john@doe.com", "subject")) 59 +#set ($discard = $message.addPart("text/plain", "text content")) 60 +#set ($discard = $message.send()) 61 +#set ($discard = $message.waitTillSent(10000)) 62 +#foreach ($error in $message.getErrors()) 63 +* $error.message 64 +#end 65 +{{/velocity}} 66 +{{/code}} 67 + 47 47 == Job module improvements == 48 48 49 49 A new ##org.xwiki.job.JobExecutor## component has been introduce to replace ##org.xwiki.job.JobManager## (which is now deprecated). This component adds support for parallel execution of jobs and also support grouping jobs that need to be executed in the same thread.