Commit Graph
27737 Commits
Author SHA1 Message Date
Jacques Le Roux 7ce77db416 Reverts from r1821001 (for OFBIZ-10113) I thought about keeping it but it's
better to commit it apart

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821032 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 20:53:25 +00:00
Jacques Le Roux 8a0ab58083 Improved: ID should be the abbreviation for identity in English
(OFBIZ-100131)

Completes r1820451, not sure why and how those missed

Thanks: James Yong for the Jira and r1820451 commit


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821029 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 20:13:58 +00:00
Jacques Le Roux 70b99a6db9 Reverts from r1821001 (for OFBIZ-10113) some unrelated files (pending changes)
that inadvertently slipped in.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821028 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 20:06:03 +00:00
Jacques Le Roux 5fe9050ae2 Fixed: pagination errors in "KeywordSearch.ftl" and "ProductSearchSession.java"
(OFBIZ-10154)

To recreate the bug go to
Order->OrderEntry-> Search in the catalog for "g" -> check the amount of shown 
pages and press "Next" -> press "back" -> note how many results you now have

Thanks: Karsten Tymann

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821012 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 18:21:38 +00:00
Jacques Le Roux 19d9b3ca30 Improved: Replace Asm select plugin with Select2.
(OFBIZ-10113)

Current Asm Select Plugin 
http://www.ryancramer.com/journal/entries/asmselect_v104/
can be replaced with Select2 (https://select2.org/).

* Select2 has much better community support on GitHub with 386 contributors 
  while Asm Select Plugin is handled by Ryan Cramer on http://www.ryancramer.com/.
* Select2 has 37 releases while Asm select has very few releases yet.
* Both the plugin has MIT license.

Refer https://select2.org/ and  
https://github.com/select2/select2 for more features and other information.

Added i18n support so added logic in JsLanguageFileMappingCreator and 
JsLanguageFilesMapping accordingly.
Added some custom CSS as the Select2 seems to be too fancy in accordance 
with the current OFBiz themes

Verify:
Multiple drop-downs field in FormWidgetExamples.
https://localhost:8443/example/control/FormWidgetExamples

Find Request page with StatusId , CustRequestId
https://localhost:8443/ordermgr/control/FindRequest

I have replaced the plugins though I feel the implementation of select multiple 
js code is to be reviewed & refactored. I will pick when I am done with all my 
current tasks if I get some consensus.

Thanks: Aditya 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821001 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 15:47:47 +00:00
Taher A. Alkhateeb b7c29e03e3 Implemented: fixed the mockito library version to stay consistent in versioning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820992 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 14:12:30 +00:00
Jacques Le Roux 0459bf6e23 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png

Also I previously wrongly changed from
VT_HDR_IMAGE_Url
not
VT_HDR_IMAGE_URL
now fixed


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820982 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 13:49:09 +00:00
Jacques Le Roux e454f2871d Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820980 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 13:31:38 +00:00
Jacques Le Roux cf0c677e10 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

Fix my previous commits, there is no themes webapp so no URL at 
/themes/common/webapp/images/ofbiz_logo.png
It's only images/ofbiz_logo.png


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820978 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 12:56:30 +00:00
Jacques Le Roux 7b9792b509 Fixed: Correcting findOne() in OfbizDslDescriptorForEclipse.dsld
(OFBIZ-10159)

The method findOne() which is set in the OfbizDslDescriptorForEclipse.dsld is 
wrong, since there is no implementation for this method, which only has a String 
and a List as parameters. I changed it to the correct method, so it can be used 
within groovy properly, also I put an implementation in the GroovyBaseScriptFile

Thanks: Dennis Balkir

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820966 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 11:24:48 +00:00
Jacques Le Roux 55ba682e2c No functional change, replace tabs by spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820965 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 11:22:31 +00:00
Jacques Le Roux 9247eef6bd Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

The ofbiz_logo.png and ofbiz_logo.ico are now in theme but for Tomahawk which
has still it's own version but not really used I'd say. 

So apart for tomahawk/css/style.css which uses a relative path (not sure why)
this replaces the locations for these files in theme files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820961 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 10:37:28 +00:00
Paul Foxworthy 5fd7402240 Fixed: Find Employee Position does not allow "don't care" for boolean fields (OFBIZ-10158)
In the demo app, go to https://demo-stable.ofbiz.apache.org/humanres/control/FindEmplPositions, click on New Employee Position, and toggle one of the four flags, e.g. set Temporary Flag to N.

Now on the Find screen, there is no way to find all employee positions: it insists on a Yes or No for the flags. This patch allows a blank "don't care" option.

Thanks: Larissa Zanoni at Blockfreight for discovering this issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820949 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 06:50:17 +00:00
Jacques Le Roux b964875337 Improved: Clean images, among them logos, in all locations used
(OFBIZ-10128)

The ofbiz_logo.png is now in theme. This is only the framework part. 
I have also made change in theme but I need to review again and perhaps create 
a patch for others to review...
Note: testUpdatePartyGroup is OK

Then I'll also rename the logo in site to use the same name before maybe
referring to svn trunk repo to use only 1 file everywhere, same for the .ico
file

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820862 13f79535-47bb-0310-9956-ffa450edef68
2018-01-11 11:05:26 +00:00
Deepak Dixit 471198e9eb Fixed: Shipping Label printing not working (OFBIZ-10153)
Added viewShipmentLabel in http-request map so that pdf will be able to print the shipping lable.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820823 13f79535-47bb-0310-9956-ffa450edef68
2018-01-11 05:49:53 +00:00
Jacques Le Roux e95d277c7d No functional change, this should be 8 not 12 (that I use locally)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820790 13f79535-47bb-0310-9956-ffa450edef68
2018-01-10 21:03:12 +00:00
Jacques Le Roux 254164350f No functional change, forgot to put the license and a comment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820658 13f79535-47bb-0310-9956-ffa450edef68
2018-01-09 13:11:31 +00:00
Jacques Le Roux fbba91bbcd Improved: Update Geo information according to ISO notifications
(OFBIZ-10028)

This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq

Here are China, Germany, Hungary and Indonesia

Thanks: Kyra Pritzel-Hentley 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820644 13f79535-47bb-0310-9956-ffa450edef68
2018-01-09 11:30:39 +00:00
Jacques Le Roux cd6330a34a Improved: ID should be the abbreviation for identity in English
(OFBIZ-100131)

Completes r1820451

Thanks: James Yong for the Jira and r1820451 commit


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820457 13f79535-47bb-0310-9956-ffa450edef68
2018-01-07 13:26:22 +00:00
James Yong b2004efd5a Improved: ID should be the abbreviation for identity in English
(OFBIZ-100131)

Cover translations that are missed earlier.
Also cover non-English translations.

Thanks: Jacques for the additional patch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820451 13f79535-47bb-0310-9956-ffa450edef68
2018-01-07 12:16:21 +00:00
Jacques Le Roux 883b3f7f1e Improved: Update Geo information according to ISO notifications, Ecuador
(OFBIZ-10028)

This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq

This is mostly to check WIP at INFRA-15394, INFRA-15785 and OFBIZ-10147

Thanks: Kyra Pritzel-Hentley 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820441 13f79535-47bb-0310-9956-ffa450edef68
2018-01-07 10:51:39 +00:00
Nicolas Malin ef29d33cbe Fixed: ProductPriceRuleCondition 'is Product' (enum:PRIP_PRODUCT_ID) don't check the virtual product (OFBIZ-10149).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820411 13f79535-47bb-0310-9956-ffa450edef68
2018-01-06 15:45:13 +00:00
Nicolas Malin 2825a35b79 Fixed: Display the included vat amount on order item detail instead of 0 (OFBIZ-10148)
When you use a product price with included vat tax, the orderAdjustment created have an amount to 0 but amount already included with the vat.

When we display the order adjustment detail for an order item we use only amount (so 0).

Now if the orderAdjustment have an amountAlreadyIncluded not empty, we display it instead.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820403 13f79535-47bb-0310-9956-ffa450edef68
2018-01-06 14:58:14 +00:00
Jacques Le Roux aa5ecc3540 Improved: Update Geo information according to ISO notifications, Iceland
(OFBIZ-10028)

This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq

This is mostly to check WIP at INFRA-15394, INFRA-15785 and OFBIZ-10147

Thanks: Kyra Pritzel-Hentley 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820375 13f79535-47bb-0310-9956-ffa450edef68
2018-01-06 07:13:44 +00:00
Jacques Le Roux 0b91b6e911 Improved: Update Geo information according to ISO notifications, Cyprus
(OFBIZ-10028)

This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq

Thanks: Kyra Pritzel-Hentley 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820374 13f79535-47bb-0310-9956-ffa450edef68
2018-01-06 06:01:15 +00:00
Jacopo Cappellato bd811eb7db Fixed: typos in Javadoc comment.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820307 13f79535-47bb-0310-9956-ffa450edef68
2018-01-05 15:09:32 +00:00
Deepak Dixit 118eb285d9 Fixed: Hardcoded String in PaymentGatewayServices#processCaptureResult (OFBIZ-10143)
In this patch a hard coded String is replaced with a String variable, trailing whitespace is deleted and a small typo is fixed.
Thanks Kyra Pritzel-Hentley for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820262 13f79535-47bb-0310-9956-ffa450edef68
2018-01-05 06:51:13 +00:00
Jacques Le Roux 8b9cc59c18 Improved: DataEvents.java API
(OFBIZ-10144)

Thanks: Wai

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820160 13f79535-47bb-0310-9956-ffa450edef68
2018-01-04 17:55:10 +00:00
Jacques Le Roux 9c27473d59 No functional change,
Removes the test error used to test the new Buildbot config.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820051 13f79535-47bb-0310-9956-ffa450edef68
2018-01-04 10:52:55 +00:00
Jacques Le Roux 56a97a4483 No functional change,
Voluntarily put a test error to test the new Buildbot config.

It will be removed as soon as Buildbot will run w/o duplicate warnings

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820049 13f79535-47bb-0310-9956-ffa450edef68
2018-01-04 10:24:10 +00:00
Deepak Dixit 71bc8c95e3 Fixed: Trailing fraction are not entertained by formatCurrency method of UtilFormatOut (OFBIZ-10142)
Thanks Suraj Khurana for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1820038 13f79535-47bb-0310-9956-ffa450edef68
2018-01-04 07:54:15 +00:00
Akash Jain 8e6b300279 Reverted: Revision #1816270 not able to add a option with empty key in drop-down, (OFBIZ-9759)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819947 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 10:43:36 +00:00
Jacques Le Roux eeae5fc2da No functional change, fixes French label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819925 13f79535-47bb-0310-9956-ffa450edef68
2018-01-03 05:21:48 +00:00
James Yong 38d0f7455d Fixed: ID should be the abbreviation for identity in English
(OFBIZ-10131)

Replaced the word 'Id' with 'ID' in the *Labels.xml files for "en" locale.
Improved the logic for auto title so that labels generated for variables like productTypeId 
will be 'Product Type ID' instead of 'Product Type Id'.

Thanks: Jacques for the review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1819906 13f79535-47bb-0310-9956-ffa450edef68
2018-01-02 21:58:37 +00:00
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