Fixes the Poodle vulnerability following indications from "The Poodle fixer" at https://issues.apache.org/jira/browse/OFBIZ-5848

We will certainly have to evolve this in the future because this correction forces the protocol to TLSv1.2

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1636864 13f79535-47bb-0310-9956-ffa450edef68
Fixes the Poodle vulnerability following indications from "The Poodle fixer" at https://issues.apache.org/jira/browse/OFBIZ-5848

Note that this fix requires to use at least Tomcat 6.0.32 as explained at https://blogs.atlassian.com/2014/10/ssl-poodle/#comment-190966

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1636869 13f79535-47bb-0310-9956-ffa450edef68
Try to fix intermittent entity test failures.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1636896 13f79535-47bb-0310-9956-ffa450edef68
Fix bug in EntityQuery where the moment specified in filterByDate(moment) was not being honoured.  Adds a new method filterByDate(Timestamp, String...) to allow a moment to be specified when explicitly specifying filterByFieldNames.  Thanks to Pritam Kute for the report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1636970 13f79535-47bb-0310-9956-ffa450edef68
Fix JS bug caused by recent screen widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-5856.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637050 13f79535-47bb-0310-9956-ffa450edef68
Comment out recently added entity test because it is still having problems. I will look into this more later.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637063 13f79535-47bb-0310-9956-ffa450edef68
Fixed UtilProperties.java bug caused by removal of Javolution - https://issues.apache.org/jira/browse/OFBIZ-5857.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637064 13f79535-47bb-0310-9956-ffa450edef68
I forgot to commit this fix

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637089 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-5793 Enhanced logic to run product subscription expiry service only once when the subscription expires:
a) augment the OFBiz data model with the new field: Subscription.expirationCompletedDate
b) modify the algorithm of runServiceUponSubscriptionExpiry to also check whether the expiry service has already run, by checking that expirationCompletedDate is null.
if expirationCompletedDate is null (and the other conditions are satisfied), run the service in SubscriptionResource.serviceNameOnExpiry and update the date/time into expirationCompletedDate
if expirationCompletedDate is not null, skip the expired subscription and move to the next

Thanks to Ivan Cauchi for the patch (slightly modified by me).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637535 13f79535-47bb-0310-9956-ffa450edef68
Manage multi pk with sub-sequence on entity-auto (OFBIZ-5800), 

Add the possibility to the entity-auto engine on the create action to manage entities with more than 2 primary keys which one is under sub sequence or fromDate, like PerfReview (employeePartyId, employeeRoleTypeId, perfReviewId) or PartyQual (partyId, partyQualTypeId, fromDate).

Improve return message for the create action if the entity value exist and the delete action if the entity value not exist instead of the database message error.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637596 13f79535-47bb-0310-9956-ffa450edef68
Correct parameter fields present direclty on target value instead of use the parameter's link element that generate for partyId this string : '∂yId' , thanks for  Supachai Chaima-ngua and Francis Douet for the alert on OFBIZ-5847

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637716 13f79535-47bb-0310-9956-ffa450edef68
Correct createPartyRole call with pk collision risk detected by Supatthra Nawicha on OFBIZ-5853, while waiting for discussion if revert of createPartyRole from entity-auto is need or not

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637721 13f79535-47bb-0310-9956-ffa450edef68
Upgraded httpclient libraries. HttpClient defaults to TLS instead of SSLv3.

http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES-4.3.x.txt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1637883 13f79535-47bb-0310-9956-ffa450edef68
Added to the OFBiz DSL the ability to invoke the new EntityQuery builder.
Modified two calls in OrderView.groovy to demonstrate the new feature.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1638054 13f79535-47bb-0310-9956-ffa450edef68
No need to import the EntityQuery class when the new OFBiz DSL methods (select or from) are used to use the EntityQuery builder.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1638056 13f79535-47bb-0310-9956-ffa450edef68
Converted the OrderView.groovy script to use the runService DSL method instead of the dispatcher.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1638074 13f79535-47bb-0310-9956-ffa450edef68
Enhanced the OFBiz DSL with an alternative way of invoking a service; converted one service call in OrderView.groovy to demonstrate its usage.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1638801 13f79535-47bb-0310-9956-ffa450edef68
Improved unit test that was failing when executed in certain platforms.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639373 13f79535-47bb-0310-9956-ffa450edef68
Fix NPE caused by recent widget refactoring - https://issues.apache.org/jira/browse/OFBIZ-5875.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639551 13f79535-47bb-0310-9956-ffa450edef68
A patch from Pierre Gaudin for "use requestParameters for customMethod call" https://issues.apache.org/jira/browse/OFBIZ-5822

For a content, you can set a custom method that perform an action before content's rendering.
Unfortunately, in the customMethod call, the request Parameters can't be used because they are not set into the map that is used to create custom method IN parameters.
This patch solves this problem

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1639606 13f79535-47bb-0310-9956-ffa450edef68