summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2008-11-30 19:25:45 +0000
committerAndrew Resch <andrewresch@gmail.com>2008-11-30 19:25:45 +0000
commit1afef3425f6cf2cd587585bdea9b586159f30a23 (patch)
treeceebb56a5e9b70e606defab8b64eb8605df8d6dc
parent18cc95933a0c0d1c9185b51cf2a2d7ef48957df6 (diff)
downloaddeluge-1afef3425f6cf2cd587585bdea9b586159f30a23.tar.gz
deluge-1afef3425f6cf2cd587585bdea9b586159f30a23.tar.bz2
deluge-1afef3425f6cf2cd587585bdea9b586159f30a23.zip
Fix up some licence stuff
-rw-r--r--deluge/i18n/sv.po2
-rw-r--r--deluge/plugins/blocklist/blocklist/gtkui.py9
-rw-r--r--deluge/ui/webui/__init__.py10
-rw-r--r--deluge/ui/webui/debugerror.py4
-rw-r--r--deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py7
-rwxr-xr-xdeluge/ui/webui/run_devserver11
-rw-r--r--deluge/ui/webui/static/deluge.js28
-rw-r--r--deluge/ui/webui/static/refresh.js21
8 files changed, 27 insertions, 65 deletions
diff --git a/deluge/i18n/sv.po b/deluge/i18n/sv.po
index 2ae91b8a6..883732e94 100644
--- a/deluge/i18n/sv.po
+++ b/deluge/i18n/sv.po
@@ -351,7 +351,7 @@ msgid ""
msgstr ""
"Detta program är fri programvara. Du kan distribuera det och/eller modifiera "
"det under villkoren i GNU General Public License, publicerad av Free "
-"Software Foundation, antingen version 2 eller (om du så vill) någon senare "
+"Software Foundation, antingen version 3 eller (om du så vill) någon senare "
"version. Detta program distribueras i hopp om att det ska vara användbart, "
"men UTAN NÅGON SOM HELST GARANTI, även utan underförstådd garanti om "
"SÄLJBARHET eller LÄMPLIGHET FÖR NÅGOT SPECIELLT ÄNDAMÅL. Se GNU General "
diff --git a/deluge/plugins/blocklist/blocklist/gtkui.py b/deluge/plugins/blocklist/blocklist/gtkui.py
index 31440eccb..8c18ab3c3 100644
--- a/deluge/plugins/blocklist/blocklist/gtkui.py
+++ b/deluge/plugins/blocklist/blocklist/gtkui.py
@@ -21,15 +21,6 @@
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301, USA.
#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of portions of this program with the OpenSSL
-# library.
-# You must obey the GNU General Public License in all respects for all of
-# the code used other than OpenSSL. If you modify file(s) with this
-# exception, you may extend this exception to your version of the file(s),
-# but you are not obligated to do so. If you do not wish to do so, delete
-# this exception statement from your version. If you delete this exception
-# statement from all source files in the program, then also delete it here
import gtk
diff --git a/deluge/ui/webui/__init__.py b/deluge/ui/webui/__init__.py
index d9f1b0710..00825b045 100644
--- a/deluge/ui/webui/__init__.py
+++ b/deluge/ui/webui/__init__.py
@@ -19,13 +19,3 @@
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301, USA.
#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of portions of this program with the OpenSSL
-# library.
-# You must obey the GNU General Public License in all respects for all of
-# the code used other than OpenSSL. If you modify file(s) with this
-# exception, you may extend this exception to your version of the file(s),
-# but you are not obligated to do so. If you do not wish to do so, delete
-# this exception statement from your version. If you delete this exception
-
-
diff --git a/deluge/ui/webui/debugerror.py b/deluge/ui/webui/debugerror.py
index ad1f3011d..b76e68945 100644
--- a/deluge/ui/webui/debugerror.py
+++ b/deluge/ui/webui/debugerror.py
@@ -4,8 +4,8 @@ adapted for deluge-webui:
-pretty errors for well known exceptions.
-web.py :
-adapted from Django <djangoproject.com>
+debugerror.py :
+This is adapted from Django <djangoproject.com>
Copyright (c) 2005, the Lawrence Journal-World
Used under the modified BSD license:
http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5
diff --git a/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py b/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py
index 1fe1c71ec..e341f98e5 100644
--- a/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py
+++ b/deluge/ui/webui/lib/webpy022/wsgiserver/__init__.py
@@ -1,3 +1,7 @@
+# Copyright (c) 2004-2007, CherryPy Team (team@cherrypy.org)
+# All rights reserved.
+# See LICENSE.TXT
+
"""A high-speed, production ready, thread pooled, generic WSGI server.
Simplest example on how to use this module directly
@@ -5,7 +9,7 @@ Simplest example on how to use this module directly
from cherrypy import wsgiserver
- def my_crazy_app(environ, start_response):
+ def my_crazy_a pp(environ, start_response):
status = '200 OK'
response_headers = [('Content-type','text/plain')]
start_response(status, response_headers)
@@ -1016,4 +1020,3 @@ class CherryPyWSGIServer(object):
if key and value:
wsgikey = 'SSL_SERVER_%s_DN_%s' % (prefix, key)
self.ssl_environ[wsgikey] = value
-
diff --git a/deluge/ui/webui/run_devserver b/deluge/ui/webui/run_devserver
index 64053f81e..717a42cfc 100755
--- a/deluge/ui/webui/run_devserver
+++ b/deluge/ui/webui/run_devserver
@@ -21,17 +21,8 @@
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301, USA.
#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of portions of this program with the OpenSSL
-# library.
-# You must obey the GNU General Public License in all respects for all of
-# the code used other than OpenSSL. If you modify file(s) with this
-# exception, you may extend this exception to your version of the file(s),
-# but you are not obligated to do so. If you do not wish to do so, delete
-# this exception statement from your version. If you delete this exception
-# statement from all source files in the program, then also delete it here.
#only for development/debugging.
import deluge_webserver
-deluge_webserver.run(debug = True) \ No newline at end of file
+deluge_webserver.run(debug = True)
diff --git a/deluge/ui/webui/static/deluge.js b/deluge/ui/webui/static/deluge.js
index 2c63bd398..db8c4ebde 100644
--- a/deluge/ui/webui/static/deluge.js
+++ b/deluge/ui/webui/static/deluge.js
@@ -17,15 +17,6 @@
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301, USA.
#
-# In addition, as a special exception, the copyright holders give
-# permission to link the code of portions of this program with the OpenSSL
-# library.
-# You must obey the GNU General Public License in all respects for all of
-# the code used other than OpenSSL. If you modify file(s) with this
-# exception, you may extend this exception to your version of the file(s),
-# but you are not obligated to do so. If you do not wish to do so, delete
-# this exception statement from your version. If you delete this exception
-# statement from all source files in the program, then also delete it here.
---------------
all javascript is optional, everything should work web 1.0
@@ -235,22 +226,3 @@ if (document.cookie.length>0)
}
return ""
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/deluge/ui/webui/static/refresh.js b/deluge/ui/webui/static/refresh.js
index 793929749..5c76384ea 100644
--- a/deluge/ui/webui/static/refresh.js
+++ b/deluge/ui/webui/static/refresh.js
@@ -1,6 +1,22 @@
/*
-(c) Martijn Voncken mvoncken@gmail.com
-License : GPLv3
+# Copyright (C) Martijn Voncken 2008 <mvoncken@gmail.com>
+#
+# This program 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, 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.
+#
quick and dirty auto-refresh timer.
Our users have waited too long for a new auto-refresh.
@@ -53,4 +69,3 @@ function toggle_timer() {
start_timer();
}
}
-