Commit 1170df12 authored by Petr Skoda's avatar Petr Skoda Committed by Mark Nelson
Browse files

MDL-32450 delete Dragmath plugin and library because it is not compatible with GPL

parent 7a4832ec
......@@ -908,6 +908,7 @@ class core_plugin_manager {
$plugins = array(
'qformat' => array('blackboard'),
'enrol' => array('authorize'),
'tinymce' => array('dragmath'),
'tool' => array('bloglevelupgrade', 'qeupgradehelper'),
'theme' => array('mymobile', 'afterburner', 'anomaly', 'arialist', 'binarius', 'boxxie', 'brick', 'formal_white',
'formfactor', 'fusion', 'leatherbound', 'magazine', 'nimble', 'nonzero', 'overlay', 'serenity', 'sky_high',
......@@ -1121,7 +1122,7 @@ class core_plugin_manager {
),
'tinymce' => array(
'ctrlhelp', 'dragmath', 'managefiles', 'moodleemoticon', 'moodleimage',
'ctrlhelp', 'managefiles', 'moodleemoticon', 'moodleimage',
'moodlemedia', 'moodlenolink', 'pdw', 'spellchecker', 'wrap'
),
......
......@@ -3676,5 +3676,14 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2014061000.00);
}
if ($oldversion < 2014062600.01) {
// Purge DragMath plugin which is incompatible with GNU GPL license.
// Hacky emulation of plugin uninstallation.
unset_all_config_for_plugin('tinymce_dragmath');
// Main savepoint reached.
upgrade_main_savepoint(true, 2014062600.01);
}
return true;
}
<html>
<head>
<title>DragMath Documentation - License</title>
</head>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>DragMath Copyright Information</strong></span>
<span style=" font-size: small; font-family: Arial;">
<p>
DragMath is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
</p>
<p>
DragMath is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
</p>
<p>
You should have received a copy of the GNU General Public License
along with DragMath. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a> .
</p>
<hr></hr>
<br>
<p>
All source code in this package is written by <a href="http://www.alexbillingsley.co.uk">Alex Billingsley</a> except the libraries used. The copyright information for the libaries is included below:</p>
<p>
<h4>JDOM<br> <a href="http://www.jdom.org">http://www.jdom.org</a></h4>
JDOM is available under an Apache-style open source license, with the acknowledgment clause removed. This license is among the least restrictive license available, enabling developers to use JDOM in creating new products without requiring them to release their own products as open source. This is the license model used by the Apache Project, which created the Apache server. The license is available at the top of every source file and in LICENSE.txt in the root of the distribution.
</p>
<br>
<p>
<h4>JEP<br><a href="https://sourceforge.net/projects/jep/">https://sourceforge.net/projects/jep/</a></h4>
JEP is licensed under the GNU General Public License (GPL) v3 (<a href="http://www.gnu.org/licenses/gpl-3.0.txt">http://www.gnu.org/licenses/gpl-3.0.txt</a>)</p>
<p>
<br>
<h4>glyFX Common Toolbar Set Icons<br> <a href="http://www.glyfx.com">http://www.glyfx.com</a></h4>
Icons used in software, license found at; <a href="http://www.glyfx.com/license-toolbar.html">http://www.glyfx.com/license-toolbar.html</a></p>
</span>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>DragMath - README</title>
</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6643167-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>
DragMath README
</strong></span>
<span style=" font-size: small; font-family: Arial;">
<p>
<font size=3>
<p>
<br>
This is an open-source drag and drop equation editor written in Java. Once an expression is created the user can convert it into a variety of different linear syntax for mathematics, including MathML, LaTeX, Maple, Maxima or any user defined style.
</p>
DragMath Website:<a href="www.dragmath.bham.ac.uk">www.dragmath.bham.ac.uk</a><br>
SoureForge.net Project:<a href="http://sourceforge.net/projects/dragmath">http://sourceforge.net/projects/dragmath</a>
</p>
<br>
<p>
<b>Package Contents:</b>
</p>
<br>
<dl>
<dt><b><a href="README.html"><b>README.html</b></a></b>
<dd>This file</dd>
</dt>
<br>
<dt><b><a href="LICENSE-gpl.txt"><b>LICENSE-gpl.txt</b></a></b>
<dd>License Agreement</dd>
</dt>
<br>
<dt><b><a href="COPYRIGHT.html"><b>COPYRIGHT.html</b></a></b>
<dd>Copyright Information</dd>
</dt>
<br>
<dt><b><a href="Version History.html"><b>Version History.html</b></a></b>
<dd>History of changes to each version</dd>
</dt>
<br>
<dt><b><a href="DragMath Demonstration.html"><b>DragMath Demonstration.html</b></a></b>
<dd>DragMath demonstration</dd>
</dt>
<br><br>
<dt><b>doc/</b>
<dd><a href="doc/index.html">Documentation</a></dd>
</dt>
<br>
<br>
<dt><b>applet/</b>
<dl>
<dt><b>formats/</b>
<dd>Export formats</dd>
</dt>
<dt><b>lang/</b>
<dd>Language files</dd>
</dt>
</dl>
</dt>
</dl>
</font>
</span>
</body>
</html>
\ No newline at end of file
<html>
<head>
<title>DragMath - Version History</title>
</head>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6643167-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<body>
<span style=" color: #000099; font-size: x-large; font-family: Arial;"><strong>
<p>
DragMath - Version History
</p>
</strong></span>
<span style=" font-size: small; font-family: Arial;">
<font size=3>
<br>
<b>DragMath 0.7.8.2 released 09/05/2010</b>
<p>
New Features:
</p>
<ol>
<li>Released under GPL Version 3</li>
</ol>
Bugs fixed:
</p>
<ol>
<li>Following operators not parsed correctly, ==, <=, >=, subset</li>
</ol>
<br>
<b>DragMath 0.7.8.1 released 09/07/2009</b>
<p>
New Languages:
</p>
<ol>
<li>Finnish</li>
</ol>
Bugs fixed:
</p>
<ol>
<li>Error with library file locations (not fixed in 0.7.8)</li>
<li>Error with XML Parser</li>
</ol>
<br>
<b>DragMath 0.7.8 released 06/06/2009</b>
<p>
New Languages:
</p>
<ol>
<li>Persian</li>
</ol>
<p>
Bugs fixed:
</p>
<ol>
<li>Error with library file locations</li>
</ol>
<br>
<b>DragMath 0.7.7 released 19/02/2009</b>
<p>
New Features:
</p>
<ol>
<li>Turn implicit multiplication on/off</li>
<li>Turn decimal numbers on/off</li>
<li>Italian language file</li>
</ol>
<br>
<b>DragMath 0.7.6 released 03/11/2008</b>
<p>
Bugs fixed:
</p>
<ol>
<li>Problem parsing equations containing decimal places</li>
</ol>
<br>
<b>DragMath 0.7.5 released 26/10/2008</b>
<p>
Bugs fixed:
</p>
<ol>
<li>Problem parsing 2(a-b) and similar equations</li>
</ol>
<br>
<b>DragMath 0.7.4 released 20/10/2008</b>
<p>
New Features:
</p>
<ol>
<li>Show/Hide Menu</li>
<li>Show/Hide Toolbar</li>
<li>Customise Toolbar</li>
</ol>
<br>
<b>DragMath 0.7.3 released 31/07/2008</b>
<p>
Bugs fixed:
</p>
<ol>
<li>Infinity not working</li>
<li>Lambda not correct in output files</li>
<li>Improvements to French language file</li>
</ol>
<br>
<b>DragMath 0.7.2 released 04/04/2008</b>
<p>
New Features:
</p>
<ol>
<li>MoodleTex format file</li>
<li>ASCIIMathML format file</li>
</ol>
New languages:
</p>
<ol>
<li>Norwegian</li>
</ol>
Bugs fixed:
</p>
<ol>
<li>Unary minus not working with infinity</li>
</ol>
<br>
<b>DragMath 0.7.1 released 28/02/2008</b>
<p>
New Features:
</p>
<ol>
<li>Export to image</li>
</ol>
New languages:
</p>
<ol>
<li>Portuguese (Brazilian)</li>
</ol>
<br
<b>DragMath 0.7.0 released 07/02/2008</b>
<p>
New Features:
</p>
<ol>
<li>Arrows tab</li>
<li>Additonal operators in operator tab</li>
<li>Partial differential</li>
</ol>
New languages:
</p>
<ol>
<li>Catalan</li>
</ol>
<br>
<b>DragMath 0.6.3 released 10/01/2008</b>
<p>
New languages:
</p>
<ol>
<li>German</li>
<li>Dutch</li>
</ol>
<br>
<b>DragMath 0.6.2 released 23/12/2007</b>
<p>
New languages:
</p>
<ol>
<li>Russian</li>
<li>French</li>
</ol>
Bugs fixed:
<ol>
<li>� sign not working</li>
</ol>
<br>
<b>DragMath 0.6.1 released 18/12/2007</b>
<p>
New Features:
</p>
<ol>
<li>Not Equal operator</li>
</ol>
New languages:
<ol>
<li>Polish</li>
<li>Czech (completed)</li>
</ol>
<br>
<b>DragMath 0.6.0 released 12/12/2007</b>
<p>
New Features:
</p>
<ol>
<li>Multi-level Undo and Redo</li>
<li>Plus-Minus operator</li>
<li>Ability to select operator in workspace and replace with any other operator</li>
<li>New menu bar - consisting of new features, Clear Workspace, Set language, Set export format, Load Documentation</li>
<li>Additions to parser</li>
</ol>
New languages:
<ol>
<li>Spanish</li>
<li>Swedish (In progress)</li>
<li>Czech (In progress)</li>
</ol>
Bugs fixed:
<ol>
<li>Greek letters not parsed correctly</li>
<li>Brackets being added causing applet to crash</li>
<li>Multi-language support not working</li>
</ol>
<br>
<b>DragMath 0.5.0 released 20/09/2007</b>
<p>
New Features:
</p>
<ol>
<li>Support for Java Runtime Environment (JRE) 1.4 or higher</li>
<li>Save/Load expressions to .drgm files</li>
<li>Parameter to open applet with an expression</li>
</ol>
<br>
</font>
</span>
</body>
</html>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document : Config.xml
Created on : 13 December 2007, 19:28
Author : Alex Billingsley
Description:
Purpose of the document follows.
-->
<Config>
<Languages>
<Lang displayName="Català" fileName="ca"></Lang>
<Lang displayName="čeština" fileName="cz"></Lang>
<Lang displayName="Deutsch" fileName="de"></Lang>
<Lang displayName="English" fileName="en"></Lang>
<Lang displayName="Español" fileName="es"></Lang>
<Lang displayName="français" fileName="fr"></Lang>
<Lang displayName="italiano" fileName="it"></Lang>
<Lang displayName="Nederlands" fileName="nl"></Lang>
<Lang displayName="Norsk" fileName="no"></Lang>
<Lang displayName="polski" fileName="pl"></Lang>
<Lang displayName="Pyccĸий" fileName="ru"></Lang>
<Lang displayName="suomi" fileName="fi"></Lang>
<Lang displayName="svenska" fileName="sv"></Lang>
<Lang displayName="português brasileiro" fileName="pt-br"></Lang>
<Lang displayName="فارسی" fileName="fa"></Lang>
</Languages>
<Formats>
<Format displayName="LaTeX" fileName="Latex"></Format>
<Format displayName="Maple" fileName="Maple"></Format>
<Format displayName="MathML" fileName="MathML"></Format>
<Format displayName="Maxima" fileName="Maxima"></Format>
<Format displayName="MoodleTex" fileName="MoodleTex"></Format>
<Format displayName="ASCIIMathML" fileName="ASCIIMathML"></Format>
</Formats>
</Config>
<?xml version="1.0" encoding="UTF-8"?>
<Syntax>
<name AutoBrackets="false">ASCIIMathML</name>
<Initial>
<output1>`</output1>
<output2>`</output2>
</Initial>
<Text>
<output1></output1>
<output2></output2>
</Text>
<Variable>
<output1></output1>
<output2></output2>
</Variable>
<RealNumber>
<output1></output1>
<output2></output2>
</RealNumber>
<!-- Nary Operators -->
<Add>
<output>+</output>
</Add>
<Multiply>
<output> * </output>
</Multiply>
<Multiply2>
<output> xx </output>
</Multiply2>
<Equals>
<output>=</output>
</Equals>
<Union>
<output> uu </output>
</Union>
<Intersection>
<output> nn </output>
</Intersection>
<Comma>
<output>,</output>
</Comma>
<Equiv>
<output> -= </output>
</Equiv>
<!-- Functions -->
<UMinus>
<output1>-</output1>
<output2></output2>
</UMinus>
<Factorial brackets="false">
<output1>(</output1>
<output2>)!</output2>
</Factorial>
<NaturalLogarithm>
<output1> ln </output1>
<output2></output2>
</NaturalLogarithm>
<Logarithm>
<output1> log </output1>
<output2></output2>
</Logarithm>
<Sine>
<output1> sin </output1>
<output2></output2>
</Sine>
<Cosine>
<output1> cos </output1>
<output2></output2>
</Cosine>
<Tangent>
<output1> tan </output1>
<output2></output2>
</Tangent>
<ArcSine>
<output1> sin^{-1} </output1>
<output2></output2>
</ArcSine>
<ArcCosine>
<output1> cos^{-1} </output1>
<output2></output2>
</ArcCosine>
<ArcTangent>
<output1> tan^{-1} </output1>
<output2></output2>
</ArcTangent>
<SineH>
<output1> sinh </output1>
<output2></output2>
</SineH>
<CosineH>
<output1> cosh </output1>
<output2></output2>
</CosineH>
<TanH>
<output1> tanh </output1>
<output2></output2>
</TanH>
<ArcSineH>
<output1> sinh^{-1} </output1>
<output2></output2>
</ArcSineH>
<ArcCosineH>
<output1> cosh^{-1} </output1>
<output2></output2>
</ArcCosineH>
<ArcTanH>
<output1> tanh^{-1} </output1>
<output2></output2>
</ArcTanH>
<SquareRoot brackets="false">
<output1> sqrt{</output1>
<output2>} </output2>
</SquareRoot>
<Exp brackets="false">
<output1> e^{</output1>
<output2>} </output2>
</Exp>
<Max>
<output1>max</output1>
<output2></output2>
</Max>
<Min>
<output1>min</output1>
<output2></output2>
</Min>
<Determinant>
<output1>det</output1>
<output2></output2>
</Determinant>
<Trace>
<output1>Tr</output1>
<output2></output2>
</Trace>
<!-- Binary Operators -->
<NotEqual>
<output1></output1>
<output2> != </output2>
<output3></output3>
</NotEqual>
<PlusMinus>
<output1></output1>
<output2> +- </output2>
<output3></output3>
</PlusMinus>
<Assignment>
<output1></output1>
<output2>:=</output2>
<output3></output3>
</Assignment>
<Subtract>
<output1></output1>
<output2>-</output2>
<output3></output3>
</Subtract>
<Divide brackets="false">
<output1> (</output1>
<output2>)/(</output2>
<output3>) </output3>
</Divide>
<Divide2>
<output1></output1>
<output2> -: </output2>
<output3></output3>
</Divide2>
<LessThan>
<output1></output1>
<output2><![CDATA[<]]></output2>