Commit Graph
27737 Commits
Author SHA1 Message Date
Michael Brohl 7c623da44c Improved: General refactoring and code improvements, package
org.apache.ofbiz.party.party.
(OFBIZ-10068)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818418 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 14:43:53 +00:00
Michael Brohl ff3b8e33e6 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.config.
(OFBIZ-10069)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818416 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 14:23:33 +00:00
Michael Brohl 7e5e5d1ab1 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.image.
(OFBIZ-10070)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818412 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 14:12:17 +00:00
Michael Brohl df94800b9b Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.imagemanagement.
(OFBIZ-10071)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818411 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 14:09:52 +00:00
Michael Brohl e7eb821775 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.inventory.
(OFBIZ-10072)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818409 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 14:00:24 +00:00
Michael Brohl e162996ed6 Improved: No functional change, just corrected an indentation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818408 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:58:14 +00:00
Michael Brohl 673d39c91c Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.product.
(OFBIZ-10073)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818406 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:56:19 +00:00
Jacques Le Roux 19d46a232a Fixed: Prevent the possible return of the Robot attack
(OFBIZ-10085)

After reading https://robotattack.org/ and testing 
https://robotattack.org/check/?h=demo-trunk.ofbiz.apache.org which returned 
(same for stable and old)

    This host is not vulnerable. 
    However it still allows connections with the problematic RSA encryption 
    ciphers.

I concluded that we should remove RSA encryption ciphers from our Tomcat config.
See https://tomcat.apache.org/tomcat-8.5-doc/config/http.html

This removes RSA from ciphers and also sslProtocol which is now TLS by default

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818402 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:46:35 +00:00
Michael Brohl cf3be957ce Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.subscription.
(OFBIZ-10074)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818400 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:41:22 +00:00
Michael Brohl 35107018d1 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.supplier.
(OFBIZ-10075)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818399 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:39:19 +00:00
Michael Brohl fcaaee06d3 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.test.
(OFBIZ-10076)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818398 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 13:36:11 +00:00
Jacques Le Roux 98ce992ae9 No functional change, links to Further reading section from Quick start section
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818392 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 12:50:23 +00:00
Michael Brohl 55d93d472c Improved: General refactoring and code improvements, package
org.apache.ofbiz.content.data.
(OFBIZ-10077)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818388 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:58:56 +00:00
Michael Brohl b054a6e68e Improved: General refactoring and code improvements, package
org.apache.ofbiz.content.output.
(OFBIZ-10078)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818387 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:52:32 +00:00
Rishi Solanki fbdf5e9416 Improved: Move all data in applications to the datamodel component. Removed unused files.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818386 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:44:53 +00:00
Rishi Solanki 613a605a3f Improved: Move all data in applications to the datamodel component. Moved seed data from commonext component. Left the protlet, security and help data.
(OFBIZ-9501)
Thanks to Jacques and Taher for your help and finalizing the directions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818385 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:39:52 +00:00
Jacques Le Roux 10bda011ae No functional change, just trivial formatting.
I don't see why Buildbot is complaining on my last commit. Since I spotted a 
possible formatting improvement I commit it while waiting my machine to
confirm locally that there is actually no tests issues. Easier than starting
a new Buildbot build manually.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818381 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 11:01:48 +00:00
Jacques Le Roux ceaa5f2202 No functional change, just trivial formatting
I began to reformat this supposed refactoring commit, but stopped and decided 
to rather discuss this in the related Jira.

BTW automatically cutting lines at some narrow width does not make sense most of
the time.
See EntityQuery cases for instance, are they not easier to read when, IMO,
rightly formatted, as I did here?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818378 13f79535-47bb-0310-9956-ffa450edef68
2017-12-16 09:28:37 +00:00
Jacques Le Roux 342433a84f No functional change, removes a trivial not useful null
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818348 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 22:55:44 +00:00
Michael Brohl c8053bb3ca Improved: General refactoring and code improvements, package
org.apache.ofbiz.content.survey.
(OFBIZ-10079)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818337 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 21:02:07 +00:00
Michael Brohl 89c28c3762 Improved: General refactoring and code improvements, package
org.apache.ofbiz.content.webapp.ftl.
(OFBIZ-10080)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818335 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 20:56:29 +00:00
Michael Brohl 687e802022 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.promo.
(OFBIZ-10081)

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818333 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 20:43:18 +00:00
Michael Brohl 51bd44daf0 Improved: General refactoring and code improvements, package
org.apache.ofbiz.product.spreadsheetimport.
(OFBIZ-10082)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818330 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 20:37:55 +00:00
Michael Brohl 137d2b0587 Improved: General refactoring and code improvements, package
org.apache.ofbiz.order.shoppingcart.
(OFBIZ-10084)

Thanks Dennis Balkir for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818329 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 20:33:56 +00:00
Michael Brohl 693808577f Improved: General refactoring and code improvements, package
org.apache.ofbiz.accounting.tax.
(OFBIZ-9877)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818325 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 20:15:42 +00:00
Michael Brohl 4ccb26e860 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.order.order.
(OFBIZ-10056)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818291 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 15:10:32 +00:00
Deepak Dixit b783524847 Fixed: Screen rendering error on Content Advanced Search page (OFBIZ-9365)
Thanks Aditya Sharma for reporting the issue.

Content Advanced search was broken since long, still need to review work done at r#1102554, In this commit most of the issue has been fixed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818273 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 12:01:39 +00:00
Deepak Dixit 86cb628a38 Fixed: Edit Party Group page does not shows current set values (OFBIZ-9532)
Thansk Aditya Sharma for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818269 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 11:30:48 +00:00
Deepak Dixit 80ae23f5ef Fixed xml validation error found while console read
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818244 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 08:46:55 +00:00
Deepak Dixit 7a1dc7d26f Fxied: Corrected fk-name warning for newly added entities, fk-name was greater than 18 character.(OFBIZ-10040)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818243 13f79535-47bb-0310-9956-ffa450edef68
2017-12-15 08:39:39 +00:00
Jacques Le Roux 63d6797c5e No functional change, adds a Further reading section with a warning about
en dash

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818125 13f79535-47bb-0310-9956-ffa450edef68
2017-12-14 13:05:49 +00:00
Deepak Dixit 1a53771473 Fixed: Corrected engine name for updateWorkEffortFixedAssetStd service, Thanks Suraj Khurana for reporting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818101 13f79535-47bb-0310-9956-ffa450edef68
2017-12-14 10:56:49 +00:00
Jacques Le Roux 6ef98bbb39 No functional change, warning about dashes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818093 13f79535-47bb-0310-9956-ffa450edef68
2017-12-14 07:38:45 +00:00
Jacques Le Roux 4928bf3ae5 Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052)

This completes r1818075, there were still few cases, a last regexp search is 
never too much :)

Found 4 other loops with Strings concatenation, but who cares, it's only 
verbose logging...

There should not be anymore...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818077 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 22:37:16 +00:00
Jacques Le Roux 735f946b83 Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052)

This completes r1818020, there were still few cases, a last review is never too
much

In PriceServices, I spotted
  for (GenericValue orderItemPriceInfo: orderItemPriceInfos) {
      if (Debug.verboseOn()) Debug.logVerbose(" --- " + orderItemPriceInfo
but it's OK with me, this should be rarely used, so not a perf issue


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818075 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 22:24:25 +00:00
Jacques Le Roux 40e8be83df Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052)

This completes r1818010, there were much more cases.
Also few tabs automatically replaced by spaces

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818020 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 14:11:38 +00:00
Jacques Le Roux 24b92d6921 Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052)

As spotted by Nicolas and reported on dev ML there was a case w/ a double check
This removes it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818010 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 13:09:52 +00:00
Michael Brohl e0a296741b Improved: removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818008 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 13:04:27 +00:00
Michael Brohl bb3fff1b21 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.string.
(OFBIZ-9700)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818007 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 13:03:03 +00:00
Jacques Le Roux e0d2057456 Improved: Always check if debug verbose is on when using Debug.logVerbose()
(OFBIZ-10052)

We discussed on this point: http://markmail.org/message/mplvusuqn7oshl4v 
and we agreed about better doing a check when using Debug.logVerbose().

I checked there are 300+ cases like that. Since it's an easy S/R 
This implements it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818005 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 12:43:05 +00:00
Deepak Dixit 7e19de9966 Improved: Replace all delegator findByAnd and findOne method calling by EntityQuery methods (OFBIZ-10029)
Applied slightly modified patch, rearrange import properly, 
Thanks Suraj Khurana for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818003 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 12:03:17 +00:00
Deepak Dixit 63258e90f8 Reverted r#1817989, workign fine locally, reverted for now will check and commit again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817998 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 10:42:32 +00:00
Deepak Dixit d1f85a7e5d Improved: Replace all delegator findByAnd and findOne method calling by EntityQuery methods (OFBIZ-10029)
Applied slightly modified patch, rearrange import properly, 
Thanks Suraj Khurana for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817989 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 09:21:33 +00:00
Jacques Le Roux da9326adaf No functional change, just trivial formatting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817978 13f79535-47bb-0310-9956-ffa450edef68
2017-12-13 07:45:04 +00:00
Michael Brohl 2d13c73a02 Reverted: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.string.
(OFBIZ-9700)

There is an Exception being thrown during the tests, reverting and
investigating further.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817963 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 22:32:00 +00:00
Michael Brohl 216226db9b Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.base.util.string.
(OFBIZ-9700)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817935 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 16:41:06 +00:00
Michael Brohl 3cca77fa21 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.accounting.thirdparty.worldpay.
(OFBIZ-9548)

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817926 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 16:18:42 +00:00
Michael Brohl 65922610d2 Improved: Fixing defects reported by FindBugs, package
org.apache.ofbiz.accounting.thirdparty.paypal.
(OFBIZ-9539)

Thanks Kyra Pritzel-Hentley for reporting and Dennis Balkir for 
providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817925 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 16:14:59 +00:00
Rishi Solanki 10071d5149 Improved: Move all data in applications to the datamodel component. Removed unused files.
(OFBIZ-9501)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817917 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 14:05:11 +00:00
Rishi Solanki 319d7292d2 Improved: Move all data in applications to the datamodel component. Moved seed data from humanres, marketing and order component. Left the protlet, security and help data for these components.
(OFBIZ-9501)
Thanks to Jacques and Taher for your help and finalizing the directions.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1817915 13f79535-47bb-0310-9956-ffa450edef68
2017-12-12 13:57:04 +00:00