Commit Graph
22442 Commits
Author SHA1 Message Date
Deepak Dixit fd3f23be70 (OFBIZ-6829) relocate .ftl files in the specialpurpose/ebay component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740498 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:37:21 +00:00
Deepak Dixit 209b95cbbf (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit 3f2b77aa66 (OFBIZ-6821) Added missing content folder in specialpurpose/ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740489 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:02:20 +00:00
Deepak Dixit 1269706cee (OFBIZ-6821) relocate .ftl files in the specialpurpose/ecommerce component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740485 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:42:03 +00:00
Deepak Dixit c302846f7f (OFBIZ-6811) Renamed ecommerce/templates to ecommerce/tempalte to make it consistent.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740483 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:22:42 +00:00
Deepak Dixit d1f0ef3831 (OFBIZ-6814) Moved changeOrgPartyId.groovy to WEB-INF/actions, also removed unused ofbizsetup/viewcontact.ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740481 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:11:23 +00:00
Deepak Dixit aec2925b20 (OFBIZ-6821) Corrected product template path in GoogleBaseScreens.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740480 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:09:36 +00:00
Deepak Dixit abeaeb2a58 (OFBIZ-6821) relocate .ftl files in the product component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740477 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 10:34:35 +00:00
Deepak Dixit b94997d33a (OFBIZ-6820) relocate .ftl files in the party component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740464 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:33:46 +00:00
Deepak Dixit 9235bd0d23 (OFBIZ-6820) Renamed party/templates folder to party/template.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740461 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 08:24:17 +00:00
Deepak Dixit cee0263cef (OFBIZ-6815) relocate .ftl files in the content component
Thanks Pierre for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 06:12:08 +00:00
Deepak Dixit 570cfa3d99 (OFBIZ-6989) Applied patch from jira issue.
============================================================
Editing project in Project Manager duplicates resources
============================================================
Thanks Montalbano Florian for reporting issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740442 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 05:46:51 +00:00
Gil Portenseigne 76dd74850f OFBIZ-5703 :
Fix a regression on <auto-parameters-entity/> and <auto-parameters-service/> in which default-entity-name and default-service-name weren't taken in consideration anymore.

Thanks Dhiraj Gupta for reporting the issue, Thanks Jacques and Divesh for the analysis

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740415 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 21:56:52 +00:00
Jacopo Cappellato 0422ed0700 Updated Licence and Eclipse .classpath file after recent upgrade to ICU4J (rev. 1740229).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740310 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 13:34:42 +00:00
Jacques Le Roux a26666f7bc Updates ICU4J from version 52 to 57, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740229 13f79535-47bb-0310-9956-ffa450edef68
2016-04-21 05:18:07 +00:00
Jacques Le Roux a48542881e A patch from Supatthra Nawicha for "party search form does not properly collapse sections when none|postal|telecom|other selected" reported by Wai at https://issues.apache.org/jira/browse/OFBIZ-7013
Go to: /partymgr/control/findparty
Click on either none, postal, telecom,other radiobutton.
NHotice that after clicking on another radiobutton, the section that was previously expanded is not automatically collapsed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740072 13f79535-47bb-0310-9956-ffa450edef68
2016-04-20 09:09:16 +00:00
Jacques Le Roux 6455c9382c A sightly modified patch from Wai for "ofbizsetup create product store cause exception, remove use of temp file to load entity data" - https://issues.apache.org/jira/browse/OFBIZ-5949
The exception is caused by foreign key constraint violation between ShipmentCostEstimate and  CarrierShipmentMethod entities.
Currently, when creating a new product store using ofbizsetup component default data associated with the product store is loaded into the database using the following steps.
1. read default data from entity xml file and replace specific items in the read data and write to temp file.
2. use service=parseEntityXmlFile to load the processed file into database.
The issue with this method is that the temp file can present a problem when ofbiz is operating in multitenant mode.
The solution is to modify the relevant services so that no temp file needs generated.

jleroux: I simply used an UtilValidate.isNotEmpty() method in  EntitySaxReader class

I was initially reluctant to these changes because you can no longer load the content of the GlAccountData.xml and ProductStoreData.xml files, or the files themselves, using the import XML feature of webtools. But those files are specific to the setup component, so they should not be missed, they are supposed to be used in this context only.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1740008 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 21:09:14 +00:00
Jacques Le Roux 63723a1120 A patch from Pierre Smits for "Have configuration options for workeffort" https://issues.apache.org/jira/browse/OFBIZ-6294
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739996 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 20:13:43 +00:00
Jacques Le Roux f3b6306c16 Patches from Pierre Smits for "Have configuration options for bi" https://issues.apache.org/jira/browse/OFBIZ-6193
These patches address the inclusion of BISystemPropertyData.xml in ofbiz-component.xml of the bi component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739995 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 20:10:42 +00:00
Michael Brohl b6fe20a993 Applied patch for OFBIZ-6793: Have configuration options for the ecommerce component.
Thanks Pierre Smits for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739982 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 18:52:41 +00:00
Jacques Le Roux 7316ee4818 A patch from Pierre Smits for "Remove limitation regarding menu-name in ofbiz-component.xsd" https://issues.apache.org/jira/browse/OFBIZ-6667
Currently the following is in the ofbiz-component.xsd:
        <xs:attribute name="menu-name" default="main">
            <xs:simpleType>
                <xs:restriction base="xs:token">
                    <xs:enumeration value="main"/>
                    <xs:enumeration value="secondary"/>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>

However, this is limiting the options that can be applied generates unnecessary errors when developers opt for another methodology.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739968 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:56:07 +00:00
Jacques Le Roux 3ab4953e5a Modified patches from Pierre Smits for "Have configuration options for catalog webapp" https://issues.apache.org/jira/browse/OFBIZ-6192
These patches address the integration of CatalogSystemPropertyData.xml in the ofbiz-component.xml of the Product component, this is for the catalog webapp (based on catalog.properties)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739967 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 17:38:36 +00:00
Jacques Le Roux a1a21799a5 Patches from Pierre Smits for "Have configuration options for ordermgr" https://issues.apache.org/jira/browse/OFBIZ-6191
The patches address the integration of OrderSystemPropertyData.xml in the ofbiz-component.xml of the Order component.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739909 13f79535-47bb-0310-9956-ffa450edef68
2016-04-19 11:48:23 +00:00
Mridul Pathak 43f0fe2a34 Reverting r1739457 as tests does not pass.
[OFBIZ-7008] Support to add condition for Geo Location in Promo Engine.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739637 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 19:07:21 +00:00
Jacques Le Roux f214e31ed9 Sometimes you need to update before testing or reverting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739571 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:26:54 +00:00
Jacques Le Roux c0df7257c2 No functional changes, updates dependency-check-report.html, no important changes (no new vulnerabilities), just to get rid of the differences in my working copy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739570 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 10:20:21 +00:00
Nicolas Malin a6284ff24a Correct the fop macro library to pass test testFopMacroLibrary(). This has been possible with the issue OFBIZ-7015 Ugrade Apache Tika library, to use tika for analyse the pdf as string
related issue OFBIZ-6497

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739553 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:41:03 +00:00
Nicolas Malin ab000418de Uprade the Apache Tika Library :
tika-parsers-1.7.jar -> tika-parsers-1.12.jar
    tika-core-1.7.jar -> tika-core-1.12.jar

This update induce updating of :

    pdfbox-1.8.5.jar -> pdfbox-1.8.11.jar
    jempbox-1.8.5.jar -> jempbox-1.8.11.jar
    fontbox-1.8.5.jar -> fontbox-1.8.11.jar
    commons-compress-1.9.jar -> commons-compress-1.11.jar

And pdfbox-1.8.11.jar need the introduction of :

    jce-jdk13-154.jar under MIT licence (www.bouncycastle.org)

Apache Tika is needed to test the screenfop on issue OFBIZ-6497. So I move all library from applications/content/lib/ to framework/base/lib/ to didn't create a dependency between widget and content 
Related issue OFBIZ-7015

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739551 13f79535-47bb-0310-9956-ffa450edef68
2016-04-17 08:26:45 +00:00
Mridul Pathak 78c467706a [OFBIZ-6781] Incorrect order adjustment after order item is cancelled. Thanks Vyom Jain for reporting the issue and Suraj Khurana for providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739463 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 13:59:54 +00:00
Mridul Pathak c497e160e0 [OFBIZ-7008] Support to add condition for Geo Location in Promo Engine. Thanks Vishal Chhabria for contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739457 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 13:25:59 +00:00
Pranay Pandey b23c3aa227 [OFBIZ-5938] Applied patch from the issue for bug fix - GlAccountOrganizations manually added using accounting forms do not appear on trial report because fromDate gets set to NULL. Thanks Christian Carlow for reporting the issue and Thanks Akash Jain for testing the patch and providing confirmation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739448 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:34:29 +00:00
Mridul Pathak 9073f181ab [OFBIZ-7010] Shipping method is shown on all Promo Conditions even when only a single condition includes Shipping Method. Thanks Swapnil M Mane for reporting the issue and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739447 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:22:21 +00:00
Ashish Vijaywargiya e439033d32 Applied patch from jira issue - OFBIZ-7006. Cache Maintenance action links UI improvement. This is UI improvement but I think we can also consider it as UI bug because link in present scenario creates issues at user end and in case of quick operations they may click on the wrong links. Thanks Rahul Bhooteshwar for creating the issue and providing the patch for the same.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739446 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 12:20:58 +00:00
Anil Patel 915971a68f [OFBIZ-6841] The change looks good. I did simple search in across the codebase and did not find any references to the file.
Thanks Pierre Smits for locating the issue and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739438 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 10:52:04 +00:00
Jacques Le Roux 5f25746fc6 Fixes "POS login page getting error "FileNotFoundException"." reported by Amardeep Singh Jhajj at https://issues.apache.org/jira/browse/OFBIZ-7007
WebPos login page getting error "FileNotFoundException" at latest trunk. Here is the error:
Error rendering included template at location [component://webpos/template/Login.ftl]: java.io.FileNotFoundException: 

This issue is due to the change done in r1736869. "Login.ftl" was not moved but its reference was changed in "specialpurpose/webpos/widget/CommonScreens.xml ". I found one more file which was not moved "RequirePasswordChange.ftl".

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739427 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 07:59:10 +00:00
Anil Patel 66c0c562a7 [OFBIZ-6953] Fix for the error on clicking Party name from header section. Thanks to Supachai Chaima-ngua for reporting the issue and Mohammad Kathawala for testing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739425 13f79535-47bb-0310-9956-ffa450edef68
2016-04-16 07:40:51 +00:00
Jacques Le Roux b902261620 No functional changes, updates suppress.xml, small formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739341 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:56:50 +00:00
Jacques Le Roux c37317f86a No functional changes, updates suppress.xml, I will ask why we have to put all those suppressions about Tomcat 8.0.33 which is the last available version!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739340 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:56:06 +00:00
Jacques Le Roux ad4e63dd15 No functional changes, update OWASP dependency-check documents
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739339 13f79535-47bb-0310-9956-ffa450edef68
2016-04-15 17:50:11 +00:00
Gil Portenseigne ff80cf50bc OFBIZ-6944 : streamDataResource do not manage OTHER_OBJECT dataResourceTypeId
Fix an old TODO replacing streamDataResource with getDataResourceStream DataResourceWorker method, this fixing OTHER_OBJECT stream dataResource management.

Thanks Jacques for the feedback

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1739194 13f79535-47bb-0310-9956-ffa450edef68
2016-04-14 21:12:29 +00:00
Jacques Le Roux 7b82a482e2 A combined patch from Adrian's, James Yong's and my work for "Add Support For Compound Screen Widget XML Files" - https://issues.apache.org/jira/browse/OFBIZ-4090 and "Add Example for Compound Screen Widget" - https://issues.apache.org/jira/browse/OFBIZ-6990
Adrian: This adds the ability to include screen widgets, form widgets, menu widgets, and simple methods in a single XML file. This approach could be used in situations where the widgets share a logical grouping - so they can be kept in one place.

James: An example to test out Compound Screen Widget

jlerouxc: here are the changes and tests globally
# As James mentionned we no longer need *-v2.xsd files, I removed them from Adrian's patch
# I created a compound-widgets.xsd based on Adrian's and James Yong's previous work. From Paul Foxworthy's comment in OFBIZ-4090, I decided to name the root compound-widgets (hence the file name). I arranged its elements in another way, see below with ExampleCompoundWidgets.xml
# I slightly modified James Yong's ExampleCompoundScreenWidget.xml file and renamed it ExampleCompoundWidgets.xml. I added an "s" because there are several OFBiz widgets gathered in one place. For the modifications: I simply changed the names and arranged the elements in another way which I find better suited. I'm used to 1st create the query, then the menus, the screens and their forms. We rarely use widget-trees but it's there also. Finally the simple-method at end if any. The order is not enforced though, so everybody can use her/his own :)
# I added a French label
# I completed the widget-catalog.xml with this new entry and tested locally in Eclipse by reloading the XML catalog entries.

I hope I did not miss nor mixed things, the local instance I used is a bit overcrowded with pending changes...




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738958 13f79535-47bb-0310-9956-ffa450edef68
2016-04-13 15:38:16 +00:00
Jacques Le Roux c64517519b A slightly modified patch from Chatree Srichart for "Upgrade Tomcat to 8.0.32" https://issues.apache.org/jira/browse/OFBIZ-6915
jleroux: I simply changed the doc link in catalina ofbiz-component.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738902 13f79535-47bb-0310-9956-ffa450edef68
2016-04-13 07:40:25 +00:00
Jacques Le Roux 92e56e4078 A patch from Gareth Carter for "some files set viewIndex to 1 by default rather than 0" https://issues.apache.org/jira/browse/OFBIZ-6705
Implements a PagedList object (stores list of data items, resultset size, viewSize, viewIndex, lowIndex (called startIndex) and highIndex (called endIndex), also a utils class that returns the PagedList object based on a EntityListIterator, viewSize and viewIndex. 
And implements a queryPagedList method in EntityQuery, used as an example in findOrders service Java implementation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738900 13f79535-47bb-0310-9956-ffa450edef68
2016-04-13 07:29:11 +00:00
Deepak Dixit 00836de434 (OFBIZ-6825) Removed empty assetmaint folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738847 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 18:45:30 +00:00
Jacques Le Roux 4c88c786df A patch from Pierre Smits for <<relocate .ftl files in the oagis component>> https://issues.apache.org/jira/browse/OFBIZ-6840
jleroux: templates moved by hand


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738780 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 11:59:19 +00:00
Jacques Le Roux cafc8282a1 A patch from Pierre Smits for <<relocate .ftl files in the assetmaint component>> https://issues.apache.org/jira/browse/OFBIZ-6825
jleroux: template moved by hand


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738776 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 11:42:08 +00:00
Deepak Dixit dde7b5e8e0 (OFBIZ-6813) Added missing files at r#1738754. Moved accounting/ap, accounting/ar files into template folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738757 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 10:23:12 +00:00
Deepak Dixit 8ace9fbcb6 (OFBIZ-6813) Apply patch from jira issue.
============================================================
relocate .ftl files in the accounting component
============================================================

Thanks Pierre Smits for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738754 13f79535-47bb-0310-9956-ffa450edef68
2016-04-12 10:17:36 +00:00
Jacques Le Roux 7eb61fbb37 No functional change, small formatting: line removed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738615 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 17:58:36 +00:00
Jacques Le Roux 52be0b34f1 A modified patch from James Young to complete "Improved CMS tree: more functionality and faster for large trees" - https://issues.apache.org/jira/browse/OFBIZ-4502
jleroux: I put back the cmseditor id for ELECTRONIC_TEXT in WebSiteCMSContent.ftl and added back the createEditor() call in callDocument function jQuerry Ajax Request

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1738614 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 17:53:33 +00:00