From df0ad35a7cc58394a5618775064225680cab4b6d Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 17 Apr 2014 02:21:55 +0200 Subject: [PATCH] Replace license on taiga.domains module. --- taiga/domains/admin.py | 22 +++++++++++----------- taiga/domains/api.py | 22 +++++++++++----------- taiga/domains/base.py | 14 +++++++++++++- taiga/domains/middleware.py | 22 +++++++++++----------- taiga/domains/permissions.py | 22 +++++++++++----------- taiga/domains/serializers.py | 22 +++++++++++----------- taiga/domains/tests.py | 22 +++++++++++----------- 7 files changed, 79 insertions(+), 67 deletions(-) diff --git a/taiga/domains/admin.py b/taiga/domains/admin.py index 32da3519..7decab04 100644 --- a/taiga/domains/admin.py +++ b/taiga/domains/admin.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from django.contrib import admin diff --git a/taiga/domains/api.py b/taiga/domains/api.py index 721cd984..af4febca 100644 --- a/taiga/domains/api.py +++ b/taiga/domains/api.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated diff --git a/taiga/domains/base.py b/taiga/domains/base.py index 2b2d4243..91d64699 100644 --- a/taiga/domains/base.py +++ b/taiga/domains/base.py @@ -1,4 +1,16 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import logging import functools diff --git a/taiga/domains/middleware.py b/taiga/domains/middleware.py index 29dfacb4..0591f236 100644 --- a/taiga/domains/middleware.py +++ b/taiga/domains/middleware.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . import json diff --git a/taiga/domains/permissions.py b/taiga/domains/permissions.py index de584521..da089d45 100644 --- a/taiga/domains/permissions.py +++ b/taiga/domains/permissions.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from rest_framework import permissions diff --git a/taiga/domains/serializers.py b/taiga/domains/serializers.py index 229cd292..6c307630 100644 --- a/taiga/domains/serializers.py +++ b/taiga/domains/serializers.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from rest_framework import serializers from taiga.base.users.serializers import UserSerializer diff --git a/taiga/domains/tests.py b/taiga/domains/tests.py index a20d8724..a50d4aa7 100644 --- a/taiga/domains/tests.py +++ b/taiga/domains/tests.py @@ -1,16 +1,16 @@ -# Copyright 2014 Andrey Antukh +# Copyright (C) 2014 Andrey Antukh +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# y ou may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# 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 Affero General Public License for more details. # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . from django import test from django.test.utils import override_settings