Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Added license information for YaCy owned js files

luccioman3f6fefb125f7
diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js
index 6f8f2d8ed..e74443b7c 100644
--- a/htroot/js/Bookmarks.js
+++ b/htroot/js/Bookmarks.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var AJAX_OFF="/env/grafics/empty.gif";
var AJAX_ON="/env/grafics/ajax.gif";
diff --git a/htroot/js/Crawler.js b/htroot/js/Crawler.js
index 8ead5f4d5..da9fc8d7b 100644
--- a/htroot/js/Crawler.js
+++ b/htroot/js/Crawler.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
DELETE_STRING="delete";
BAR_IMG1="/env/grafics/green-block.png";
BAR_IMG2="/env/grafics/red-block.png";
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index b51f772cf..3b1c1211f 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var AJAX_OFF="/env/grafics/empty.gif";
var AJAX_ON="/env/grafics/ajax.gif";
var timeout="";
diff --git a/htroot/js/WatchWebStructure.js b/htroot/js/WatchWebStructure.js
index 7c9c6c8bd..da140bab3 100644
--- a/htroot/js/WatchWebStructure.js
+++ b/htroot/js/WatchWebStructure.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function changeHost(){
window.location.replace("http://"+window.location.host+":"+window.location.port+"/WatchWebStructure_p.html?host="+document.getElementById("host").value);
}
diff --git a/htroot/js/ajax.js b/htroot/js/ajax.js
index 79c8f5b2c..5760d6a0b 100644
--- a/htroot/js/ajax.js
+++ b/htroot/js/ajax.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function createRequestObject() {
var ro;
if (window.XMLHttpRequest) {
diff --git a/htroot/js/html.js b/htroot/js/html.js
index 360082a64..413e68697 100644
--- a/htroot/js/html.js
+++ b/htroot/js/html.js
@@ -1,29 +1,7 @@
/**
- *
- * @licstart The following is the entire license notice for the
- * JavaScript code in this page.
- *
* Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
* first published 07.04.2005 on http://yacy.net
- *
- *
- * The JavaScript code in this page 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 2
- * of the License, or (at your option) any later version.
- *
- * This program 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * @licend The above is the entire license notice
- * for the JavaScript code in this page.
- *
+ * Licensed under the GNU GPL-v2 license
*/
function createCol(content){
diff --git a/htroot/js/hypertree.js b/htroot/js/hypertree.js
index ef0014877..e329498e0 100644
--- a/htroot/js/hypertree.js
+++ b/htroot/js/hypertree.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function linkstructure(hostname, element, width, height, maxtime, maxnodes) {
var nodes = {};
var links = [];
diff --git a/htroot/js/query.js b/htroot/js/query.js
index 816ef9229..52e9366b6 100644
--- a/htroot/js/query.js
+++ b/htroot/js/query.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var query = new Object();
function getQueryProps() {
diff --git a/htroot/js/rss2.js b/htroot/js/rss2.js
index 4a4e5aa7f..1e72a0fa4 100644
--- a/htroot/js/rss2.js
+++ b/htroot/js/rss2.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
// parser for rss2
function RSS2Enclosure(encElement) {
diff --git a/htroot/js/xml.js b/htroot/js/xml.js
index ff43dee05..493f06980 100644
--- a/htroot/js/xml.js
+++ b/htroot/js/xml.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function removeAllChildren(element){
if(element==null){
return;
diff --git a/htroot/js/yacy-ymarks-bookmark-actions.js b/htroot/js/yacy-ymarks-bookmark-actions.js
index e14a78f40..1970a3306 100644
--- a/htroot/js/yacy-ymarks-bookmark-actions.js
+++ b/htroot/js/yacy-ymarks-bookmark-actions.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
/* Initialize Bookmark Actions */
function bm_action(com,grid) {
if (com=='Delete') {
diff --git a/htroot/js/yacy-ymarks-tag-actions.js b/htroot/js/yacy-ymarks-tag-actions.js
index 1801547c5..6c0c0cc7b 100644
--- a/htroot/js/yacy-ymarks-tag-actions.js
+++ b/htroot/js/yacy-ymarks-tag-actions.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
/* Initialize Tag Actions */
function tag_action(com,grid) {
alert("Sorry, the function you have requested is not yet available!");
diff --git a/htroot/js/yacy-ymarks.js b/htroot/js/yacy-ymarks.js
index 5a0c3271d..763f30ef3 100644
--- a/htroot/js/yacy-ymarks.js
+++ b/htroot/js/yacy-ymarks.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
HTMLenc = function(s) {
return $('<div/>').text(s).html();
}
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 896f44899..8a85e5da9 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function xmlhttpPost() {
var searchform = document.forms['searchform'];
var rsslink = document.getElementById("rsslink");
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index 413eabf58..8fe104dcd 100644
--- a/htroot/js/yacysearch.js
+++ b/htroot/js/yacysearch.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; [email protected], Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function addHover() {
if (document.all&&document.getElementById) {
var divs = document.getElementsByTagName("div");
diff --git a/htroot/jslicense.html b/htroot/jslicense.html
index 357bdd95d..ab552cd3c 100755
--- a/htroot/jslicense.html
+++ b/htroot/jslicense.html
@@ -30,7 +30,7 @@
</tr>
<tr>
<td><a href="/env/bootstrap/js/bootstrap-switch.min.js">bootstrap-switch.min.js</a></td>
- <td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0</a></td>
+ <td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0-only</a></td>
<td><a href="/env/bootstrap/js/bootstrap-switch.js">bootstrap-switch.js</a> (3.0.0)</td>
</tr>
<tr>
@@ -38,7 +38,81 @@
<td><a href="http://www.jclark.com/xml/copying.txt">Expat</a></td>
<td><a href="/env/bootstrap/js/typeahead.jquery.js">typeahead.jquery.js</a> (0.10.2)</td>
</tr>
-
+ <tr>
+ <td><a href="/js/ajax.js">ajax.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/ajax.js">ajax.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/Bookmarks.js">Bookmarks.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/Bookmarks.js">Bookmarks.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/Crawler.js">Crawler.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/Crawler.js">Crawler.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/html.js">html.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/html.js">html.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/hypertree.js">hypertree.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/hypertree.js">hypertree.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/IndexCreate.js">IndexCreate.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/IndexCreate.js">IndexCreate.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/query.js">query.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/query.js">query.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/rss2.js">rss2.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/rss2.js">rss2.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/WatchWebStructure.js">WatchWebStructure.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/WatchWebStructure.js">WatchWebStructure.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/xml.js">xml.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/xml.js">xml.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/yacy-ymarks-bookmark-actions.js">yacy-ymarks-bookmark-actions.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/yacy-ymarks-bookmark-actions.js">yacy-ymarks-bookmark-actions.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/yacy-ymarks-tag-actions.js">yacy-ymarks-tag-actions.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/yacy-ymarks-tag-actions.js">yacy-ymarks-tag-actions.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/yacy-ymarks.js">yacy-ymarks.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/yacy-ymarks.js">yacy-ymarks.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/yacyinteractive.js">yacyinteractive.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/yacyinteractive.js">yacyinteractive.js</a></td>
+ </tr>
+ <tr>
+ <td><a href="/js/yacysearch.js">yacysearch.js</a></td>
+ <td><a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU-GPL-2.0-or-later</a></td>
+ <td><a href="/js/yacysearch.js">yacysearch.js</a></td>
+ </tr>
</table>
</body>
</html>