Commit Graph
24876 Commits
Author SHA1 Message Date
Michael Brohl 48dddd05fc Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.imagemanagement.
(OFBIZ-9777)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817632 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 16:56:43 +00:00
Michael Brohl 2185fe8b49 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.image.
(OFBIZ-9776)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817623 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 15:09:57 +00:00
Michael Brohl 9f37fdf613 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.feature.
(OFBIZ-9775)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817619 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 15:01:30 +00:00
Michael Brohl b473460e66 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.config.
(OFBIZ-9774)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817618 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:57:58 +00:00
Michael Brohl 63b90d6a95 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.category.ftl.
(OFBIZ-9773)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817617 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:54:13 +00:00
Michael Brohl 7a36f90503 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.product.category.
(OFBIZ-9772)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817616 13f79535-47bb-0310-9956-ffa450edef68
2017-12-09 14:51:18 +00:00
Michael Brohl eb3759657f Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.party.
(OFBIZ-9736)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817585 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:26:26 +00:00
Michael Brohl ecb806badf Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.contact.
(OFBIZ-9735)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817584 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:19:44 +00:00
Michael Brohl 92d78f88ba Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.party.communication.
(OFBIZ-9734)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817583 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:11:11 +00:00
Michael Brohl 63648b4067 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.thirdparty.paypal.
(OFBIZ-9733)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817581 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 22:01:44 +00:00
Michael Brohl ab3eb8415c Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.test.
(OFBIZ-9732)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817578 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:51:16 +00:00
Michael Brohl d1df1431bd Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.shoppinglist.
(OFBIZ-9731)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817576 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:34:14 +00:00
Jacques Le Roux 0ab019569e No functional change, fixes a typo in comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817574 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:28:12 +00:00
Michael Brohl d763c7071e Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.finaccount.
(OFBIZ-9730)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817573 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:24:28 +00:00
Michael Brohl 2e2ff09e52 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.
(OFBIZ-9729)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817572 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:21:55 +00:00
Michael Brohl 49c1a38107 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.widget.
(OFBIZ-9724)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817571 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:19:32 +00:00
Michael Brohl 6ff220a8ec Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.datasource.
(OFBIZ-9723)

Did some additional cleanup by removing commented out code.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817570 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:13:26 +00:00
Michael Brohl a5947f39ed Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.test.
(OFBIZ-9722)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817568 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:05:00 +00:00
Michael Brohl 1f2d67a35f Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entityext.data.
(OFBIZ-9721)

The changes for EntityDataLoadContainer had to be applied manually 
because of changes made in between.

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817566 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 21:02:21 +00:00
Michael Brohl f56feb90fa Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.util.
(OFBIZ-9720)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817562 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:49:28 +00:00
Michael Brohl 4af8b2491d Improved: removed unnecessary condition check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817561 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:48:14 +00:00
Michael Brohl a72f027892 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.model.
(OFBIZ-9719)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817559 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 20:18:41 +00:00
Michael Brohl c02d9de3ab Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.connection.
(OFBIZ-9718)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817552 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 19:44:27 +00:00
Michael Brohl 29d09d0cd5 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.entity.config.model.
(OFBIZ-9717)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817550 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 19:38:12 +00:00
Jacques Le Roux e1a6545926 No functional changes. Correctly handles licenses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817478 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 10:07:25 +00:00
Jacques Le Roux cdbb16d292 Implemented: Accounting: Handle service response effectively
(OFBIZ-10021)

This uses return ServiceUtil.returnError() in case of ServiceUtil.isError()

jleroux: I applied the fix to GiftCertificateServices by hand

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817456 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 05:26:28 +00:00
Jacques Le Roux cac7d76cba Implemented: Handle service response effectively
(OFBIZ-9981)
Included Debug.logError in ServiceUtil.returnProblem so that in case of any 
error occurred and handled, it will always be logged on the console.
jleroux: I put a toString() there, Debug.logError() does not work with maps

Also no functional change (better code) in QRCodeEvents
jleroux: I also replaced tabs by spaces there 
            and put debug info in exceptions

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817455 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 05:04:23 +00:00
Jacques Le Roux cc50483f1d Implemented: Add logVerbose to GroovyBaseScript.groovy
(OFBIZ-10025)

Thanks: Dennis Balkir 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817454 13f79535-47bb-0310-9956-ffa450edef68
2017-12-08 04:49:03 +00:00
Taher A. Alkhateeb 1f525e2efa Improved: moved the gradle internet flag documentation to a separate section
Add a small note at the top to refer to the section and expand the explanation
of that flag in a separate section to reduce the clutter around the quick-start
documentation


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817358 13f79535-47bb-0310-9956-ffa450edef68
2017-12-07 11:31:05 +00:00
Jacques Le Roux 68063335e7 Implemented: Create a new entity FacilityCalendar
(OFBIZ-10040)

Creates a new entity facilityCalendar which will create the one-to-many 
relationship between facility and calendar. Here are the entity attributes:

*FacilityCalendar*
    * facilityId*
    * calendarId*
    * facilityCalendarTypeId*
    * fromDate*
    * thruDate

*FacilityCalendarType*
    * facilityCalendarTypeId*
    * parentTypeId
    * description


A calendar will be used to store opening time, closing time, working weekdays 
and all this type of stuff.

For further information please refer
http://ofbiz.markmail.org/message/nectwaze6ina7y6z

Thanks: Vaibhav Jain for the initial proposition and all people who participated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817347 13f79535-47bb-0310-9956-ffa450edef68
2017-12-07 10:45:26 +00:00
Jacques Le Roux 7e7151ae71 Improved: [FB] Package org.apache.ofbiz.accounting.thirdparty.eway
(Additional Bugs)
(OFBIZ-9528)

Fixes minor Findbugs warnings

jleroux: I removed few trailing blanks and benefited from Writer being also
autocloseable

Thanks: Kyra Pritzel-Hentley for report, Julian Leichert for patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817345 13f79535-47bb-0310-9956-ffa450edef68
2017-12-07 10:40:39 +00:00
Rishi Solanki e83ab9ee03 Improved: Move all data in applications to the datamodel component. Move the help data back to the origin component from where moved to datamodel as discussed on ticket.
(OFBIZ-9501)
Thanks to Taher and Jacques for finalizing the direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817151 13f79535-47bb-0310-9956-ffa450edef68
2017-12-05 04:14:38 +00:00
Jacques Le Roux e89a96ad5d Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Adds an image folder in jQuery UI

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817061 13f79535-47bb-0310-9956-ffa450edef68
2017-12-04 05:34:09 +00:00
Jacques Le Roux cd94e1167c Documented: Document how the thread-pool max-threads works
(OFBIZ-10002)

Minimalist documentation with reference to stackoverflow itself referencing
Brian Goetz's and co's "Java Concurrency in Practice" after discussion at 
http://markmail.org/message/ksutqpuyyd4kmbl2


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817040 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 16:16:24 +00:00
Jacques Le Roux 8021fd3717 Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
(OFBIZ-9978)

Includes following changes
jQuery UI upgraded to 1.12.1
Included CSS files to theme properties and screens.

Manually added datepicker-en.js and datepicker-it-CH.js a new candidate added 
it to jsLanguageFilesMapping
Updated defaultDateTime path of dateTime picker it was having path of 
timepicker files.

I18n files for datepicker renamed from jquery.ui.datepicker- to datepicker- 
as comes with the JQuery ui package so that we don’t have to rename files 
manually everytime we upgrade.
https://github.com/jquery/jquery-ui/tree/master/ui/i18n
Can’t get jquery-ui-i18n.js file though it was not used either.

I have not updated jQuery.cookie-1.4.0.js as it is related to jstree and we will 
update & move it when we will update jstree.

Jeditable 1.7.2 upgraded to 1.7.3

I feel JQuery ui should also be in plugins folder with other JQuery plugin

Thanks: Aditya

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817026 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 10:15:55 +00:00
Rishi Solanki 90acab80c7 Improved: Move all data in applications to the datamodel component. Remove unused files.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817015 13f79535-47bb-0310-9956-ffa450edef68
2017-12-03 06:31:10 +00:00
Michael Brohl 8b3c1b89fc Improved: Update build.gradle to the latest dependencies.
(OFBIZ-10026)

This is the 2nd pass updating all possible dependencies.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816979 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 18:45:27 +00:00
Michael Brohl 86da261be5 Improved: Update build.gradle to the latest dependencies.
(OFBIZ-10026)

This is the first pass updating all possible dependencies. Apache Tomcat
is updated to the latest 8.5.24 version.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816968 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 17:27:31 +00:00
Rishi Solanki be307fbade Improved: Move all data in applications to the datamodel component.
(OFBIZ-9501)
Move selected seed data for Product, Accounting and Manufacturing component. Thanks to Taher and Jacques for finalizing the data set.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816948 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 13:18:01 +00:00
Michael Brohl 3124eaf6c8 Improved: TrackingCodeEvents#checkTrackingCodeUrlParam returns "error"
if tracking code is not available.
(OFBIZ-10030)

The loglevel is set from error to info, a misleading comment is removed
and the method returns "success" in case of a tracking code which cannot
be found.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816937 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 09:37:54 +00:00
Jacques Le Roux db2b231475 Improved: Replace Rainbow OFBiz logo
(OFBIZ-10034)

Still uses ofbiz-simple-white.svg for screen width under 1232px

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816934 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 08:07:16 +00:00
Jacques Le Roux 821d3f583c Improved: Replace Rainbow OFBiz logo
(OFBIZ-10034)

Creates a copy of https://ofbiz.apache.org/images/OFBiz-logo.png into a svg file 
for  use in Rainbow theme

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816933 13f79535-47bb-0310-9956-ffa450edef68
2017-12-02 07:50:23 +00:00
Jacques Le Roux 04f84bac79 Improved: Make the general.SystemPropertyValue same than the related property
in general properties
(OFBIZ-9924)

only VISUAL_THEME value was concerned

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816899 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 19:10:00 +00:00
Jacques Le Roux 95b17d4d23 Improved: The main logo in screen upper part shows distorted
(OFBIZ-9990)

Fixes this issue in Tomahawk and Flat Grey themes by using ofbiz_logo.png, 
instead of the old logo deprecated ofbiz_logo.gif 

While at it use the same logo everywhere it's possible. It was needed for links 
to http://ofbiz.apache.org/images/ofbiz_logo.gif which no longer exists 
(actually seems only used for tests so could stay like that but better not refer 
to it anyway)

Also use this logo for Bluelight theme where it fits. 

It could not be used in Rainbow themes because they are using a Scalable Vector 
Graphics file (ofbiz-white.svg) that can't be replaced by the new png logo file
BTW this file still uses a TM symbol instead of a ®

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816897 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 18:45:50 +00:00
Jacques Le Roux 142d45f18b Improved: Move the hhfacility application to Attic
(OFBIZ-10032)

This removes the hhfacility application and jQuery mobile which was only used by
the hhfacility application 



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816879 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 15:36:26 +00:00
Jacques Le Roux 559d6a7ee8 Fixed: In 'updateOrderContactMech' service, A check should be added to call
'removeOrderContactMech'.
(OFBIZ-9967)

In case, user don't create orderContactMech while creating an order and wish to 
create orderContactMech after the creation then, 'updateOrderContactMech' 
throws error of 'oldContactMechId' parameter missing in 'removeOrderContactMech'
 service.

Adds a 'if-not-empty' check for 'oldContactMechId' field i.e, if 
'oldContactMechId' is available then only 'removeOrderContactMech' service 
should be called in 'updateOrderContactMech' service.

Thanks: Sonal Patwari

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816795 13f79535-47bb-0310-9956-ffa450edef68
2017-12-01 04:49:34 +00:00
Jacques Le Roux 03b9065bed No functional change, better use console.error() here
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816706 13f79535-47bb-0310-9956-ffa450edef68
2017-11-30 10:53:13 +00:00
Nicolas Malin 526d09eb47 Improved: Migrate BudgetServiceTest from minilang to groovy
With the issue "Convert BudgetServices.xml mini lang to groovy" (OFBIZ-9985)
and issue "Implement Groovy test in testtools" (OFBIZ-9996)
I converted the related test AutoAcctgBudgetTests from minilang to groovy.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816645 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 19:18:51 +00:00
Jacques Le Roux 57bdcb3db3 Improved: Remove unused service checkContentAssocIds and its usage
(OFBIZ-9999)

All cases were not handled if contentAssocTypeId is also passed while creating 
a content.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816637 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 15:38:57 +00:00
Jacques Le Roux cfeeb7b88d Fixed: Improvements in gift certificate process
(OFBIZ-10027)

Sending mail should be async as it should not affect the regular workflow.

createGiftCertificate service doesn't create FinAccount with proper data. 
Like currency, name, ownerPartyId etc is not handled properly.

Thanks: Suraj Khurana

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1816635 13f79535-47bb-0310-9956-ffa450edef68
2017-11-29 15:35:13 +00:00