Commit Graph

6336 Commits

Author SHA1 Message Date
Lukasz Lenart 1380802b75 [maven-release-plugin] prepare release STRUTS_6_0_2 STRUTS_6_0_2 2022-08-25 07:39:40 +02:00
Lukasz Lenart 253d8558e5 Merge pull request #590 from apache/WW-5215-csp-session
[WW-5215] Checks if session was already created before applying CSP settings
2022-08-25 07:30:17 +02:00
Lukasz Lenart a97ee9e9cb Merge pull request #591 from sepe81/patch-1
Update maven-enforcer-plugin to 3.1.0
2022-08-25 07:30:04 +02:00
Sebastian Peters 23969abc19 Update maven-enforcer-plugin to 3.1.0 2022-08-24 22:54:37 +02:00
Lukasz Lenart 2707bf0489 WW-5215 Explicitly creates session in test 2022-08-23 20:50:39 +02:00
Lukasz Lenart 74d4e23716 WW-5215 Checks is session was already created before applying CSP settings 2022-08-23 20:31:39 +02:00
Yasser Zamani 2a03047e9e Merge pull request #573 from JCgH4164838Gh792C124B5/localS2_WW5173_Upd1
[WW-5173] - Attempt to fix DI behaviour for custom cache factories
2022-08-21 13:33:04 +04:30
Lukasz Lenart b1c1be6e40 [maven-release-plugin] prepare for next development iteration 2022-08-12 17:26:55 +02:00
Lukasz Lenart 6536dc65d8 [maven-release-plugin] prepare release STRUTS_6_0_1 STRUTS_6_0_1 2022-08-12 17:26:47 +02:00
Lukasz Lenart 915386816b Merge pull request #588 from apache/WW-5203-lazy-builder
[WW-5203] Re-builds policy string on each call
2022-08-11 13:43:18 +02:00
Lukasz Lenart 80c2de9e92 Merge pull request #586 from apache/WW-5207-asm-9
[WW-5207] Uses ASM 9 by default
2022-08-11 13:43:01 +02:00
Lukasz Lenart b62e583646 WW-5203 Re-builds policy string on each call 2022-08-09 15:19:02 +02:00
Lukasz Lenart 8b359383a1 Merge pull request #587 from sepe81/update-maven-surefire-plugin-to-3.0.0-M7
Update maven-surefire-plugin to 3.0.0-M7
2022-08-09 15:01:08 +02:00
Lukasz Lenart 11e716f979 Merge pull request #584 from sepe81/update-travis
Add openjdk17 to build, remove oraclejdk9 (EOL) and switch from oraclejdk to openjdk to fix Travis CI build
2022-08-09 15:00:34 +02:00
Sebastian Peters 71c7064f29 Update maven-surefire-plugin to 3.0.0-M7
see https://github.com/apache/maven-surefire/releases/tag/surefire-3.0.0-M7
2022-08-08 22:27:47 +02:00
Sebastian Peters 09472808aa Add openjdk17 to build, remove oraclejdk9 (EOL)
and switch from oraclejdk to openjdk
to fix Travis CI build
2022-08-08 22:20:53 +02:00
Sebastian Peters d119ba8e13 Migrate vom ubuntu trusty to jammy
see https://docs.travis-ci.com/user/reference/jammy/
2022-08-08 22:20:52 +02:00
Lukasz Lenart 86b45e96fc WW-5207 Uses ASM 9 by default 2022-08-08 17:00:42 +02:00
Lukasz Lenart 3c9465b857 Merge pull request #580 from rproserpio/patch-1
[WW-5205] - Reverting injection refactor of internal bean
2022-08-08 16:37:43 +02:00
Lukasz Lenart 0c73cf2e05 Merge pull request #583 from sepe81/update-hibernate-validator-to.6.2.x
WW-5208 Update hibernate-validator to 6.2.4
2022-08-07 10:47:38 +02:00
Lukasz Lenart 6785997412 Merge pull request #582 from sepe81/update-mvn-to-3.8.6
Update maven wrapper to 3.8.6
2022-08-07 10:45:12 +02:00
Sebastian Peters 5a7fce066f WW-5208 Update hibernate-validator to 6.2.4
b/c 6.1 has reached its end-of-life according to
https://hibernate.org/validator/releases/6.1/

6.2 is compatible with the given Java and Jakarta
versions and supports `javax.validation.*` according to
https://hibernate.org/validator/releases/6.2/
2022-08-06 14:33:00 +02:00
Sebastian Peters 4fbada4cd9 Update maven wrapper to 3.8.6 2022-08-06 14:09:54 +02:00
JCgH4164838Gh792C124B5 15bbf0ef1d Updated commit:
- Incorporate changes from Y. Zamani's PR #581 manually, which appears to
fix the previous issue that prevented customized cache factory
implementations from being used (tested with sample app).
Credit goes to Yasser Zamani for the fixes.
- Updated unit tests and slight modifications to the changes from the
PR #581.
2022-07-31 18:26:48 -04:00
rproserpio 3119eb65db Reverting injection refactor of internal bean
In commit e9d0a5518c ContentTypeHandlerManager has been changed from setter-injected to constructor-injected.
However, at least with spring as the object factory, that bean was an internal bean not available from the factory, injected post construction.
In the 6.0.0 implementation ContentTypeInterceptor cannot be instantiated since its dependency cannot be resolved:
```
org.springframework.beans.factory.UnsatisfiedDependencyException

Error creating bean with name 'org.apache.struts2.rest.ContentTypeInterceptor': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.apache.struts2.rest.ContentTypeHandlerManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
```
This commit attempts to revert that change.
2022-07-25 01:11:46 +02:00
Lukasz Lenart de3dabbe44 Merge pull request #579 from apache/WW-5204-ognl-3-3-3
[WW-5204] Upgrades OGNL to version 3.3.3
2022-07-11 10:49:38 +02:00
Lukasz Lenart 82f7904206 WW-5204 Upgrades OGNL to version 3.3.3 2022-07-11 10:28:58 +02:00
Lukasz Lenart 42e3da550f Merge pull request #577 from apache/WW-5192-radio
[WW-5192] Fixes broken radio tag when using with enums
2022-07-11 10:27:06 +02:00
Lukasz Lenart f3cb89202d Merge pull request #571 from apache/WW-5190-match-action-proxy
[WW-5190] Fixes StackOverflowException when dispatching request
2022-07-11 10:25:16 +02:00
Lukasz Lenart 836a27692e Merge pull request #578 from sepe81/update-jasperreports
WW-5202 Update jasperreports to 6.19.1 and exclude optional itext from jasperreports
2022-07-08 17:19:41 +02:00
Sebastian Peters 6312572331 Exclude itext from jasperreports
b/c it's an optional dependency
and version 2.1.7.js9 is missing on maven central
2022-07-08 14:09:47 +02:00
Sebastian Peters e7db7ade62 Update jasperreports to 6.19.1 2022-07-08 14:08:46 +02:00
Lukasz Lenart b77c2f476a Uses different port for Jetty during integration testing to avoid clash 2022-07-08 08:21:16 +02:00
Lukasz Lenart e6c1cec7f8 WW-5192 Fixes brok radio tag when using with enums 2022-07-07 21:34:43 +02:00
Lukasz Lenart a781b5a27b Merge pull request #576 from apache/hiberante-validator
[WW-5193] Uses proper org.hibernate.validator groupId and upgrade to version 6.1.3.Final
2022-07-07 15:11:35 +02:00
Lukasz Lenart b71732fa14 WW-5193 Uses proper org.hibernate.validator groupId and upgrade to version 6.1.3.Final 2022-07-07 14:55:19 +02:00
Lukasz Lenart 3f79d64e6a Merge pull request #575 from apache/upgrade-log4j
[WW-5201] Upgrades log4j2 to version 2.18.0
2022-07-07 14:54:08 +02:00
Lukasz Lenart 039fd9f4ee WW-5201 Upgrades log4j2 to version 2.18.0 2022-07-07 14:12:12 +02:00
Lukasz Lenart 393d5be50c Merge pull request #574 from tobiasstadler/WW-5197
WW-5197 Adds support for java.sql.Date
2022-07-07 14:06:22 +02:00
JCgH4164838Gh792C124B5 24e279b165 Update:
- Added arbitrary code coverage test.
2022-07-03 17:37:58 -04:00
Lukasz Lenart cb59974903 WW-5190 Marks all Struts related filters with <async-supported/> 2022-06-27 09:44:51 +02:00
Lukasz Lenart ecfdee137d WW-5190 Disables test which won't pass without refactoring the prepare and execute filters 2022-06-27 09:37:17 +02:00
Lukasz Lenart 8c37b1523f WW-5190 Uses proper order of servlets and filters 2022-06-22 07:58:12 +02:00
Lukasz Lenart 62b83021a2 Merge pull request #569 from apache/WW-5188-since-6
[WW-5188] Replaces since 2.6 with 6.0
2022-06-21 10:39:47 +02:00
Tobias Stadler f3f2d52a1c Added test case for java.sql.Date 2022-06-21 10:23:17 +02:00
Tobias Stadler 61ded9a3e7 WW-5197 Adds support for java.sql.Date 2022-06-21 10:09:31 +02:00
JCgH4164838Gh792C124B5 963b473e6c Initial commit:
- Update to use consistent name for expression and BeanInfo factories in
default configuration implementation and provider.
- Add inject annotation to the non-default constructor to ensure the proper
constructor is called during DI for containers.
- Use fully-qualified factory names for defaults in default.properties.
- Ensure unique types for each cache factory in struts-default.xml
2022-06-20 17:07:57 -04:00
Lukasz Lenart d639b59f6d Merge branch 'master' into WW-5190-match-action-proxy 2022-06-18 09:45:20 +02:00
Lukasz Lenart 8e468a368e WW-5190 Defines two examples with Dispatcher result and integration tests 2022-06-18 09:45:10 +02:00
Lukasz Lenart ebe1b80ed2 WW-5190 Adds a new test to cover new logic of comparing ActionProxies 2022-06-18 08:12:29 +02:00