Jacques Le Roux
7de1951eee
Improved: Update Geo information according to ISO notifications, Korea
...
(the Democratic People's Republic of)
(OFBIZ-10028)
This follows this discussion http://markmail.org/message/xn7f552qvtpua2uq
This is mostly to check WIP at INFRA-15836, so will be backported
Thanks: Kyra Pritzel-Hentley
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821112 13f79535-47bb-0310-9956-ffa450edef68
2018-01-14 18:23:57 +00:00
Jacques Le Roux
e45a869e17
Fixed: streaming large content cause out of memory exception.
...
(OFBIZ-10133)
No functional change in trunk
Slightly improves formatting in streamContent() in trunk.
Uses the same code in R16, notably for setting
byte[] buffer = new byte[bufferSize];
that guarantee no issues, and using try-with-ressource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821054 13f79535-47bb-0310-9956-ffa450edef68
2018-01-13 09:37:38 +00:00
Jacques Le Roux
67d62f9ad6
No functional changes.
...
Replaces close() in finally by try-with-ressource
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821039 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 22:37:25 +00:00
Jacques Le Roux
823cc0bf99
Fixed: streaming large content cause out of memory exception.
...
(OFBIZ-10133)
When ofbiz streams a large content (eg. video file), get out of memory exception.
To reproduce the issue see the Jira
jleroux: I just removed final for bufferSize, I see no needs for that local
variable
Thanks: Wai for the patch Michael for the discussion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1821036 13f79535-47bb-0310-9956-ffa450edef68
2018-01-12 21:59:22 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jacques Le Roux
1b9094d4b2
Improved: Upgrade Jquery 1.11.0 to JQuery 3.2.1
...
(OFBIZ-9978)
Updates JGrowl from 1.4.1 to 1.4.6
Thanks: Aditya
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818580 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 14:48:04 +00:00
Jacques Le Roux
1c1d7dca60
No functional change, puts back this comment after r1818495, it may helps
...
sometimes, but better be verbose and tested, else it's too much
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818574 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 14:11:26 +00:00
Jacques Le Roux
a8d6883644
No functional change, puts back this comment after r1818495, it may helps
...
sometimes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818571 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 14:07:58 +00:00
Michael Brohl
b932ce362a
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.login.
(OFBIZ-9880)
Thanks Julian Leichert for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818567 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 13:45:13 +00:00
Jacques Le Roux
5f9aec956d
No functional change, just better English ;)
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818565 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 13:05:41 +00:00
Michael Brohl
6329196e14
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.email.
(OFBIZ-9876)
Thanks Julian Leichert for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818557 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 12:21:16 +00:00
Michael Brohl
dcf4ab8ef6
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.image.
(OFBIZ-9878)
Thanks Julian Leichert for reporting and providing the patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818556 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 12:01:53 +00:00
Michael Brohl
5bfe284067
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.qrcode.
(OFBIZ-9883)
Thanks Julian Leichert for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818551 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 10:52:13 +00:00
Michael Brohl
1d75c7f50c
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.preferences.
(OFBIZ-9927)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818548 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 10:16:05 +00:00
Michael Brohl
4c7f71a9f8
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.base.concurrent.
(OFBIZ-9928)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818547 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 10:11:40 +00:00
Michael Brohl
e489038c59
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.base.conversion.
(OFBIZ-9929)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818546 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 10:09:55 +00:00
Michael Brohl
4f85d01d72
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.common.
(OFBIZ-9930)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818544 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 09:51:44 +00:00
Michael Brohl
7e765af8f9
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.base.lang.
(OFBIZ-9931)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818543 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 09:41:33 +00:00
Michael Brohl
8c4c5835ed
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.service.group.
(OFBIZ-9932)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818542 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 09:39:45 +00:00
Michael Brohl
4436e8b96f
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.widget.renderer.html.
(OFBIZ-9933)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818541 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 09:35:36 +00:00
Michael Brohl
1a85712bb2
Improved: General refactoring and code improvements, package
...
org.apache.ofbiz.service.engine.
(OFBIZ-9934)
Thanks Dennis Balkir for reporting and providing the patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1818540 13f79535-47bb-0310-9956-ffa450edef68
2017-12-18 09:30:52 +00:00