forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-71722 h5plib_v124: Upgrade ckeditor to 4.17.1
- Loading branch information
Showing
300 changed files
with
2,072 additions
and
9,751 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,21 @@ Software License Agreement | |
========================== | ||
|
||
CKEditor - The text editor for Internet - https://ckeditor.com/ | ||
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. | ||
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. | ||
|
||
Licensed under the terms of any of the following licenses at your | ||
choice: | ||
|
||
- GNU General Public License Version 2 or later (the "GPL") | ||
http://www.gnu.org/licenses/gpl.html | ||
https://www.gnu.org/licenses/gpl.html | ||
(See Appendix A) | ||
|
||
- GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
http://www.gnu.org/licenses/lgpl.html | ||
https://www.gnu.org/licenses/lgpl.html | ||
(See Appendix B) | ||
|
||
- Mozilla Public License Version 1.1 or later (the "MPL") | ||
http://www.mozilla.org/MPL/MPL-1.1.html | ||
https://www.mozilla.org/MPL/MPL-1.1.html | ||
(See Appendix C) | ||
|
||
You are not required to, but if you want to explicitly declare the | ||
|
@@ -37,14 +37,15 @@ done by developers outside of CKSource with their express permission. | |
|
||
The following libraries are included in CKEditor under the MIT license (see Appendix D): | ||
|
||
* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2019, CKSource - Frederico Knabben. | ||
* CKSource Samples Framework (included in the samples) - Copyright (c) 2014-2021, CKSource - Frederico Knabben. | ||
* PicoModal (included in `samples/js/sf.js`) - Copyright (c) 2012 James Frasca. | ||
* CodeMirror (included in the samples) - Copyright (C) 2014 by Marijn Haverbeke <[email protected]> and others. | ||
* ES6Promise - Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors. | ||
* A polyfill for `CSS.escape` (adopted with modifications in `core/tools.js`), Mathias Bynens, v1.5.1, https://mths.be/cssescape. | ||
|
||
Parts of code taken from the following libraries are included in CKEditor under the MIT license (see Appendix D): | ||
|
||
* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, http://jquery.com/ | ||
* jQuery (inspired the domReady function, ckeditor_base.js) - Copyright (c) 2011 John Resig, https://jquery.com/ | ||
|
||
The following libraries are included in CKEditor under the SIL Open Font License, Version 1.1 (see Appendix E): | ||
|
||
|
@@ -1419,3 +1420,17 @@ Redistribution and use in source and binary forms, with or without modification, | |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
``` | ||
|
||
|
||
Appendix H: The BSD-2 License | ||
----------------------------- | ||
|
||
``` | ||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
``` | ||
|
||
(Ignore this line: %REMOVE_START%) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
CKEditor 4 | ||
========== | ||
|
||
Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. | ||
https://ckeditor.com - See LICENSE.md for license information. | ||
|
||
CKEditor 4 is a text editor to be used inside web pages. It's not a replacement | ||
for desktop text editors like Word or OpenOffice, but a component to be used as | ||
part of web applications and websites. | ||
|
||
## Documentation | ||
|
||
The full editor documentation is available online at the following address: | ||
https://ckeditor.com/docs/ | ||
|
||
## Installation | ||
|
||
Installing CKEditor is an easy task. Just follow these simple steps: | ||
|
||
1. **Download** the latest version from the CKEditor website: | ||
https://ckeditor.com. You should have already completed this step, but be | ||
sure you have the very latest version. | ||
2. **Extract** (decompress) the downloaded file into the root of your website. | ||
|
||
**Note:** CKEditor is by default installed in the `ckeditor` folder. You can | ||
place the files in whichever you want though. | ||
|
||
## Checking Your Installation | ||
|
||
The editor comes with a few sample pages that can be used to verify that | ||
installation proceeded properly. Take a look at the `samples` directory. | ||
|
||
To test your installation, just call the following page at your website: | ||
|
||
http://<your site>/<CKEditor installation path>/samples/index.html | ||
|
||
For example: | ||
|
||
http://www.example.com/ckeditor/samples/index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Reporting a security issues | ||
|
||
If you believe you have found a security issue in the CKEditor 4 software, please contact us immediately. | ||
|
||
When reporting a potential security problem, please bear this in mind: | ||
|
||
* Make sure to provide as many details as possible about the vulnerability. | ||
* Please do not disclose publicly any security issues until we fix them and publish security releases. | ||
|
||
Contact the security team at [email protected]. As soon as we receive the security report, we will work promptly to confirm the issue and then to provide a security fix. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
h5p/h5plib/v124/joubel/editor/ckeditor/bender-runner.config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"bender": { | ||
"port": 9001 | ||
}, | ||
"server": { | ||
"port": 9002 | ||
}, | ||
"paths": { | ||
"ckeditor4": "../ckeditor4/", | ||
"runner": "./src/runner.html" | ||
}, | ||
"browsers": { | ||
"linux": [ "chrome", "firefox" ], | ||
"macos": [ "safari" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.