Commit Graph

1881 Commits

Author SHA1 Message Date
Lukasz Lenart cb0475d615 WW-4573 Uses CopyOnWrite list to avoid concurrent modifications 2016-01-04 20:03:26 +01:00
Victor Sosa cfc6f19ec7 fix for WW-4573
NPE/ concurrent modification exception

using a CopyOnWriteArrayList. This is to keep Memory consistency on the
ValueStack.
2016-01-02 15:38:35 -04:00
Victor Sosa ec5a301b53 fix for WW-4573
NPE/ concurrent modification exception

using a CopyOnWriteArrayList. This is to keep Memory consistency on the
ValueStack.
2016-01-02 15:19:48 -04:00
Victor Sosa 1df5a75bfc fix for WW-4573
NPE/ concurrent modification exception

using a CopyOnWriteArrayList. This is to keep Memory consistency on the
ValueStack.
2016-01-02 15:18:37 -04:00
Lukasz Lenart 8aebdc3e6f WW-4564 Solves issue with postback result rendered as plain/text in Chrome
Closes #62
2016-01-02 18:30:55 +01:00
victor sosa ac4199e0d8 remove empty comments 2016-01-02 13:24:33 -04:00
victor sosa 3480bc3c10 version removed
version removed, it is on the parent already
2016-01-02 11:15:52 -04:00
Victor Sosa d5a6c35589 fix for WW-4564
Postback result is rendered as plain-text rather than html form in
Chrome

the response's content type must be set to text/html in order for Chrome
to properly handle the operation.
2015-12-31 20:37:06 -04:00
Victor Sosa 70b1b2c497 fix for WW-4564
Postback result is rendered as plain-text rather than html form in
Chrome

the response's content type must be set to text/html in order for Chrome
to properly handle the operation.
2015-12-31 18:04:43 -04:00
Victor Sosa 9cc383e436 Fix to ww-4577 and ww-4576
Upgrade OGNL to version 3.1.2
Upgrade to Log4j2 version 2.5
2015-12-31 16:53:38 -04:00
Lukasz Lenart 30fd44f0ef WW-4365 Fixes issue with evaluating doubleHeaderValue and doubleHeaderKey
(cherry picked from commit 8bbfb46)
2015-11-30 08:15:37 +01:00
Lukasz Lenart 7f10be5c37 WW-4569 Adds support for .tech 2015-11-28 16:36:04 +01:00
Aleksandr Mashchenko ed8dc577b7 WW-4571 Drops deprecated escape attribute in property tag 2015-11-25 09:01:20 +02:00
Lukasz Lenart c3ec2c3390 Merge branch 'upper-case' 2015-11-12 20:52:07 +01:00
Lukasz Lenart 7a06fe47e1 WW-4567 Cleans up poms 2015-11-12 20:45:21 +01:00
Lukasz Racon fb896b6c1c Switch to literal regexp notation, fix url validation 2015-11-12 09:29:47 -06:00
Lukasz Racon ee562666ab Form.getValidators does not respect validateAnnotatedMethodOnly flag
WW-4139 removed method name from getValidators call.  While this works
fine for a case mentioned in that ticket it fails to account for a case
when
dynamicMethodCalls and validateAnnotatedMethodOnly are used. Without
method name actionValidatorManager.getValidators returns all validators
defined for a given field.
Expected behavior for dynamicMethodCalls with
validateAnnotatedMethodOnly case is to return validators for a given
field defined at the method level.
2015-11-09 17:02:02 -06:00
Lukasz Racon 907ce9802e Email validation blocks upper case letters
Fix makes email validation regex case insensitive.
2015-11-09 14:14:07 -06:00
Aleksandr Mashchenko f8718f9187 WW-2069 Drops "id" and "name" attributes" on the tags where they are deprecated. 2015-11-02 22:14:59 +02:00
Lukasz Lenart 146b44e2e8 Always use default method if wildcard patter returned null or empty 2015-10-30 09:21:54 +01:00
Lukasz Lenart 0a08f6b673 WW-4134 Checks if Response wasn't committed to allow store messages
(cherry picked from commit 0958077)
2015-10-27 09:12:24 +01:00
Lukasz Lenart ba361aad36 WW-4554 Drops duplicated calls to initialize BeanPostProcessors
It's already done by Spring

(cherry picked from commit 7848534e2f)
2015-10-27 09:09:46 +01:00
Lukasz Lenart 5bf1b62dd3 WW-4556 Extracts tooltips into dedicated template file
(cherry picked from commit c708876)
2015-10-27 09:07:37 +01:00
Lukasz Lenart b44fa2934f WW-4526 Checks if passed in scheme param is valid
(cherry picked from commit 3e2d5da)
2015-10-20 09:37:54 +02:00
Lukasz Lenart 87dfa3f6fb WW-3161 Sets proper ActionContext to allow I18N to work
(cherry picked from commit f65e38b)
2015-10-20 08:43:39 +02:00
Lukasz Lenart 0ba7965637 Drops unused code
(cherry picked from commit 412684b)
2015-10-20 08:42:52 +02:00
Lukasz Lenart b79c6959a4 WW-4536 Checks for patterns in action names to build the same key for actions with patterns
(cherry picked from commit 30d30e07de)

# Conflicts:
#	core/src/main/java/com/opensymphony/xwork2/validator/AnnotationActionValidatorManager.java
2015-10-19 20:51:48 +02:00
Lukasz Lenart 5dcbe657b0 WW-4536 Drops static to allow redefine the key
(cherry picked from commit 755ad3fadb)
2015-10-19 20:49:49 +02:00
Lukasz Lenart 617bfd23d9 WW-2891 Cleans up poms and update Freemarker to the latest available version 2015-10-13 19:46:30 +02:00
Lukasz Lenart 692e763e43 WW-2891 Replaces deprecated Freemarker's operators 2015-10-13 19:46:30 +02:00
Lukasz Lenart 0dd0f045d2 Drops deprecation interceptor 2015-10-13 08:38:09 +02:00
Christoph Nenning da6b03a0a8 WW-4553 Merges #55 which moves creation of interceptors list and iterator to a factory method to allow overriding it 2015-10-12 12:54:51 +02:00
Christoph Nenning a7b840c75a fixed compile error by adding 'new' 2015-10-12 12:47:21 +02:00
Jasper 117f5fbacc Make it easier to extend to override interceptor stack
Just as createAction is split out from init, it would be great to split out creating the interceptor iterator creation so it can be overridden without having to override all of init().  (Needed this to always prepend an i18n interceptor to all stacks).
2015-10-09 07:41:05 -04:00
Jasper 79a2022b55 Make it easier to extend to use own ActionInvocation
I needed to extend DefaultActionProxyFactory to return my own ActionInvocation, but I had to override all of createActionProxy() to do so.  Seems like a safe change to break out the ActionInvocation creation to make it easier to just override that piece.
2015-10-09 07:34:31 -04:00
cnenning 41dd070eda WW-4551 merges #52 which adds support for rfc3339 date-only date-format 2015-10-09 11:13:25 +02:00
cnenning 366a0b4a58 added tests for rfc3339 date formats 2015-10-09 11:11:34 +02:00
Andrea Ligios d95fc63992 Added support for RFC3339 with date part only
https://issues.apache.org/jira/browse/WW-4551
2015-10-07 16:17:38 +02:00
Lukasz Lenart a5812bf0b6 Fixes expected test result 2015-10-06 15:36:28 +02:00
Lukasz Lenart f0797388bc Fixes failing tests under JDK8 2015-10-06 15:27:04 +02:00
Lukasz Lenart e28e7f69b9 Includes global-allowed-methods instead of overriding them 2015-10-06 13:27:53 +02:00
Lukasz Lenart 221ef32e37 WW-4402 Updates struts-annotations to support JDK8 2015-10-06 08:21:28 +02:00
Andrea Ligios 9ad9404bfa Changing an erroneous variable's name
RFC 3399 does not exist. RFC 3339 is the one used here: https://tools.ietf.org/html/rfc3339
2015-10-05 11:09:48 +02:00
Andrea Ligios 9638d7adaa Correcting typos...
https://issues.apache.org/jira/browse/WW-4550?focusedCommentId=14934912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14934912
2015-09-29 16:59:30 +02:00
Lukasz Lenart 6fbdab1848 [maven-release-plugin] prepare for next development iteration 2015-09-28 21:15:50 +02:00
Lukasz Lenart 56ae397d75 [maven-release-plugin] prepare release STRUTS_2_5_BETA2 2015-09-28 21:15:38 +02:00
Lukasz Lenart b882681655 WW-4540 Implements Strict DMI aka SMI 2015-09-28 20:51:50 +02:00
Lukasz Lenart fdb6daec78 Simplifies checking of Strict DMI to simple getter 2015-09-26 08:57:44 +02:00
Lukasz Lenart 86afcbe611 Switches Strict DMI to true by default and allows to be disabled in user's package 2015-09-25 10:42:43 +02:00
Lukasz Lenart db62a57bcb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/struts 2015-09-23 08:56:51 +02:00