New in JSPWiki 2.11.3 - Released on 02/08/2022
·
315 commits
to master
since this release
- Engine Lifecycle Extensions
- JSPWIKI-802 - Markdown support improvements
- Plain editor now understands different wiki syntaxes, with initial support for Markdown
org.apache.wiki.markdown.migration.WikiSyntaxConverterto convert from JSPWiki syntax to markdown
- JSPWIKI-1075 - New
CsrfProtectionFilterto protect POST requests from CSRF attacksorg.apache.wiki.api.core.Sessiongains new StringantiCsrfToken()method- Custom templates must ensure that all
<form>elements and thecommonheader.jspfile contain a<wiki:CsrfProtection/>custom tag (like this and this)
- JSPWIKI-1171 - Ensure Lucene indexes all pages and attachments, even when they don't fit in the cache
- Fixed logout modal dialog not showing up
- Add default application name on
<title>elements to templates' templates, andMainas default frontpage is none is defined on default template - Upgraded bundled dependencies
- Awaitility to 4.2.0
- JUnit to 5.9.0
- HSQLDB to 2.7.0
- Log4J to 2.18.0
- Lucene to 8.11.2
- Mockito to 4.6.1
- Selenide to 6.6.6
- Tika to 2.4.1
- Tomcat to 9.0.65
- XStream to 1.4.19
- Security Fixes
- Devs only
- JSPWiki memory footprint can be established by running
mvn test -Dtest=MemoryProfilingon thejspwiki-mainmodule TestEngine#shutdownnow cleans cache, wiki pages dir and their associated attachments, if any. This allows cleaning up a handful of testsTestEngine#emptyWikiDirdeletes both page and attachment directoriesTestEngineis able to not clean up directories / ensure they have unique names ifjspwiki.test.disable-clean-propswiki property is set totrue
- JSPWiki memory footprint can be established by running