Commit Graph

334 Commits

Author SHA1 Message Date
Lukasz Lenart 115fef2af7 [maven-release-plugin] prepare for next development iteration 2022-02-24 07:11:22 +01:00
Lukasz Lenart 0c9f9c3400 [maven-release-plugin] prepare release STRUTS_6_0_0_RC3 2022-02-24 07:11:13 +01:00
Lukasz Lenart 14c3a14c8f [maven-release-plugin] prepare for next development iteration 2022-01-29 17:36:34 +01:00
Lukasz Lenart f997d9b1ed [maven-release-plugin] prepare release STRUTS_6_0_0_RC2 2022-01-29 17:36:26 +01:00
Lukasz Lenart 57f76d94f2 [maven-release-plugin] prepare for next development iteration 2021-12-19 12:50:38 +01:00
Lukasz Lenart 96aedf9bd5 [maven-release-plugin] prepare release STRUTS_6_0_0_RC1 2021-12-19 12:50:28 +01:00
Lukasz Lenart 1948cca306 WW-5153 Marks Portlet related plugins as deprecated 2021-12-12 13:10:16 +01:00
Yasser Zamani b2bfdc5c88 fix double evaluations... (#483)
* fix double evaluations...

* fix UIBean and its subclasses double evaluations
* fix Param tag used with Bean tag double evaluations
(to be continued)

Reference:
https://securitylab.github.com/research/apache-struts-double-evaluation/

* fix AliasInterceptor

* fix StreamResult

* fix JasperReportsResult

* add singleton not excluded and accepted pattern checker for non interceptors

* add missing escapedIds
2021-11-24 22:39:01 +03:30
Lukasz Lenart f2540192bf WW-5063 Adds null check for ActionInvocation 2020-12-24 15:45:46 +01:00
Lukasz Lenart 0129d30abf Merge pull request #397 from apache/action-context-boost
[WW-4789] [WW-3788] ActionContext refactoring
2020-05-04 07:06:32 +02:00
JCgH4164838Gh792C124B5 a6711251a6 Proposed WW-5074 Fix:
- Exclude ASM 3.3.1 from inclusion as a dependency for commons-digester3
  (also mark commons-digester3 as optional dependency since it is only
  listed to allow the exclusion).
- Provide explicit test dependency of ASM 3.3.1 for portlet-plugin
  (otherwise its jmock tests are unable to execute).
2020-05-03 12:58:37 -04:00
Lukasz Lenart adcc67d9dc WW-4789 WW-3788 Marks VALUE_STACK, APPLICATION and SESSION as deprecated on behalf using helper methods 2020-04-13 17:24:16 +02:00
Lukasz Lenart c253b7f480 WW-4789 WW-3788 Marks CONTAINER as deprecated on behalf using helper methods 2020-04-10 19:39:10 +02:00
Lukasz Lenart dfda16d743 WW-4789 WW-3788 Introduces helper methods to allow build fluent API 2020-04-05 17:48:59 +02:00
Lukasz Lenart 81b069b3f1 WW-4789 WW-3788 Adjusts after rebase 2020-04-05 07:46:56 +02:00
Lukasz Lenart 1bfa1ce6d1 WW-4789 WW-3788 Adds instance bind() to simplify bind operation 2020-04-05 07:46:56 +02:00
Lukasz Lenart 1a8c751b9a WW-4789 WW-3788 Uses bind() instead of bound() 2020-04-05 07:46:56 +02:00
Lukasz Lenart f4aa4ee09a WW-4789 WW-3788 ActionContext refactoring 2020-04-05 07:46:56 +02:00
JCgH4164838Gh792C124B5 c9ac74d0a1 Correction for previous commit message. There was a typo which should have
read: "copies one interface from
  org.springframework.mock.web.portlet.multipart" (not
  "org.apache.struts2.mock.web.portlet" which was incorrect).

Refactor (rename) junit-portlet plugin to portlet-mocks plugin.
- Moved StrutsPortletTestCase from the portlet plugin into the junit plugin
 (same package name).
- Added optional dependencies to the junit plugin for the portlet plugin
  and mocks plugin.
- Duplicated StrutsTestCase from the junit plugin with a new name
  StrutsTestCasePortletTests that exists within a test scope only.
  This was done to eliminate a dendency cycle between junit and portlet
  plugins during refactoring.
- Updated the portlet plugin unit tests to use StrutsTestCasePortletTests
  internally instead of StrutsTestCase from the junit plugin.
- Removed junit plugin dependency for portlets plugin, added test scope
  dependency for portlet-mocks plugin.
- Made StrutsSpringPortletMockObjectsTest depend only on TestCase.
- Removed unneeded dependencies from portlet-mocks pom.

Amended commit multiple times: Missed plugins pom.xml change, forgot to
drop StrutsPortletTestCase from portlet plugin (local repository).
2020-03-28 14:26:48 -04:00
JCgH4164838Gh792C124B5 ec3532f30a Proposed implementation to address WW-5030.
Introduce new junit-portlet plugin.
- Utilizes a copy of org.springframework.mock.web.portlet package from
  Spring 4.3.x, refactored to org.apache.struts2.mock.web.portlet.  Also
  copies one interface from org.apache.struts2.mock.web.portlet.  The
  package-info.java files identify the package renaming.
- Provides test cases for the mock objects.
- Modifies the portlet plugin to use the junit-portlet plugin as a
  dependency.  Adds a small boundary case fix for PortletRequestMap.
2020-03-22 13:42:47 -04:00
Lukasz Lenart 71d4a7be3b WW-5047 Upgrades to VelocityEngine 2.1 and VelocityTools 3.0 2020-02-01 12:49:01 +01:00
Lukasz Lenart 5c55e69b4f WW-5049 Moves Velocity support into a dedicated plugin 2019-12-29 09:07:00 +01:00
Yasser Zamani 299d91e52b Merge pull request #263 from OrDTesters/JsrDispatcherTestFix
[WW-4977] Fixing flaky test in Jsr168DispatcherTest and Jsr286DispatcherTest.
2018-11-18 15:18:49 +03:30
Sebastian Peters 790235b602 Remove cglib 2018-11-14 22:06:56 +01:00
ORDTesters 2d4e26ff8a [WW-4977] Fixing flaky test in Jsr168DispatcherTest and Jsr286DispatcherTest. 2018-11-11 21:48:42 -06:00
Lukasz Lenart 5428252d57 WW-4963 Implements new PortletResponseAware interface with a test
that uses withPortletResponse instead of setPortletReponse
2018-09-25 09:03:29 +02:00
Lukasz Lenart ec4a44567d WW-4963 Implements new PortletRequestAware interface
that uses withPortletRequest instead of setPortletRequest
2018-09-25 08:51:16 +02:00
Lukasz Lenart f59860026c WW-4963 Implements new PortletPreferencesAware interface
that uses withPortletPreferences instead of setPortletPreferences
2018-09-25 08:40:27 +02:00
Lukasz Lenart 42245be546 WW-4963 Implements new PortletContextAware interface
that uses withPortletContext instead of setPortletContext
2018-09-25 08:36:32 +02:00
Lukasz Lenart 384d418039 WW-4963 Implements new PrincipalAware interface
that uses withPrincipalProxy instead of setPrincipalProxy
2018-09-25 08:10:36 +02:00
Lukasz Lenart 8d86442ce7 Increases scope when location parsing is avoided 2018-08-24 10:18:49 +02:00
Lukasz Lenart 2877a656e0 Avoids parsing namespace when using existing namespace 2018-08-24 10:18:38 +02:00
Lukasz Lenart 5e505fa6ca Adds missing JavaDoc 2018-03-21 08:28:34 +01:00
Lukasz Lenart a990e69c73 Implements missing method 2018-03-20 15:42:17 +01:00
Lukasz Lenart 8e74ce610b Upgrades dependencies to Servlet API 2.5 and JSP API 2.1 2018-03-20 15:41:54 +01:00
Lukasz Lenart e2c2ea876e [maven-release-plugin] prepare for next development iteration 2018-03-02 13:00:17 +01:00
Lukasz Lenart 1fec084542 [maven-release-plugin] prepare release STRUTS_2_5_16 2018-03-02 12:59:53 +01:00
Lukasz Lenart def4adacd6 [maven-release-plugin] prepare for next development iteration 2018-02-09 09:36:39 +01:00
Lukasz Lenart 2c0facc3aa [maven-release-plugin] prepare release STRUTS_2_5_15 2018-02-09 09:36:18 +01:00
Stefaan Dutry 80698ed516 Merge pull request #186 from sdutry/sonar-entrySet
changed Map iterations to use entrySet when both key and value are used
2017-12-01 20:46:00 +01:00
Lukasz Lenart 9b9bd212ed [maven-release-plugin] prepare for next development iteration 2017-11-29 08:35:58 +01:00
Lukasz Lenart 0856157e27 [maven-release-plugin] prepare release STRUTS_2_5_14_1 2017-11-29 08:35:37 +01:00
Lukasz Lenart d36ec579fc [maven-release-plugin] prepare for next development iteration 2017-11-14 07:43:35 +01:00
Lukasz Lenart 04db841358 [maven-release-plugin] prepare release STRUTS_2_5_14 2017-11-14 07:43:14 +01:00
Stefaan Dutry 0bde78cc36 changed Map iterations to use entrySet when both key and value are used 2017-11-13 21:13:27 +01:00
Lukasz Lenart 8b95838c58 Adds proper XML header 2017-10-22 12:29:13 +02:00
Lukasz Lenart e7c65fb0b4 Adds missing header with license 2017-10-21 17:47:51 +02:00
Lukasz Lenart 73359c480b Adds missing header with license 2017-10-21 11:24:48 +02:00
Lukasz Lenart 6e51f28d86 Adds missing header with license 2017-10-21 10:23:30 +02:00
Lukasz Lenart cb389d292d Fixes Maven site generation 2017-10-20 09:05:29 +02:00