Commit Graph
27737 Commits
Author SHA1 Message Date
Jacopo Cappellato adc41ad5bf Moved the thread pool executor object from GenericDAO to the DatabaseUtil class where it was actually used: this change simplifies the API and allows to shutdown the pool when it is no more needed.
Removed a series of methods that are no more needed after this refactoring or were not used.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627092 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 17:04:20 +00:00
Jacopo Cappellato c2b09a6027 Removed an old an unused class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1627001 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 13:12:49 +00:00
Jacopo Cappellato d4c5b5112a Small code enhancement: use FixedThreadPool to run the "pulse" worker threads.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626993 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 12:59:13 +00:00
Jacopo Cappellato f14003d799 Removed a bunch of never used classes from the base/concurrent package.
Provided better settings for the thread pools to avoid to keep alive threads that are only needed at startup.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626977 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 10:52:29 +00:00
Jacopo Cappellato 3e5b24806e Removed some code that was not used by the CatalinaContainer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626971 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 09:24:37 +00:00
Jacques Le Roux c19e450091 As suggested by Jacopo on dev ML moves the README file related to SSL certificate from framework/base/README to framework/base/config/README
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626881 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 19:48:37 +00:00
Jacques Le Roux 6833c2acd4 We agreed with Jacopo that the framework/base/cert directory is more misleading than helping. So this removes it.
I though keep the slightly expurgated README file for the sake of certificates creation history. I move it to framework/base

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626874 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 19:17:45 +00:00
Anil Patel 6147cdcf99 Use purposeFromDate instead of formDate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626797 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 14:51:43 +00:00
Jacques Le Roux 2935f03e6b The build-dev ant target now "needs a Subversion client installed" (better comment)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626687 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 08:04:45 +00:00
Jacopo Cappellato bac3fd452f Explicitly setting the keyPass and keyAlias to the Tomcat connector: this is similar to keystorePass but is more flexible when the keystore contains multiple values.
In the log info, don't print the content of Connector parameters that may contain a password. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626677 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 07:19:41 +00:00
Jacopo Cappellato 2f234a01af Further improvements to the way we use the Tomcat startup API: removed the deprecated (will be removed in Tomcat 8) memory realm (not really used in OFBiz) and a series of minor adjustments.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626531 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 06:23:57 +00:00
Ashish Vijaywargiya 56e5b7b85c Applied bug fix from jira issue - OFBIZ-3833 - Payment capture is less than Order total.
Thanks Mridul for reviewing the patch. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626476 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 16:30:05 +00:00
Ashish Vijaywargiya b08b9cffab Apply patch from jira issue - OFBIZ-4372 - Order terms not displayed correctly.
Thanks Divesh for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626470 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 16:19:39 +00:00
Ashish Vijaywargiya d94848c5c4 Applied patch from jira issue - OFBIZ-5721 - Generate pdf doesn't open in new target.
Thanks Pierre for reporting the issue and providing patch for the same. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626465 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:54:00 +00:00
Anil Patel 5d95b3522e [OFBIZ-5711] Nice catch. Thanks Rong Nguyen for reporting and Deepak Dixit for the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626464 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:53:08 +00:00
Ashish Vijaywargiya 26eef5eda9 Applied bug fix from jira issue - OFBIZ-5261- Party contact expiration and its hidden problems.
Thanks Mridul for providing the patch. Committing missing file from previous commit i.e GoogleCheckoutHelper.java.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626463 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:53:00 +00:00
Ashish Vijaywargiya 571ff5d91a Applied bug fix from jira issue - OFBIZ-5261- Party contact expiration and its hidden problems.
Thanks Mridul for providing the patch. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626462 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:46:01 +00:00
Ashish Vijaywargiya 3aee9fc009 Applied bug fix from jira issue - OFBIZ-254 - Noisy, Possibly Unnecessary Logging when a browser request is cancelled by the user.
Thanks Jacopo for reporting the issue and thanks Pranay for the contribution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626458 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:33:34 +00:00
Ashish Vijaywargiya ed21584130 Applied fix from jira issue - OFBIZ-5017 - Quick Refund Entire Order create a Payment without the Adjustment Item amount.
Sharing latest comment from Arun: Issue of shipping adjustments in the 'Quick Refund Entire Order' process is not regenerating but return total was calculating wrong (greater than order total) during this process. Please find attached patch for the same.
Thanks Arun and Deepak for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626455 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:11:49 +00:00
Anil Patel 6b0e29df5c [OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626453 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:05:26 +00:00
Anil Patel 20d5e4975f [OFBIZ-5675] Fix permission issues. Thanks Pierre Smits for bug report.
Thanks Deepak Dixit for fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626452 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:04:58 +00:00
Anil Patel 5db723cad4 [OFBIZ-5511] Thanks for reporting the issue Christian Carlow and Deepak Dixit for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626450 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 14:58:55 +00:00
Anil Patel dcc461ba1b [OFBIZ-3658] This is UX change, Some may like it and other may not.
Jira ticket is open for long so I assume its ok to modify UX as per the recommendations on it.

I don't see need for backporting this commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626447 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 14:14:36 +00:00
Anil Patel 2cb08e90f9 [OFBIZ-5370] Inventory reservation for orders is tricky subject. Its possible that business may have their own algorithm for inventory allocation.
reassignInventoryReservations services seems to be more complete so it makes sense to use it.

Thanks Christian Carlow for reporting the issue and Divesh Dutta for providing the fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626439 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 13:47:30 +00:00
Anil Patel e08ceaa080 [OFBIZ-5778] Add pagination to picklists screen. This simple change helps when we have big list of picklist.
Thanks Arun Patidar for load tests, reporting issue and providing fix.
 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626436 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 13:00:32 +00:00
Ashish Vijaywargiya 2793dfae21 Applied patch from jira issue - OFBIZ-5720 - When click the "Go Back" button, the style of the page is mess.
Thanks Amardeep for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626434 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:57:30 +00:00
Ashish Vijaywargiya 44bc632d5a Applied patch from jira issue - OFBIZ-1524 - Improve the way CreditCard.cardType field is managed.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Jacques Le Roux fb52cbdaf6 No reasons to use forward slashes here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626422 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 11:35:53 +00:00
Anil Patel dd8835f526 [OFBIZ-4838] Applied more recent patch. Thanks Tom Burns for reporting the issue and providing the fix.
Thanks Deepak Dixit for testing and making adjustments to the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626421 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 11:25:05 +00:00
Ashish Vijaywargiya 7859237729 Applied bug fix from jira issue - OFBIZ-5773 - <@htmlTemplate.renderDateTimeField> icon buttons disappear on some pages after refresh.
Thanks Akash Jain for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626419 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 11:14:02 +00:00
Ashish Vijaywargiya 2a35e2b77a Applied patch from jira issue OFBIZ-1705 - Merging of processCustomerSettings and createUpdateUser method.
Thanks Brajesh Patel for creating the issue, Thanks Arun Patidar for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626417 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:59:51 +00:00
Anil Patel 60bd1b1956 [OFBIZ-2942] Thanks Adam Heath for reporting the issue. The patch by Deepak Dixit on Jira ticket fixes the issue. Now fromDate is also an IN parameter, if found null, then default to now timestamp.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626414 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:30:22 +00:00
Jacques Le Roux fac348be8d As suggested by Jacopo on dev ML, uses "svn patch" rather than patch.exe, much simpler and elegant, though needs an svn client installed, which seems a correct compromise.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626413 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:28:01 +00:00
Ashish Vijaywargiya f4fc6c4962 Applied bug fix from jira issue - OFBIZ-3537 - Not all sales invoice item types are showing in listInvoiceItems screen.
Thanks Arun Patidar for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626409 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:08:51 +00:00
Ashish Vijaywargiya 0cc2d1a9ed No functional changes, Only done formating changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626408 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:50:42 +00:00
Anil Patel a97290d0ba [OFBIZ-5775] Patch resolves the issue.
Now reading createNew flag from request parameters, if not found then initialize it locally.
Thanks Deepak Dixit for the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626406 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:35:17 +00:00
Ashish Vijaywargiya 96790071d2 Applied fix from jira issue OFBIZ-2990 - New Order ship to partyid is ignored.
Thanks Mridul Pathak for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626404 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 09:05:50 +00:00
Ashish Vijaywargiya 2a9b32bdab Based on Adrian's comment on dev mailing list, Providing better fix for the issue report at - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak for the contribution.   

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626402 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 08:51:16 +00:00
Anil Patel ea115c8f81 [OFBIZ-3879] Patch from the jira issue resolves the problem. Now start rendering invoice only if valid data if found in the database.
Code needs reformatting.
Thanks Deepak Dixit for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626399 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 08:49:07 +00:00
Ashish Vijaywargiya 520737e6fd Applied patch from jira - OFBIZ-5777 - Picking screen get block when there are large number of records to process.
During load testing of OFBiz-13.07 and trunk, we observed that 'Picking' screen of Facility manager get block when there are large number of records to process. So need to fix this screen by limiting number of records to be process. 
Thanks Amardeep for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626388 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:37:24 +00:00
Ashish Vijaywargiya 18e552c812 Applied patch from jira issue - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak Dixit for the contribution.  

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626385 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:16:29 +00:00
Ashish Vijaywargiya c8cd3615e4 Applied patch from jira issue - OFBIZ-5769.
web.xml: empty allowPaths init param causes NPE
Thanks Deepak Dixit for the contribution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626384 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 06:02:55 +00:00
Jacques Le Roux c656003bb3 Fixes a typo in previous commit, better indent and place of delete task
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626291 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 18:34:45 +00:00
Jacques Le Roux 52b84466c8 Commit for "Integrate ant build-dev target in build target" https://issues.apache.org/jira/browse/OFBIZ-5779
This completes the build-dev Ant target which was not yet called by the main build target, it's now done. This commit adds the todos.exe and patch.exe commands in the tools directory for patch to work on Windows w/o having to have it installed and in the path. todos.exe should not be needed in most cases, but better be safe than sorry.

It's a long time this was itching me. The main reason I did not do it already is I did not find an easy way to patch on Windows in Ant.

The documentation at https://cwiki.apache.org/confluence/display/OFBIZ/Addressing+Custom+Requirements+In+OFBiz has been updated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626278 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 17:22:21 +00:00
Jacopo Cappellato 7ad9702ecb Trivial change to the format of an INFO message in order to be consistent with the format of the logs produced by the ServiceDispatcher.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626125 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 04:49:45 +00:00
Jacopo Cappellato 91573e60fb Attempt to improve the code that setups the Tomcat instance, the engine, hosts and contexts: this is still a work in progress but at least now the Tomcat instance is initialized without warning messages as was before.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1626060 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 19:48:01 +00:00
Jacopo Cappellato e0fc2b318c Simplified and improved the logic to setup the Tomcat connectors: the logic was overly complex and messed up (probably after all the various upgrades to new Tomcat versions), there were a series of parameters that could not be set, some hardcoded values, some old and no more used (by Tomcat) parameters.
Improved the information logged about the actual parameters set for the connectors.
Removed Javolution from CatalinaContainer.
Cleaned up the connector configuration file: removed no more used parameters, commented out some parameters (that didn't change the default), commented out some parameters in order to use the Tomcat default values that may improve the performance (e.g. maxThreads in OFBiz was set to a lower value than the default one of newer Tomcat releases and this limits the throughput in default OFBiz setups), updated URLs to Tomcat documentation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625919 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 09:00:15 +00:00
Jacques Le Roux 85244180eb Finally keeps Release.revision date simple in footer as suggested by Scott on Dev ML
No needs to over-engineering things there. A bit more smart than before though
This reverts r1625006 and r1624886 and adds CommonBuiltOn and better svninfo and gitinfo targets
I just regret that I lose the formatting effort I did in footer.ftl files, but I have not the guts to do it again.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625907 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 07:46:14 +00:00
Jacques Le Roux 5ebc58cc6a An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
jleroux: some changes I spotted in Nick Ho's patch which sounded sound to me. Some groups of label internal ending white spaces would have been caught by HTML rendering, but anyway better like that.
I also fixed a number of wrong line returns. And found duplicates zh labels entries that I will report to Nick Ho to fix. And finally fixed some errors introduced by Nick Ho I spotted, I hope there are not too much left :/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625893 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:54:04 +00:00
Jacques Le Roux 3b118d4842 An excerpt of a patch from Nick Ho for "Add/Revise Traditional Chinese (zh-TW) translations" https://issues.apache.org/jira/browse/OFBIZ-5764
added/revised zh-TW translations in the framework, applications and specialpurpose folders to have consistent, commonly-used meaningful terms in Traditional Chinese.

jleroux: from Nick Ho's patch I have extracted only the Chinese changes, w/o the proposed  dash to underscore changes
This contains notably this 14 "zh" (not "sh-TW") changes:
<value xml:lang="zh">人将由电子邮件接受一个临时密码。</value><!-- was 客户将通过电子邮件收到一个临时密码。 -->
<value xml:lang="zh">合计属于公司: </value>
<value xml:lang="zh"> 完整文本:${fullText}</value>
<value xml:lang="zh">供货商佣金百分比</value>
<value xml:lang="zh">文本大小</value>
<value xml:lang="zh">值</value>
<value xml:lang="zh">算子</value>
<value xml:lang="zh">不能转移已序列化的库存。</value>
<value xml:lang="zh">货运收据</value>
<value xml:lang="zh">获取标识为 ${productStoreShipMethId} 的产品店铺送货方法(ProductStoreShipmentMeth)时出错:${errorString}</value>
<value xml:lang="zh">中国人民币元</value>
<value xml:lang="zh">如果选择"specify other",下拉框旁边会出现文本框。参考form的drop-down元素的other-field-size属性说明</value>
<value xml:lang="zh">文本消息</value>
<value xml:lang="zh">能够收到和解析XML消息,但是BSR->NOUN(买卖关系->名词) ${bsrNoun} 和/或 BSR->VERB(买卖关系->动词) ${bsrVerb} 是空的</value>
I have no competency to judge these changes, but from previous Shi Jinghai's feedback I believe there are OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 20:44:07 +00:00