This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git. from 9974b22 Implemented: have a license new df27250 Update services.xsd and replaces tabs by spaces new c5ed31b Improved: Updates DTDs after a lot of errors in log, but not related I guess new d6dab29 Improved: repository ofbiz-site does not have a license The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: NOTICE | 5 +++++ dtds/services.xsd | 45 ++++++++++++++++++++++++++++++++------------- dtds/widget-screen.xsd | 4 +--- 3 files changed, 38 insertions(+), 16 deletions(-) create mode 100644 NOTICE |
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git commit df27250b2ed6b8195a15d150de1d474ba62face3 Author: Jacques Le Roux <[hidden email]> AuthorDate: Thu Aug 6 20:14:32 2020 +0200 Update services.xsd and replaces tabs by spaces --- dtds/services.xsd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dtds/services.xsd b/dtds/services.xsd index 359d4f0..5a1450b 100644 --- a/dtds/services.xsd +++ b/dtds/services.xsd @@ -66,6 +66,20 @@ under the License. <xs:attribute name="export" type="xs:boolean" default="false"/> <xs:attribute name="validate" type="xs:boolean" default="true"/> <xs:attribute name="default-entity-name" type="xs:string"/> + <xs:attribute name="action"> + <xs:annotation> + <xs:documentation> + Specifies the HTTP method name this service can be called using REST interface. For now only POST and GET are supported. + Services that have export=true and have action attribute defined can be called using REST interface. + </xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="POST"/> + <xs:enumeration value="GET"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> <xs:attribute name="use-transaction" type="xs:boolean" default="true"> <xs:annotation> <xs:documentation> |
In reply to this post by jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git commit c5ed31ba803d47a3db46e26305be6c1c4b675ce0 Author: Jacques Le Roux <[hidden email]> AuthorDate: Fri Aug 28 09:09:00 2020 +0200 Improved: Updates DTDs after a lot of errors in log, but not related I guess Errors are of the type: |OFBiz-JobQueue-1|MiniLangValidate|W| Invalid element found Method = acctgFxPermissionCheck, File = file:/C:/projectsASF/Git/ofbiz-framework/ applications/accounting/minilang/permissions/PermissionServices.xml, Element = <else>, Line 58 Makes no sense! --- dtds/services.xsd | 49 +++++++++++++++++++++++++++---------------------- dtds/widget-screen.xsd | 4 +--- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/dtds/services.xsd b/dtds/services.xsd index 5a1450b..2bb58b9 100644 --- a/dtds/services.xsd +++ b/dtds/services.xsd @@ -67,18 +67,18 @@ under the License. <xs:attribute name="validate" type="xs:boolean" default="true"/> <xs:attribute name="default-entity-name" type="xs:string"/> <xs:attribute name="action"> - <xs:annotation> + <xs:annotation> <xs:documentation> - Specifies the HTTP method name this service can be called using REST interface. For now only POST and GET are supported. - Services that have export=true and have action attribute defined can be called using REST interface. + Specifies the HTTP method name this service can be called using REST interface. For now only POST and GET are supported. + Services that have export=true and have action attribute defined can be called using REST interface. </xs:documentation> </xs:annotation> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:enumeration value="POST"/> - <xs:enumeration value="GET"/> - </xs:restriction> - </xs:simpleType> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:enumeration value="POST"/> + <xs:enumeration value="GET"/> + </xs:restriction> + </xs:simpleType> </xs:attribute> <xs:attribute name="use-transaction" type="xs:boolean" default="true"> <xs:annotation> @@ -99,7 +99,7 @@ under the License. </xs:documentation> </xs:annotation> </xs:attribute> - <xs:attribute name="hideResultInLog" type="xs:boolean" + <xs:attribute name="hideResultInLog" type="xs:boolean" default="false"> <xs:annotation> <xs:documentation> @@ -187,7 +187,7 @@ under the License. default="true"> <xs:annotation> <xs:documentation> - If set to false, when the permissions failed return the failMessage as error, + If set to false, when the permissions failed return the failMessage as error, else continue the service and give the hand to origin service to resolve the problem. </xs:documentation> </xs:annotation> @@ -237,7 +237,7 @@ under the License. </xs:element> <xs:attributeGroup name="attlist.implements"> <xs:attribute name="service" type="xs:string" use="required"/> - <xs:attribute name="optional" type="xs:boolean" + <xs:attribute name="optional" type="xs:boolean" default="false"> <xs:annotation> <xs:documentation> @@ -251,7 +251,7 @@ under the License. <xs:documentation> Calculate and maintain an average response time for this service. Service metrics can be used for monitoring and reporting. - + The metric works by gathering statistics until a configurable maximum is reached (number of requests or elapsed time), then the average is calculated. A smoothing factor is used to smooth differences between calculations. @@ -261,28 +261,28 @@ under the License. <xs:attribute name="name" type="xs:string" use="required"> <xs:annotation> <xs:documentation> - Each metric must have a unique name. + Each metric must have a unique name. </xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="estimation-size" type="xs:string"> <xs:annotation> <xs:documentation> - Positive integer number of requests to include in the metrics calculation. Defaults to "100". + Positive integer number of requests to include in the metrics calculation. Defaults to "100". </xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="estimation-time" type="xs:string"> <xs:annotation> <xs:documentation> - Positive integer number of milliseconds to include in the metrics calculation. Defaults to "1000". + Positive integer number of milliseconds to include in the metrics calculation. Defaults to "1000". </xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="smoothing" type="xs:string"> <xs:annotation> <xs:documentation> - Positive decimal smoothing factor - used to smooth the differences between calculations. A value of "1" disables smoothing. Defaults to "0.7". + Positive decimal smoothing factor - used to smooth the differences between calculations. A value of "1" disables smoothing. Defaults to "0.7". </xs:documentation> </xs:annotation> </xs:attribute> @@ -346,6 +346,11 @@ under the License. <xs:sequence> <xs:element minOccurs="0" maxOccurs="unbounded" ref="type-validate"/> <xs:element minOccurs="0" ref="description" /> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="attribute"> + <xs:annotation> + <xs:documentation>List, Map type attributes can have nested attributes.</xs:documentation> + </xs:annotation> + </xs:element> </xs:sequence> <xs:attributeGroup ref="attlist.attribute"/> </xs:complexType> @@ -365,9 +370,9 @@ under the License. <xs:attribute name="optional" type="xs:boolean" default="false"/> <xs:attribute name="default-value" type="xs:string"> <xs:annotation> - <xs:documentation>The value specified will be used for the attribute if no value is passed in. - This will only happen if it is okay to not pass a value in, so if this is set then optional will be set to true. - If optional=false and this is set then the value will be overridden and with a value in default-value is will set + <xs:documentation>The value specified will be used for the attribute if no value is passed in. + This will only happen if it is okay to not pass a value in, so if this is set then optional will be set to true. + If optional=false and this is set then the value will be overridden and with a value in default-value is will set optional=true anyway. </xs:documentation> </xs:annotation> @@ -386,7 +391,7 @@ under the License. Applies only to String fields. Only checked for incoming parameters/attributes (could change in the future, but this is meant for validating input from users, other systems, etc). Defaults to "none" meaning no HTML is allowed (will result in an error message). - If some HTML is desired then use "safe" which will follow the rules in the default custom safe policy file (CustomSafePolicy.java, see also owasp.properties). + If some HTML is desired then use "safe" which will follow the rules in the default custom safe policy file (CustomSafePolicy.java, see also owasp.properties). This should be safe for both internal and public users. You may want to provide your own custom safe policy file to adapt to you needs. In rare cases when users are trusted or it is not a sensitive field the "any" option may be used to not check the HTML content at all. </xs:documentation> @@ -450,7 +455,7 @@ under the License. <xs:attribute name="allow-html" use="optional"> <xs:annotation> <xs:documentation> - See the documentation on the allow-html attribute of the "attribute" element. + See the documentation on the allow-html attribute of the "attribute" element. Note that it is slightly different here as there is no default. </xs:documentation> </xs:annotation> diff --git a/dtds/widget-screen.xsd b/dtds/widget-screen.xsd index 3bf4f1b..99f32b1 100644 --- a/dtds/widget-screen.xsd +++ b/dtds/widget-screen.xsd @@ -522,9 +522,7 @@ under the License. <xs:attribute type="xs:boolean" name="multi-block" use="optional" default="false"> <xs:annotation> <xs:documentation> - Multi-block processing of template targeted for the html body. - Inline script will be rendered as external script after html body tag. - External script tag with attribute data-import='head' will be rendered within html head tag. + Inline script will be rendered as external script at bottom of body tag. </xs:documentation> </xs:annotation> </xs:attribute> |
In reply to this post by jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git commit d6dab297fe901907086a9713cbd06f839681b305 Author: Jacques Le Roux <[hidden email]> AuthorDate: Fri Aug 28 16:23:03 2020 +0200 Improved: repository ofbiz-site does not have a license THanks to Pierre for report, it also missed a NOTICE, here it is --- NOTICE | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..d76faf1 --- /dev/null +++ b/NOTICE @@ -0,0 +1,5 @@ +Apache OFBiz +Copyright 2001-2020 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). |
Free forum by Nabble | Edit this page |