Commit Graph
20963 Commits
Author SHA1 Message Date
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
Jacques Le Roux ce7805dd45 Better way for deployed-date-time ant target, now deployed-on
Still in discussion in dev ML, notably if we should backport

Put back the CommonDepth label inadvertently removed, thanks to Scott's review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625006 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 12:08:08 +00:00
Jacques Le Roux 7241a35012 No functional changes, better JavaDoc only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1625001 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 11:47:19 +00:00
Jacques Le Roux 70a364f81c Adds an isFile() method in FileUtil class.
It checks if the specified fileName exists and is a file (not a directory)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624996 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 11:02:35 +00:00
Jacques Le Roux ecfcd44d06 Adds deployed-date-time and clean-deployed-date-time targets. To set the date and time of last deployment info in the footer
Puts a check on svinfo and gitinfo (only used if it's a local copy)
Adds and uses CommonDeployedThe label in footer.ftl with the new deployed-date-time  target
Uses CommonPoweredBy in bizznesstime footer.ftl
Minor changes and formatting in the footer.ftl files
Better French label for CommonPoweredBy


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624886 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:56:34 +00:00
Jacques Le Roux 1c32c00b3e Fixes a bug introduced with commits for OFBIZ-4902.
When you replace the Freemarker if_exists built-in with the ! operator, when the ! is followed by a + you need to evaluate the expression conditioned by the ! 1st. Else the following chars are used as default value. In other words, you need to put parenthesis around the expression including the ! operator
I tested with tomahawk/includes/appbarClose.ftl and header.ftl files of bluelight and droppingcrumbs themes
I then applied the same scheme on catalog/categorydetail.ftl, party/editShoppingList.ftl, ebaystore/store/returnPolicy.ftl and party/findparty.ftl w/o testing. I guess it's ok
I did not find the same scheme elsewhere

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624876 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:22:18 +00:00
Jacques Le Roux 6a26060c20 No functional change, removes trailing blanks
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624817 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 08:53:33 +00:00
Jacques Le Roux ea994aee40 OFBIZ-5770 - Removes the harcoded ports related with service locations introduced with OFBIZ-4794
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624809 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 08:37:46 +00:00
Jacopo Cappellato c80170456d Fixed the regression that Jacques introduced with the work on portOffset when the immutability of ServiceLocation was broken; now the class is thread-safe again.
However the portOffset code, before and after my fix, is really ugly and should be reverted completely: the "8080" and "1099" ports, that are configurable in OFBiz, are hardcoded in the portOffset code and so this code can only work when OFBiz is executed with the default ports.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624767 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 17:05:03 +00:00
Jacopo Cappellato 1a71a69ea6 Removed the ClassLoaderContainer: it is no more used.
Moved the portOffset field from ClassLoaderContainer to the Start/Config class.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624700 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 06:57:02 +00:00
Jacopo Cappellato fa8115dba5 Removed the custom CachedClassLoader and related artifacts in favour of a simpler bootstrap process and a simpler classpath tree; now the classpath tree is made of: bootstrap classloader (primordial+ext) -> system classloader (aka applications or classpath classloader) -> two custom classloaders (one loads the framework/base classes and one loads all the other classes) -> Webapp classloaders (one per web application).
Junit tests are included. The two custom classloaders could be merged into one but this will be addressed in a second phase because it will require some changes to the bootstrap componenr and process.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624549 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 13:49:17 +00:00
Adrian Crum bf360c3d37 Fix FOP A4 page size.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624538 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 13:18:13 +00:00
Jacques Le Roux 7b0fc305c9 Ant svninfo target adds now a date (in a raw format) after the Release.revision.
Nobody seems against and I have no idea on how to format the date there

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624278 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 13:10:02 +00:00
Vikas Mayur 31e2bf5642 Use the prop() method to change/retrieve DOM properties like checked, disabled state of form elements as recommended in jQuery API.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624244 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 10:03:34 +00:00
Jacopo Cappellato 18b5ac49fa Fixed a few issues in the unit tests of the specialpurpose/lucene component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1624217 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 07:42:55 +00:00
Jacopo Cappellato 9be3230d22 Removed unused jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623738 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:19:39 +00:00
Jacques Le Roux 8e7dac0c09 I found convenient to have an icon in Windows File explorer for my local OFBiz checkouts, must ignore it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623514 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 19:42:10 +00:00
Jacques Le Roux b42d3e4779 I found convenient to have an icon in Windows File explorer for my local OFBiz checkouts, must ignore it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623375 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 12:32:29 +00:00
Jacques Le Roux 8f8a5ce868 Updates from poi-3.9-20121203.jar to poi-3.10.1-20140818.jar for security reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623370 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 12:27:35 +00:00
Jacques Le Roux a61be3e0ff A patch from Shi Jinghai for "Add/Revise Traditional Chinese (zh-TW) translations in framework" https://issues.apache.org/jira/browse/OFBIZ-5737
I fixed the duplicated zh:
<value xml:lang="zh">分类页面</value>
<value xml:lang="zh">分類頁面</value>
to
<value xml:lang="zh">分类页面</value>
<value xml:lang="zh_TW">分類頁面</value>
in this patch.

Others are corrections on zh labels thank to Nick Ho's translation.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623359 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 11:13:00 +00:00
Jacopo Cappellato 189b8a4b34 A series of simplifications, cleanups of old code, and improvements to the code that setup the class paths for the OFBiz classloaders; the former code was setting the same jars (e.g. ofbiz.jar and all the base libs) in both the parent/child classloaders; it was unnecessarily setting the classpath system property when not required/useful.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623352 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 10:38:28 +00:00
Jacopo Cappellato 12303aa5a4 Removed the "rmi" loader from test startup configuration: it was loading the ComponentContainer two times.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623305 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 06:51:22 +00:00
Jacopo Cappellato 4483e59e1d removed unused old file in the catalina component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623268 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 04:51:55 +00:00
Jacopo Cappellato 4833915d0d Removed unused jars.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623042 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 15:04:31 +00:00
Jacopo Cappellato 3c76aa4b89 Removed unused jars.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1623005 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 12:35:38 +00:00