From 4916d0ba8df0def8a38422281e98aad26e86ea46 Mon Sep 17 00:00:00 2001 From: Brady Miller Date: Sat, 14 Jan 2017 03:37:27 -0800 Subject: [PATCH] added summernote asset for patient portal --- bower.json | 1 + build.xml | 6 + public/assets/summernote-0-8-2/.bower.json | 32 + public/assets/summernote-0-8-2/LICENSE | 21 + public/assets/summernote-0-8-2/README.md | 160 + public/assets/summernote-0-8-2/bower.json | 22 + public/assets/summernote-0-8-2/composer.json | 20 + .../summernote-0-8-2/dist/font/summernote.eot | Bin 0 -> 13234 bytes .../summernote-0-8-2/dist/font/summernote.ttf | Bin 0 -> 13048 bytes .../summernote-0-8-2/dist/font/summernote.woff | Bin 0 -> 8332 bytes .../summernote-0-8-2/dist/lang/summernote-ar-AR.js | 104 + .../dist/lang/summernote-ar-AR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-bg-BG.js | 99 + .../dist/lang/summernote-bg-BG.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-ca-ES.js | 147 + .../dist/lang/summernote-ca-ES.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-cs-CZ.js | 103 + .../dist/lang/summernote-cs-CZ.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-da-DK.js | 114 + .../dist/lang/summernote-da-DK.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-de-DE.js | 110 + .../dist/lang/summernote-de-DE.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-es-ES.js | 147 + .../dist/lang/summernote-es-ES.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-es-EU.js | 103 + .../dist/lang/summernote-es-EU.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-fa-IR.js | 105 + .../dist/lang/summernote-fa-IR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-fi-FI.js | 104 + .../dist/lang/summernote-fi-FI.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-fr-FR.js | 115 + .../dist/lang/summernote-fr-FR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-gl-ES.js | 147 + .../dist/lang/summernote-gl-ES.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-he-IL.js | 107 + .../dist/lang/summernote-he-IL.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-hr-HR.js | 104 + .../dist/lang/summernote-hr-HR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-hu-HU.js | 135 + .../dist/lang/summernote-hu-HU.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-id-ID.js | 103 + .../dist/lang/summernote-id-ID.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-it-IT.js | 104 + .../dist/lang/summernote-it-IT.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-ja-JP.js | 133 + .../dist/lang/summernote-ja-JP.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-ko-KR.js | 115 + .../dist/lang/summernote-ko-KR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-lt-LT.js | 107 + .../dist/lang/summernote-lt-LT.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-lt-LV.js | 135 + .../dist/lang/summernote-lt-LV.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-nb-NO.js | 104 + .../dist/lang/summernote-nb-NO.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-nl-NL.js | 104 + .../dist/lang/summernote-nl-NL.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-pl-PL.js | 112 + .../dist/lang/summernote-pl-PL.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-pt-BR.js | 132 + .../dist/lang/summernote-pt-BR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-pt-PT.js | 103 + .../dist/lang/summernote-pt-PT.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-ro-RO.js | 102 + .../dist/lang/summernote-ro-RO.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-ru-RU.js | 112 + .../dist/lang/summernote-ru-RU.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-sk-SK.js | 102 + .../dist/lang/summernote-sk-SK.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-sl-SI.js | 106 + .../dist/lang/summernote-sl-SI.min.js | 2 + .../dist/lang/summernote-sr-RS-Latin.js | 104 + .../dist/lang/summernote-sr-RS-Latin.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-sr-RS.js | 104 + .../dist/lang/summernote-sr-RS.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-sv-SE.js | 104 + .../dist/lang/summernote-sv-SE.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-th-TH.js | 106 + .../dist/lang/summernote-th-TH.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-tr-TR.js | 147 + .../dist/lang/summernote-tr-TR.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-uk-UA.js | 111 + .../dist/lang/summernote-uk-UA.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-vi-VN.js | 104 + .../dist/lang/summernote-vi-VN.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-zh-CN.js | 113 + .../dist/lang/summernote-zh-CN.min.js | 2 + .../summernote-0-8-2/dist/lang/summernote-zh-TW.js | 113 + .../dist/lang/summernote-zh-TW.min.js | 2 + .../plugin/databasic/summernote-ext-databasic.css | 16 + .../plugin/databasic/summernote-ext-databasic.js | 303 + .../databasic/summernote-ext-databasic.min.css | 1 + .../databasic/summernote-ext-databasic.min.js | 2 + .../dist/plugin/hello/summernote-ext-hello.js | 82 + .../dist/plugin/hello/summernote-ext-hello.min.js | 2 + .../specialchars/summernote-ext-specialchars.js | 315 + .../summernote-ext-specialchars.min.js | 2 + public/assets/summernote-0-8-2/dist/summernote.css | 1 + public/assets/summernote-0-8-2/dist/summernote.js | 7046 ++++++++++++++++++++ .../assets/summernote-0-8-2/dist/summernote.min.js | 4 + public/assets/summernote-0-8-2/ie8.html | 21 + public/assets/summernote-0-8-2/index.html | 20 + public/assets/summernote-0-8-2/issue_template.md | 11 + public/assets/summernote-0-8-2/lite.html | 14 + public/assets/summernote-0-8-2/nuget-build.cmd | 4 + public/assets/summernote-0-8-2/package.json | 54 + .../summernote-0-8-2/pull_request_template.md | 28 + public/assets/summernote-0-8-2/summernote.nuspec | 38 + 107 files changed, 12728 insertions(+) create mode 100644 public/assets/summernote-0-8-2/.bower.json create mode 100644 public/assets/summernote-0-8-2/LICENSE create mode 100644 public/assets/summernote-0-8-2/README.md create mode 100644 public/assets/summernote-0-8-2/bower.json create mode 100644 public/assets/summernote-0-8-2/composer.json create mode 100644 public/assets/summernote-0-8-2/dist/font/summernote.eot create mode 100644 public/assets/summernote-0-8-2/dist/font/summernote.ttf create mode 100644 public/assets/summernote-0-8-2/dist/font/summernote.woff create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ar-AR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ar-AR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-bg-BG.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-bg-BG.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ca-ES.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ca-ES.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-cs-CZ.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-cs-CZ.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-da-DK.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-da-DK.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-de-DE.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-de-DE.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-es-ES.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-es-ES.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-es-EU.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-es-EU.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fa-IR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fa-IR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fi-FI.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fi-FI.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fr-FR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-fr-FR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-gl-ES.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-gl-ES.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-he-IL.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-he-IL.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-hr-HR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-hr-HR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-hu-HU.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-hu-HU.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-id-ID.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-id-ID.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-it-IT.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-it-IT.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ja-JP.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ja-JP.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ko-KR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ko-KR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-lt-LT.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-lt-LT.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-lt-LV.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-lt-LV.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-nb-NO.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-nb-NO.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-nl-NL.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-nl-NL.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pl-PL.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pl-PL.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pt-BR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pt-BR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pt-PT.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-pt-PT.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ro-RO.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ro-RO.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ru-RU.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-ru-RU.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sk-SK.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sk-SK.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sl-SI.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sl-SI.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sr-RS-Latin.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sr-RS-Latin.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sr-RS.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sr-RS.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sv-SE.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-sv-SE.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-th-TH.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-th-TH.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-tr-TR.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-tr-TR.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-uk-UA.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-uk-UA.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-vi-VN.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-vi-VN.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-zh-CN.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-zh-CN.min.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-zh-TW.js create mode 100644 public/assets/summernote-0-8-2/dist/lang/summernote-zh-TW.min.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/databasic/summernote-ext-databasic.css create mode 100644 public/assets/summernote-0-8-2/dist/plugin/databasic/summernote-ext-databasic.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/databasic/summernote-ext-databasic.min.css create mode 100644 public/assets/summernote-0-8-2/dist/plugin/databasic/summernote-ext-databasic.min.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/hello/summernote-ext-hello.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/hello/summernote-ext-hello.min.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/specialchars/summernote-ext-specialchars.js create mode 100644 public/assets/summernote-0-8-2/dist/plugin/specialchars/summernote-ext-specialchars.min.js create mode 100644 public/assets/summernote-0-8-2/dist/summernote.css create mode 100644 public/assets/summernote-0-8-2/dist/summernote.js create mode 100644 public/assets/summernote-0-8-2/dist/summernote.min.js create mode 100644 public/assets/summernote-0-8-2/ie8.html create mode 100644 public/assets/summernote-0-8-2/index.html create mode 100644 public/assets/summernote-0-8-2/issue_template.md create mode 100644 public/assets/summernote-0-8-2/lite.html create mode 100644 public/assets/summernote-0-8-2/nuget-build.cmd create mode 100644 public/assets/summernote-0-8-2/package.json create mode 100644 public/assets/summernote-0-8-2/pull_request_template.md create mode 100644 public/assets/summernote-0-8-2/summernote.nuspec diff --git a/bower.json b/bower.json index d501329a3..18e3d5520 100644 --- a/bower.json +++ b/bower.json @@ -63,6 +63,7 @@ "pure-0-5-0": "pure#0.5.0", "qtip2-2-2-1": "qtip2#v2.2.1", "react-15-1-0": "react#15.1.0", + "summernote-0-8-2": "summernote#0.8.2", "undone.js-0-0-1": "https://github.com/yckart/undone.js.git#0.0.1", "validate.js-0-10-0": "validate.js#0.10.0" } diff --git a/build.xml b/build.xml index 4c350d463..911abb00c 100644 --- a/build.xml +++ b/build.xml @@ -63,6 +63,12 @@ + + + + + + diff --git a/public/assets/summernote-0-8-2/.bower.json b/public/assets/summernote-0-8-2/.bower.json new file mode 100644 index 000000000..41440830d --- /dev/null +++ b/public/assets/summernote-0-8-2/.bower.json @@ -0,0 +1,32 @@ +{ + "name": "summernote", + "homepage": "http://summernote.org", + "license": "MIT", + "main": [ + "./dist/summernote.js", + "./dist/summernote.css" + ], + "ignore": [ + "**/.*", + "Gruntfile.js", + "MAINTAIN.md", + "grunts", + "node_modules", + "bower_components", + "test" + ], + "dependencies": { + "jquery": ">= 1.9.0", + "bootstrap": ">= 3.0.1" + }, + "version": "0.8.2", + "_release": "0.8.2", + "_resolution": { + "type": "version", + "tag": "v0.8.2", + "commit": "9a5e5abe214f194d920b219c409322dfa7688c8c" + }, + "_source": "https://github.com/summernote/summernote.git", + "_target": "0.8.2", + "_originalSource": "summernote" +} \ No newline at end of file diff --git a/public/assets/summernote-0-8-2/LICENSE b/public/assets/summernote-0-8-2/LICENSE new file mode 100644 index 000000000..27fc0d75c --- /dev/null +++ b/public/assets/summernote-0-8-2/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015~ Summernote Team (https://github.com/orgs/summernote/people) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/public/assets/summernote-0-8-2/README.md b/public/assets/summernote-0-8-2/README.md new file mode 100644 index 000000000..a40aa5786 --- /dev/null +++ b/public/assets/summernote-0-8-2/README.md @@ -0,0 +1,160 @@ +# Summernote + +Super simple WYSIWYG Editor. + +[![Build Status](https://secure.travis-ci.org/summernote/summernote.svg)](http://travis-ci.org/summernote/summernote) +[![npm version](https://badge.fury.io/js/summernote.svg)](http://badge.fury.io/js/summernote) +[![Dependency Status](https://gemnasium.com/summernote/summernote.svg)](https://gemnasium.com/summernote/summernote) +[![Coverage Status](https://coveralls.io/repos/summernote/summernote/badge.svg?branch=develop&service=github)](https://coveralls.io/github/summernote/summernote?branch=develop) + +[![Sauce Test Status](https://saucelabs.com/browser-matrix/summernoteis.svg)](https://saucelabs.com/u/summernoteis) + +### Summernote +Summernote is a JavaScript library that helps you create WYSIWYG editors online. + +Home page: + +### Why Summernote? + +Summernote has a few special features: + +* Paste images from clipboard +* Saves images directly in the content of the field using base64 encoding, so you don't need to implement image handling at all +* Simple UI +* Interactive WYSIWYG editing +* Handy integration with server + +### Installation and dependencies + +Summernote uses opensource libraries: [jQuery](http://jquery.com/), [Bootstrap](http://getbootstrap.com). + +For [Meteor](http://github.com/meteor/meteor), just run `meteor add summernote:summernote`. More info in the [Meteor README](meteor/README.md). + +Also there's an adaptation for React: [react-summernote](https://github.com/Vnkitaev/react-summernote) + + +For other/no frameworks: + +#### 1. include JS/CSS + +Include the following code in the `` tag of your HTML: + +```html + + + + + + + + +``` + +#### 2. target a element + +Then place a `div` tag somewhere in the `body` tag. This element will be replaced with the summernote editor. + +```html +
Hello Summernote
+``` + +#### 3. summernote + +Finally, run this script after the DOM is ready: + +```javascript +$(document).ready(function() { + $('#summernote').summernote(); +}); +``` + +For more examples, please visit to [homepage](http://summernote.org/examples). + +### API + +`code` - get the HTML source code underlying the text in the editor: + +```javascript +var html = $('#summernote').summernote('code'); +``` + +For more detail about API, please refer to [document](http://summernote.org/getting-started/#basic-api). + +#### Warning - code injection + +The code view allows the user to enter script contents. Make sure to filter/[sanitize the HTML on the server](https://github.com/search?l=JavaScript&q=sanitize+html). Otherwise, an attacker can inject arbitrary JavaScript code into clients. + +#### document structure + +``` + - body container:
, ,
,