Commit Graph
4365 Commits
Author SHA1 Message Date
Michael Brohl 8a3d230ba6 Improved: Removes obsolete comment (OFBIZ-12171) 2021-02-16 21:21:34 +01:00
Wiebke Pätzold 0474982534 Improved: if else construct must use parentheses (OFBIZ-12169) 2021-02-15 17:27:01 +01:00
Wiebke Pätzold 9465c20566 Improved: Adds newline at the end of the file (OFBIZ-12169) 2021-02-15 17:27:01 +01:00
Michael Brohl 3bfac03158 Improved: Declare classes final as suggested by checkstyle (OFBIZ-12169) 2021-02-15 17:27:01 +01:00
Jacques Le Roux e964d61724 Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)
This 1st step sorts the plugins. We need to discuss more...
2021-02-14 21:12:52 +01:00
Michael Brohl 40096fd964 Improved: Switch from jCenter to mavenCentral to handle the jCenter
shutdown (OFBIZ-12171)

See comments in framework build.gradle for details.
2021-02-13 17:07:24 +01:00
Deepak Dixit 9cb1101e3f Fixed: Fitering on StatusId in FindTask does not work (#55)
(OFBIZ-10914)
2021-02-12 15:38:41 +05:30
Deepak Dixit 73876cdb14 Removed HelpData file entries from ofbiz-component.xml (#54) 2021-02-12 12:46:59 +05:30
Pawan Verma 728354a0cb Fixed: Visit disabling causes NullPointerException on ecomm groovy script(OFBIZ-12173)
Used UtilHttp.getSessionId() instead of visit to get session Id.

Thanks: Giulio, Jacopo and Deepak.
2021-02-12 09:25:01 +05:30
Jacques Le Roux f9069945ad Improved: Rename some connoted words like blacklist and whitelist (OFBIZ-12168)
Renames respectively blacklist and whitelist to denylist and allowlist in
several places.

Renames masters and slaves to mains and replicas in solrconfig.xml inherited
from the Apache Solr version we use. The slave word is still used at
https://cwiki.apache.org/confluence/display/solr/SolrConfigXml referenced from
solrconfig.xml

There are still a lot of master word which can be replaced by main, but not in
contexts where slave is also used. I'll discuss that on dev ML again...
2021-02-09 09:55:43 +01:00
Deepak Dixit 2c1696e827 Updated code to fix no suitable method found for create(int) error (OFBIZ-12100) 2021-01-04 14:49:27 +05:30
Jacques Le Roux 7bdbaa338b Fixed: Issue: Displaying company and product information at product backlog, subcomponent of Scrum Application
(OFBIZ-)

Steps to regenerate:
    Navigate to Applications
    Scrum
    Click on '+ Add product'
    Enter: Company and Product Owner
    Product Name
    Description

Issue: the information given in 4, 5, 6 steps are not displayed at the
Product backlog (view product) screen.

Thanks: Dikpal Kanungo for report and Anushi Gupta for the fix
2020-12-28 11:53:42 +01:00
James Yong d45c377339 Improved: Change inline style to class for wait-spinner (OFBIZ-12095)
Inline style not encouraged by Content Security Policy
2020-12-19 17:49:08 +08:00
Jacques Le Roux 78bc570ac8 Reverted: "Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)"
This reverts commit 17eb2e4cf7bfba4e6a6b62117aa8d64cd5774c5e.

It does not work when using <<target="javascript:........>>
I could change those cases but it's easier and safer to simply revert back to
target-type!

Thanks: James for report
2020-12-18 11:04:16 +01:00
Jacques Le Roux 40d7c57662 Improved: Update build.gradle to the latest dependencies (OFBIZ-12092)
I crossed new issues with plugins:

I tried to update Solr and Lucene to 8.7.0 but crossed issues (compilation and
Eclipse classpath)

Same for Jersey with 3.0.0 version
2020-12-17 18:44:33 +01:00
Jacques Le Roux 4d34c9d43f Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)
Same for sub-hyperlink, forgot the plugins with 17eb2e4cf7bfba4e6a6b62117aa8d64cd5774c5e
2020-12-15 09:16:40 +01:00
Jacques Le Roux 4bf7288f24 Improved: use a label for "uploadedFile" in form widgets
ie
<field name="uploadedFile" title="${uiLabelMap.ContentFile}">
instead of only
<field name="uploadedFile">
2020-12-08 17:17:52 +01:00
Jacques Le Roux e84c7ada87 Fixed: Lucene TopScoreDocCollector::create wrong call the 2 in Search.groovy scripts (OFBIZ-12087)
I guess it's due to an update of Lucene, easy fix
2020-12-07 13:20:18 +01:00
Jacques Le Roux 0718b63544 * Fixed: Secure the uploads (OFBIZ-12080)
2020/08/10 the OFBiz security team received a security report by Harshit Shukla
<harshit.shukz@gmail.com>, roughly it was (quoting part of it to simplify):

<<I have identified a Remote Code Execution (RCE) Vulnerability. The reason
behind this RCE is lack of file extension check at
catalog/control/UploadCategoryImage?productCategoryId=CATALOG1_BEST_SELL&pload_file_type=category>>

Using this post-auth RCE in OFBiz demos, Harshit was able to get some AWS
credentials by uploading a webshell (based on [0]).
By security, it was then decided by the Infra and OFBiz security teams to shut
down the demos.

After discussing the elements reported with Mark J Cox (VP of ASF security team)
we in common decided that no CVE was necessary.
2020-12-01 08:49:25 +01:00
Saurabh Dixit f25852fef2 Fixed: Product summary cards don't have uniform height. (OFBIZ-11910) (#46)
Done following:
1. Used bootstrap card-deck to equalize the height/width of all the product summary cards.

Reference:
https://v4-alpha.getbootstrap.com/components/card/#card-decks

Thanks Guys: Alex Bodnaru for report and suggestion, Saurabh Dixit for the patch, and Daniel Watford for the test
2020-11-30 10:39:32 +01:00
Girish Vasmatkar 9d6a73f1d2 Improved: Added Root Resource class to list all available endpoints.
This means https://localhost:8443/rest should now return a JSON representing all deployed endpoints. (OFBIZ-11328)
2020-11-28 18:48:33 +05:30
holivier cf28c487ba Documented: Synchronize wiki page End User Documentation (OFBIZ-12059)
- Add assetm.adoc with only overview for plugin assetmaint
- Completed projectmgr overview
2020-11-16 17:06:03 +01:00
Girish Vasmatkar 53518c46d6 Added ASL2 headers to REDOC file (OFBIZ-11328) 2020-11-11 06:47:07 +05:30
holivier 2f6b0f19a3 Documented: remove from plugin cmssite link to document genereted from docbook help files 2020-10-26 18:45:19 +01:00
holivier eebd368718 Documented: migration to help system using asciidoc files (OFBIZ-11587)
Remove all related help docbook files
2020-10-26 16:06:44 +01:00
Girish Vasmatkar 8a430c48a1 Improved: Changed webapp name for API docs to 'docs' and add redoc.html for rendering OpenAPI spec using Redoc(OFBIZ-11328) 2020-10-24 18:45:02 +05:30
holivier 30aa0132e6 Documented: migration to help system using asciidoc files (OFBIZ-11587)
Add <set field=helpAnchor... in CommonScreens for plugins where it's
not present. With this commit all OFBiz plugins application help go to the html
generated from asciidoc files
2020-10-23 18:34:33 +02:00
Girish Vasmatkar dd27ea556c Improved: extract path parameters from declared path in rest.xml and add path parameters to OpenAPI(OFBIZ-11328) 2020-10-14 21:00:03 +05:30
Girish Vasmatkar 88de8cd845 Improved: Wrapped serviceIn query parameter schema in content to allow url encoding of values in Swagger UI(OFBIZ-11328) 2020-10-14 12:20:31 +05:30
Girish Vasmatkar 30bb85fb2b Improved: Updated swagger-ui to v3.35.1(OFBIZ-11328) 2020-10-13 13:10:05 +05:30
Girish Vasmatkar 583d0a64ee Implemented: Addes a new 'publish' attribute to API element allowing a specific API to be disabled from publishing(OFBIZ-11328) 2020-10-13 08:36:34 +05:30
Girish Vasmatkar 8bb8fee36f Fixed: inParams is not listed in OpenAPI spec if the service does not define any IN attributes(OFBIZ-11328) 2020-10-12 15:58:05 +05:30
Girish Vasmatkar c092a5714f Improved: Service required parameters now show as required in OpenAPI schema as required (OFBIZ-11328) 2020-10-12 12:25:54 +05:30
Jacques Le Roux 7276348269 Fixed: Wrong quote marks (OFBIZ-11972)
Thanks: Alex Bodnaru
2020-10-06 16:01:18 +02:00
holivier 36601854f2 fixed: asciidoc attribute imagesDir should not be in the header 2020-10-06 13:54:18 +02:00
Jacques Le Roux 77b9733cf6 Improved: Redundant line in themes (OFBIZ-OFBIZ-11997)
Removes the duplicated line in ecommerce theme and format correctly in multiflex

Thanks: Alex Bodnaru for report
2020-10-06 12:26:13 +02:00
holivier c8f0123845 fixed: title-logo-image should be in header so without blank line
Now OFBiz-Logo is print in pdf
2020-10-05 12:44:11 +02:00
Girish Vasmatkar c4c2a28741 Improved: Added a method to extract path parameters from paths declared in REST DSL.(OFBIZ-11328) 2020-10-05 09:58:47 +05:30
Jacques Le Roux 908db34449 Fixed: Flexible reports use an old noNamespaceSchemaLocation (OFBIZ-12039)
While working on using flexible reports during this discussion
(https://markmail.org/message/qgebmemkqb6ddgzw)
I found this kind of errors in log:

XmlFileLoader: File Internal Content process error. Line: 20. Error message:
TargetNamespace.2: Expecting no namespace, but the schema document has a target
 namespace of 'http://ofbiz.apache.org/Widget-Form'.

Turned out that it was due to an old use of noNamespaceSchemaLocation when
dynamically creating forms.

The fix is to use the same definition than in current forms.

Thanks: Georg Potthast for starting the discussion
2020-10-04 11:26:27 +02:00
Jacques Le Roux 180ddef270 Fixed: Complete Birt Flexible Reports documentation (OFBIZ-9188)
Removes "NOTE: This feature will begin to be officially available with the
R17.12 branch first release"
2020-10-03 11:09:46 +02:00
Girish Vasmatkar 1c25201d7e Improved: Moved service inParams check in service filer and addded more improvements in its handling. Service call cab be made without passing in inParams for services that don't have any IN attribute(OFBIZ-11328) 2020-10-03 08:12:43 +05:30
holivier 70180cf254 Improved: change asciidoc Image directory convention for plugins (OFBIZ-12035)
* for birt component,
    * move all images to images/birt directory
    * change in birt.adoc imagesdir to ./images/birt
2020-10-02 16:55:46 +02:00
holivier f152d031cb Improved: solve Error messages when generating HTML and PDF file from
AsciiDoc files (OFBIZ-11893)

minor corrections after framework corrections
2020-10-02 11:47:07 +02:00
Girish Vasmatkar 9b92939318 Improved: Changed display name for OFBiz Rest APIs on swagger(OFBIZ-11328) 2020-10-02 09:35:58 +05:30
Jacques Le Roux 6c9c0d6e36 Fixed: Javadoc issues (OFBIZ-11328) 2020-10-01 23:03:54 +02:00
Girish Vasmatkar e30634fba1 Implemented: Exception Mapper for GenericServiceException.
> Improved: Cleaned up code for exception handling and moved the code to ErrorUtil. Still some improvements needed. (OFBIZ-11328)
2020-10-01 22:36:35 +05:30
Girish Vasmatkar f45a295061 Improved: specialized exception class added for Service Not Found. Also, changed returned status code for service not exportable or action not defined(OFBIZ-11328) 2020-10-01 11:22:16 +05:30
Girish Vasmatkar 8545cfebb2 Fixed: Allowing auth token validation to take place all the time even for auth=true services. Disable it only when header is absent(OFBIZ-11328) 2020-10-01 00:01:43 +05:30
Girish Vasmatkar 3b66ae1abe Improved: Added Method Not Allowed API response for service resource openapi(OFBIZ-11328) 2020-09-30 22:38:44 +05:30
holivier 19a97b5819 Documented: ofbiz-plugins / Example, migration of docbook help files
to asciidoc, forgot on previous commit to add example in
plugins-user-manual (OFBIZ-11587)
2020-09-28 14:13:40 +02:00