From deaec99eff61cc994d096d8eed474d09a478c14b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 17 Apr 2014 02:43:44 +0200 Subject: [PATCH] Replace license on taiga.projects module. --- taiga/projects/admin.py | 16 +++++++++++++++- taiga/projects/api.py | 16 +++++++++++++++- taiga/projects/choices.py | 16 +++++++++++++++- .../management/commands/sample_data.py | 16 +++++++++++++++- taiga/projects/models.py | 16 +++++++++++++++- taiga/projects/permissions.py | 17 ++++++++++++++++- taiga/projects/serializers.py | 16 +++++++++++++++- taiga/projects/template_manager.py | 19 ++++++++++++++++++- 8 files changed, 124 insertions(+), 8 deletions(-) diff --git a/taiga/projects/admin.py b/taiga/projects/admin.py index aa0ba61d..358ce456 100644 --- a/taiga/projects/admin.py +++ b/taiga/projects/admin.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . from django.contrib import admin from django.contrib.contenttypes import generic diff --git a/taiga/projects/api.py b/taiga/projects/api.py index 01560eaf..51d35a38 100644 --- a/taiga/projects/api.py +++ b/taiga/projects/api.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 uuid diff --git a/taiga/projects/choices.py b/taiga/projects/choices.py index f33b009d..3a67a4f2 100644 --- a/taiga/projects/choices.py +++ b/taiga/projects/choices.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . from django.utils.translation import ugettext_lazy as _ diff --git a/taiga/projects/management/commands/sample_data.py b/taiga/projects/management/commands/sample_data.py index 00d3fbc0..983272f1 100644 --- a/taiga/projects/management/commands/sample_data.py +++ b/taiga/projects/management/commands/sample_data.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . from django.core.management.base import BaseCommand from django.db import transaction diff --git a/taiga/projects/models.py b/taiga/projects/models.py index ad98f89a..59b59609 100644 --- a/taiga/projects/models.py +++ b/taiga/projects/models.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 itertools import time diff --git a/taiga/projects/permissions.py b/taiga/projects/permissions.py index 6a753bf3..0e1f9a0a 100644 --- a/taiga/projects/permissions.py +++ b/taiga/projects/permissions.py @@ -1,4 +1,19 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . + from taiga.base.permissions import BasePermission from taiga.domains import get_active_domain diff --git a/taiga/projects/serializers.py b/taiga/projects/serializers.py index 8463d8d9..70ed30c3 100644 --- a/taiga/projects/serializers.py +++ b/taiga/projects/serializers.py @@ -1,4 +1,18 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . from rest_framework import serializers diff --git a/taiga/projects/template_manager.py b/taiga/projects/template_manager.py index c95d6e32..08d8b77c 100644 --- a/taiga/projects/template_manager.py +++ b/taiga/projects/template_manager.py @@ -1,6 +1,23 @@ +# Copyright (C) 2014 Andrey Antukh +# Copyright (C) 2014 Jesús Espino +# Copyright (C) 2014 David Barragán +# 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 . + from taiga.projects.models import UserStoryStatus -class ProjectTemplateManager(): + +class ProjectTemplateManager(object): def apply(self, template, project): if not hasattr(self, "template"): return False