From 219171fe413cd5ea4af626db0ba301746176ea85 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 1 Jul 2016 00:00:53 +0200 Subject: [PATCH] Set legals headers --- cas_server/__init__.py | 2 +- cas_server/admin.py | 2 +- cas_server/apps.py | 10 ++++++++++ cas_server/auth.py | 2 +- cas_server/forms.py | 2 +- cas_server/models.py | 2 +- cas_server/tests/mixin.py | 11 +++++++++++ cas_server/tests/test_models.py | 11 +++++++++++ cas_server/tests/test_utils.py | 11 +++++++++++ cas_server/tests/test_view.py | 11 +++++++++++ cas_server/tests/utils.py | 11 +++++++++++ cas_server/urls.py | 2 +- cas_server/utils.py | 4 ++-- cas_server/views.py | 2 +- 14 files changed, 74 insertions(+), 9 deletions(-) diff --git a/cas_server/__init__.py b/cas_server/__init__.py index dad5765..29f5de6 100644 --- a/cas_server/__init__.py +++ b/cas_server/__init__.py @@ -7,6 +7,6 @@ # 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 +# (c) 2015-2016 Valentin Samir """A django CAS server application""" default_app_config = 'cas_server.apps.CasAppConfig' diff --git a/cas_server/admin.py b/cas_server/admin.py index a6a9be4..472e1df 100644 --- a/cas_server/admin.py +++ b/cas_server/admin.py @@ -7,7 +7,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """module for the admin interface of the app""" from django.contrib import admin from .models import ServiceTicket, ProxyTicket, ProxyGrantingTicket, User, ServicePattern diff --git a/cas_server/apps.py b/cas_server/apps.py index 53807bc..ea15273 100644 --- a/cas_server/apps.py +++ b/cas_server/apps.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-2016 Valentin Samir """django config module""" from django.utils.translation import ugettext_lazy as _ from django.apps import AppConfig diff --git a/cas_server/auth.py b/cas_server/auth.py index bf5f5b4..2826a85 100644 --- a/cas_server/auth.py +++ b/cas_server/auth.py @@ -8,7 +8,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """Some authentication classes for the CAS""" from django.conf import settings from django.contrib.auth import get_user_model diff --git a/cas_server/forms.py b/cas_server/forms.py index f07329e..83cfe8a 100644 --- a/cas_server/forms.py +++ b/cas_server/forms.py @@ -7,7 +7,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """forms for the app""" from .default_settings import settings diff --git a/cas_server/models.py b/cas_server/models.py index 0694866..d870a50 100644 --- a/cas_server/models.py +++ b/cas_server/models.py @@ -8,7 +8,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """models for the app""" from .default_settings import settings diff --git a/cas_server/tests/mixin.py b/cas_server/tests/mixin.py index ff83258..ddbf2d2 100644 --- a/cas_server/tests/mixin.py +++ b/cas_server/tests/mixin.py @@ -1,3 +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) 2016 Valentin Samir """Some mixin classes for tests""" from cas_server.default_settings import settings from django.utils import timezone diff --git a/cas_server/tests/test_models.py b/cas_server/tests/test_models.py index 372fd5a..e75f54f 100644 --- a/cas_server/tests/test_models.py +++ b/cas_server/tests/test_models.py @@ -1,3 +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) 2016 Valentin Samir """Tests module for models""" from cas_server.default_settings import settings diff --git a/cas_server/tests/test_utils.py b/cas_server/tests/test_utils.py index 3cbe5ab..908f519 100644 --- a/cas_server/tests/test_utils.py +++ b/cas_server/tests/test_utils.py @@ -1,3 +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) 2016 Valentin Samir """Tests module for utils""" from django.test import TestCase diff --git a/cas_server/tests/test_view.py b/cas_server/tests/test_view.py index 8c8a900..95720c4 100644 --- a/cas_server/tests/test_view.py +++ b/cas_server/tests/test_view.py @@ -1,3 +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) 2016 Valentin Samir """Tests module for views""" from cas_server.default_settings import settings diff --git a/cas_server/tests/utils.py b/cas_server/tests/utils.py index a0f4aa8..bd692e9 100644 --- a/cas_server/tests/utils.py +++ b/cas_server/tests/utils.py @@ -1,3 +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) 2016 Valentin Samir """Some utils functions for tests""" from cas_server.default_settings import settings diff --git a/cas_server/urls.py b/cas_server/urls.py index 982ef9d..8b7f762 100644 --- a/cas_server/urls.py +++ b/cas_server/urls.py @@ -8,7 +8,7 @@ # 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 +# (c) 2015-2016 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 a257c98..747d9a3 100644 --- a/cas_server/utils.py +++ b/cas_server/utils.py @@ -1,4 +1,4 @@ -# ⁻*- coding: utf-8 -*- +# -*- 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 @@ -8,7 +8,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """Some util function for the app""" from .default_settings import settings diff --git a/cas_server/views.py b/cas_server/views.py index f0402f0..94ee0f0 100644 --- a/cas_server/views.py +++ b/cas_server/views.py @@ -8,7 +8,7 @@ # 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 +# (c) 2015-2016 Valentin Samir """views for the app""" from .default_settings import settings