svn commit: r1482177 - in /ofbiz/trunk/framework/common: servicedef/services.xml src/org/ofbiz/common/FtpServices.java

2013-05-13 Thread hansbak
Author: hansbak Date: Tue May 14 02:53:33 2013 New Revision: 1482177 URL: http://svn.apache.org/r1482177 Log: add an optional timeout parameter to the ftp service Modified: ofbiz/trunk/framework/common/servicedef/services.xml ofbiz/trunk/framework/common/src/org/ofbiz/common/FtpServices.j

svn commit: r1482152 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: condition/ connection/ model/

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 23:52:52 2013 New Revision: 1482152 URL: http://svn.apache.org/r1482152 Log: OPTIMIZE: Remove all SuppressWarnings("unchecked") from the entity engine. Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java ofbiz/tr

svn commit: r1482132 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:31:20 2013 New Revision: 1482132 URL: http://svn.apache.org/r1482132 Log: FEATURE: If the user gets forcibly logged out, store a message into the request that mentions this; currently, nothing uses this, but that is coming soon. Modified: ofbiz/trunk/framewo

svn commit: r1482131 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:31:12 2013 New Revision: 1482131 URL: http://svn.apache.org/r1482131 Log: FIX: in urlEncodeArgs, don't call obj.toString if the obj is an Array or a Collection; instead, iterate over each memeber and encode that. Modified: ofbiz/trunk/framework/base/src/org/

svn commit: r1482130 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:31:04 2013 New Revision: 1482130 URL: http://svn.apache.org/r1482130 Log: FEATURE: Allow events to return "none"; they can already return null, which stops processing. Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

svn commit: r1482129 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:30:55 2013 New Revision: 1482129 URL: http://svn.apache.org/r1482129 Log: FEATURE: Allow first-visit and preprocessor events to run "none"; this is the same as null, and will stop processing. Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/contr

svn commit: r1482128 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:30:47 2013 New Revision: 1482128 URL: http://svn.apache.org/r1482128 Log: FEATURE: Split checkLogin, creating checkLogout, which is a helper method that returns a valid UserLogin entity, or null if permissions or other reasons cause it to be invalid for the curre

svn commit: r1482127 - /ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:30:40 2013 New Revision: 1482127 URL: http://svn.apache.org/r1482127 Log: FEATURE: Make isUserLoggedIn(request), loginUserWithUserLoginId(request, response, userLoginId) and hasBasePermission(userLogin, request) public, instead of private/protected. Modified:

svn commit: r1482126 - /ofbiz/trunk/framework/base/config/certificate.properties

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:30:32 2013 New Revision: 1482126 URL: http://svn.apache.org/r1482126 Log: FIX: Forgot to add this new file when I added the ability to disable ssl certificate checking. Added: ofbiz/trunk/framework/base/config/certificate.properties Added: ofbiz/trunk/frame

svn commit: r1482125 - /ofbiz/trunk/framework/service/build.xml

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 22:30:25 2013 New Revision: 1482125 URL: http://svn.apache.org/r1482125 Log: FIX: I have no idea why an explicit is neeeded for build/rmi; in all cases I could find, it was already auto-created. It's only the buildbot that is broken. Modified: ofbiz/trunk/fra

svn commit: r1482069 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:06:11 2013 New Revision: 1482069 URL: http://svn.apache.org/r1482069 Log: FEATURE: Add a join() variant that takes a collection. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/

svn commit: r1482067 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:06:03 2013 New Revision: 1482067 URL: http://svn.apache.org/r1482067 Log: OPTIMIZE: join() now calls UtilValidate.isEmpty(). Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/StringUtil.java Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base

svn commit: r1482066 - in /ofbiz/trunk/applications: manufacturing/webapp/manufacturing/bom/BomSimulation.ftl product/webapp/facility/shipment/WeightPackage.ftl

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:56 2013 New Revision: 1482066 URL: http://svn.apache.org/r1482066 Log: FORMATTING: Add some final newlines in a few files. Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl ofbiz/trunk/applications/product/we

svn commit: r1482065 - in /ofbiz/trunk: applications/manufacturing/webapp/manufacturing/bom/ applications/order/webapp/ordermgr/entry/ applications/order/webapp/ordermgr/entry/cart/ applications/order

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:47 2013 New Revision: 1482065 URL: http://svn.apache.org/r1482065 Log: FIX: Start using ${externalKeyParam} everywhere consistently. I only did what was included by the main ordermgr view order screen. Modified: ofbiz/trunk/applications/manufacturing/we

svn commit: r1482064 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/MultiTrustManager.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:33 2013 New Revision: 1482064 URL: http://svn.apache.org/r1482064 Log: FEATURE: Add ability to disable client and server side certificate checking. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/MultiTrustManager.java Modified: ofbiz/trunk

svn commit: r1482062 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:26 2013 New Revision: 1482062 URL: http://svn.apache.org/r1482062 Log: FEATURE: Reworked to expose a getSSLContext helper method, called by everything else. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/SSLUtil.java Modified: ofbiz/trunk/f

svn commit: r1482061 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:18 2013 New Revision: 1482061 URL: http://svn.apache.org/r1482061 Log: FIX: In stripNamedParamsFromQueryString, prevent && from occuring in the resultant buffer. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/UtilHttp.java Modified: ofbiz/t

svn commit: r1482060 - /ofbiz/trunk/framework/service/build.xml

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:11 2013 New Revision: 1482060 URL: http://svn.apache.org/r1482060 Log: FEATURE: Instead of placing the rmi jar into build/lib, but with a .raj extension, place it into build/rmi, and let it keep the correct .jar extension. This means you don't need to rename t

svn commit: r1482059 - in /ofbiz/trunk/framework/common/webcommon/WEB-INF: common-controller.xml handlers-controller.xml

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:05:06 2013 New Revision: 1482059 URL: http://svn.apache.org/r1482059 Log: FEATURE: Split out the definition of all the handlers into a separate file; this allows for webapps that need to do non-standard things, but not have to define all the available handlers th

svn commit: r1482057 - in /ofbiz/trunk/framework: base/config/passwords.properties entity/config/entityengine.xml

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:04:59 2013 New Revision: 1482057 URL: http://svn.apache.org/r1482057 Log: FEATURE: Switch derby to use the external passwords.properties. Modified: ofbiz/trunk/framework/base/config/passwords.properties ofbiz/trunk/framework/entity/config/entityengine.x

svn commit: r1482056 - in /ofbiz/trunk/framework: base/config/passwords.properties entity/dtd/entity-config.xsd entity/src/org/ofbiz/entity/config/EntityConfigUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:04:51 2013 New Revision: 1482056 URL: http://svn.apache.org/r1482056 Log: FEATURE: Allow for passwords in entityengine.xml to come from an external passwords.properties file; nothing actually uses this yet, however. Added: ofbiz/trunk/framework/base/config/p

svn commit: r1482055 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity: config/EntityConfigUtil.java connection/DBCPConnectionFactory.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 20:04:43 2013 New Revision: 1482055 URL: http://svn.apache.org/r1482055 Log: OPTIMIZE: Move the fetching of the jdbc-password attribute into a single global static method. Soon, this logic will be changed to support looking the password up in an external file, so t

svn commit: r1482005 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:02:16 2013 New Revision: 1482005 URL: http://svn.apache.org/r1482005 Log: FEATURE: Add getFirst/getOnly variants that take a collection. Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java Modified: ofbiz/trunk/framework/entity/

svn commit: r1482004 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:02:08 2013 New Revision: 1482004 URL: http://svn.apache.org/r1482004 Log: FEATURE: getFirst/getOnly now use UtilValidate to verify non-emptiness. Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java Modified: ofbiz/trunk/framewor

svn commit: r1482003 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/config/ResourceLoader.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:02:01 2013 New Revision: 1482003 URL: http://svn.apache.org/r1482003 Log: FEATURE: Switch ResourceLoader.getXmlDocument() to a version of UtilXml.readXmlDocument that records line/column information. Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/co

svn commit: r1482002 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:01:54 2013 New Revision: 1482002 URL: http://svn.apache.org/r1482002 Log: FEATURE: When there is no configured eca handler configured, only print out the warning once, instead of on every single call. This actually gives a rather impressive performance improveme

svn commit: r1482000 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/container/ContainerLoader.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:01:47 2013 New Revision: 1482000 URL: http://svn.apache.org/r1482000 Log: FIX/FEATURE: When shutting down, make certain to close down log4j as well. This will ensure that any asynchronous logs have finished writing to disk, or to the console. Modified: ofbi

svn commit: r1481999 - /ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:01:39 2013 New Revision: 1481999 URL: http://svn.apache.org/r1481999 Log: FIX: Make commons-daemon reflection access work again; this was broken because the constructor was private, and the init(String[]) method was removed. Modified: ofbiz/trunk/framework/s

svn commit: r1481998 - /ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:01:32 2013 New Revision: 1481998 URL: http://svn.apache.org/r1481998 Log: FORMATTING: The empty constructor body is no longer on a single line. Modified: ofbiz/trunk/framework/start/src/org/ofbiz/base/start/Start.java Modified: ofbiz/trunk/framework/start/s

svn commit: r1481997 - /ofbiz/trunk/tools/functions.sh

2013-05-13 Thread doogie
Author: doogie Date: Mon May 13 18:01:25 2013 New Revision: 1481997 URL: http://svn.apache.org/r1481997 Log: FEATURE: Add ability to call an external hook script; this can be useful for redirecting runtime/data/derby to /dev/shm, for greatly speeding up test cases. Modified: ofbiz/trunk/tools

svn commit: r1481881 - in /ofbiz/branches/release11.04: ./ framework/base/lib/j2eespecs/ framework/catalina/lib/

2013-05-13 Thread jacopoc
Author: jacopoc Date: Mon May 13 14:39:07 2013 New Revision: 1481881 URL: http://svn.apache.org/r1481881 Log: Upgraded Tomcat from 6.0.36 to 6.0.37 Added: ofbiz/branches/release11.04/framework/base/lib/j2eespecs/tomcat-6.0.37-annotations-api.jar - copied unchanged from r1481816, ofbi

svn commit: r1481863 - in /ofbiz/branches/release10.04: ./ framework/base/lib/j2eespecs/ framework/catalina/lib/

2013-05-13 Thread jacopoc
Author: jacopoc Date: Mon May 13 14:19:36 2013 New Revision: 1481863 URL: http://svn.apache.org/r1481863 Log: Upgraded Tomcat from 6.0.36 to 6.0.37 Added: ofbiz/branches/release10.04/framework/base/lib/j2eespecs/tomcat-6.0.37-annotations-api.jar - copied unchanged from r1481834, ofbi

svn commit: r1481784 - in /ofbiz/branches/release12.04: ./ framework/catalina/lib/

2013-05-13 Thread jacopoc
Author: jacopoc Date: Mon May 13 10:41:06 2013 New Revision: 1481784 URL: http://svn.apache.org/r1481784 Log: Upgraded Tomcat from 7.0.32 to latest 7.0.40 Added: ofbiz/branches/release12.04/framework/catalina/lib/ecj-4.2.2.jar (with props) ofbiz/branches/release12.04/framework/catali

svn commit: r1481739 - in /ofbiz/trunk: ./ framework/catalina/lib/

2013-05-13 Thread jacopoc
Author: jacopoc Date: Mon May 13 09:09:16 2013 New Revision: 1481739 URL: http://svn.apache.org/r1481739 Log: Upgraded Tomcat from 7.0.39 to latest 7.0.40 Added: ofbiz/trunk/framework/catalina/lib/ecj-4.2.2.jar (with props) ofbiz/trunk/framework/catalina/lib/tomcat-7.0.40-catalina-ha.j