Commit Graph
27737 Commits
Author SHA1 Message Date
Suraj Khurana 0f08ae5f03 Improved: Updated tasks.checkstyleMain.maxErrors to 503. ~(-42) 2020-09-26 14:21:34 +05:30
Suraj Khurana 1ff8957032 Improved: Corrected some spacing issues in code, where there are extra white spaces, this will fix some checkstyle issues in applications component.
(OFBIZ-12022)
2020-09-26 14:18:28 +05:30
Suraj Khurana 62c72c64a4 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-09-26 14:17:23 +05:30
Suraj Khurana acdddaf85c Improved: Corrected some spacing issues in code, where there are extra white spaces, this will fix some checkstyle issues in framework component.
(OFBIZ-12022)
2020-09-26 14:01:43 +05:30
Jacques Le Roux cc6ac64346 Improved: fixes the executionpolicy for last update of Windows 10
Thanks: Georg Potthast for report on user ML
2020-09-26 09:55:27 +02:00
James Yong 4b8dd2a06b Fixed: Open FTL File from browser (OFBIZ-12018)
Unable to open file in Windows

Thanks Jacques for reporting.
2020-09-25 22:44:46 +08:00
James Yong d7a5d601bd Fixed: Open FTL File from browser (OFBIZ-12018)
StringIndexOutOfBoundsException error in Windows

Thanks Jacques for reporting.
2020-09-25 13:00:34 +08:00
James Yong ad2e8de7c2 Improved: Open FTL File from browser (OFBIZ-12018)
Add function to open the corresponding FTL file with IDE
when the named border is clicked from browser.

Thanks Rishi and Jacques for review
2020-09-24 21:36:24 +08:00
Jacques Le Roux ee8bd3f5d4 Fixes a JavaDoc issue 2020-09-24 10:32:06 +02:00
Jacques Le Roux f1b88bd84b Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
Better use Debug.logVerbose in place where I replaced missing expression with
another varation of Debug.log. We mainly don't need these information, it's only
for Checkstyle.

I thought did not replace cases where using another variation makes sense
2020-09-21 10:45:03 +02:00
James Yong 814d95afc8 Fixed: Show border and file name for content rendered from ftl (OFBIZ-12002)
Fixed some other named borders not removed +
Only increase z-index for the border labels
2020-09-21 14:45:00 +08:00
James Yong 26fcfd180b Fixed: Show border and file name for content rendered from ftl (OFBIZ-12002)
Unable to add internal organization in HR tree

Thanks Olivier for reporting
2020-09-21 14:23:36 +08:00
James Yong 2cc3ab0f66 Fixed: Show border and file name for content rendered from ftl (OFBIZ-12002)
Error in testIntegration

Thanks Jacques for reporting
2020-09-19 23:34:53 +08:00
James Yong 17e2ded1cc Improved: multi-block attribute for html-template tag (OFBIZ-11686)
Move getJs and js request mapping out of "AJAX events" comments block
2020-09-19 10:04:18 +08:00
Girish Vasmatkar 31a6171c0b Fixed: Issue in OpenAPI generation due to duplicate ModelParam in the IN model param list. Added a BinaryOperarion function
to account for duplicates(OFBIZ-11328)
2020-09-18 16:26:18 +05:30
James Yong 347c905674 Improved: Show border and file name for content rendered from ftl (OFBIZ-12002)
New property “widget.dev.namedBorder” to control the display of the named border

Thanks Michael for review
2020-09-18 14:37:36 +08:00
James Yong d4713fa647 Improved: Remove formatBoundaryComment function in HtmlWidgetRenderer class (OFBIZ-12015)
Use buildBoundaryComment function instead of formatBoundaryComment function. Both functions do the same thing.

Thanks: Jacques for review
2020-09-17 21:11:07 +08:00
Jacques Le Roux ae8b2d89b0 Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
Removes last remaining "Must have at least one statement" issues by using
Debug.logVerbose

Decreases tasks.checkstyleMain.maxErrors from 543 to 535

Thanks: Suraj for report
2020-09-16 10:30:37 +02:00
Nicolas Malin c0054e97ea Improved: Convert ProductStoreServices.xml file from mini-lang to groovy DSL
(OFBIZ-11449)

Thanks to Sebastian Berg for this patch
2020-09-16 09:35:32 +02:00
Jacques Le Roux 231f97f030 Improved: Demo Data in conflict with Entity Unique Index when loading data during creation (OFBIZ-11998)
This is a known issue with MsSQL since
http://ofbiz.135035.n4.nabble.com/Unique-constraint-on-Person-cardId-breaks-ofbiz-on-SQL-Server-td4656840.html
The problem does not exist with Derby, nor with the mostly open source DBMS
used with OFBiz: Postres, MySQL, MariaDB, etc.
So we will not change the current OOTB setting and suggest to simply change
your own configuration

Thanks: Schumann Ye for report
2020-09-16 09:09:06 +02:00
Jacques Le Roux 418f7d6242 Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
Slightly decreases tasks.checkstyleMain.maxErrors from 545 to 543
2020-09-15 15:27:20 +02:00
Jacques Le Roux 346c63bfdf Improved: Checkstyle: Variable name must match pattern (OFBIZ-11926)
We have a lot of "do nothing" in Java code. In case of catch we should at least
have Debug.logError(e, MODULE); and maybe an explanation in the comment.
2020-09-15 15:24:45 +02:00
holivier b8894c4c1d Improved: remove trailing space 2020-09-14 16:46:59 +02:00
Jacques Le Roux 71e027d3a1 Documented: Error while decoding url parameters with percent character (OFBIZ-12014)
Just a comment to clarify
2020-09-14 11:53:02 +02:00
Jacques Le Roux 748e6c3452 Fixed: Error while decoding url parameters with percent character (OFBIZ-12014)
This has been already fixed (an clearly explained) in OFBIZ-10275 and broken
again in OFBIZ-11822

Thanks: Pradeep Choudhary
2020-09-14 11:18:28 +02:00
Suraj Khurana fa57ea157e Improved: Updated tasks.checkstyleMain.maxErrors to 545. ~(-45) 2020-09-13 11:34:42 +05:30
Suraj Khurana 02bb30ec61 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-09-13 11:29:46 +05:30
Suraj Khurana 0af165fb08 Improved: Added missing Javadocs for remaining methods in applications component, this is required for all classes which looks like designed for extension (can be subclassed).
(OFBIZ-11947)
Thanks Jacques for review.
2020-09-13 11:29:10 +05:30
Suraj Khurana a5619831eb Improved: Added missing Javadocs for remaining methods in framework component, this is required for all classes which looks like designed for extension (can be subclassed).
(OFBIZ-11947)
Thanks Jacques for review.
2020-09-13 11:28:00 +05:30
James Yong b18dd6a9ce Improved: Show border and file name for content rendered from ftl (OFBIZ-12002)
To reduce the need to view the page source from the browser.
Activated when print.verbose=true and widget.verbose=true.

Thanks: Jacques for review
2020-09-12 20:10:08 +08:00
holivier 96b30f5567 Fixed: link address correction on EditAgreement and EditAgreementItem
documentation
2020-09-12 09:56:11 +02:00
Suraj Khurana 91b391dfb0 Improved: Updated tasks.checkstyleMain.maxErrors to 590. ~(-160) 2020-09-12 12:11:37 +05:30
Suraj Khurana b3fcbeedba Improved: Make data members of class as private and added accessor methods for the same, also corrected occurences of the same in applications component.
(OFBIZ-11963)
Also made some related checkstyle code enhancements. Thanks Jacques for review.
2020-09-12 12:09:03 +05:30
Suraj Khurana 97b1688b0d Improved: Make data members of class as private and added accessor methods for the same, also corrected occurences of the same in framework component.
(OFBIZ-11963)
Also made some related checkstyle code enhancements. Thanks Jacques for review.
2020-09-12 12:05:16 +05:30
James Yong 8c4a19118d Refactor ThemeFactory.java 2020-09-11 20:14:58 +08:00
Jacques Le Roux d04f777389 Fixed: display/selection of unit of measure is broken (OFBIZ-11955)
Improve code for UOM dropdown of products like WG-9943

Thanks: Alex
2020-09-11 10:43:13 +02:00
holivier 93eb9c65a2 Documented: Framework, migration all docbook files to asciidoc
(OFBIZ-11587)

- Correction on tag added in README.adoc, wrong comment characters,
- and correction in included:: in unit-tests.adoc to have correct
paragraph level
2020-09-10 15:27:40 +02:00
Jacques Le Roux a74eac0060 Fixed: Well-formed html in ftl template (OFBIZ-11996)
Fixes Java method names issues

Thanks: Girish
2020-09-10 12:31:22 +02:00
James Yong 161c0c0c05 Improved: Well-formed html in ftl template (OFBIZ-11996)
refactoring + add test case
2020-09-10 17:12:36 +08:00
James Yong aab02b5142 Improved: Well-formed html in ftl template (OFBIZ-11996)
Add code to check closing tags and refactoring
2020-09-10 13:10:32 +08:00
James Yong cac8c27477 Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)
Fix cvc-complex-type.2.1 error
2020-09-10 10:13:28 +08:00
James Yong a8eb8bc059 Improved: Allow <html-template> to accept CDATA (OFBIZ-7004)
Allow inline content

Thanks: Jacques for review in 2016
2020-09-10 09:12:05 +08:00
Jacques Le Roux 5d8541ebf8 Fixed: Checkstyle, variable must be private and have accessor methods (OFBIZ-11963)
Removes RESOURCE, not used anywhere
Replaces keyseparator by KEY_SEPARATOR in Groovy files that use it

We need to be careful about Groovy files that use variables. At least Eclipse
Grooby plugin is not able to check that in an easy way (ill-names vars are
though underlined)
2020-09-09 15:46:06 +02:00
James Yong d322ae51e3 Improved: Well-formed html in ftl template (OFBIZ-11996)
fix checkstyle issue
2020-09-06 18:26:54 +08:00
James Yong 8cbdb6a225 Improved: Well-formed html in ftl template (OFBIZ-11996)
When print.verbose=true, check for well-formed html in ftl templates to catch programming errors.
2020-09-06 07:44:40 +08:00
Jacques Le Roux 2ee3984c8e Improved: missed and ASL2 header 2020-09-04 11:57:15 +02:00
Suraj Khurana f180878ece Improved: Updated tasks.checkstyleMain.maxErrors to 751. ~(-1250) 2020-09-04 12:31:09 +05:30
Suraj Khurana bc5e945ded Improved: Corrected line is longer than 150 characters checkstyle issues in framework component.
(OFBIZ-11921)
Also fixed some other extra space and naming related checkstyle issues observed.
Thanks Jacques for review.
2020-09-04 12:25:12 +05:30
Suraj Khurana 5f021ce06b Improved: Corrected line is longer than 150 characters checkstyle issues in applications component.
(OFBIZ-11921)
Also fixed some other extra space and naming related checkstyle issues observed.
Thanks Jacques for review.
2020-09-04 12:24:14 +05:30
Akash Jain 98f495a79c Improved: adding product to purchase order auto assigned PRODUCT_ORDER_ITEM (OFBIZ-9339)
Thanks, Wai for report.
2020-09-01 21:06:15 +05:30