summaryrefslogtreecommitdiff
path: root/htroot/js
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-06-08 09:56:16 +0200
committerluccioman <luccioman@users.noreply.github.com>2016-06-08 09:56:16 +0200
commit8b95e5c91f89bbcb2504f1c932d57ea262ffade1 (patch)
tree2bd7c5b23d3b85fa1980b6b3463f6b4b779fab12 /htroot/js
parentdf74c435be198078418665bcf4f6f13ac70570b3 (diff)
Aplied GNU licensing recommendations.
Diffstat (limited to 'htroot/js')
-rw-r--r--htroot/js/Bookmarks.js24
-rw-r--r--htroot/js/Crawler.js24
-rw-r--r--htroot/js/IndexCreate.js25
-rw-r--r--htroot/js/WatchWebStructure.js23
-rw-r--r--htroot/js/ajax.js23
-rw-r--r--htroot/js/html.js23
-rw-r--r--htroot/js/hypertree.js23
-rw-r--r--htroot/js/query.js23
-rw-r--r--htroot/js/rss2.js23
-rw-r--r--htroot/js/xml.js23
-rw-r--r--htroot/js/yacy-ymarks-bookmark-actions.js23
-rw-r--r--htroot/js/yacy-ymarks-tag-actions.js23
-rw-r--r--htroot/js/yacy-ymarks.js23
-rw-r--r--htroot/js/yacyinteractive.js23
-rw-r--r--htroot/js/yacysearch.js24
15 files changed, 275 insertions, 75 deletions
diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js
index e74443b7c..5f588f8c4 100644
--- a/htroot/js/Bookmarks.js
+++ b/htroot/js/Bookmarks.js
@@ -1,8 +1,22 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2005 - 2011 Alexander Schier, Martin Thelian, Stefan Förster,
+* Florian Richter, Michael Peter Christen
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
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 da9fc8d7b..a7bcd65a1 100644
--- a/htroot/js/Crawler.js
+++ b/htroot/js/Crawler.js
@@ -1,8 +1,22 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2005 - 2014 Alexander Schier, Michael Peter Christen,
+* and other YaCy developers (see http://yacy.net/en/Join.html)
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
DELETE_STRING="delete";
BAR_IMG1="/env/grafics/green-block.png";
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index 3b1c1211f..20bfe67d8 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -1,8 +1,23 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2006 - 2014 Alexander Schier, Martin Thelian, Michael Peter Christen,
+* Florian Richter, Stefan Förster, David Wieditz
+*
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
var AJAX_OFF="/env/grafics/empty.gif";
var AJAX_ON="/env/grafics/ajax.gif";
diff --git a/htroot/js/WatchWebStructure.js b/htroot/js/WatchWebStructure.js
index da140bab3..fc5a9b633 100644
--- a/htroot/js/WatchWebStructure.js
+++ b/htroot/js/WatchWebStructure.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2007, 2010 Alexander Schier, Michael Benz
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
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 5760d6a0b..fa2cf5afa 100644
--- a/htroot/js/ajax.js
+++ b/htroot/js/ajax.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2005, 2010 Alexander Schier, Marc Nause
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function createRequestObject() {
var ro;
diff --git a/htroot/js/html.js b/htroot/js/html.js
index 413e68697..ef79dca3e 100644
--- a/htroot/js/html.js
+++ b/htroot/js/html.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2006 - 2008 Alexander Schier, Michael Hamann, David Wieditz
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function createCol(content){
col=document.createElement("td");
diff --git a/htroot/js/hypertree.js b/htroot/js/hypertree.js
index e329498e0..262a0775d 100644
--- a/htroot/js/hypertree.js
+++ b/htroot/js/hypertree.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2014 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function linkstructure(hostname, element, width, height, maxtime, maxnodes) {
var nodes = {};
diff --git a/htroot/js/query.js b/htroot/js/query.js
index 52e9366b6..a90711bf7 100644
--- a/htroot/js/query.js
+++ b/htroot/js/query.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2008, 2013 Michael Peter Christen, Roland Haeder
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
var query = new Object();
diff --git a/htroot/js/rss2.js b/htroot/js/rss2.js
index 1e72a0fa4..edddfa924 100644
--- a/htroot/js/rss2.js
+++ b/htroot/js/rss2.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2008 - 2013 Michael Peter Christen, David Wieditz, Roland Haeder
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
// parser for rss2
diff --git a/htroot/js/xml.js b/htroot/js/xml.js
index 493f06980..f98710335 100644
--- a/htroot/js/xml.js
+++ b/htroot/js/xml.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2006 Alexander Schier, Michael Peter Christen
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function removeAllChildren(element){
if(element==null){
diff --git a/htroot/js/yacy-ymarks-bookmark-actions.js b/htroot/js/yacy-ymarks-bookmark-actions.js
index 1970a3306..c0f887348 100644
--- a/htroot/js/yacy-ymarks-bookmark-actions.js
+++ b/htroot/js/yacy-ymarks-bookmark-actions.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2011, 2012 Stefan Förster
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
/* Initialize Bookmark Actions */
function bm_action(com,grid) {
diff --git a/htroot/js/yacy-ymarks-tag-actions.js b/htroot/js/yacy-ymarks-tag-actions.js
index 6c0c0cc7b..5ae293605 100644
--- a/htroot/js/yacy-ymarks-tag-actions.js
+++ b/htroot/js/yacy-ymarks-tag-actions.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2011 Stefan Förster
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
/* Initialize Tag Actions */
function tag_action(com,grid) {
diff --git a/htroot/js/yacy-ymarks.js b/htroot/js/yacy-ymarks.js
index 763f30ef3..dde7b6bd7 100644
--- a/htroot/js/yacy-ymarks.js
+++ b/htroot/js/yacy-ymarks.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2011, 2012 Stefan Förster
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
HTMLenc = function(s) {
return $('<div/>').text(s).html();
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 8a85e5da9..0971121d6 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -1,8 +1,21 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2010 - 2015 Michael Benz, Michael Peter Christen
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function xmlhttpPost() {
var searchform = document.forms['searchform'];
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index 8fe104dcd..2c7366081 100644
--- a/htroot/js/yacysearch.js
+++ b/htroot/js/yacysearch.js
@@ -1,8 +1,22 @@
-/**
- * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
- * first published 07.04.2005 on http://yacy.net
- * Licensed under the GNU GPL-v2 license
- */
+/*
+* Copyright (C) 2006 - 2014 Martin Thelian, Alexander Schier, Michael Hamann,
+* Michael Peter Christen, Franz Brausse, fuchsi
+*
+* This file is part of YaCy.
+*
+* YaCy 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.
+*
+* YaCy 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 YaCy. If not, see <http://www.gnu.org/licenses/>.
+*/
function addHover() {
if (document.all&&document.getElementById) {