Commit Graph

2727 Commits

Author SHA1 Message Date
Lukasz Lenart 6420cd036c Adds Maven archetype catalog
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1085280 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 08:22:58 +00:00
Maurizio Cucchiara 1736b56db7 WW-3597 - XSS vulnerability in javatemplates plugin (thanks Gareth Faires)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1084872 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 08:11:57 +00:00
Maurizio Cucchiara 38a856d9f3 WW-3598 - FieldErrorHandler in javatemplates plugin does not respond to escape attribute (thanks Gareth Faires)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1084628 13f79535-47bb-0310-9956-ffa450edef68
2011-03-23 16:24:09 +00:00
Lukasz Lenart 7b1494af73 Solves WW-3590 - adds dedicated namespace for REST services
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082295 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 20:49:41 +00:00
Lukasz Lenart 3b61c7a1b9 Re-formats source code and add missing references to plugins
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082279 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 19:43:51 +00:00
Lukasz Lenart 7163c04107 Re-formats source code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082278 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 19:43:23 +00:00
Lukasz Lenart c0627796cc Solves problem with missing JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082277 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 19:42:50 +00:00
Lukasz Lenart 9f37969c8c Removes duplicated site settings
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1082276 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 19:41:23 +00:00
Maurizio Cucchiara c71fc60127 Restored subversion properties
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1081298 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 09:58:49 +00:00
Maurizio Cucchiara 1b3a35fb44 Restored subversion properties
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1081295 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 09:54:09 +00:00
Maurizio Cucchiara 27d525e1f9 WW-3587 - Enhanced Java Template features (thanks Dustin Digmann)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1081194 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 18:58:08 +00:00
Maurizio Cucchiara edd0724746 WW-3528 - Moved junit from scope compile to test
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1081087 13f79535-47bb-0310-9956-ffa450edef68
2011-03-13 12:04:54 +00:00
Wesley Wannemacher 032593d2a3 WW-3588, for the docs!
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1080764 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:23:57 +00:00
Johannes Geppert e0b26487dd WW-3437: JavaScript should following the JSLint recommendations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1079950 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 19:19:33 +00:00
Maurizio Cucchiara aa8dfb480e WW-3524 - Added field bridge support
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1079368 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 14:24:16 +00:00
Johannes Geppert 29c230d507 WW-3395: Client Validation don't display Global Messages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1078966 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 21:44:34 +00:00
Lukasz Lenart de378c89f6 Solves WW-3461 - additional synchronize block is not needed as the validatorCache is already synchronized map
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1078465 13f79535-47bb-0310-9956-ffa450edef68
2011-03-06 13:24:17 +00:00
Lukasz Lenart c302fafeaa Extends Jetty scanner configuration to reload server when any of configuration files will change
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1078462 13f79535-47bb-0310-9956-ffa450edef68
2011-03-06 13:09:41 +00:00
Lukasz Lenart 386ea93823 Adjusts poms to Maven 3 to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1077840 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 08:01:18 +00:00
Lukasz Lenart 38e068da57 Solves WW-3330 - <@s.action> broken in sitemesh freemarker decorator page
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1077833 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 06:51:59 +00:00
Lukasz Lenart 54bd1a58c1 Solves WW-3550 - LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap and clears unneeded synchronize() blocks
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1077832 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 06:46:42 +00:00
Lukasz Lenart 91ccd43e62 Solves WW-3547 - TextProvider.getText(String, List<Object>) changed to getText(String, List<?>)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 17:48:32 +00:00
Lukasz Lenart 7a79058c9b Cleanups poms and removes shading
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076547 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:28:33 +00:00
Lukasz Lenart 3db5298097 Removes shaded commons
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076544 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 07:19:37 +00:00
Lukasz Lenart 885ab3459e Solves WW-3579 - escapes actionName and methodName to prevent XSS vulnerability
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1076372 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 21:01:01 +00:00
Lukasz Lenart 35bd1c8644 Solves WW-3582 - moves call to handleValidToken() method outside of lock on session object
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1075681 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 06:56:27 +00:00
Lukasz Lenart f713cfc837 Solves WW-3582 - moves in call to handleValidToken() method outside of lock on session object
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1075679 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 06:54:13 +00:00
Lukasz Lenart b16ff13843 Solves WW-3577 - uses field initialization to improve performance
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1074051 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 06:53:20 +00:00
Lukasz Lenart 6f23804845 Example how to use global exceptions mapping
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1073268 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 09:07:43 +00:00
Lukasz Lenart 1abb426e05 Solves WW-3577 - cache reference to JspFactory to improve performance
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1071940 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 10:29:36 +00:00
John Lindal a98be307b4 WW-3514 remove JSONUtil.PATTERN_PREFIX; add JSONInterceptor.setExcludeWildcards()
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1070550 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:18:28 +00:00
John Lindal c5ead127ea WW-3514 remove blank lines
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1070546 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 16:14:15 +00:00
John Lindal 5caf6f976d WW-3570 fix parameter name
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1070019 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 03:48:08 +00:00
John Lindal 06eacee2e0 WW-3513 one more way to make customization easier
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068626 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 22:24:30 +00:00
John Lindal 6d8c7bd11e WW-3548 update copyright to 2011
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068561 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:35:46 +00:00
John Lindal 331b42cdcf WW-3570 slot for debugging information in RPCResponse
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1068552 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 20:23:12 +00:00
Lukasz Lenart 9ac1393e2d Adds missing assembly info about Gxp Plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066760 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 08:45:41 +00:00
Lukasz Lenart a2d9de071b Removes unused class as injecting is done in GxpResult
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066754 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 08:28:43 +00:00
John Lindal 69e87d7122 XW-387 enable derived classes of config and derived classes of config bulders
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066692 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 23:27:33 +00:00
John Lindal 495b137f1e WW-3513 allow derived classes to create derived classes of some objects
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066628 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 21:13:23 +00:00
John Lindal 984a7faad1 WW-3514 fix/enhance support for include/exclude parameters
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1066613 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 20:28:20 +00:00
John Lindal afdd100ec8 WW-3498 JSONResult should serialize model, just like JSONInterceptor injects into model
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065880 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 01:22:39 +00:00
John Lindal 2f500d831b WW-3475 add missing files from contributed zip (WW-2754)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065829 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 22:14:54 +00:00
John Lindal 6ad5953ea3 WW-3490 clean up file uploads when action throws exception
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065764 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:43:25 +00:00
John Lindal 62e78be60f WW-3498 Inject values into top of stack (model or action) instead of always using action. This does not break backward compatibility because nobody could use a model before this patch.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065743 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:16:38 +00:00
John Lindal 94629009bb WW-3546
provide API for overriding devMode per request, and check for override where appropriate


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065735 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:00:58 +00:00
John Lindal 629fed6f2e XW-388 ignore maven target directories
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065717 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 19:18:32 +00:00
John Lindal 9dbe619a31 WW-3500 If top of stack is not the action, assume it is the model and check for annotiations.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065716 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 19:16:35 +00:00
Lukasz Lenart ceafb49aef WW-3488 - adds documentation for three new copy options
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065533 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:16:55 +00:00
Lukasz Lenart 8750397b72 WW-3488 - adds copy field errors to exclude list during chaining
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1065530 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:03:29 +00:00