diff --git a/AUTHORS b/AUTHORS index 61dabedf8..cad9a3ba3 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,8 +1,7 @@ -Authors of OpenSlides in alphabetical order: +Authors of OpenSlides in chronological order of first contribution: Emanuel Schütze Oskar Hahn + Norman Jäckel René Köcher - -Thanks: - Norman Jäckel, Leipzig, Germany + Andy Kittner diff --git a/THANKS b/THANKS index f50112a5b..f11f9edee 100644 --- a/THANKS +++ b/THANKS @@ -3,14 +3,23 @@ THANKS file for OpenSlides OpenSlides uses parts of the following projects: -* Oxygen-Icons - +* Django + * jQuery - + + +* jQuery UI + + +* ReportLab + * Drupal (tabledrag function) -* Django - +* Oxygen-Icons + + +* Ubuntu TrueType Font + diff --git a/manage.py b/manage.py index 8703a7bf0..2ed895048 100644 --- a/manage.py +++ b/manage.py @@ -1,12 +1,9 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- """ - openslides.manage - ~~~~~~~~~~~~~~~~~ - Django's execute manager. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/__init__.py b/openslides/__init__.py index 1d73bd338..ff470788e 100644 --- a/openslides/__init__.py +++ b/openslides/__init__.py @@ -1,3 +1,10 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + VERSION = (1, 2, 0, 'alpha', 0) def get_version(version=None): diff --git a/openslides/agenda/__init__.py b/openslides/agenda/__init__.py index 8b1378917..e69de29bb 100644 --- a/openslides/agenda/__init__.py +++ b/openslides/agenda/__init__.py @@ -1 +0,0 @@ - diff --git a/openslides/agenda/forms.py b/openslides/agenda/forms.py index d4fdfa024..b147ce2a2 100644 --- a/openslides/agenda/forms.py +++ b/openslides/agenda/forms.py @@ -6,7 +6,7 @@ Forms for the agenda app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/agenda/models.py b/openslides/agenda/models.py index e6401f3d9..7ae4e41d0 100644 --- a/openslides/agenda/models.py +++ b/openslides/agenda/models.py @@ -6,7 +6,7 @@ Models for the agenda app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/agenda/slides.py b/openslides/agenda/slides.py index 68eef0efa..387eae8df 100644 --- a/openslides/agenda/slides.py +++ b/openslides/agenda/slides.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.agenda.slides + ~~~~~~~~~~~~~~~~~~~~~~~ + + Slides for the agenda app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from django.utils.translation import ugettext as _ def agenda_show(): diff --git a/openslides/agenda/tests.py b/openslides/agenda/tests.py index 2415c8fec..6af7e387d 100644 --- a/openslides/agenda/tests.py +++ b/openslides/agenda/tests.py @@ -1,12 +1,12 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- """ - openslides.agenda.test - ~~~~~~~~~~~~~~~~~~~~~~ + openslides.agenda.tests + ~~~~~~~~~~~~~~~~~~~~~~~ Unit test for the agenda app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/agenda/urls.py b/openslides/agenda/urls.py index 8d9624c16..1f5c952ec 100644 --- a/openslides/agenda/urls.py +++ b/openslides/agenda/urls.py @@ -6,7 +6,7 @@ URL list for the agenda app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/agenda/views.py b/openslides/agenda/views.py index e61d365f1..133065fb2 100644 --- a/openslides/agenda/views.py +++ b/openslides/agenda/views.py @@ -6,7 +6,7 @@ Views for the agenda app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by the OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ from reportlab.platypus import Paragraph diff --git a/openslides/application/forms.py b/openslides/application/forms.py index 1a08a368b..1bed834f0 100644 --- a/openslides/application/forms.py +++ b/openslides/application/forms.py @@ -6,7 +6,7 @@ Forms for the application app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/application/models.py b/openslides/application/models.py index f508afa84..96d3c2037 100644 --- a/openslides/application/models.py +++ b/openslides/application/models.py @@ -6,7 +6,7 @@ Models for the application app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/application/tests.py b/openslides/application/tests.py index 2dac5683e..0d6cf4a49 100644 --- a/openslides/application/tests.py +++ b/openslides/application/tests.py @@ -1,12 +1,12 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- """ - openslides.application.test - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + openslides.application.tests + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unit tests for the application app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/application/urls.py b/openslides/application/urls.py index 2ec0126c6..5cf83227b 100644 --- a/openslides/application/urls.py +++ b/openslides/application/urls.py @@ -6,7 +6,7 @@ URL list for the application app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/application/views.py b/openslides/application/views.py index abe727863..4e60408d0 100644 --- a/openslides/application/views.py +++ b/openslides/application/views.py @@ -6,7 +6,7 @@ Views for the application app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ from __future__ import with_statement diff --git a/openslides/assignment/forms.py b/openslides/assignment/forms.py index 08aed3783..e43bd8c6a 100644 --- a/openslides/assignment/forms.py +++ b/openslides/assignment/forms.py @@ -6,7 +6,7 @@ Forms for the assignment app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/assignment/models.py b/openslides/assignment/models.py index 8ea20bafb..d6aabd580 100644 --- a/openslides/assignment/models.py +++ b/openslides/assignment/models.py @@ -6,7 +6,7 @@ Models for the assignment app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/assignment/tests.py b/openslides/assignment/tests.py index c35c6abd4..7be9bc59a 100644 --- a/openslides/assignment/tests.py +++ b/openslides/assignment/tests.py @@ -2,12 +2,12 @@ # -*- coding: utf-8 -*- """ - openslides.assignment.test - ~~~~~~~~~~~~~~~~~~~~~~~~~~ + openslides.assignment.tests + ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Unit tests for the assignment app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/assignment/urls.py b/openslides/assignment/urls.py index f118b1902..d472cd88c 100644 --- a/openslides/assignment/urls.py +++ b/openslides/assignment/urls.py @@ -6,7 +6,7 @@ URL list for the assignment app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index 4a441998f..155ab0164 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -6,7 +6,7 @@ Views for the assignment app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/config/__init__.py b/openslides/config/__init__.py index 8b1378917..e69de29bb 100644 --- a/openslides/config/__init__.py +++ b/openslides/config/__init__.py @@ -1 +0,0 @@ - diff --git a/openslides/config/forms.py b/openslides/config/forms.py index 164e30685..beaeb4df2 100644 --- a/openslides/config/forms.py +++ b/openslides/config/forms.py @@ -6,7 +6,7 @@ Forms for the config app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/config/models.py b/openslides/config/models.py index 4790b9e43..d693d1380 100644 --- a/openslides/config/models.py +++ b/openslides/config/models.py @@ -6,7 +6,7 @@ Models for the config app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ from pickle import dumps, loads diff --git a/openslides/config/signals.py b/openslides/config/signals.py index 4e0880e40..c0418c290 100644 --- a/openslides/config/signals.py +++ b/openslides/config/signals.py @@ -2,11 +2,11 @@ # -*- coding: utf-8 -*- """ openslides.config.signals - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~ Defines Signals for the config. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/config/urls.py b/openslides/config/urls.py index 4168f9254..e873bc9f6 100644 --- a/openslides/config/urls.py +++ b/openslides/config/urls.py @@ -6,7 +6,7 @@ URL list for the config app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/config/views.py b/openslides/config/views.py index aa89afc78..c25ae351c 100644 --- a/openslides/config/views.py +++ b/openslides/config/views.py @@ -6,7 +6,7 @@ Views for the config app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/default.settings.py b/openslides/default.settings.py index 69f57612d..7454fbd13 100644 --- a/openslides/default.settings.py +++ b/openslides/default.settings.py @@ -6,7 +6,7 @@ Global settings file. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/locale/de/LC_MESSAGES/django.po b/openslides/locale/de/LC_MESSAGES/django.po index 1a75f2f49..9e89b0558 100644 --- a/openslides/locale/de/LC_MESSAGES/django.po +++ b/openslides/locale/de/LC_MESSAGES/django.po @@ -1,17 +1,16 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. +# German translations for OpenSlides package. +# Copyright (C) 2011, 2012 by OpenSlides team, see AUTHORS. +# This file is distributed under the same license as the OpenSlides package. # msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: OpenSlides 1.x\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-23 22:16+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" +"Last-Translator: Emanuel Schuetze \n" +"Language-Team: German \n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/openslides/main.py b/openslides/main.py index 104ce58be..b67c89a83 100644 --- a/openslides/main.py +++ b/openslides/main.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.main + ~~~~~~~~~~~~~~~ + + Main script to start and set up OpenSlides. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from __future__ import with_statement import os diff --git a/openslides/openslides_settings.py b/openslides/openslides_settings.py index c896a51a8..1bc57e963 100644 --- a/openslides/openslides_settings.py +++ b/openslides/openslides_settings.py @@ -1,14 +1,15 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- """ - openslides.opennslides_settings - ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + openslides.openslides_settings + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OpenSlides default settings. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ + import os from django.conf.global_settings import * diff --git a/openslides/participant/api.py b/openslides/participant/api.py index d953e56b9..46edf756e 100644 --- a/openslides/participant/api.py +++ b/openslides/participant/api.py @@ -6,9 +6,10 @@ Useful functions for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ + from random import choice import string diff --git a/openslides/participant/forms.py b/openslides/participant/forms.py index b4143e9e9..016e114a0 100644 --- a/openslides/participant/forms.py +++ b/openslides/participant/forms.py @@ -6,7 +6,7 @@ Forms for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/participant/models.py b/openslides/participant/models.py index 2404fa993..d5fe8ca52 100644 --- a/openslides/participant/models.py +++ b/openslides/participant/models.py @@ -6,7 +6,7 @@ Models for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/participant/tests.py b/openslides/participant/tests.py index 8f3d7feae..f9c261861 100644 --- a/openslides/participant/tests.py +++ b/openslides/participant/tests.py @@ -6,7 +6,7 @@ Unit tests for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/participant/urls.py b/openslides/participant/urls.py index 51542c3bf..f13033f73 100644 --- a/openslides/participant/urls.py +++ b/openslides/participant/urls.py @@ -6,7 +6,7 @@ URL list for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/participant/views.py b/openslides/participant/views.py index f60003683..29208c42e 100644 --- a/openslides/participant/views.py +++ b/openslides/participant/views.py @@ -6,7 +6,7 @@ Views for the participant app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/poll/__init__.py b/openslides/poll/__init__.py index 75a918bfb..e69de29bb 100644 --- a/openslides/poll/__init__.py +++ b/openslides/poll/__init__.py @@ -1,13 +0,0 @@ -## from django.utils.translation import ugettext as _ -## -## from models import BasePoll -## from views import PollFormView -## -## -## class DesicionPoll(PollFormView): - ## vote_values = [_('yes'), _('no'), _('contained')] - ## poll_class = BasePoll -## -## -## class ChoicePoll(PollFormView): - ## poll_class = BasePoll diff --git a/openslides/poll/forms.py b/openslides/poll/forms.py index 6fc5b20cf..9454b4c34 100644 --- a/openslides/poll/forms.py +++ b/openslides/poll/forms.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.poll.forms + ~~~~~~~~~~~~~~~~~~~~~ + + Forms for the poll app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from django import forms from django.utils.translation import ugettext as _ diff --git a/openslides/poll/models.py b/openslides/poll/models.py index 004d9ab79..3817efc2d 100644 --- a/openslides/poll/models.py +++ b/openslides/poll/models.py @@ -6,7 +6,7 @@ Models for the poll app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/poll/views.py b/openslides/poll/views.py index f4e72e019..5b11dccbf 100644 --- a/openslides/poll/views.py +++ b/openslides/poll/views.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.poll.views + ~~~~~~~~~~~~~~~~~~~~~ + + Views for the poll app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from django.http import HttpResponseRedirect from django.forms.models import modelform_factory diff --git a/openslides/projector/api.py b/openslides/projector/api.py index f72a2a7bc..bc7c14ad5 100644 --- a/openslides/projector/api.py +++ b/openslides/projector/api.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.projector.api + ~~~~~~~~~~~~~~~~~~~~~~~~ + + Useful functions for the projector app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from config.models import config from projector import SLIDE, Slide from django.template.loader import render_to_string diff --git a/openslides/projector/models.py b/openslides/projector/models.py index 8b11e0493..8a4949b1a 100644 --- a/openslides/projector/models.py +++ b/openslides/projector/models.py @@ -1,3 +1,14 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.projector.models + ~~~~~~~~~~~~~~~~~~~~~~~~ + + Models for the projector app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" from django.db import models from django.dispatch import receiver diff --git a/openslides/projector/projector.py b/openslides/projector/projector.py index d943803af..dd490b0ee 100644 --- a/openslides/projector/projector.py +++ b/openslides/projector/projector.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.projector.projector + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Slide functions for the projector app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from time import time from django.dispatch import receiver diff --git a/openslides/projector/signals.py b/openslides/projector/signals.py index 986721bce..17605a373 100644 --- a/openslides/projector/signals.py +++ b/openslides/projector/signals.py @@ -6,7 +6,7 @@ Defines Signals for the projector. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/projector/tests.py b/openslides/projector/tests.py index 501deb776..35a9258b3 100644 --- a/openslides/projector/tests.py +++ b/openslides/projector/tests.py @@ -1,8 +1,13 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- """ -This file demonstrates writing tests using the unittest module. These will pass -when you run "manage.py test". + openslides.projector.tests + ~~~~~~~~~~~~~~~~~~~~~~~~~~ -Replace this with more appropriate tests for your application. + Unit tests for the projector app. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. """ from django.test import TestCase diff --git a/openslides/projector/urls.py b/openslides/projector/urls.py index f2a88e9d9..cd30af47b 100644 --- a/openslides/projector/urls.py +++ b/openslides/projector/urls.py @@ -2,11 +2,11 @@ # -*- coding: utf-8 -*- """ openslides.projector.urls - ~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~ URL list for the projector app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/projector/views.py b/openslides/projector/views.py index 21ce3fde0..6e72267d7 100644 --- a/openslides/projector/views.py +++ b/openslides/projector/views.py @@ -2,13 +2,14 @@ # -*- coding: utf-8 -*- """ openslides.projector.views - ~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~ Views for the projector app. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ + from datetime import datetime from time import time diff --git a/openslides/urls.py b/openslides/urls.py index 7e0d9fd18..009cf272c 100644 --- a/openslides/urls.py +++ b/openslides/urls.py @@ -6,7 +6,7 @@ Global URL list for OpenSlides. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/auth/AnonymousAuth.py b/openslides/utils/auth/AnonymousAuth.py index 4dda1901f..7973528a8 100644 --- a/openslides/utils/auth/AnonymousAuth.py +++ b/openslides/utils/auth/AnonymousAuth.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.utils.auth.AnonymousAuth + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Functions for authenticate anonymous user. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from django.contrib.auth.models import Permission from config.models import config diff --git a/openslides/utils/auth/__init__.py b/openslides/utils/auth/__init__.py index d08d31ba1..202ca0203 100644 --- a/openslides/utils/auth/__init__.py +++ b/openslides/utils/auth/__init__.py @@ -1 +1,8 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from AnonymousAuth import * diff --git a/openslides/utils/csv_ext.py b/openslides/utils/csv_ext.py index d350a2040..82f656515 100644 --- a/openslides/utils/csv_ext.py +++ b/openslides/utils/csv_ext.py @@ -6,7 +6,7 @@ Additional dialect definitions for pythons CSV module. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/forms.py b/openslides/utils/forms.py index ad0def6d8..8f1b3dc0f 100644 --- a/openslides/utils/forms.py +++ b/openslides/utils/forms.py @@ -1,3 +1,15 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + openslides.utils.forms + ~~~~~~~~~~~~~~~~~~~~~~ + + Additional definitions for OpenSlides forms. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + class CssClassMixin(object): error_css_class = 'error' required_css_class = 'required' diff --git a/openslides/utils/pdf.py b/openslides/utils/pdf.py index 931051c6f..4d4b7001e 100755 --- a/openslides/utils/pdf.py +++ b/openslides/utils/pdf.py @@ -4,9 +4,9 @@ openslides.utils.pdf ~~~~~~~~~~~~~~~~~~~~ - Print PDF functions for all OpenSlides apps. + Additional definitions for creating PDF documents. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/signals.py b/openslides/utils/signals.py index 8518e17bc..3ea93371b 100644 --- a/openslides/utils/signals.py +++ b/openslides/utils/signals.py @@ -4,9 +4,9 @@ openslides.utils.signals ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Defines Signals for the openslides-project. + Defines Signals for OpenSlides. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/template.py b/openslides/utils/template.py index c900a12fc..1cfc2e72f 100644 --- a/openslides/utils/template.py +++ b/openslides/utils/template.py @@ -4,9 +4,9 @@ openslides.template ~~~~~~~~~~~~~~~~~~~ - Useful template functions. + Useful template functions for OpenSlides. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/templatetags/tags.py b/openslides/utils/templatetags/tags.py index be73be047..9ad3245cd 100644 --- a/openslides/utils/templatetags/tags.py +++ b/openslides/utils/templatetags/tags.py @@ -1,5 +1,14 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +""" + openslides.utils.templatetags.tags + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Template tags for OpenSlides + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" from django import template from config.models import config diff --git a/openslides/utils/translation_ext.py b/openslides/utils/translation_ext.py index 7e86cd2d0..42ab3d4db 100644 --- a/openslides/utils/translation_ext.py +++ b/openslides/utils/translation_ext.py @@ -2,11 +2,11 @@ # -*- coding: utf-8 -*- """ openslides.utils.translation_ext - ~~~~~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Localizable descriptions for django permissions. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/utils.py b/openslides/utils/utils.py index 34c6e6f34..3398ad059 100644 --- a/openslides/utils/utils.py +++ b/openslides/utils/utils.py @@ -4,9 +4,9 @@ openslides.utils.urls ~~~~~~~~~~~~~~~~~~~~~ - URL list for utils. + URL functions for OpenSlides. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/openslides/utils/views.py b/openslides/utils/views.py index c5cf98e98..5d008512e 100644 --- a/openslides/utils/views.py +++ b/openslides/utils/views.py @@ -4,9 +4,9 @@ openslides.utils.views ~~~~~~~~~~~~~~~~~~~~~~ - Views for utils. + Views for OpenSlides. - :copyright: 2011 by the OpenSlides team, see AUTHORS. + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. :license: GNU GPL, see LICENSE for more details. """ diff --git a/setup.py b/setup.py index 758f18ec6..07c67a521 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,12 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + Setup script for OpenSlides. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" + from setuptools import setup from setuptools import find_packages from openslides import get_version diff --git a/start.py b/start.py index a5bbf1d65..03076d6eb 100755 --- a/start.py +++ b/start.py @@ -1,4 +1,11 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- +""" + Start script for OpenSlides. + + :copyright: 2011, 2012 by OpenSlides team, see AUTHORS. + :license: GNU GPL, see LICENSE for more details. +""" import openslides.main