Commit Graph
27737 Commits
Author SHA1 Message Date
Deepak Dixit f75596b3bf Removed ContentServices.updateContentMethod call from ContentManagementServices.java
(OFBIZ-10397)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831458 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 09:17:14 +00:00
Deepak Dixit 5de72c32fe Improved: Remove unused code from ContentServices class file
(OFBIZ-10397)


While working on OFBIZ-10393, found that we have some unused code in ContentServices class file
We can remove following method from ContentServices

    createContentAssoc
    createContentAssocMethod
    updateContent
    updateContentMethod
    updateContentAssoc
    updateContentAssocMethod

We have already converted some of these services to entity-auto, so all these can be removed directly.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831457 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 09:04:46 +00:00
Deepak Dixit 3c05b64e54 Improved: Remove createContent Java service implementation
(OFBIZ-10393)

The createContent service has been replaced by a minilang implementation since 2007
Thanks Mathieu Lirzin for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831450 13f79535-47bb-0310-9956-ffa450edef68
2018-05-12 06:43:47 +00:00
Jacques Le Roux 7be9b22006 Fixed: Sending mail button from viewProfile doesn't work
(OFBIZ-7075)

There was a quote error in the Montalbano Florian's patch, this fix it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831234 13f79535-47bb-0310-9956-ffa450edef68
2018-05-09 08:26:44 +00:00
Rishi Solanki 7e52b8a015 Fixed: Existing BILLING_LOCATION record of party should expire while creating a new one. Now service will first expires all the billing location against party and create new one.
(OFBIZ-10374)
Thank you Suraj Khuran for reporting the issue and providing patch for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831183 13f79535-47bb-0310-9956-ffa450edef68
2018-05-08 13:34:54 +00:00
Jacques Le Roux a5a90ab1dc Fixed: The "request" attribute type of the userLogin service is wrong
(OFBIZ-10304)

Now that we use Tomcat 9 this problem is over

Thanks: Jacopo for upgrading to Tomcat 9 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831078 13f79535-47bb-0310-9956-ffa450edef68
2018-05-07 07:48:57 +00:00
Jacopo Cappellato 59f97f6549 Implemented: Upgraded to latest Tomcat (9.0.7).
(OFBIZ-10036)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831074 13f79535-47bb-0310-9956-ffa450edef68
2018-05-07 06:41:47 +00:00
Jacques Le Roux 1848294a22 Documented: New documentation for EntitySync
(OFBIZ-10390)

Adds the PDF generation information for stand alone document

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1831017 13f79535-47bb-0310-9956-ffa450edef68
2018-05-06 07:20:56 +00:00
Sharan Foga 941ee21ad9 Improved: Added section for HR process descriptions (OFBIZ-10256)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830996 13f79535-47bb-0310-9956-ffa450edef68
2018-05-05 17:32:46 +00:00
Sharan Foga 9baedc3437 Improved: Corrected some minor spelling mistakes and modified a few sentences (OFBIZ-10306)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830987 13f79535-47bb-0310-9956-ffa450edef68
2018-05-05 15:11:05 +00:00
Jacques Le Roux 1129ac14c7 Documented: New documentation for EntitySync
(OFBIZ-10390)

The current EntitySync documentation in wiki is POS oriented so somehow 
deprecated.
I have recently worked on a project with EntitySync and collected as much 
possible information. 
I also got David E. Jones's agreement to reuse the part on EntitySync in his 
2006 "Apache OFBiz Advanced Framework - Training Video Transcription" document.

So this is a new replacing asciidoc document, it's a WIP...

Thanks: David for agreement on reusing his doc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830972 13f79535-47bb-0310-9956-ffa450edef68
2018-05-05 13:13:58 +00:00
Deepak Dixit d358bc4471 Improved: Added missing condition-service in entity-eca.xsd file
(OFBIZ-10220)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830960 13f79535-47bb-0310-9956-ffa450edef68
2018-05-05 10:45:00 +00:00
Deepak Dixit 645e6e1c47 Fixed: Fix typo 'paramters' => 'parameters'
(OFBIZ-10394)
Thanks Mathieu Lirzin for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830936 13f79535-47bb-0310-9956-ffa450edef68
2018-05-04 19:34:07 +00:00
Rishi Solanki 1bb1a298a0 Implemented: Introduce a quick way for adding Sales Price agreements with customers for any specific product from Catalog. From date is now defaulting to now timestamp improvement suggested in verification.
(OFBIZ-7713)
Thanks to Mohammad Kathawala for providing the patch for the feedback.
Thanks to Swapnil Shah for reporting the new feature and improvement.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830758 13f79535-47bb-0310-9956-ffa450edef68
2018-05-02 13:59:21 +00:00
Jacques Le Roux 783894b4a0 Completed: no functional change, ignores .egradle (Eclipse plugin)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830668 13f79535-47bb-0310-9956-ffa450edef68
2018-05-01 10:46:30 +00:00
Jacques Le Roux e551e6cf8d Improved: Generalize toMap to abitrary key types
(OFBIZ-10354)

The `toMap` static method doesn't use its 'K' generic type in its implementation

Thanks: Mathieu Lirzin

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830588 13f79535-47bb-0310-9956-ffa450edef68
2018-04-30 13:30:35 +00:00
Rishi Solanki cfef87d6f1 Improved: Remove empty field values from xml data files so that it will not override existing data with empty values. Removed all empty data fields from data files.
(OFBIZ-10282)
Thanks to Arun Patidar for reporting and review.
Thanks to Suraj Khurana for providing patch for the improvement.
Thanks to Jacques for discussion and finalizing the work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830545 13f79535-47bb-0310-9956-ffa450edef68
2018-04-30 10:52:55 +00:00
Akash Jain f0dc1e14b7 Improved: Invoice in status approved - cancel, applied patch from jira issue with minor changes (OFBIZ-10189)
Thanks, Ingo Wolfmayr for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830449 13f79535-47bb-0310-9956-ffa450edef68
2018-04-28 12:33:44 +00:00
Rishi Solanki 154acd8756 Improved: Convert facility party related services from simple to entity-auto. Remove the service implementation for removePartyFromFacility, removePartyFromFacilityGroup and deleteFacilityContent. Service removePartyFromFacilityGroup already converted into entity auto, simply removing it.
(OFBIZ-10380)
Thanks Suraj Khurana for reporting the issue and provided fix for the same.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830429 13f79535-47bb-0310-9956-ffa450edef68
2018-04-28 11:15:05 +00:00
Nicolas Malin 8e2d65f4d6 Fixed: ConfigXMLReader - Events are not executed in the order defined
(OFBIZ-10369)
The events contained in the controller configuration for first-visit, pre-post processor and before-after login are executed in arbitrary order rather than the defined order.
If we define an event configuration as follow:

    <after-login>
        <event name=keepCartUpdated type=java path=org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents invoke=keepCartUpdated/>
        <event name=restoreAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=restoreAutoSaveList/>
        <event name=saveCartToAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=saveCartToAutoSaveList/>
    </after-login>

We wait that OFBIz run keepCartUpdated, restoreAutoSaveList and after saveCartToAutoSaveList event but the HashMap who organise them return arbitrary order and can return saveCartToAutoSaveList, keepCartUpdated and restoreAutoSaveList. Convert the HashMap to LinkedHashMap help to keep the loaded order.

Thanks to Vikas Mayur for solve this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830303 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 07:26:58 +00:00
Nicolas Malin b48d0cadc5 revert revision 1830301 that contains mix improvement, i will recommit them correclty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830302 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 07:26:33 +00:00
Nicolas Malin 2695743cae Fixed: ConfigXMLReader - Events are not executed in the order defined
(OFBIZ-10369)
The events contained in the controller configuration for first-visit, pre-post processor and before-after login are executed in arbitrary order rather than the defined order.
If we define an event configuration as follow:

    <after-login>
        <event name=keepCartUpdated type=java path=org.apache.ofbiz.order.shoppingcart.ShoppingCartEvents invoke=keepCartUpdated/>
        <event name=restoreAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=restoreAutoSaveList/>
        <event name=saveCartToAutoSaveList type=java path=org.apache.ofbiz.order.shoppinglist.ShoppingListEvents invoke=saveCartToAutoSaveList/>
    </after-login>

We wait that OFBIz run keepCartUpdated, restoreAutoSaveList and after saveCartToAutoSaveList event but the HashMap who organise them return arbitrary order and can return saveCartToAutoSaveList, keepCartUpdated and restoreAutoSaveList. Convert the HashMap to LinkedHashMap help to keep the loaded order.

Thanks to Vikas Mayur for solve this issue

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830301 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 07:21:47 +00:00
Gil Portenseigne d046d17f35 Reverted : Add a link onto a crashed Job to reset it
(OFBIZ-10371)

Thanks Scott for the review

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830294 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 05:55:43 +00:00
Gil Portenseigne bed2be5f53 Improved: Change the display condition on the added link
(OFBIZ-10371)

This way to write the condition is easier for the eye, thanks Nicolas for the suggestion

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830238 13f79535-47bb-0310-9956-ffa450edef68
2018-04-26 15:45:31 +00:00
Gil Portenseigne ea020fe32a Implemented: Add a link onto a crashed Job to reset it
(OFBIZ-10371)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1830236 13f79535-47bb-0310-9956-ffa450edef68
2018-04-26 15:27:50 +00:00
Deepak Dixit 06f97ab464 Improved: Improve layout and structure of forms
(OFBIZ-10221)
 Applied product.template.Main  patch from jira issue.
 Thanks Dennis Balkir for your contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829700 13f79535-47bb-0310-9956-ffa450edef68
2018-04-21 09:26:21 +00:00
Deepak Dixit 2426cc46dc Improved: Correected the sequence of service attribute tag to fix Invalid content was found warning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829699 13f79535-47bb-0310-9956-ffa450edef68
2018-04-21 09:17:53 +00:00
Deepak Dixit 1e70d74d55 Fixed: Typo done at r#1829690
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829691 13f79535-47bb-0310-9956-ffa450edef68
2018-04-21 05:26:17 +00:00
Deepak Dixit 676a92959b Improved: Update Currency UOM data as per iso amendment 164, 165 and 166
(OFBIZ-10364)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829690 13f79535-47bb-0310-9956-ffa450edef68
2018-04-21 05:22:19 +00:00
Jacques Le Roux 5a75983cf3 Improved: Same UiLabel used for multiple purposes
(OFBIZ-10336)

AccountingGiftCerticateNumberCannotFulfill uiLabel is used for multiple purposes
There should be separate UiLabel if survey response is not found for gift 
certificate.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829136 13f79535-47bb-0310-9956-ffa450edef68
2018-04-14 12:31:29 +00:00
Jacques Le Roux 19dd3373a8 Improved: Data Migration by releases wiki page
Pandoc was accurately not rendering wrong MarkDown code.

Anyway this needs to be translater to Asciidoc one day or another. 

There is a Confluence plugin to import Asciidoc, not sure we will want to do 
that or only keep the doc in the source. I guess it depends on the importance
of the document. Some needs really to be visible in wiki, or maybe not and why
keeping the wiki at all ?


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1829134 13f79535-47bb-0310-9956-ffa450edef68
2018-04-14 12:24:51 +00:00
Deepak Dixit ff6a962841 Improved: Standardise layout for Order
(OFBIZ-10332)
Thanks Dennis Balkir for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828918 13f79535-47bb-0310-9956-ffa450edef68
2018-04-11 18:29:12 +00:00
Deepak Dixit 49fadbf68b Improved: Standardise Layout throughout Applications
(OFBIZ-10242)
This fix the content and marketing component layout
Thanks Dennis Balkir for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828917 13f79535-47bb-0310-9956-ffa450edef68
2018-04-11 18:15:02 +00:00
Michael Brohl fb6413eb84 Improved: added the first draft of the documentation guidelines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828857 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 21:24:31 +00:00
Rishi Solanki ced30c8dc3 Improved: Move all data in applications to the datamodel component. Move the PortalPortlet, PortletPortletCategory and PortletCategory data to party, workeffort and content components from datamodel.
(OFBIZ-9501)
Thanks to Taher for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828817 13f79535-47bb-0310-9956-ffa450edef68
2018-04-10 13:36:51 +00:00
Michael Brohl 556b7f7817 Improved: removed outdated, empty folders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828514 13f79535-47bb-0310-9956-ffa450edef68
2018-04-06 12:28:18 +00:00
Michael Brohl 09c9bd1068 Improved: removed outdated, empty folders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828512 13f79535-47bb-0310-9956-ffa450edef68
2018-04-06 12:21:27 +00:00
Michael Brohl 72e8c29798 Improved: removed outdated, empty folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828424 13f79535-47bb-0310-9956-ffa450edef68
2018-04-05 12:35:22 +00:00
Jacopo Cappellato 2389969b2a Fixed: moved the reference of the license for the "Quicksand" fonts from the
NOTICE file to the LICENSE file.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828400 13f79535-47bb-0310-9956-ffa450edef68
2018-04-05 08:23:28 +00:00
Michael Brohl d2bb2b6f60 Improved: removed outdated, empty folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828346 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 13:58:30 +00:00
Michael Brohl 38667a37b6 Improved: removed outdated script folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828316 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 10:21:53 +00:00
Jacques Le Roux a8f85dd564 Fixed: Required parameters are optional for createWorkRequirementFulfillment service
(OFBIZ-8622)

As per entity def, required parameter should be  requirementId instead of 
requirementTypeId.

Thanks: Suraj for the last patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828255 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 16:37:09 +00:00
Michael Brohl af53b0ce46 Fixed: Prevent possible NullPointerException.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828233 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 13:06:28 +00:00
Jacques Le Roux 9e41a4a174 Improved: EntityUtilProperties
(OFBIZ-7112)

Remove useless redundant code.

results map is already initialised in the beginning with isExistInDb 
as "N" and value as "".
These values only changed when systemProperty != null. S
o except for this condition if we return results at any point it will have 
isExistInDb as "N" and value as "". 
If we remove the lines I removed in the patch, it will only remove put 
operations that are not necessary.

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828217 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 10:51:29 +00:00
Michael Brohl 388387601e Improved: Added Apache License header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828135 13f79535-47bb-0310-9956-ffa450edef68
2018-04-01 09:21:28 +00:00
Julien Nicolas ba3d988d2d Improved: open the SQL screen straight to ofbiz instead of tenant
OFBIZ-10323

Just define the default selected id in the dropdown list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1828071 13f79535-47bb-0310-9956-ffa450edef68
2018-03-30 16:01:26 +00:00
Taher A. Alkhateeb 291fdc43d7 Improved: moved some shared attributes in asciidoc sources to gradle
(OFBIZ-10285)

Given that both the developer and user manuals share many of the configurations
like table of contents and other formatting settings, this commit moves such
configurations from the source documents to the buildscript to sustain DRY.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827961 13f79535-47bb-0310-9956-ffa450edef68
2018-03-29 08:20:42 +00:00
Jacopo Cappellato 7f725e19a1 Improved: Added TODO comments to document the architectural
weaknesses: glAccountTypeId is not persisted after it is used to decode the 
account id for the invoice item
(OFBIZ-6330)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827959 13f79535-47bb-0310-9956-ffa450edef68
2018-03-29 07:58:37 +00:00
Michael Brohl a7a1f091cb Improved: Added additional configuration (experimental features and
removed chapter labels), added headlines/structure for the development 
environment.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827940 13f79535-47bb-0310-9956-ffa450edef68
2018-03-28 18:08:22 +00:00
Michael Brohl cb8ee3f334 Improved: Added additional configuration to the user manual
(remove chapter label, activate experimental features), included
the quick start section of README.adoc to the user manual.

The further reading link was moved to make it work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1827939 13f79535-47bb-0310-9956-ffa450edef68
2018-03-28 18:04:52 +00:00