From b41111d64e52d3cff97b72fe2e747fe1b769bb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Thu, 7 Feb 2013 18:50:54 +0100 Subject: [PATCH] Add licence information in all source files --- UserProfile.py | 19 +++++++++++++++++++ forms.py | 18 ++++++++++++++++++ generators/__init__.py | 19 +++++++++++++++++++ generators/archive.py | 18 ++++++++++++++++++ generators/atom.py | 18 ++++++++++++++++++ generators/category.py | 18 ++++++++++++++++++ generators/generator.py | 18 ++++++++++++++++++ generators/index.py | 18 ++++++++++++++++++ generators/post.py | 18 ++++++++++++++++++ generators/rss.py | 18 ++++++++++++++++++ generators/search.py | 18 ++++++++++++++++++ generators/tag.py | 18 ++++++++++++++++++ models.py | 18 ++++++++++++++++++ search.py | 18 ++++++++++++++++++ settings.py | 19 +++++++++++++++++++ tree.py | 17 +++++++++++++++++ urls.py | 19 +++++++++++++++++++ views.py | 18 ++++++++++++++++++ 18 files changed, 327 insertions(+) diff --git a/UserProfile.py b/UserProfile.py index 4200c89..d86fce8 100644 --- a/UserProfile.py +++ b/UserProfile.py @@ -1,3 +1,22 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" + from django.contrib.auth.models import User class UserProfile(models.Model): diff --git a/forms.py b/forms.py index bc36b67..3dff03d 100644 --- a/forms.py +++ b/forms.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" from django.forms import ModelForm from django import forms from dynastie.models import * diff --git a/generators/__init__.py b/generators/__init__.py index db72da4..819b061 100644 --- a/generators/__init__.py +++ b/generators/__init__.py @@ -1 +1,20 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" + __all__ = ["generator", "index", "post", "category", "tag", "archive", "rss", "atom"] diff --git a/generators/archive.py b/generators/archive.py index ef2e1fa..7c4b2a5 100644 --- a/generators/archive.py +++ b/generators/archive.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os from datetime import datetime from xml.dom.minidom import parse, parseString diff --git a/generators/atom.py b/generators/atom.py index 42a5178..09a0412 100644 --- a/generators/atom.py +++ b/generators/atom.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os import datetime import xml diff --git a/generators/category.py b/generators/category.py index ee32e44..6960b4c 100644 --- a/generators/category.py +++ b/generators/category.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os from xml.dom.minidom import parse, parseString from dynastie.generators.generator import DynastieGenerator diff --git a/generators/generator.py b/generators/generator.py index e5e1e8b..801a7fd 100644 --- a/generators/generator.py +++ b/generators/generator.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os import hashlib import gzip diff --git a/generators/index.py b/generators/index.py index f2eb85b..9803adc 100644 --- a/generators/index.py +++ b/generators/index.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os import datetime import xml diff --git a/generators/post.py b/generators/post.py index 03b9ef5..03c87ac 100644 --- a/generators/post.py +++ b/generators/post.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import datetime import os from xml.dom.minidom import parse, parseString diff --git a/generators/rss.py b/generators/rss.py index 51072dd..bd73945 100644 --- a/generators/rss.py +++ b/generators/rss.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os import datetime import xml diff --git a/generators/search.py b/generators/search.py index 7c3c048..38fedf9 100644 --- a/generators/search.py +++ b/generators/search.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os from datetime import datetime from xml.dom.minidom import parse, parseString diff --git a/generators/tag.py b/generators/tag.py index fe899a3..a3a99d3 100644 --- a/generators/tag.py +++ b/generators/tag.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os from xml.dom.minidom import parse, parseString from dynastie.generators.generator import DynastieGenerator diff --git a/models.py b/models.py index 2934f3b..60897a7 100644 --- a/models.py +++ b/models.py @@ -1,3 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os import shutil import hashlib diff --git a/search.py b/search.py index ec74e5d..6d02745 100644 --- a/search.py +++ b/search.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import re import unicodedata import os diff --git a/settings.py b/settings.py index e225be5..8ae24cc 100644 --- a/settings.py +++ b/settings.py @@ -1,3 +1,22 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" + # Django settings for dynastie project. import os diff --git a/tree.py b/tree.py index 7d1c127..75daa96 100644 --- a/tree.py +++ b/tree.py @@ -1,4 +1,21 @@ +""" + Copyright 2012-2013 Grégory Soutadé + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" class TreeNode(): diff --git a/urls.py b/urls.py index 288cd64..983fa1d 100644 --- a/urls.py +++ b/urls.py @@ -1,3 +1,22 @@ +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" + from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: diff --git a/views.py b/views.py index 35ddbc6..02ef02e 100644 --- a/views.py +++ b/views.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- +""" + Copyright 2012-2013 Grégory Soutadé + + This file is part of Dynastie. + + Dynastie 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 of the License, or + (at your option) any later version. + + Dynastie 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 Dynastie. If not, see . +""" import os from datetime import datetime, date, time from django.shortcuts import render