Commit Graph
27271 Commits
Author SHA1 Message Date
Suraj Khurana b2d7f9ea2a Improved: Updated tasks.checkstyleMain.maxErrors to 18050 ~(-2000) 2020-07-25 14:03:50 +05:30
Suraj Khurana df21972eed Improved: Updated case indentation to 0 for all switch statements in applications component. Also done formatting changes as per checkstyle best practices.
(OFBIZ-11904)
2020-07-25 13:53:10 +05:30
Suraj Khurana f4f2722d36 Improved: Updated case indentation to 0 for all switch statements in framework component. Also done formatting changes as per checkstyle best practices.
(OFBIZ-11904)
2020-07-25 13:50:37 +05:30
lodhiravi 4739019732 Fixed: Error in Quick Receive Purchase Order process. (OFBIZ-11911) (#219)
Corrected typo
2020-07-25 12:11:12 +05:30
lodhiravi 356af00b83 Fixed: Converted GString to String while setting success message in receiveInventoryProduct service to avoid the ClassCastException. Also corrected loop condition while creating inventory information during PO receiving to fix the issue where each product is getting received two times (doubled the qty) instead of single time.(OFBIZ-11909) (#218) 2020-07-25 12:04:03 +05:30
Pawan Verma a779bdc5f0 Improved: Convert ProductPriceTests.xml to Groovy(OFBIZ-11856)
Thanks, Akash for report and Anushi for patch.
2020-07-25 11:49:28 +05:30
holivier b3fbf6d680 Documented: remove old content links for ofbiz-setup, the docs have
been migrated to asciidoc (OFBIZ-11587)
2020-07-22 18:15:07 +02:00
holivier bd0efaf89b Documented: remove docbook migrated to asciidoc, portlet help are now
in ofbiz-plugins / MyPortal (OFBIZ-11587)
2020-07-22 18:13:28 +02:00
Priya SharmaandPriya Sharma 679b2883e1 Improved : Convert createRoleType service to entity-auto from Java and update its service calls (OFBIZ-11894) (#215)
(OFBIZ-11894)
* Improved: Convert createRoleType service to entity-auto from Java and update its service calls
- Removed the java implementation
- Converted the service to entity-auto
- updated the service call in Party tests where this service was used.
* Improved: Removed the testCreateRoleType test, as the base service is now converted to entity-auto and will be handled in entity-auto tests. (OFBIZ-11984)

Co-authored-by: Priya Sharma <priya.sharma@hotwaxsystems.com>

Thanks: Pawan Verma for review.
2020-07-22 11:21:16 +05:30
Jacques Le Roux 4c82aba030 Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)
Finally removes ol.js.map and references to it because it does not help due to
concatenations of multiple files in the multi mb source distribution.

Thanks: Alex Bodnaru for inquiry
2020-07-21 20:24:24 +02:00
Jacques Le Roux ee0014e98c Improved: Update build.gradle to the latest dependencies (OFBIZ-11903)
See
https://cwiki.apache.org/confluence/display/OFBIZ/About+OWASP+Dependency+Check
for libs not upgraded.
2020-07-21 10:42:49 +02:00
Suraj Khurana afa98bb8a6 Improved: Updated checkstyle.xml with allowSingleLineStatement as true, this brings down checkstyle maxErrors to 20037.(-625).
(OFBIZ-11886)
Thanks Jacques for your suggestions and comments.
2020-07-21 12:44:20 +05:30
Suraj Khurana b0486ea624 Improved: Updated tasks.checkstyleMain.maxErrors to 20662 ~(-980) 2020-07-21 12:35:14 +05:30
Suraj Khurana 7b251e43d9 Improved: Corrected some single line statements to fix checkstyle issues, also removed some remaining extra spaces from code to avoid checkstyle erros in framework component.
(OFBIZ-11886)
2020-07-21 12:25:20 +05:30
Suraj Khurana c20b03eca1 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-07-21 12:22:39 +05:30
Suraj Khurana 038d46e51d Improved: Corrected some single line statements to fix checkstyle issues, also removed some remaining extra spaces from code to avoid checkstyle erros in applications component.
(OFBIZ-11886)
2020-07-21 12:22:02 +05:30
Priya SharmaandPawan Verma 7d024e820f Improved: Convert createPartyRelationshipType service to entity-auto from Java and update its service calls (OFBIZ-11895) (#216)
* Improved: Convert createPartyRelationshipType service to entity-auto from Java and update its service calls(OFBIZ-11895)
- Updated the service definition to convert it into entity-auto
- Removed the java implementation of the services
- Removed the test as the service has been converted to entity-auto and it will be tested using entity-auto tests

Co-authored-by: Pawan Verma
2020-07-21 10:51:44 +05:30
Jacques Le Roux 2d7c533e34 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
Removes all error*.jsp reference, no longer used
2020-07-20 19:27:00 +02:00
holivier bc6deb281c Documented: include asciidoc user and developer manual from
ofbiz-plugins (OFBIZ-11587)

create file in ofbiz-plugins
* plugins-developer-manual, which will include all include:: plugins for
developer,
* plugins-user-manual, which will include all include:: plugins for user

The file plugins-user-manual is include in user-manual and
plugin-developer-manual is include in developer-manual
2020-07-20 12:58:28 +02:00
Jacques Le Roux 775cc26cef Improved: fixes an API typo 2020-07-19 08:56:11 +02:00
Pawan Verma 7799673fa3 Improved: Convert createEmailContent service from mini-lang to groovy DSL(OFBIZ-11370)
Thanks, Devanshu for the report and Rohit for initial patch and Nicolas for updated patch and review.
2020-07-18 22:25:55 +05:30
Pawan Verma 904491ede1 Improved: Convert indexContentKeywords and forceIndexContentKeywords services from miniland to groovy(OFBIZ-11390)(OFBIZ-11392)
Thanks, Devanshu for report and Sourabh and Aishwary for the patch.
2020-07-18 22:11:32 +05:30
Jacques Le Roux 6e5a614b69 Improved: Reflected XSS in content component (OFBIZ-11840)
Fixes a Reflected XSS vulnerability in content component

Harshit Shukla reported it to the OFBiz security team:
https://demo-stable.ofbiz.apache.org/content/control/stream?contentId="><svg/onload=alert(0)>

It's a post-auth vulnerability so we did not ask for a CVE.

Thanks: Harshit Shukla harshit.shukz@gmail.com
2020-07-18 12:07:36 +02:00
Jacques Le Roux bb53e58a18 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
Removes error.jsp reference, no longer used/exist
2020-07-18 11:20:55 +02:00
Jacques Le Roux 80e545c0f8 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
We no longer have "/error/error.jsp" file,
so always use "common/webcommon/error/Error.ftl" by default
2020-07-18 11:14:58 +02:00
Pawan Verma 22bb77ebc6 Improved: Convert updateCommContentDataResource service from mini-lang to groovy DSL(OFBIZ-11379)
Thanks, Devanshu for the report, Sourabh for the initial patch and Nicolas for the updated patch.
2020-07-18 14:21:33 +05:30
Suraj Khurana 7bf1585c21 Improved: Updated tasks.checkstyleMain.maxErrors to 21638 ~(-1310) 2020-07-18 12:28:42 +05:30
Suraj Khurana 8b1e0dbd85 Improved: Corrected all checkstyle formatting issues: 'typecast' is not followed by whitespace in framework component.
(OFBIZ-11887)
2020-07-18 12:26:42 +05:30
Suraj Khurana 0524945bda Improved: Corrected all checkstyle formatting issues: 'typecast' is not followed by whitespace in applications component.
(OFBIZ-11887)
2020-07-18 12:15:16 +05:30
girishvasmatkar 04791d5821 Implemented: New service definition attribute "verb" to denote the corresponding HTTP method (OFBIZ-11328) (#214)
* Added verb as an attribute to specify the REST method OFBiz service is going to serve on

* Added methods to get service IN and OUT parameters as MAP

* Added TODO for supporing nested parameters

* Improvement : Added Restrictions for verb attribute and documentation for the same

* Fixed checkstyle issues

* Changed attribute name from verb to action for better clarity
2020-07-18 08:54:55 +05:30
Jacques Le Roux 2585cadd33 Improved: Use Error.ftl everywhere it's not yet used (OFBIZ-11890)
Removes ashes in web.xml files
2020-07-17 08:08:19 +02:00
Jacques Le Roux 8dc3609cbd Improved: Add missing map for minified OpenLayers js and css (OFBIZ-11883)
Downloaded from
https://github.com/openlayers/openlayers/releases/download/v5.3.0/v5.3.0-dist.zip

Thanks: Alex Bodnaru
2020-07-17 07:52:31 +02:00
Jacques Le Roux 782798a993 Improved: Adds missing jGrowl map file (OFBIZ-11892)
Picked from
https://cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.4.6/jquery.jgrowl.map

Thanks to Alex Bodnaru
2020-07-16 14:55:07 +02:00
Jacques Le Roux 7d6e5ddbb5 Improved: Hard coded label in ProductUomDropDownOnly (OFBIZ-11891)
The select label is not receiving translations.

There are more related issues, but this is independent.

Thanks: Alex Bodnaru
2020-07-16 14:34:22 +02:00
Jacques Le Roux 1d391df2f0 Improved: User Error.ftl everywhere it's not yet used (OFBIZ-11890)
At https://markmail.org/message/n76cchtriexxmgm7 I asked

Why having the ftl handlers only in webtools controller? BTW it makes the XSD
documentation awkward because it speaks about the ftl handlers being in
handlers-controller.xml
Why not using error.ftl in common-controller.xml instead of error.jsp?
Same question for plugins.

And answered

I believe we could change all that and definitely get rid of error.jsp
(error.ftl is already in all supported releases branches)
2020-07-15 20:58:16 +02:00
holivier 9ec3d9ca77 Documented: Framework, delete all docbook files related to migration to
asciidoc (OFBIZ-11587)

Add a link to developer-manual for webtools in old help system
2020-07-14 17:06:56 +02:00
holivier 91fe7bf4cc Documented: Framework, delete all docbook files related to migration to
asciidoc
(OFBIZ-11587)

- common-sending-email: include in email
- datafile: move as a include at the end of entity-engine section
- entity-engine: list of link to OFBiz wiki about entity configuration
- service-engine: a link to OFBiz wiki Service Engine Guide
- webtools: help for main screen
- mini-lang: include a link to OFBiz wiki mini-lang-reference at the
beginning of minilang-to-groovy-manual
           move minilang-to-groovy-manual to Development environment
section
- unit-test: include as Junit test, and use README to list gradle
command available (so add a tag in REAME.adoc)
- base: add a link to OFBiz wiki Configuration Guide, in deployment
section
- SingleSignOn with LDAP: move to plugin LDAP and include in deployment
section
2020-07-14 17:04:36 +02:00
holivier b0f445b123 Documented: Framework, migration all docbook files to asciidoc
(OFBIZ-11587)

- common-sending-email: include in email
- datafile: move as a include at the end of entity-engine section
- entity-engine: list of link to OFBiz wiki about entity configuration
- service-engine: a link to OFBiz wiki Service Engine Guide
- webtools: help for main screen
- mini-lang: include a link to OFBiz wiki mini-lang-reference at the
beginning of minilang-to-groovy-manual
           move minilang-to-groovy-manual to Development environment
section
- unit-test: include as Junit test, and use README to list gradle
command available (so add a tag in REAME.adoc)
- base: add a link to OFBiz wiki Configuration Guide, in deployment
section
- SingleSignOn with LDAP: move to plugin LDAP and include in deployment
section

developer-manual is updated with some include lines or with directly a
sentence.
2020-07-14 16:56:05 +02:00
holivier b36943d56f Documented: Check all docbook file in each applications-component
documents directory
(OFBIZ-11587)

remove all files
2020-07-14 16:55:05 +02:00
holivier e5d49b2605 Documented: Check all docbook file in each applications-component
documents directory
(OFBIZ-11587)

theses files have no content except for marketing component (2
sentences, migrated to overview for marketing and sfa)
2020-07-14 16:54:27 +02:00
holivier 5f56177d02 Documented: Framework/base migration to asciidoc
(OFBIZ-11587)

Delete docbook files
2020-07-14 16:53:09 +02:00
holivier 2c700e86af Documented: Framework/base migration to asciidoc
(OFBIZ-11587)

only one file about receiving email, so create email.adoc which included
receiving and later sending.
email.adoc is included in developer-manual.adoc in deployment section
2020-07-14 16:27:23 +02:00
holivier 28e82c217b Documented: Workeffort migration to asciidoc
(OFBIZ-11587)

deleted related docbook file
2020-07-14 16:25:04 +02:00
holivier f4d01e8610 Documented: Workeffort migration to asciidoc
(OFBIZ-11587)

only one file about portlet-calendar, currently not include in a
document
2020-07-14 16:22:36 +02:00
holivier 63daf25112 Documented: migrate help link to asciidoc user manual for Product
(OFBIZ-11587)

All files have been migrated to asciidoc format and help link now point
to the html file generated from the asciidoc files

In the global Help Docbook index tree, remove all points about
Product & Facility and add a short page with a link to the new help

Remove docbook help files for Product & Facility
2020-07-14 16:19:48 +02:00
holivier 1c09166948 Documented: Product (catalog) migration to asciidoc
(OFBIZ-11587)

product.adoc included (by include:: ) the other files by sub-component

user-manual is updated to include it in.
2020-07-14 15:38:31 +02:00
Jacques Le Roux 33ca531db4 Improved: correct formatting of LoginServices
This was a WIP related to "Allow single line statements in checkstyle"
(OFBIZ-11886) but not really part of it.
See OFBIZ-11886-format-LoginServices-checkNewPassword.patch.

It may also include changes from
"Checkstyle formatting issues: 'typecast' is not followed by whitespace"
(OFBIZ-11887)
2020-07-14 14:09:45 +02:00
Pawan Verma 2b39209a1c Improved: Added getter for componentName.(OFBIZ-11751)
Thanks, Sebastian Berg for report and patch and Aditya Sharma for the review.
2020-07-13 15:33:01 +05:30
Suraj Khurana 2bdd60e4d3 Improved: Updated tasks.checkstyleMain.maxErrors to 22945 ~(-1405) 2020-07-13 14:24:27 +05:30
Suraj Khurana 0c37e80036 Improved: Corrected all checkstyle formatting issues: Line has trailing spaces in framework component.
(OFBIZ-11880)
Thanks Jacques for review.
2020-07-13 14:18:24 +05:30