Apache JSPWiki is a leading open source WikiWiki engine, feature-rich and built around standard JEE components (Java, servlets, JSP)
{{jspwiki.workDir}}
default should be in {{$javax.servlet.context.tempdir}}
previously, this property was set to {{java.io.tmpdir}}
, if you need {{jspwiki.workDir}}
to continue pointing there please update your {{jspwiki[[-custom].properties}}
file accordingly.html
, .htm
and .js
attachments are now forcibly downloaded by default
jspwiki.attachment.forceDownload
property to empty on your jspwiki\[-custom\].properties
fileReferenceManager
implementation can be set via jspwiki.refManager
property on your jspwiki\[-custom\].properties
file
Engine
Install.jsp
now properly displays its stylesorg.apache.wiki.markdown.migration.WikiSyntaxConverter
to convert from JSPWiki syntax to markdownCsrfProtectionFilter
to protect POST requests from CSRF attacks
org.apache.wiki.api.core.Session
gains new String antiCsrfToken()
method<form>
elements and the commonheader.jsp
file contain a <wiki:CsrfProtection/>
custom tag (like this and this)
<title>
elements to templates' templates, and Main
as default frontpage is none is defined on default templatemvn test -Dtest=MemoryProfiling
on the jspwiki-main
moduleTestEngine#shutdown
now cleans cache, wiki pages dir and their associated attachments, if any. This allows cleaning up a handful of testsTestEngine#emptyWikiDir
deletes both page and attachment directoriesTestEngine
is able to not clean up directories / ensure they have unique names if jspwiki.test.disable-clean-props
wiki property is set to true
CachingManager
via classmappings-extra.xml
ehcache-jspwiki.xml
Engine#shutdown()
or Engine#getManager(CachingManager.class).shutdown()
jspwiki.cache.config-file
setting on the jspwiki[-custom].properties
file allows to use a custom ehcache configuration file, located elsewhere on classpathAttachmentManager#getAllAttachments()
does not return more than exactly 1000 attachmentsjspwiki[-custom]-properties
are being deprecated , they will continue to work, but they'll be removed on a future version
jspwiki.usePageCache
-> jspwiki.cache.enable
should be used insteadjspwiki.attachmentProvider
-> jspwiki.attachment.provider
should be used insteadjspwiki.attachmentProvider.adapter.impl
-> jspwiki.attachment.provider.adapter.impl
should be used insteadjspwiki.properties
has changed, so installations with customized logging configuration will need to be set up again.jspwiki[-custom].properties
files, expecting log configuration to be there using Log4J2 properties syntax
jspwiki.use.external.logconfig=true
can still be used on jspwiki[-custom].properties
files to bypass JSPWiki log re-configuration and rely directly on Log4J2 configuration mechanismsjspwiki.filters.spamfilter.allowedgroups
property as a comma separated list of groups that will bypass the filter._
are turned into .
. F.ex., ENV jspwiki_fileSystemProvider_pageDir
would be loaded as jspwiki.fileSystemProvider.pageDir
.