Commit Graph
25103 Commits
Author SHA1 Message Date
Jacques Le Roux d3108a67e5 Fixed: Add WebSocket support in OFBiz
(OFBIZ-7073)

This was my bad at OFBIZ-7776

Thanks: Deepak for help on dev ML (good remembering)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819811 13f79535-47bb-0310-9956-ffa450edef68
2018-01-02 12:22:17 +00:00
Jacques Le Roux 0dceeb7983 Improved: Make the number of initially visible applications in main menu a
(OFBIZ-10132)

Currently the number of initially visible applications is hardcoded to 8 in 
TopAppBar.ftl

Completes r1819800 thankd to Deepak on dev ML

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819805 13f79535-47bb-0310-9956-ffa450edef68
2018-01-02 12:07:51 +00:00
Jacques Le Roux cfc3a63231 Improved: Make the number of initially visible applications in main menu a
(OFBIZ-10132)

Currently the number of initially visible applications is hardcoded to 8 in 
TopAppBar.ftl

This temporarily do it by putting an appMax properties in a 
common/config/rainbowstone.properties file. 
Putting it in themes/common/config/rainbowstone.properties does not work yet.
I have to find why, WIP in relation with OFBIZ-7073

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819800 13f79535-47bb-0310-9956-ffa450edef68
2018-01-02 10:36:49 +00:00
Jacques Le Roux 587e656831 No functional refactoring changes while reviewing r1819730
Removes useless exceptions handling. 
Uses try-w/-ress for ByteArrayInputStream

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819764 13f79535-47bb-0310-9956-ffa450edef68
2018-01-01 12:23:18 +00:00
Jacques Le Roux 297371b526 Improved: Handle service response effectively
(OFBIZ-9981)

As per discussion on Dev ML:
==========================
Every service calling from java/groovy must handle errors by service util 
methods such as isError, returnError etc. 
and similarly in case of XML <call-service, there should be <check-error/> 
to make sure service was executed successfully.

Apart from this, one suggestion is to include *Debug.logError* in 
*ServiceUtil.returnProblem* so that in case of any error occurred and handled, 
it will always be logged on the console.
==========================

jleroux: this is the applications part with some slight changes

Thanks: Suraj Khurana and Anushi Gupta

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819730 13f79535-47bb-0310-9956-ffa450edef68
2017-12-31 11:11:46 +00:00
Jacques Le Roux 9313ee43c5 No functional change.
Removes last vestiges of HTTP

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819693 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 22:27:23 +00:00
Jacques Le Roux 164f8d9eea No functional changes.
Removes or documents the last vestiges of HTTP and 8080

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819691 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 22:21:44 +00:00
Jacques Le Roux aed04caf35 Fixed: Encoding issue while exporting CSV
(OFBIZ-10109)

While migrating widget.properties values in ThemeData.xml, "xml" encoder is 
added for template "screencsv" which was not persent in the properties file. 
By this, special character are not supported in CSV file.

Steps to generate: accounting/control/TrialBalance?organizationPartyId=Company
Click on Inventory Valuation report.
Export report as CSV.

Thanks: Aman Agrawal

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819598 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 13:51:20 +00:00
Rishi Solanki 167570828d Fixed: Order Process Broken - Due to Missing Service Defination. Error was due to missing service defintion and checked that implementation exists for the service. So adding the service definition back.
(OFBIZ-10129)
Thanks to Ratnesh Upadhyay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819587 13f79535-47bb-0310-9956-ffa450edef68
2017-12-30 10:30:46 +00:00
Jacques Le Roux 64fd613759 Completed: Update DBCP to 2.2.0
(OFBIZ-9917)

Tests and few UI interactions OK

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819500 13f79535-47bb-0310-9956-ffa450edef68
2017-12-29 17:40:32 +00:00
Taher A. Alkhateeb 0a34f341d1 Fixed: apply correct RTL on tab bar items in flatgrey and rainbowstone themes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819499 13f79535-47bb-0310-9956-ffa450edef68
2017-12-29 17:29:52 +00:00
Jacques Le Roux d09d7cf844 Removes all but root sub-dir from svn:ignores
They are now in repo branch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819486 13f79535-47bb-0310-9956-ffa450edef68
2017-12-29 13:01:51 +00:00
Jacques Le Roux ade5e5628a Try to remove global-ignores since it's now set and inherited from
OFBiz repo branch. 
For now it dies not work, so just a try...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819482 13f79535-47bb-0310-9956-ffa450edef68
2017-12-29 11:19:59 +00:00
Rishi Solanki 68e60781b3 Fixed: Unable to remove selected item from cart. Get the value for further removed item processing instead of key to fix the conversion exception coming on UI.
(OFBIZ-10120)
Thanks to Yogesh Naroliya for reporting the issue and providing patch to fix the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819470 13f79535-47bb-0310-9956-ffa450edef68
2017-12-29 09:09:18 +00:00
Nicolas Malin e0ea10eabc Improved: In CSV export file from data-file add a new attribute to select the EOL type (OFBIZ-9536)
During the file CSV generation by data-file engine, it is not possible to choose the end of line char. It is always "CR". 
With this improvement it's now possible to define a eol-type attribute on data-file element with value CR or CRLF to use in the csv file result.
Example:
    <data-file name="MyCsvTest" separator-style="delimited" type-code="text" delimiter=";" eol-type="CRLF">
        <record name="Test">...
     </data-file>
Thanks Pierre Gaudin for this proposal.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819151 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 14:14:45 +00:00
Nicolas Malin 28ff342414 Improved: Import file with data-file, add start-line to escape the header column line (OFBIZ-10108)
When you load a CSV file some time with a data-file definition, if it contains some header column you can use the format attribute of you column.
Example:
ref;date
100;2017-10-10
200;2017-12-11

This definition failed :
    <data-file name="MyCsvTest" separator-style="delimited" type-code="text" delimiter=";">
        <record name="Test">
            <field name="ref" type="String" position="1"/>
            <field name="date" type="CustomTimestamp" format="yyyyy-MM-dd" position="2"/>
        </record>
     </data-file>

You need to read the date as string and after convert it on your code to escape the first line.
To solve it I added a new attribute start-line on data-file element :
    <data-file name="MyCsvTest" separator-style="delimited" type-code="text" *start-line="1"* delimiter=";">
        <record name="Test">
            <field name="ref" type="String" position="1"/>
            <field name="date" type="CustomTimestamp" format="yyyyy-MM-dd" position="2"/>
        </record>
     </data-file>

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819147 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 13:42:15 +00:00
Arun Patidar 2565879f26 Fixed: Error printing Return PDF (OFBIZ-9915)
Thanks Priya sharma and Ankush Upadhyay for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819144 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 13:18:20 +00:00
Michael Brohl f36b38f42f Improved: Useful parameter usage extension and small fix of
getDependentDropdownValues in miscAjaxFunctions.js.
(OFBIZ-10103)

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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819139 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 11:35:57 +00:00
Michael Brohl 00a5d3413a Improved: Remove unused services from party/services_view.xml and
PartyServices.java/.xml.
(OFBIZ-9988)

The removed code is not used anywhere in the codebase.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819138 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 11:27:35 +00:00
Akash Jain ed4d86630f Fixed: Party Classification Groups are not listing on FindParty screen, applied patch from jira issue (OFBIZ-10007)
Fixed issue in which classification is not listed in the dropdown.
First value is undefined in the list, this is because of asmSelect Jquery which will cover in another ticket.
Thanks, Aman Agrawal and Sonal Patwari for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819136 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 10:53:58 +00:00
James Yong ba2e822f27 Implemented: Tomcat SSO
(OFBIZ-10047)

This allow developers the option to use Tomcat SSO, instead of externalLoginKey, for SSO.

Thanks: Jacques and Michael for the reviews

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819133 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 10:39:44 +00:00
Deepak Dixit 1c0e3a8dbe Reverted: Revision #1819126 causing test failure, reverted for now (OFBIZ-9969)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819132 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 10:27:27 +00:00
Arun Patidar 5742dc0ea5 Improved: 'Order Entry Payment Settings' should not be hard coded (OFBIZ-9618)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819131 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 10:23:34 +00:00
Deepak Dixit 0aabb0b015 Fixed: Added missing import in ValidateMethod.java (OFBIZ-9969)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819129 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 09:45:08 +00:00
Deepak Dixit 78a1b15a25 Improved: In 'ValidateMethod.java', when we don't pass any className from xml files. default value 'org.apache.ofbiz.base.util.UtilValidate' should be set for className. (OFBIZ-9969)
Thanks Sonal Patwari and Suraj Khurana for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819126 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 09:29:58 +00:00
Deepak Dixit fb77a3c477 Improved: Logging: change all System.out/.err/.. println to Debug.log... in the code base (OFBIZ-10045)
Thanks Michael Brohl and Kyra Pritzel-Hentley for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819124 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 09:08:04 +00:00
Arun Patidar b30481ffab Fixed: While creating return fin account used currency must be same (OFBIZ-9977)
Thanks Suraj Khurana for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819122 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 08:49:07 +00:00
Deepak Dixit 616f180e6e Fixed: service:updateTextContent fails (OFBIZ-10112)
Thanks Wai for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819120 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 08:40:56 +00:00
Deepak Dixit febf3bc496 Improved: Replace Masked Input Plugin with jQuery-Mask-Plugin. (OFBIZ-9493)
Thanks Aditya Shamra for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819117 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 08:31:33 +00:00
Deepak Dixit a89057c141 Improved: Replace Inline js with External js in makeHyperlinkString macro (OFBIZ-9852)
Thanks Aditya Sharma for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819113 13f79535-47bb-0310-9956-ffa450edef68
2017-12-23 06:37:27 +00:00
Michael Brohl 706fdd1399 Fixed: Replace hard coded error message String with more suitable
uiLabel in CheckoutHelper.createOrder.
(OFBIZ-10107)

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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818922 13f79535-47bb-0310-9956-ffa450edef68
2017-12-21 12:38:19 +00:00
Michael Brohl 50c4bba4b2 Improved: Replace all "e.printStackTrace();" by calls to the Debug class.
(OFBIZ-10083)

Thanks Jacques Le Roux for reporting and Kyra Pritzel-Hentley 
for providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818921 13f79535-47bb-0310-9956-ffa450edef68
2017-12-21 12:33:04 +00:00
Deepak Dixit 521ea1b1f3 Fixed: Corrected file name in content ofbiz-component.xml file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818912 13f79535-47bb-0310-9956-ffa450edef68
2017-12-21 11:06:14 +00:00
Michael Brohl f8d52ffb08 Improved: Logging: change System.out/.err/.. println to Debug.log...
in PdfSurveyServices.java.
(OFBIZ-10046)

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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818848 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 20:10:15 +00:00
Michael Brohl bb8f282467 Improved: Refactor magic numbers in
org.apache.ofbiz.accounting.thirdparty.clearcommerce.CCPaymentServices.
(OFBIZ-10100)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818847 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 20:04:36 +00:00
Michael Brohl 037a457b2b Improved: General refactoring and code improvements, package
org.apache.ofbiz.order.order.
(OFBIZ-10101)

Thanks Julian Leichert for reporting and providing the patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818846 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 19:56:26 +00:00
Jacques Le Roux 66920ad955 Completed: Create a DATAMODELCHANGES.md to track data model changes
(OFBIZ-9902)

We have already the wiki page Revisions+Requiring+Data+Migration+-+upgrade+ofbiz
but it's only by revisions. 

This adds a applications/datamodel/DATAMODEL_CHANGES.md document by releases 
and put an HTML copy  in tools/wiki-files/data-model which will be referenced
by the wiki page above

I wondered about putting a copy in 
tools/documentation/data-model/DATAMODEL_CHANGES.md but I think it's not needed

Also updates themes/README.md.html while at it

Thanks: Aditya Deepak and all http://markmail.org/message/4mrffmp5j2mujv3w 
participants

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818765 13f79535-47bb-0310-9956-ffa450edef68
2017-12-20 09:44:43 +00:00
Michael Brohl 8b44971c41 Improved: Incomplete RoleMember Permission Checks for ROLE_MEMBER in
ModelPermission#evalRoleMember.
(OFBIZ-9636)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818708 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 19:39:14 +00:00
Deepak Dixit 87b230b5b5 Fixed: service:createContent fails to create proper entity:ContentAssoc entry (OFBIZ-10098)
Thanks Wai for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818693 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 17:55:49 +00:00
Michael Brohl 98ee1e4f01 Improved: Fixing defects reported by code analysis tools, package
org.apache.ofbiz.base.util.string.
(OFBIZ-10097)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818677 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 15:19:10 +00:00
Michael Brohl 60b6d5a02f Fixed: Potential Nullpointer in ContentWorker.checkConditions()
(OFBIZ-10051)

Thanks Dennis Balkir for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818667 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 13:36:37 +00:00
Deepak Dixit 9a181f85db Improved: Used jquery-migrate-3.0.0.min.js, Thanks Aditya Sharma for reporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818648 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 11:05:07 +00:00
Jacques Le Roux 35ee954560 Completed: Remove applet concept in OFBiz
(OFBIZ-10094)

Following discussion at http://markmail.org/message/dlp4zoo3xxuiefpn :

While reviewing http://svn.apache.org/viewvc?view=revision&revision=1811438 
I stumbled upon the usage of Java Applets

It's still possible to use Java Applets in browsers but most of the time it's 
not OOTB https://www.digitalcitizen.life/how-enable-java-all-major-web-browsers

And Java 9 deprecates it https://www.java.com/en/download/faq/jdk9_plugin.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818646 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 10:33:15 +00:00
Deepak Dixit 3812c6290a Reverted: Local changes committed at r#1818600
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818639 13f79535-47bb-0310-9956-ffa450edef68
2017-12-19 06:29:13 +00:00
Deepak Dixit dc8180b333 Improved: Removed empty css attribute
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818611 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 19:06:40 +00:00
Deepak Dixit 0a652486ff Fixed: Fixed typo done at r#1818003
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818606 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 18:38:54 +00:00
Deepak Dixit d24c956bf9 Improved: Moved plugins js from images to common/js (OFBIZ-5776)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818600 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 18:16:09 +00:00
Jacques Le Roux 8cb1011755 No functional change, reverts changes that inadvertently slipped in with
r1818580

Thanks Michael for make me noticing it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818595 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 17:39:29 +00:00
Michael Brohl a6c8f5d3e3 Improved: Fixing defects reported by code analysis tools, package
org.apache.ofbiz.accounting.thirdparty.authorizedotnet.
(OFBIZ-9453)

Thanks Kyra Pritzel-Hentley for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818583 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 15:10:58 +00:00
Michael Brohl 269c29c65e Improved: Fixing defects reported by code analysis tools, package
org.apache.ofbiz.service.jms.
(OFBIZ-10061)

Thanks Julian Leichert for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818582 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 14:59:53 +00:00