Commit Graph

348 Commits

Author SHA1 Message Date
Lukasz Lenart e03ff72861 [maven-release-plugin] prepare release STRUTS_2_3_16_3 2014-05-02 17:10:41 +02:00
Lukasz Lenart bca525da8d Sets version in poms to -SNAPSHOT 2014-05-02 15:36:19 +02:00
Lukasz Lenart 7dd83dff48 [maven-release-plugin] prepare release STRUTS_2_3_16_2 2014-04-24 21:32:35 +02:00
Lukasz Lenart 149181a776 Adds test cases to test ClassLoader pollution 2014-04-24 19:52:03 +02:00
Lukasz Lenart 6315241719 Uses global exclude patterns to initialise excludeParams 2014-04-24 19:51:40 +02:00
Lukasz Lenart 2e2da29216 Moves global exclude patterns into dedicated class 2014-04-24 19:51:02 +02:00
Lukasz Lenart a2d0ecdcd3 Sets -SNAPSHOT version 2014-04-22 11:54:59 +02:00
Lukasz Lenart 6cddee6fc5 [maven-release-plugin] prepare release STRUTS_2_3_16 2014-03-01 21:31:38 +01:00
Lukasz Lenart 48f11742ed Updates <scm> tag 2014-03-01 16:57:21 +01:00
Lukasz Lenart 19e73e48fa Reverts version to -SNAPSHOT 2014-03-01 15:34:10 +01:00
Lukasz Lenart ced5f0ea1a [maven-release-plugin] prepare release STRUTS_2_3_16
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1546710 13f79535-47bb-0310-9956-ffa450edef68
2013-11-30 09:35:02 +00:00
Lukasz Lenart 3568814288 WW-4243 Adds missing BeanSelectionProvider interface
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1543731 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 08:03:09 +00:00
Lukasz Lenart 615bf35f4f WW-4233 Adds UTF-8 encoding property to all poms
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534982 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 10:56:53 +00:00
Lukasz Lenart 391b8ce2c3 WW-4131 Implements new ActionProxyFactory to cooperate with PrefixBasedActionMapper
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534936 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 07:33:44 +00:00
Lukasz Lenart 1189735db7 WW-4152 Solves problem with NPE as a side effect of concurrency issue, removes old code, use simpler dependency graph
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534634 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 13:42:51 +00:00
Lukasz Lenart f1b6998762 Add toString method for better debugging
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534531 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 08:02:45 +00:00
Lukasz Lenart 1702bc6ec2 WW-4066 Solves problem with StringIndexOutOfBoundsException when message was already translated
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534156 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 13:51:04 +00:00
Lukasz Lenart 4e98aaaa1b WW-4109 WW-4154 Reverts to previous behaviour where both ParametersInterceptor and ParameterNameAware must accept parameter
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534123 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 12:19:52 +00:00
Lukasz Lenart 00427de1dc WW-4192 Reduces log verbosity about missing property
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534091 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 10:57:43 +00:00
Lukasz Lenart 0efcc08445 WW-4023 Adds action: and method: prefixes to excludeParams list and changes order to first check for excludeParams and then for acceptedParams in ParametersInterceptor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1534089 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 10:49:52 +00:00
Lukasz Lenart afae14eb86 WW-4162 Doesn't check for disallowed ognl expressions if getting from expression cache
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1533360 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 08:39:11 +00:00
Lukasz Lenart ed19d82efa WW-3603 Prevents creating new map entries
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1532974 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 06:11:32 +00:00
Lukasz Lenart 4c45a9433b Removes duplicated conversion
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1524630 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 06:38:10 +00:00
Lukasz Lenart 7cad18ce97 Removes unused field
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1524629 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 06:36:48 +00:00
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
René Gielen 2cba188601 WW-4193 - Patch by Christoph Nenning
With this patch it is checked if devMode is active and if logMissingProperties is enabled before the exception is logged
- refactored shouldLogNoSuchPropertyWarning() to shouldLogMissingPropertyWarning() and using it to handle MethodFailedExceptions.
- updated void handleOgnlException(String expr, Object value, boolean throwExceptionOnFailure, OgnlException e) to use it.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520763 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 13:26:25 +00:00
Christian Grobmeier 5efbfe4536 removed unnecessary boxing, null check was always true
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520015 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 13:20:34 +00:00
Lukasz Lenart f14b4cb418 WW-4186 Removes static and uses instance value to set enableExpressionCache constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519588 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 07:37:04 +00:00
Lukasz Lenart 7e2f9f6862 WW-4138 Solves problem with NPE when passed expression is null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508625 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:47:01 +00:00
Lukasz Lenart fce9681270 WW-4158 Defines new factory interfaces with default implementations and uses them in ObjectFactory, docs updated as well
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508392 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 11:27:46 +00:00
Bruce Allen Phillips 49d339f8f3 Added the same warning that appears in the ParametersInterceptor about using ParameterNameAware to the JavaDoc for this interface
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508075 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 14:07:56 +00:00
Bruce Allen Phillips 5545efb225 fixed links to ParameterNameAware that were incorrectly formatted in the last two paragraphs of the class JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507786 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 11:53:55 +00:00
Lukasz Lenart 3472d4e16c WW-4144 Renames ResultBuilder to ResultFactory to keep convention
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507232 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 09:16:06 +00:00
Lukasz Lenart cb608773a3 WW-4144 Defines ParamNameAwareResult interfaces and ResultBuilder to be used with
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506872 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 10:03:42 +00:00
Lukasz Lenart b370886797 WW-4144 Defines new extension point to build Results and adjusts ObjectFactory to use it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506865 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 09:42:16 +00:00
Lukasz Lenart e366ae8510 Adds braces for better visibility
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506419 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 07:00:37 +00:00
Bruce Allen Phillips 34e0f14820 updated JavaDoc for the getText methods to clearly statue that if no value is found for the provided key then the key is returned
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1505391 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 13:56:57 +00:00
Bruce Allen Phillips c6fa096bdd WW-4099 updated JavaDoc for getText methods to clearly state that if there is no value found for the provided key then the method should return the provided key.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1505390 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 13:55:36 +00:00
Christian Grobmeier 17ded8b44a WW-4128: Document that I18nInterceptor sets the Locale according to browser settings (thanks to Antonio Sánchez)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1503163 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 10:13:26 +00:00
Christian Grobmeier b3ba2a50ad WW-4141: Added support for saving locale in cookie
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1503160 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 10:06:07 +00:00
Lukasz Lenart 1c4a8efe76 WW-4119 Improves loop
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502452 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:17:39 +00:00
Lukasz Lenart df7bd8b4eb WW-4122 Improves loop
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502449 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:14:18 +00:00
Lukasz Lenart 5766db9bb4 WW-4123 Improves loops
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502447 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:13:11 +00:00
Lukasz Lenart 12e83a40da Uses LinkedList to avoid problems with sorting under different JVMs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1501698 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 09:54:50 +00:00
Lukasz Lenart 597b14b13b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1493007 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 09:30:23 +00:00
Lukasz Lenart edb9c5e120 [maven-release-plugin] prepare release STRUTS_2_3_15
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1493005 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 09:29:42 +00:00
Christian Grobmeier 9b93e5e050 made private methods protected
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492644 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 12:36:34 +00:00
Christian Grobmeier d7ad759995 some refactorings for better readability
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492633 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 11:57:16 +00:00
Christian Grobmeier bbe2a3b81b renamed local variable to remove underscore
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492624 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 11:21:20 +00:00
Christian Grobmeier 89cd538a53 removed unnecessary if
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492613 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 10:30:31 +00:00