From 1fcb0a7110d835657c628ff1a5bf58d7f71177b1 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 27 May 2015 22:10:06 +0200 Subject: [PATCH] copyright notice --- cas_server/__init__.py | 10 ++++++++++ cas_server/admin.py | 11 ++++++++++- cas_server/auth.py | 10 ++++++++++ cas_server/default_settings.py | 10 ++++++++++ cas_server/forms.py | 10 ++++++++++ cas_server/models.py | 10 ++++++++++ cas_server/tests.py | 11 ++++++++++- cas_server/urls.py | 10 ++++++++++ cas_server/utils.py | 10 ++++++++++ cas_server/views.py | 10 ++++++++++ 10 files changed, 100 insertions(+), 2 deletions(-) diff --git a/cas_server/__init__.py b/cas_server/__init__.py index e69de29..271fe5c 100644 --- a/cas_server/__init__.py +++ b/cas_server/__init__.py @@ -0,0 +1,10 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir diff --git a/cas_server/admin.py b/cas_server/admin.py index 8ebe266..fbcb68a 100644 --- a/cas_server/admin.py +++ b/cas_server/admin.py @@ -1,9 +1,18 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """module for the admin interface of the app""" from django.contrib import admin from .models import ServiceTicket, ProxyTicket, ProxyGrantingTicket, User, ServicePattern from .models import Username, ReplaceAttributName, ReplaceAttributValue, FilterAttributValue from .forms import TicketForm -# Register your models here. class ServiceTicketInline(admin.TabularInline): """`ServiceTicket` in admin interface""" diff --git a/cas_server/auth.py b/cas_server/auth.py index 87540bd..f8c9950 100644 --- a/cas_server/auth.py +++ b/cas_server/auth.py @@ -1,4 +1,14 @@ # ⁻*- coding: utf-8 -*- +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """Some authentication classes for the CAS""" from django.conf import settings from django.contrib.auth.models import User diff --git a/cas_server/default_settings.py b/cas_server/default_settings.py index a0993af..ecef7bb 100644 --- a/cas_server/default_settings.py +++ b/cas_server/default_settings.py @@ -1,3 +1,13 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """Default values for the app's settings""" from django.conf import settings from . import auth diff --git a/cas_server/forms.py b/cas_server/forms.py index 656fd6c..5cf2ba6 100644 --- a/cas_server/forms.py +++ b/cas_server/forms.py @@ -1,3 +1,13 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """forms for the app""" import cas_server.default_settings diff --git a/cas_server/models.py b/cas_server/models.py index db5e163..3f69029 100644 --- a/cas_server/models.py +++ b/cas_server/models.py @@ -1,4 +1,14 @@ # ⁻*- coding: utf-8 -*- +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """models for the app""" import cas_server.default_settings diff --git a/cas_server/tests.py b/cas_server/tests.py index 7ce503c..8283f8c 100644 --- a/cas_server/tests.py +++ b/cas_server/tests.py @@ -1,3 +1,12 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir from django.test import TestCase -# Create your tests here. diff --git a/cas_server/urls.py b/cas_server/urls.py index 17af869..3de848a 100644 --- a/cas_server/urls.py +++ b/cas_server/urls.py @@ -1,4 +1,14 @@ # ⁻*- coding: utf-8 -*- +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """urls for the app""" from django.conf.urls import patterns, url from django.views.generic import RedirectView diff --git a/cas_server/utils.py b/cas_server/utils.py index 708cba2..ca1223d 100644 --- a/cas_server/utils.py +++ b/cas_server/utils.py @@ -1,3 +1,13 @@ +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """Some util function for the app""" import urlparse import urllib diff --git a/cas_server/views.py b/cas_server/views.py index d69f001..94208ec 100644 --- a/cas_server/views.py +++ b/cas_server/views.py @@ -1,4 +1,14 @@ # ⁻*- coding: utf-8 -*- +# 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 version 3 for +# more details. +# +# You should have received a copy of the GNU General Public License version 3 +# along with this program; if not, write to the Free Software Foundation, Inc., 51 +# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# +# (c) 2015 Valentin Samir """views for the app""" import cas_server.default_settings