diff --git a/system/backend/php/lib/HAXCMSSite.php b/system/backend/php/lib/HAXCMSSite.php index e15cf3b009..dba709e09a 100644 --- a/system/backend/php/lib/HAXCMSSite.php +++ b/system/backend/php/lib/HAXCMSSite.php @@ -337,6 +337,11 @@ public function getManagedTemplateFiles() { 'robots' => 'robots.txt', 'sw' => 'service-worker.js', 'outdated' => 'assets/upgrade-browser.html', + 'imsmdrootv1p2p1' => 'imsmd_rootv1p2p1.xsd', + 'imscprootv1p1p2' => 'imscp_rootv1p1p2.xsd', + 'adlcprootv1p2' => 'adlcp_rootv1p2.xsd', + 'imsxml' => 'ims_xml.xsd', + 'imsmanifest' => 'imsmanifest.xml', ); } /** diff --git a/system/boilerplate/site/adlcp_rootv1p2.xsd b/system/boilerplate/site/adlcp_rootv1p2.xsd new file mode 100755 index 0000000000..f33b38d05e --- /dev/null +++ b/system/boilerplate/site/adlcp_rootv1p2.xsd @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/system/boilerplate/site/ims_xml.xsd b/system/boilerplate/site/ims_xml.xsd new file mode 100755 index 0000000000..ba4226ca99 --- /dev/null +++ b/system/boilerplate/site/ims_xml.xsd @@ -0,0 +1 @@ + In namespace-aware XML processors, the "xml" prefix is bound to the namespace name http://www.w3.org/XML/1998/namespace. Do not reference this file in XML instances Schawn Thropp: Changed the uriReference type to string type Refers to universal XML 1.0 lang attribute Refers to XML Base: http://www.w3.org/TR/xmlbase diff --git a/system/boilerplate/site/imscp_rootv1p1p2.xsd b/system/boilerplate/site/imscp_rootv1p1p2.xsd new file mode 100755 index 0000000000..f8bc5227f9 --- /dev/null +++ b/system/boilerplate/site/imscp_rootv1p1p2.xsd @@ -0,0 +1,345 @@ + + + + + + + + + + + + + + + DRAFT XSD for IMS Content Packaging version 1.1 DRAFT + Copyright (c) 2001 IMS GLC, Inc. + 2000-04-21, Adjustments by T.D. Wason from CP 1.0. + 2001-02-22, T.D.Wason: Modify for 2000-10-24 XML-Schema version. Modified to support extension. + 2001-03-12, T.D.Wason: Change filename, target and meta-data namespaces and meta-data fielname. Add meta-data to itemType, fileType and organizationType. + Do not define namespaces for xml in XML instances generated from this xsd. + Imports IMS meta-data xsd, lower case element names. + This XSD provides a reference to the IMS meta-data root element as imsmd:record + If the IMS meta-data is to be used in the XML instance then the instance must define an IMS meta-data prefix with a namespace. The meta-data targetNamespace should be used. + 2001-03-20, Thor Anderson: Remove manifestref, change resourceref back to identifierref, change manifest back to contained by manifest. --Tom Wason: manifest may contain _none_ or more manifests. + 2001-04-13 Tom Wason: corrected attirbute name structure. Was misnamed type. + 2001-05-14 Schawn Thropp: Made all complexType extensible with the group.any + Added the anyAttribute to all complexTypes. Changed the href attribute on the fileType and resourceType to xsd:string + Changed the maxLength of the href, identifierref, parameters, structure attributes to match the Information model. + 2001-07-25 Schawn Thropp: Changed the namespace for the Schema of Schemas to the 5/2/2001 W3C XML Schema + Recommendation. attributeGroup attr.imsmd deleted, was not used anywhere. Any attribute declarations that have + use = "default" changed to use="optional" - attr.structure.req. + Any attribute declarations that have value="somevalue" changed to default="somevalue", + attr.structure.req (hierarchical). Removed references to IMS MD Version 1.1. + Modified attribute group "attr.resourcetype.req" to change use from optional + to required to match the information model. As a result the default value also needed to be removed + Name change for XSD. Changed to match version of CP Spec + + + + Inclusions and Imports + + + + + + Attribute Declarations + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + element groups + + + + + Any namespaced element from any namespace may be included within an "any" element. The namespace for the imported element must be defined in the instance, and the schema must be imported. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/system/boilerplate/site/imsmanifest.xml b/system/boilerplate/site/imsmanifest.xml new file mode 100755 index 0000000000..5a65cfc5cb --- /dev/null +++ b/system/boilerplate/site/imsmanifest.xml @@ -0,0 +1,57 @@ + + + + + + + + + ADL SCORM + 1.2 + + + + + {{ title }} + + {{ short }} + + + + + + + + + + diff --git a/system/boilerplate/site/imsmd_rootv1p2p1.xsd b/system/boilerplate/site/imsmd_rootv1p2p1.xsd new file mode 100755 index 0000000000..d8a78695bb --- /dev/null +++ b/system/boilerplate/site/imsmd_rootv1p2p1.xsd @@ -0,0 +1,573 @@ + + + + + + + + + + + 2001-04-26 T.D.Wason. IMS meta-data 1.2 XML-Schema. + 2001-06-07 S.E.Thropp. Changed the multiplicity on all elements to match the + Final 1.2 Binding Specification. + Changed all elements that use the langstringType to a multiplicy of 1 or more + Changed centity in the contribute element to have a multiplicity of 0 or more. + Changed the requirement element to have a multiplicity of 0 or more. + 2001-07-25 Schawn Thropp. Updates to bring the XSD up to speed with the W3C + XML Schema Recommendation. The following changes were made: Change the + namespace to reference the 5/2/2001 W3C XML Schema Recommendation,the base + type for the durtimeType, simpleType, was changed from timeDuration to duration. + Any attribute declarations that have use="default" had to change to use="optional" + - attr.type. Any attribute declarations that have value ="somevalue" had to change + to default = "somevalue" - attr.type (URI) + 2001-09-04 Schawn Thropp + Changed the targetNamespace and namespace of schema to reflect version change + + + + + + + + + + + + + + + + + + + + Any namespaced element from any namespace may be used for an "any" element. The namespace for the imported element must be defined in the instance, and the schema must be imported. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/system/boilerplate/site/index.html b/system/boilerplate/site/index.html index c11d9c55f8..4fe2bc92ee 100755 --- a/system/boilerplate/site/index.html +++ b/system/boilerplate/site/index.html @@ -19,6 +19,9 @@ else if (document.location.pathname.indexOf('/sites/') != -1) { document.write(""); } + else if (document.location.pathname.indexOf('/index.html')) { + document.write(""); + } else { document.write(""); } diff --git a/system/boilerplate/site/package.json b/system/boilerplate/site/package.json index 756d29ee52..d7c78ae2f8 100644 --- a/system/boilerplate/site/package.json +++ b/system/boilerplate/site/package.json @@ -12,7 +12,7 @@ }, "license": "Apache-2.0", "dependencies": { - "@lrnwebcomponents/haxcms-elements": "^7.0.0" + "@lrnwebcomponents/haxcms-elements": "^7.0.15" }, "private": false, "publishConfig": { diff --git a/system/boilerplate/site/polymer.json b/system/boilerplate/site/polymer.json index daadab2e3f..464780aed1 100644 --- a/system/boilerplate/site/polymer.json +++ b/system/boilerplate/site/polymer.json @@ -4,6 +4,8 @@ "manifest.json", "node_modules/@polymer/app-layout/*/*.js", "node_modules/@polymer/**/*.js", + "node_modules/@polymer/marked-element/node_modules/marked/lib/marked.js", + "node_modules/@google/model-viewer/dist/model-viewer.js", "node_modules/@vowo/chart-elements/*.js", "node_modules/intl-messageformat/src/*.js", "node_modules/intl-messageformat-parser/src/*.js", @@ -46,21 +48,16 @@ "node_modules/web-animations-js/*.js", "node_modules/flag-icon-css/flags/*/*.svg", "node_modules/@lrnwebcomponents/*/lib/screenfull/dist/screenfull.js", - - "node_modules/@polymer/marked-element/node_modules/marked/lib/marked.js", "node_modules/lit-element-router/utility/router-utility.js", "node_modules/lit-element-router/lit-element-router.js", "node_modules/scrollable-component/index.js", "node_modules/jquery/dist/jquery.min.js", "node_modules/bootstrap/dist/css/bootstrap.min.css", "node_modules/bootstrap/dist/js/bootstrap.bundle.min.js", - "node_modules/@lrnwebcomponents/product-card/lib/fields.json", "node_modules/@lrnwebcomponents/dynamic-import-registry/dynamic-import-registry.js", "node_modules/@lrnwebcomponents/img-pan-zoom/lib/openseadragon/openseadragon.min.js", - "node_modules/@lrnwebcomponents/wc-autoload/wc-autoload.js", - "node_modules/@lrnwebcomponents/elmsln-apps/lib/*/*.js", "node_modules/@lrnwebcomponents/stop-note/lib/svgs/*/*.svg", "node_modules/@lrnwebcomponents/simple-icon/lib/svgs/*/*.svg", @@ -75,15 +72,26 @@ "node_modules/msr/MediaStreamRecorder.min.js", "node_modules/@lrnwebcomponents/chartist-render/lib/chartist/dist/chartist.min.js", "node_modules/@lrnwebcomponents/code-sample/lib/highlightjs/languages/*.js", + "node_modules/idb-keyval/dist/*.js", + "node_modules/safari-14-idb-fix/dist/*.js", + "!node_modules/@polymer/app-layout/templates/**", + "!node_modules/@polymer/app-layout/patterns/**", + "!node_modules/@polymer/*/demo/*.js", + "!node_modules/@lrnwebcomponents/haxcms-elements/demo/dist/*.js", + "!node_modules/@lrnwebcomponents/elmsln-apps/lib/*/demo/*", "!node_modules/@lrnwebcomponents/simple-icon/lib/svgs/elmsln-custom", - "!node_modules/@lrnwebcomponents/wave-player/lib/wavesurferjs/src/*", + "!node_modules/@lrnwebcomponents/wave-player/lib/wavesurferjs/src/**", "!node_modules/@vaadin/*/test/*", + "!node_modules/@lrnwebcomponents/*/test/*", "!node_modules/@webcomponents/webcomponentsjs/gulpfile.js", "!node_modules/@lrnwebcomponents/storybook-utilities/storybook-utilities.js", "!node_modules/@lrnwebcomponents/*/*.umd.js", "!node_modules/@lrnwebcomponents/*/*.amd.js", "!node_modules/@lrnwebcomponents/*/*.es6.js", "!node_modules/@lrnwebcomponents/*/*.stories.js", + "!node_modules/@lrnwebcomponents/*/*/*.stories.js", + "!node_modules/@lrnwebcomponents/*/*.storiesold.js", + "!node_modules/@lrnwebcomponents/*/*/*.storiesold.js", "!node_modules/@lrnwebcomponents/*/*.story.js", "!rollup.config.js", "!*.stories.js",