Commit Graph

2685 Commits

Author SHA1 Message Date
Lukasz Lenart d38efae5f0 WW-4963 Implements new SessionAware interface
that uses withSession instead of setSession
2018-09-19 09:20:42 +02:00
Yasser Zamani 0a3e2fa8a4 monitor file only if needed
See also: WW-4948

(cherry picked from commit b816cc1)
2018-09-17 11:02:26 +04:30
Yasser Zamani 4714fe889c delete temp files on close instead of on JVM exists
(cherry picked from commit b802baa)
2018-09-17 11:02:02 +04:30
Lukasz Lenart f523a341d4 WW-4954 Moves XWorkList out of util package 2018-09-04 07:27:54 +02:00
Lukasz Lenart b3e51d8a3f Merge pull request #246 from aleksandr-m/feature/package_excluded_log
Better logging message (for WW-4954)
2018-09-03 08:11:35 +02:00
Lukasz Lenart 537a1b1abb Adds missing header with license 2018-09-03 07:20:05 +02:00
Aleksandr Mashchenko be1a93b0d5 Improve log messages in SecurityMemberAccess 2018-08-31 22:25:05 +03:00
Aleksandr Mashchenko b213d58f54 Better logging message (for WW-4954) 2018-08-31 00:05:42 +03:00
Lukasz Lenart 6420f4068f WW-4954 Adds a test case to cover accessing ArrayList 2018-08-29 07:57:32 +02:00
Sanghyuk Jung 6b8d5735d1 Fix logging messages 2018-08-27 20:26:58 +09:00
Lukasz Lenart 7bb1ea25e0 Adds additional test to check is ArrayList.size() is accessible 2018-08-24 13:05:02 +02:00
Lukasz Lenart 0fb7daf095 Fixes conflicts after cherry-picked changes from 2.5.x branch 2018-08-24 10:34:06 +02:00
Yasser Zamani 2f3d33aead add an extra unit test 2018-08-24 10:26:12 +02:00
Lukasz Lenart e88f1fa45f Fixes how dependencies are injected into constructor 2018-08-24 10:26:00 +02:00
Yasser Zamani 6af8531cea delete redundant code for performance 2018-08-24 10:25:05 +02:00
Lukasz Lenart eec0d8e877 Validates action, namespace and method in the same way 2018-08-24 10:24:57 +02:00
Lukasz Lenart 9b4301c495 Adds more general exclusion 2018-08-24 10:24:44 +02:00
Lukasz Lenart c2b2511f85 Adds proper handling of primitive types 2018-08-24 10:23:36 +02:00
Lukasz Lenart faf1ac96b5 Makes OgnlUtil more immutable 2018-08-24 10:21:36 +02:00
Lukasz Lenart 8d86442ce7 Increases scope when location parsing is avoided 2018-08-24 10:18:49 +02:00
Lukasz Lenart 2877a656e0 Avoids parsing namespace when using existing namespace 2018-08-24 10:18:38 +02:00
Lukasz Lenart 9a860679d0 Merge pull request #236 from sullis/DispatcherTest-init
add unit test for Dispatcher init()
2018-06-20 07:38:12 +02:00
Sean Sullivan 31cb2ce21a add 'com.opensymphony.xwork2.ognl.' to excludedPackageNames 2018-06-19 17:42:26 -07:00
Sean Sullivan 43da055994 add unit test for Dispatcher init() 2018-06-19 10:00:25 -07:00
Lukasz Lenart 61ed292b8c Merge pull request #231 from sullis/exclude-package-sun-misc
add 'sun.misc.' to struts.excludedPackageNames
2018-06-18 10:44:43 +02:00
Sean Sullivan 9c3f658deb WW-4769 add unit tests to verify immutable collections 2018-06-17 22:30:25 -07:00
Sean Sullivan 8ab6e2c6d2 add 'sun.misc.' to struts.excludedPackageNames 2018-06-17 21:38:20 -07:00
Aleksandr Mashchenko 5c76015ccd Remove deprecated exceptions 2018-06-03 23:00:59 +03:00
Yasser Zamani b804b86744 delete unused local variable timerKey
See also WW-4779
2018-05-30 12:56:10 +04:30
Stefaan Dutry 5f51c4c921 drop convertIfExist method 2018-05-28 08:05:35 +02:00
Stefaan Dutry 3ce591c985 fix tests by fixing constantnames 2018-05-27 16:21:43 +02:00
Stefaan Dutry 30fafe4ddb fix test by fixing config constant name 2018-05-27 16:13:06 +02:00
Stefaan Dutry b9e9d5c6dc fix order, and therefore value, of the builder constants 2018-05-24 21:49:13 +02:00
Stefaan Dutry 174f2b8359 fix constant used for addition accepted patterns 2018-05-24 21:46:27 +02:00
Stefaan Dutry cb280797a2 fix broken tests.
config files still contained old constant values
2018-05-24 16:11:01 +02:00
Stefaan Dutry cdcfccafe8 remove deprecated XWork constants
Replaces all occurences of XWork constants with StrutsConstants

Issue:
- WW-4792
2018-05-24 15:03:10 +02:00
Stefaan Dutry 38c304696b further clean up after rmoving profiling layer
* removed empty catch blocks
* removed no longer used Strings
2018-05-21 22:48:45 +02:00
Stefaan Dutry db0f5b50bc remove ProfilingTimerBean
Part of removing the profiling layer

Issue:
* WW-4779
2018-05-21 21:53:29 +02:00
Stefaan Dutry 14c0f47d84 remove UtilTimerStack
Part of removing the profiling layer

Issue:
* WW-4779
2018-05-21 21:30:56 +02:00
Stefaan Dutry 1045836778 remove ObjectProfiler
Part of removing the profiling layer

Issue:
* WW-4779
2018-05-21 21:01:56 +02:00
Stefaan Dutry 2ab4657d76 remove TimerInterceptor
Part of removing the profiling layer

Issue:
* WW-4779
2018-05-21 20:28:32 +02:00
Lukasz Lenart b2dcd87533 Merge pull request #221 from yasserzamani/WW-4932
WW-4932 honor .properties file before the generic parametrics
2018-05-21 07:24:14 +02:00
Lukasz Lenart e7ed6e3743 Merge pull request #223 from sdutry/WW-4763-b
drop deprecated logging layer
2018-05-21 07:05:00 +02:00
Stefaan Dutry 03ade0597d drop deprecated logging layer
issue:
* WW-4763
2018-05-19 21:18:46 +02:00
Stefaan Dutry 5b167b8efd drop searchValueStack attribute from the s:text tag
issue:
* WW-4713
2018-05-19 17:10:45 +02:00
Yasser Zamani b37c09e4f1 honor .properties file before the generic parametrics
See also WW-4932
2018-05-18 19:01:10 +04:30
Yasser Zamani 57901aba50 Merge pull request #125 from lukaszlenart/immutable-context
Immutable context
2018-05-03 13:14:56 +04:30
Lukasz Lenart 058409ea16 Reverts the previous access state of the method 2018-05-02 08:06:46 +02:00
Yasser Zamani 5ebd716fb7 Merge pull request #216 from lukaszlenart/javaee5
Upgrade to Java EE5
2018-04-24 13:13:56 +04:30
Aleksandr Mashchenko 8eced2493c WW-4865 Change submitUnchecked type to Boolean 2018-03-23 22:20:44 +02:00