jspwiki.git
8 days ago2.11.0-M1-git-11 master
juanpablo [Fri, 7 Dec 2018 00:34:40 +0000 (01:34 +0100)] 
2.11.0-M1-git-11

8 days agoFix from 2.11.0.M1-rc1: revert change from commit 87bf9b941fdf on 11/Nov/2018 that...
juanpablo [Fri, 7 Dec 2018 00:31:56 +0000 (01:31 +0100)] 
Fix from 2.11.0.M1-rc1: revert change from commit 87bf9b941fdf on 11/Nov/2018 that ended up causing lots of ClassCastException

8 days agoswitch back versions to 2.11.0.M1-SNAPSHOT
juanpablo [Fri, 7 Dec 2018 00:28:15 +0000 (01:28 +0100)] 
switch back versions to 2.11.0.M1-SNAPSHOT

11 days ago[maven-release-plugin] prepare for next development iteration
juanpablo [Mon, 3 Dec 2018 19:11:19 +0000 (20:11 +0100)] 
[maven-release-plugin] prepare for next development iteration

11 days ago[maven-release-plugin] prepare release 2.11.0.M1-RC1 2.11.0.M1-RC1
juanpablo [Mon, 3 Dec 2018 19:10:56 +0000 (20:10 +0100)] 
[maven-release-plugin] prepare release 2.11.0.M1-RC1

11 days agoprepare release for 2.11.0.M1
juanpablo [Mon, 3 Dec 2018 18:57:58 +0000 (19:57 +0100)] 
prepare release for 2.11.0.M1

3 weeks agofix Jenkinsfile's emailext to:
juanpablo [Tue, 20 Nov 2018 23:25:12 +0000 (00:25 +0100)] 
fix Jenkinsfile's emailext to:

3 weeks ago2.11.0-M1-git-10
juanpablo [Tue, 20 Nov 2018 23:02:54 +0000 (00:02 +0100)] 
2.11.0-M1-git-10

3 weeks agouse generics and non-deprecated code
juanpablo [Tue, 20 Nov 2018 22:56:39 +0000 (23:56 +0100)] 
use generics and non-deprecated code

3 weeks agoremove warnings from code, add missing @Overrides, etc.
juanpablo [Tue, 20 Nov 2018 22:55:46 +0000 (23:55 +0100)] 
remove warnings from code, add missing @Overrides, etc.

3 weeks agouse try with resources
juanpablo [Tue, 20 Nov 2018 22:54:29 +0000 (23:54 +0100)] 
use try with resources

3 weeks agouse multi-catch
juanpablo [Tue, 20 Nov 2018 22:52:27 +0000 (23:52 +0100)] 
use multi-catch

3 weeks agouse try with resources for db access
juanpablo [Tue, 20 Nov 2018 22:51:59 +0000 (23:51 +0100)] 
use try with resources for db access

3 weeks agobackwards-breaking change: move TextUtil.getRequiredProperty method to WikiEngine
juanpablo [Tue, 20 Nov 2018 22:51:15 +0000 (23:51 +0100)] 
backwards-breaking change: move TextUtil.getRequiredProperty method to WikiEngine

3 weeks agoadd jspc-maven-plugin to m2e exclusions
juanpablo [Tue, 20 Nov 2018 22:44:10 +0000 (23:44 +0100)] 
add jspc-maven-plugin to m2e exclusions

4 weeks agomaven cargo plugin updated to 1.7.0 + removed some (now) unneeded configuration from...
juanpablo [Tue, 13 Nov 2018 19:47:54 +0000 (20:47 +0100)] 
maven cargo plugin updated to 1.7.0 + removed some (now) unneeded configuration from maven war plugin; no version bump

4 weeks ago2.11.0-M1-git-09
juanpablo [Mon, 12 Nov 2018 23:31:53 +0000 (00:31 +0100)] 
2.11.0-M1-git-09

4 weeks agoadd sect-ref to url links on local read links
juanpablo [Mon, 12 Nov 2018 23:30:11 +0000 (00:30 +0100)] 
add sect-ref to url links on local read links

4 weeks agomore add @Overrides, code format, use of generics and removal of warnings
juanpablo [Mon, 12 Nov 2018 23:28:24 +0000 (00:28 +0100)] 
more add @Overrides, code format, use of generics and removal of warnings

4 weeks agoadd @Overrides, code format
juanpablo [Mon, 12 Nov 2018 23:26:00 +0000 (00:26 +0100)] 
add @Overrides, code format

4 weeks agoremove warnings from tests
juanpablo [Mon, 12 Nov 2018 23:23:01 +0000 (00:23 +0100)] 
remove warnings from tests

4 weeks agoupdate tld versions
juanpablo [Mon, 12 Nov 2018 23:22:37 +0000 (00:22 +0100)] 
update tld versions

4 weeks agofix compilation error on rss.jsp
juanpablo [Mon, 12 Nov 2018 23:21:42 +0000 (00:21 +0100)] 
fix compilation error on rss.jsp

4 weeks agoensure JSPs remain well-formed or else break the build
juanpablo [Mon, 12 Nov 2018 23:21:19 +0000 (00:21 +0100)] 
ensure JSPs remain well-formed or else break the build

4 weeks agomove tld file to jspwiki-main module
juanpablo [Mon, 12 Nov 2018 23:20:29 +0000 (00:20 +0100)] 
move tld file to jspwiki-main module

4 weeks agoupdate ChangeLog with latest changes
juanpablo [Sun, 11 Nov 2018 22:11:30 +0000 (23:11 +0100)] 
update ChangeLog with latest changes

4 weeks agoclass formatting, remove warning from preferences class/package
juanpablo [Sun, 11 Nov 2018 22:09:32 +0000 (23:09 +0100)] 
class formatting, remove warning from preferences class/package

4 weeks agoremove warnings from search package
juanpablo [Sun, 11 Nov 2018 16:42:34 +0000 (17:42 +0100)] 
remove warnings from search package

4 weeks agouse try with resources, remove NoClassDefFoundError (Lucene libraries are included...
juanpablo [Sun, 11 Nov 2018 13:39:07 +0000 (14:39 +0100)] 
use try with resources, remove NoClassDefFoundError (Lucene libraries are included), add missing @Override

4 weeks agouse generics on AttachmentManager public methods
juanpablo [Sun, 11 Nov 2018 13:36:33 +0000 (14:36 +0100)] 
use generics on AttachmentManager public methods

4 weeks agoremove use of ModuleManager constants on util test
juanpablo [Sun, 11 Nov 2018 13:26:30 +0000 (14:26 +0100)] 
remove use of ModuleManager constants on util test

4 weeks agoremove @BeforeAll method, not necessary; use constants from StandardCharsets
juanpablo [Sun, 11 Nov 2018 13:21:48 +0000 (14:21 +0100)] 
remove @BeforeAll method, not necessary; use constants from StandardCharsets

4 weeks agoadd @Overrides, reorganize imports, use generics
juanpablo [Sun, 11 Nov 2018 13:20:41 +0000 (14:20 +0100)] 
add @Overrides, reorganize imports, use generics

5 weeks ago2.11.0-M1-git-08
juanpablo [Mon, 5 Nov 2018 21:35:00 +0000 (22:35 +0100)] 
2.11.0-M1-git-08

5 weeks agoremove last warning from util package
juanpablo [Mon, 5 Nov 2018 20:22:29 +0000 (21:22 +0100)] 
remove last warning from util package

5 weeks agotry to load as many externals third-party jars as possible instead of trying all...
juanpablo [Mon, 5 Nov 2018 20:17:11 +0000 (21:17 +0100)] 
try to load as many externals third-party jars as possible instead of trying all-or-nothing approach of loading them

5 weeks agofix typo and use constants instead of Strings
juanpablo [Mon, 5 Nov 2018 20:15:04 +0000 (21:15 +0100)] 
fix typo and use constants instead of Strings

5 weeks agoadd @Overrides
juanpablo [Mon, 5 Nov 2018 20:14:35 +0000 (21:14 +0100)] 
add @Overrides

5 weeks agouse java 8 class instead of commons-codec one
juanpablo [Mon, 5 Nov 2018 20:14:04 +0000 (21:14 +0100)] 
use java 8 class instead of commons-codec one

5 weeks agofurther refactors on ClassUtil
juanpablo [Sun, 4 Nov 2018 23:25:37 +0000 (00:25 +0100)] 
further refactors on ClassUtil

* use ConcurrentHashMap to store c_classmappings, instead of a Hashtable
* use try with resources in jarEntriesUnder
* getMappedObject methods perform the cast to the wanted type allowing to remove the cast everywhere else in the code. Propagate this change.

5 weeks ago* (breaking) ClassUtil#getMappedObject methods now throw ReflectiveOperationException...
juanpablo [Sun, 4 Nov 2018 20:51:08 +0000 (21:51 +0100)] 
* (breaking) ClassUtil#getMappedObject methods now throw ReflectiveOperationException, IllegalArgumentException instead of WikiException
* getMappedClass method now throws ClassNotFoundException instead of WikiException

5 weeks agoremove some warnings
juanpablo [Sun, 4 Nov 2018 00:48:58 +0000 (01:48 +0100)] 
remove some warnings

5 weeks agobreaking: verifySaltedPassword doesn't throw UnsupportedEncodingException anymore
juanpablo [Sun, 4 Nov 2018 00:41:55 +0000 (01:41 +0100)] 
breaking: verifySaltedPassword doesn't throw UnsupportedEncodingException anymore

5 weeks agoremove compilation warnings
juanpablo [Sun, 4 Nov 2018 00:40:36 +0000 (01:40 +0100)] 
remove compilation warnings

5 weeks agobreaking change: both urlDecode methods don't throw UnsupportedOperationException...
juanpablo [Sun, 4 Nov 2018 00:39:24 +0000 (01:39 +0100)] 
breaking change: both urlDecode methods don't throw UnsupportedOperationException anymore

5 weeks agoavoid catching UnsupportedEncodingException
juanpablo [Sun, 4 Nov 2018 00:32:39 +0000 (01:32 +0100)] 
avoid catching UnsupportedEncodingException

5 weeks agoavoid catching UnsupportedEncodingException
juanpablo [Sun, 4 Nov 2018 00:31:49 +0000 (01:31 +0100)] 
avoid catching UnsupportedEncodingException

5 weeks agoavoid concurrency issue by building a new Set, remove close it's called implicitly
juanpablo [Sun, 4 Nov 2018 00:30:04 +0000 (01:30 +0100)] 
avoid concurrency issue by building a new Set, remove close it's called implicitly

5 weeks agoavoid UnsupportedEncodingException and small refactor to be able to use try-with...
juanpablo [Sun, 4 Nov 2018 00:26:49 +0000 (01:26 +0100)] 
avoid UnsupportedEncodingException and small refactor to be able to use try-with-resources

5 weeks agosimplify WikiContexthasAdminPermissions()
juanpablo [Sun, 4 Nov 2018 00:24:55 +0000 (01:24 +0100)] 
simplify WikiContexthasAdminPermissions()

5 weeks agono need of catching UnsupportedEncodingException
juanpablo [Sat, 3 Nov 2018 16:05:53 +0000 (17:05 +0100)] 
no need of catching UnsupportedEncodingException

5 weeks agolog exception
juanpablo [Sat, 3 Nov 2018 16:04:58 +0000 (17:04 +0100)] 
log exception

5 weeks agomore use of generics
juanpablo [Sat, 3 Nov 2018 16:03:31 +0000 (17:03 +0100)] 
more use of generics

5 weeks agomore use of generics
juanpablo [Sat, 3 Nov 2018 13:26:45 +0000 (14:26 +0100)] 
more use of generics

6 weeks ago2.11.0-M1-git-07
juanpablo [Fri, 2 Nov 2018 23:58:51 +0000 (00:58 +0100)] 
2.11.0-M1-git-07

6 weeks agobackwards-incompatible change: WikiEngine#getRecentChanges() now returns a Set instea...
juanpablo [Fri, 2 Nov 2018 23:55:56 +0000 (00:55 +0100)] 
backwards-incompatible change: WikiEngine#getRecentChanges() now returns a Set instead of a Collection

6 weeks agoadded Jenkinsfile
juanpablo [Fri, 2 Nov 2018 23:54:10 +0000 (00:54 +0100)] 
added Jenkinsfile

6 weeks agouse ConcurrentHashMap instead of plain HashMap
juanpablo [Fri, 2 Nov 2018 23:53:46 +0000 (00:53 +0100)] 
use ConcurrentHashMap instead of plain HashMap

6 weeks agolog exception instead of using printStackTrace, use UTF-8 constant
juanpablo [Fri, 2 Nov 2018 23:52:48 +0000 (00:52 +0100)] 
log exception instead of using printStackTrace, use UTF-8 constant

6 weeks agoremove always-true condition and unused variable
juanpablo [Fri, 2 Nov 2018 23:51:59 +0000 (00:51 +0100)] 
remove always-true condition and unused variable

6 weeks agomore use of generics, reorganize imports and removal of unused @SuppressWarnings
juanpablo [Fri, 2 Nov 2018 23:50:40 +0000 (00:50 +0100)] 
more use of generics, reorganize imports and removal of unused @SuppressWarnings

6 weeks agofix build path on eclipse + bogus call on Workflow.jsp
juanpablo [Fri, 2 Nov 2018 21:54:57 +0000 (22:54 +0100)] 
fix build path on eclipse + bogus call on Workflow.jsp

6 weeks agouse try with resources
juanpablo [Fri, 2 Nov 2018 21:04:07 +0000 (22:04 +0100)] 
use try with resources

6 weeks agouse try with resources
juanpablo [Fri, 2 Nov 2018 21:03:40 +0000 (22:03 +0100)] 
use try with resources

6 weeks agoremove unused SuppresWarnings, use generics
juanpablo [Fri, 2 Nov 2018 21:03:16 +0000 (22:03 +0100)] 
remove unused SuppresWarnings, use generics

6 weeks agoremove warnings from tests on org.apache.jspwiki.workflow package
juanpablo [Fri, 2 Nov 2018 20:59:08 +0000 (21:59 +0100)] 
remove warnings from tests on org.apache.jspwiki.workflow package

6 weeks agouse try with resources
juanpablo [Fri, 2 Nov 2018 20:56:49 +0000 (21:56 +0100)] 
use try with resources

6 weeks agoremove dead store
juanpablo [Fri, 2 Nov 2018 20:56:15 +0000 (21:56 +0100)] 
remove dead store

6 weeks agoremove warnings from org.apache.jspwiki.rss package
juanpablo [Fri, 2 Nov 2018 20:55:42 +0000 (21:55 +0100)] 
remove warnings from org.apache.jspwiki.rss package

6 weeks agoremove warnings from org.apache.jspwiki.workflow package
juanpablo [Fri, 2 Nov 2018 20:55:11 +0000 (21:55 +0100)] 
remove warnings from org.apache.jspwiki.workflow package

6 weeks agouse generics when possible
juanpablo [Fri, 2 Nov 2018 20:54:30 +0000 (21:54 +0100)] 
use generics when possible

6 weeks ago2.11.0-M1-git-06: fix JSPs using methods removed on 2.11.0-M1-git-05
juanpablo [Mon, 29 Oct 2018 23:21:52 +0000 (00:21 +0100)] 
2.11.0-M1-git-06: fix JSPs using methods removed on 2.11.0-M1-git-05

6 weeks agoupdate changelog for 2.11.0-M1-git-05
juanpablo [Sun, 28 Oct 2018 23:52:04 +0000 (00:52 +0100)] 
update changelog for 2.11.0-M1-git-05

6 weeks agomore generics
juanpablo [Sun, 28 Oct 2018 23:51:39 +0000 (00:51 +0100)] 
more generics

6 weeks agouse generics
juanpablo [Sun, 28 Oct 2018 23:51:18 +0000 (00:51 +0100)] 
use generics

6 weeks agoremove unused SuppressWarning
juanpablo [Sun, 28 Oct 2018 23:50:53 +0000 (00:50 +0100)] 
remove unused SuppressWarning

6 weeks agouse generic
juanpablo [Sun, 28 Oct 2018 23:50:22 +0000 (00:50 +0100)] 
use generic

6 weeks agoWikiEngine#findPages( String query, WikiContext wikiContext ) is removed, use WikiEn...
juanpablo [Sun, 28 Oct 2018 23:49:54 +0000 (00:49 +0100)] 
WikiEngine#findPages( String query, WikiContext wikiContext ) is removed, use  WikiEngine#getSearchManager()#findPages( String query, WikiContext wikiContext ) instead (backwards incompatible change)

6 weeks ago2.11.0-M1-git-05
juanpablo [Sun, 28 Oct 2018 23:25:48 +0000 (00:25 +0100)] 
2.11.0-M1-git-05

6 weeks agoAttachmentManager#listAttachments now returns a List<Attachment> instead of a Collect...
juanpablo [Sun, 28 Oct 2018 21:56:03 +0000 (22:56 +0100)] 
AttachmentManager#listAttachments now returns a List<Attachment> instead of a Collection  (breaking backwards-compatible change)

6 weeks agomove PropertiesUtils to util package (breaking backwards-compatible change)
juanpablo [Sun, 28 Oct 2018 21:44:34 +0000 (22:44 +0100)] 
move PropertiesUtils to util package (breaking backwards-compatible change)

6 weeks agosuppress unchecked warning
juanpablo [Sun, 28 Oct 2018 21:43:04 +0000 (22:43 +0100)] 
suppress unchecked warning

6 weeks agoremove unnecessary @SuppressWarnings
juanpablo [Sun, 28 Oct 2018 21:41:54 +0000 (22:41 +0100)] 
remove unnecessary @SuppressWarnings

6 weeks agomake ModuleBean use WikiModuleInfo instead of <T extends WikiModuleInfo> to align...
juanpablo [Sun, 28 Oct 2018 21:41:09 +0000 (22:41 +0100)] 
make ModuleBean use WikiModuleInfo instead of <T extends WikiModuleInfo> to align with former change on FilterManager and PluginManager

6 weeks agoReferenceManager#findReferrers returns Set< String > instead of Collection< String...
juanpablo [Sun, 28 Oct 2018 20:44:28 +0000 (21:44 +0100)] 
ReferenceManager#findReferrers returns Set< String > instead of Collection< String > (not backward compatible)

also, add generics to ReferenceManager wherever needed and propagate the change to remove unnecessary warnings

6 weeks agoFilterManager and PluginManager return Collection< WikiModuleInfo > instead of Collec...
juanpablo [Sun, 28 Oct 2018 20:15:26 +0000 (21:15 +0100)] 
FilterManager and PluginManager return Collection< WikiModuleInfo > instead of Collection for modules(); remove unused imports on DefaultFilterManager

6 weeks agoWikiPage very small refactors
juanpablo [Sun, 28 Oct 2018 20:11:07 +0000 (21:11 +0100)] 
WikiPage very small refactors

implements Comparable< WikiPage > instead of Comparable
returns Map< String, Object > on getAttributes instead of Map; use this change elsewhere

6 weeks agoorganize imports
juanpablo [Sun, 28 Oct 2018 20:08:43 +0000 (21:08 +0100)] 
organize imports

6 weeks agomove java code from war module to its own module; markdown module included in war...
juanpablo [Sun, 28 Oct 2018 20:01:20 +0000 (21:01 +0100)] 
move java code from war module to its own module; markdown module included in war by default

6 weeks agoplugins versions' as maven properties too
juanpablo [Sun, 28 Oct 2018 18:04:09 +0000 (19:04 +0100)] 
plugins versions' as maven properties too

6 weeks agodependencies sorted alphabetically by scope:groupId:artifactId; dependencies versions...
juanpablo [Sun, 28 Oct 2018 17:44:48 +0000 (18:44 +0100)] 
dependencies sorted alphabetically by scope:groupId:artifactId; dependencies versions' as maven properties so it's easier to see which dependencies and versions ares used at a glance

6 weeks agofix aditionalConfig file locations on maven-eclipse-plugin
juanpablo [Sun, 28 Oct 2018 14:30:13 +0000 (15:30 +0100)] 
fix aditionalConfig file locations on maven-eclipse-plugin

6 weeks agoremove markdown-support profile, module is on the main build now
juanpablo [Sun, 28 Oct 2018 14:16:25 +0000 (15:16 +0100)] 
remove markdown-support profile, module is on the main build now

6 weeks agoproperly require Maven >= 3.5
juanpablo [Sun, 28 Oct 2018 14:15:42 +0000 (15:15 +0100)] 
properly require Maven >= 3.5

6 weeks agobring down configuration for java modules to parent pom
juanpablo [Sun, 28 Oct 2018 14:14:52 +0000 (15:14 +0100)] 
bring down configuration for java modules to parent pom

7 weeks ago2.11.0-M1-git-04
juanpablo [Fri, 26 Oct 2018 19:29:07 +0000 (21:29 +0200)] 
2.11.0-M1-git-04

7 weeks agoflexmark updated to 0.34.56
juanpablo [Fri, 26 Oct 2018 19:28:53 +0000 (21:28 +0200)] 
flexmark updated to 0.34.56

7 weeks agoupdate maven plugins versions'
juanpablo [Fri, 26 Oct 2018 19:24:21 +0000 (21:24 +0200)] 
update maven plugins versions'

7 weeks agoUpgrade to JUnit 5 (III):
juanpablo [Fri, 26 Oct 2018 19:01:49 +0000 (21:01 +0200)] 
Upgrade to JUnit 5 (III):

* replaced all import, annotations and asserts via 'find . -name *java -type f -exec sed'-like expressions
* manually replaced all Assert.assertXXX(msg, expected, actual) with their equivalent Assertions.assertXXX( expected, actual, msg ) [especially funny when expected and actual are Strings]

7 weeks agoUpgrade to JUnit 5 (II): remove all JUnit 4 test suites - there's no direct replaceme...
juanpablo [Fri, 26 Oct 2018 18:19:54 +0000 (20:19 +0200)] 
Upgrade to JUnit 5 (II): remove all JUnit 4 test suites - there's no direct replacement yet on JUnit 5, and right now they don't seem to be widely used