Commit Graph
3010 Commits
Author SHA1 Message Date
Jacopo Cappellato f5556274fc OFBIZ-5896 This commits fixes a regression I introduced with rev. 1635232 (this actually reverts that commit) and provides a different and better fix for the error affecting the "Did you know?" screenlet.
ContentServicesComplex.getAssocAndContentAndDataResourceCacheMethod was not using the passed contentId in condition list, and also was not using the ContentAssocDataResourceViewFrom/To view entity to get the result. Thanks to Deepak Dixit for the patch.
Misc minor cleanups (removed commented out code) and some small formatting fixes.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1643061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 07:17:12 +00:00
Adrian Crum 438267ff0f Party Manager - consolidate JS file locations into a single folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642575 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 17:47:15 +00:00
Ashish Vijaywargiya b706afcf04 Applied patch from jira issue - OFBIZ-5890 - There is incomplete set of ShipmentMethodType and CarrierShipmentMethod data. Also carrierServiceCode is not present for all CarrierShipmentMethod records.
======================================================
There is incomplete set of ShipmentMethodType an CarrierShipmentMethod data. Also carrierServiceCode is not present for all CarrierShipmentMethod records.

Add all shiiping options along with carrierServiceCode for carriers FEDEX, UPS, USPS and DHL.
======================================================
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642413 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 10:20:25 +00:00
Ashish Vijaywargiya 8a138d9992 Applied patch from jira issue OFBIZ-5844 - Convert java files to EntityQuery.
Thanks Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642398 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 08:00:37 +00:00
Jacopo Cappellato 10b9a29938 Moved the "bi" component from the framework to the specialpurpose folder; moved all the dependencies (client code) on the "bi" component from applications components to the "bi" component itself.
Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1642027 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 06:14:06 +00:00
Jacques Le Roux f47938c7b6 A patch from Chatree Srichart for "404 error with birt previews." https://issues.apache.org/jira/browse/OFBIZ-5876
The commons-discovery-0.5.jar has been removed from framework/base/lib/ at r1623042 but was needed for Birt. Its correct place is in specialpurpose/birt/lib/

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1641037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 09:19:34 +00:00
Jacques Le Roux 1cd81ac2e4 Fixes and completes r1640588 and more minor things which were left after the change from run-install to load-demo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1640727 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 12:18:59 +00:00
Ashish Vijaywargiya 02fe99fabb Applied patch from jira issue - OFBIZ-4468 - After login it shows error 'Product not found!'.
Thanks Kiran for reporting the issue, Thanks Akash for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639873 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:44:39 +00:00
Jacques Le Roux 3ecda898e4 Following changes for "PortalPage entity definition wrong. ownerUserLoginId field must be id-vlong-ne" https://issues.apache.org/jira/browse/OFBIZ-5110
Fixes other cases as well

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639863 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:14:37 +00:00
Jacques Le Roux 7be9afe566 Removes an useless log entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639862 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 12:12:53 +00:00
Ashish Vijaywargiya c50c37391e Applied patch from jira issue OFBIZ-4569 - Update address dialog shows multiple CommonUpdatingData when required field is missing.
============================================================================================
Open update address dialog (profile->Manage Addresses->Edit)
Remove one of the required field.
Hit submit couple of times. You need notice, it shows 'CommonUpdatingData' at the top. 

It should validate the form before adding the label.
============================================================================================
Thanks Kiran for reporting the issue, Thanks Deepak for providing the patch for this issue. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639859 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 11:47:42 +00:00
Jacques Le Roux bc72582c98 Removes forgotten log
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1639788 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 20:58:27 +00:00
Nicolas Malin 572603b648 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/specialpurpose@1637721 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:30:26 +00:00
Jacques Le Roux f1935cb391 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/specialpurpose@1636869 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 13:19:10 +00:00
Jacques Le Roux e34af48c8e Comments out some Chinese duplicated labels, fixes a NL labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635946 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 13:22:05 +00:00
Jacopo Cappellato 3cd31c7f9a Merged json-integration-refactoring into trunk:
* moved the json-lib jar (json-lib-2.2.3-jdk15.jar) from the framework/webapp to the framework/base component
* removed the SQL select Parser.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code
* removed the JSON.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code apart from the JSON Converters (now migrated to json-lib, see next items in this list) some utility methods in UtilIO.java (that have been removed too because they have never been used in OFBiz) 
* removed the JavaCC jar and related ant scripts because no more needed after the removal of Parser.jj and JSON.jj
* converted the JSONConverter code that was based on JSON.jj to Jackson
* added a new class org.ofbiz.base.lang.JSON that have been contributed by Adrian Crum that is a facade for simplifying the client code and for hiding the specific JSON library being used
* removed an unused method: ImageManagementServices.toJsonObject(...)
* added TestBooleanConverters to the list of tests
* new unit tests for the new JSON converters
* refactored Ajax code in applications to use the common request json response rather than a custom method
* OFBIZ-5790 Implemented ability to call a service event by passing its input parameters in the request body as JSON data. These classes provide a simple mechanism, based on the request's content type, that can be extended to support other formats (e.g. XML).

This commit resolves OFBIZ-4572, OFBIZ-3365, OFBIZ-5751, OFBIZ-5790



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635901 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 09:06:42 +00:00
Jacques Le Roux be46b8403c Comments out <log always> logs found in ScrumServices.xml. I guess they were forgotten. Found in the error.log where <log always> also shows as FATAL (weird but I did not check why, can be useful also as proved here :D )
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635719 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 08:18:05 +00:00
Scott Gray bc6d579570 Regex search/replace for delegator.findOne() to EntityQuery.queryOne()
Apologies for the large commit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635383 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 04:18:05 +00:00
Jacopo Cappellato 92bc7d9bc3 Fixes for the "Did you know?" screenlet in ecommerce that was throwing errors after Scott's recent fix to a content related method (the fix has exposed the data issues).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1635232 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 18:02:51 +00:00
Scott Gray a6c0b4e008 Remove unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1634027 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 08:28:47 +00:00
Jacopo Cappellato 87fa73cd55 Removed unused secas.xml file (containing one commented out seca rule).
I discovered this issue a few weeks ago and reported it to the mailing list; the same issue has been recently reported by Pierre Smits in OFBIZ-5818.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1633362 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 12:46:31 +00:00
Anil Patel a71eda3eaa [OFBIZ-2618] Applying patch contributed by Arun Patidar. Thanks Arun for updated fix.
Thanks BJ for reporting the issue and providing first patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1632764 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 11:35:58 +00:00
Jacques Le Roux e5a5960444 Removes a number of duplicated labels certainly introduced with https://issues.apache.org/jira/browse/OFBIZ-5737
There are still some, I reopen the Jira issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1629726 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 18:21:09 +00:00
Anil Patel ce4471b087 [OFBIZ-3719] Reverting DOCTYPE hardcoding from cmsevents. Giving control back to the template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1628015 13f79535-47bb-0310-9956-ffa450edef68
2014-09-27 22:38:02 +00:00
Ashish Vijaywargiya 7f6b3de3ae 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/specialpurpose@1626465 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:54:00 +00:00
Ashish Vijaywargiya e60af03319 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/specialpurpose@1626463 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:53:00 +00:00
Anil Patel 5fa01410fe [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/specialpurpose@1626453 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 15:05:26 +00:00
Ashish Vijaywargiya 484d5dbbde 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/specialpurpose@1626425 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:16:37 +00:00
Ashish Vijaywargiya 8f8a78722f 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/specialpurpose@1626417 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 10:59:51 +00:00
Jacques Le Roux 5b719c0a15 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/specialpurpose@1625893 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:54:04 +00:00
Jacques Le Roux 494f357a25 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/specialpurpose@1625816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 20:44:07 +00:00
Jacques Le Roux 53769d0def 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/specialpurpose@1624876 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 17:22:18 +00:00
Jacopo Cappellato 82d02922bd Fixed a few issues in the unit tests of the specialpurpose/lucene component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1624217 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 07:42:55 +00:00
Jacopo Cappellato 29e96c4703 Removed unused and not maintained integration with DataVision.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1622979 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 06:43:41 +00:00
Jacopo Cappellato 49fee76241 removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1622406 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 06:23:29 +00:00
Adrian Crum 442b61e87a Removed some references to GenericDelegator concrete class.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1621436 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 09:00:39 +00:00
Jacopo Cappellato c0cd83a4b6 OFBIZ-5287: Upgrade to Log4j2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618831 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 10:36:01 +00:00
Ashish Vijaywargiya c35c93423b Applied patch from jira issue - OFBIZ-3566 - EcommerceUiLabels references in applications/*
Thanks Adam Heath for reporting the issue and team ofbiz.us for providing the fix. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618415 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:53:55 +00:00
Anil Patel 21f87e95eb [OFBIZ-5690] Fixed email issue. Thanks for help.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618397 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 18:43:13 +00:00
Ashish Vijaywargiya c5bbc062b3 Applied the patch OFBIZ-4902_specialpurpose.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1618313 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 08:40:28 +00:00
Jacopo Cappellato 7e4c6aa0ef Corrected the usage example.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1616424 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 07:27:25 +00:00
Jacques Le Roux c442295b2c Introduces few VAT data, to be used later (coming)
Introduces PartyClientTaxId which is mandatory in some country (France for instance: http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1614555 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 06:18:42 +00:00
Jacques Le Roux 62d9027b13 Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.

This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacopo Cappellato 17ad717e1b OFBIZ-4854: added from/thru dates to summary box for project resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1610385 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 11:00:09 +00:00
Jacopo Cappellato 90914121e9 Upgraded specialpurpose/lucene component to the latest stable release (from 4.7.0 to 4.9.0)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1606133 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 15:44:26 +00:00
Jacopo Cappellato 661a98802e OFBIZ-5651: fixed broken settings for the appserver execution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1605977 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 07:37:22 +00:00
Jacques Le Roux 2c3aced803 I found annoying to mix the Birt report engine logs and especially lock files with the other OFBiz logs.
As suggested on dev ML,this moves these files under a birt sub directory of runtime


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1602671 13f79535-47bb-0310-9956-ffa450edef68
2014-06-15 08:08:36 +00:00
Jacques Le Roux 1c49d94225 A patch from Leon for "Birt 4.2, export report as MS 2007 document format" https://issues.apache.org/jira/browse/OFBIZ-5653
One of the new features of Birt 4.2 is the capability to export report as MS 2007 format, such as .docx, .xlsx and .pptx.
Birt library in OFBiz trunk has already been upgrade to version 4.3.1. So it's ready to introduce this new feature into ofbiz.

patch: 3 new content types for MS 2007 word, excel and ppt. Also update the help xml and comments in controll.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1602334 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 07:58:48 +00:00
Jacques Le Roux de4d2170d2 Changes a bunch of Thru to Through (kept all truDate in a sole word to avoid ambiguities)
Note tough that thru is even in the Collins http://dictionary.reference.com/browse/thru

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1599110 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 08:02:15 +00:00
Jacques Le Roux 26a1916a7d 2 patches from Deepak Dixit for "If customer pay higher than amount due, POS issues an error 'Problem with order change'." https://issues.apache.org/jira/browse/OFBIZ-5611
If customer pay higher than amount due, POS issues an error 'Problem with order change'. 

Deepak: 
This is due to changes done at r#1186102 (http://ofbiz.markmail.org/message/orewmkxnalebolke?q=1186102)
Removed incorrect condition form createPaymentApplication service.
Also found type in PaymentEvents.java file (Xuilabels == > XuiLabels).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1597464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-25 20:04:08 +00:00