Commit Graph

4183 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
Victor Sosa db483ccd15 fix for WW-4269
blank double results in NumberFormatException being thrown on sending
JSON in request body
2015-12-30 13:36:58 -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
Lukasz Lenart e488353a05 WW-4570 Drops XWork core from min-lib 2015-11-28 16:20:25 +01:00
Lukasz Lenart fa41222859 WW-4570 Drops ASM from minimal set of Jars
(cherry picked from commit 90dbf54)
2015-11-28 16:09:46 +01:00
Lukasz Lenart a20aed381a WW-4570 Uses proper schema for assembly descriptor
(cherry picked from commit b4a18d0)
2015-11-28 16:09:36 +01:00
Lukasz Lenart 103a655f4a WW-4570 Defines a minimal jar set to be used by users
(cherry picked from commit 5d26c6c)
2015-11-28 16:09:27 +01:00
Aleksandr Mashchenko 705915abd2 WW-2069 Replaces 'id' and 'name' with 'var'. 2015-11-27 22:58:50 +02: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
Lukasz Lenart afb0c2a228 WW-4561 Upgrades OGNL to 3.1.1 2015-11-04 18:15:37 +01: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 2b4d37908d Drops reference to dropped interceptor 2015-10-30 09:52:09 +01: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
cnenning ed1b8cc7b3 refactored testEntrySet() to be not dependent on order of entries, fixes test executio wiht jdk8 2015-10-13 13:27:57 +02:00
cnenning e0f258f718 made spring-core an optional compile dependency, as that is required for javadoc of jdk8 2015-10-13 13:06:35 +02:00
cnenning 9d5b948190 Revert "Cleaned up project to be buildable with jdk8. Moved StrutsPortletTestCase to src/test where it belongs! Declared dependencies -junit-plugin and junit as scope test, as it should be."
This reverts commit 4bff5a8748.
2015-10-13 12:52:54 +02:00
cnenning 4bff5a8748 Cleaned up project to be buildable with jdk8. Moved StrutsPortletTestCase to src/test where it belongs! Declared dependencies -junit-plugin and junit as scope test, as it should be. 2015-10-13 10:21:43 +02:00
Lukasz Lenart 0dd0f045d2 Drops deprecation interceptor 2015-10-13 08:38:09 +02:00
Lukasz Lenart 9c5c568fc5 Upgrades to master-10 and cleans up plugins 2015-10-13 06:54:12 +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