diff --git a/LICENSE b/LICENSE index 67d600c..4fa6fda 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2014 by the FlaskBB Team and contributors. See AUTHORS +Copyright (c) 2013 by the FlaskBB Team and contributors. See AUTHORS for more details. Some rights reserved. diff --git a/flaskbb/__init__.py b/flaskbb/__init__.py index 7d7d50d..13e3cac 100644 --- a/flaskbb/__init__.py +++ b/flaskbb/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~ FlaskBB is a forum software written in python using the microframework Flask. diff --git a/flaskbb/app.py b/flaskbb/app.py index d3f6044..7bb5100 100644 --- a/flaskbb/app.py +++ b/flaskbb/app.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.app - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~ manages the app creation and configuration process diff --git a/flaskbb/auth/forms.py b/flaskbb/auth/forms.py index 8726ca9..d65ae86 100644 --- a/flaskbb/auth/forms.py +++ b/flaskbb/auth/forms.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.auth.forms - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~ It provides the forms that are needed for the auth views. diff --git a/flaskbb/auth/views.py b/flaskbb/auth/views.py index 334f4d2..d6efb6b 100644 --- a/flaskbb/auth/views.py +++ b/flaskbb/auth/views.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.auth.views - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~ This view provides user authentication, registration and a view for resetting the password of a user if he has lost his password diff --git a/flaskbb/email.py b/flaskbb/email.py index 6902c71..4366cd3 100644 --- a/flaskbb/email.py +++ b/flaskbb/email.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ - flaskbb.emails - ~~~~~~~~~~~~~~~~~~~~ + flaskbb.email + ~~~~~~~~~~~~~ This module adds the functionality to send emails diff --git a/flaskbb/extensions.py b/flaskbb/extensions.py index 837e9a4..bb3f602 100644 --- a/flaskbb/extensions.py +++ b/flaskbb/extensions.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.extensions - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~ The extensions that are used by FlaskBB. diff --git a/flaskbb/forum/forms.py b/flaskbb/forum/forms.py index 26d2a2d..6206af3 100644 --- a/flaskbb/forum/forms.py +++ b/flaskbb/forum/forms.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.forum.forms - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~ It provides the forms that are needed for the forum views. diff --git a/flaskbb/forum/views.py b/flaskbb/forum/views.py index d99daca..1999452 100644 --- a/flaskbb/forum/views.py +++ b/flaskbb/forum/views.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.forum.views - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~ This module handles the forum logic like creating and viewing topics and posts. diff --git a/flaskbb/plugins/__init__.py b/flaskbb/plugins/__init__.py index c0aa49c..0df3bc6 100644 --- a/flaskbb/plugins/__init__.py +++ b/flaskbb/plugins/__init__.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.plugins + ~~~~~~~~~~~~~~~ + + This module contains the Plugin class used by all Plugins for FlaskBB. + + :copyright: (c) 2014 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" from flask import current_app from flask_plugins import Plugin diff --git a/flaskbb/plugins/portal/__init__.py b/flaskbb/plugins/portal/__init__.py index aed2fd0..6a1feb3 100644 --- a/flaskbb/plugins/portal/__init__.py +++ b/flaskbb/plugins/portal/__init__.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.plugins.portal + ~~~~~~~~~~~~~~~~~~~~~~ + + A Portal Plugin for FlaskBB. + + :copyright: (c) 2014 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" from flask.ext.plugins import connect_event from flaskbb.plugins import FlaskBBPlugin diff --git a/flaskbb/plugins/portal/views.py b/flaskbb/plugins/portal/views.py index a364388..4a7257b 100644 --- a/flaskbb/plugins/portal/views.py +++ b/flaskbb/plugins/portal/views.py @@ -1,4 +1,13 @@ # -*- coding: utf-8 -*- +""" + flaskbb.plugins.portal.views + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + This module contains the portal view. + + :copyright: (c) 2014 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" from flask import Blueprint, current_app, flash, request from flask_babelplus import gettext as _ from flask_login import current_user diff --git a/flaskbb/user/forms.py b/flaskbb/user/forms.py index b42f996..c3c7936 100644 --- a/flaskbb/user/forms.py +++ b/flaskbb/user/forms.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.user.forms - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~ It provides the forms that are needed for the user views. diff --git a/flaskbb/user/models.py b/flaskbb/user/models.py index 7ae8d42..3a2ddee 100644 --- a/flaskbb/user/models.py +++ b/flaskbb/user/models.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.user.models - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~ This module provides the models for the user. diff --git a/flaskbb/user/views.py b/flaskbb/user/views.py index f10deb8..c31d692 100644 --- a/flaskbb/user/views.py +++ b/flaskbb/user/views.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.user.views - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~ The user view handles the user profile and the user settings from a signed in user. diff --git a/flaskbb/utils/datastructures.py b/flaskbb/utils/datastructures.py index 2a51ca5..303b51f 100644 --- a/flaskbb/utils/datastructures.py +++ b/flaskbb/utils/datastructures.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.utils.datastructures + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + A few helpers that are used by flaskbb + + :copyright: (c) 2014 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" try: from types import SimpleNamespace diff --git a/flaskbb/utils/helpers.py b/flaskbb/utils/helpers.py index 84d9e25..1faec49 100644 --- a/flaskbb/utils/helpers.py +++ b/flaskbb/utils/helpers.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.utils.helpers - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~ A few helpers that are used by flaskbb diff --git a/flaskbb/utils/markup.py b/flaskbb/utils/markup.py index 395d416..5238a5e 100644 --- a/flaskbb/utils/markup.py +++ b/flaskbb/utils/markup.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.utils.markup + ~~~~~~~~~~~~~~~~~~~~ + + A module for all markup related stuff like markdown and emojis. + + :copyright: (c) 2016 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" import os import re diff --git a/flaskbb/utils/populate.py b/flaskbb/utils/populate.py index dce426e..76d0dd4 100644 --- a/flaskbb/utils/populate.py +++ b/flaskbb/utils/populate.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- """ flaskbb.utils.populate - ~~~~~~~~~~~~~~~~~~~~ + ~~~~~~~~~~~~~~~~~~~~~~ A module that makes creating data more easily diff --git a/flaskbb/utils/translations.py b/flaskbb/utils/translations.py index 8340f64..e1bf6a1 100644 --- a/flaskbb/utils/translations.py +++ b/flaskbb/utils/translations.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.utils.translations + ~~~~~~~~~~~~~~~~~~~~~~~~~~ + + This module contains the translation Domain used by FlaskBB. + + :copyright: (c) 2016 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" import os import babel diff --git a/flaskbb/utils/views.py b/flaskbb/utils/views.py index b11a9c2..8d58ff5 100644 --- a/flaskbb/utils/views.py +++ b/flaskbb/utils/views.py @@ -1,3 +1,13 @@ +# -*- coding: utf-8 -*- +""" + flaskbb.utils.views + ~~~~~~~~~~~~~~~~~~~ + + This module contains some helpers for creating views. + + :copyright: (c) 2016 by the FlaskBB Team. + :license: BSD, see LICENSE for more details. +""" from flaskbb.utils.helpers import render_template from flask.views import View diff --git a/flaskbb/utils/widgets.py b/flaskbb/utils/widgets.py index 9148d65..108c258 100644 --- a/flaskbb/utils/widgets.py +++ b/flaskbb/utils/widgets.py @@ -3,7 +3,7 @@ flaskbb.utils.widgets ~~~~~~~~~~~~~~~~~~~~~ - Additional widgets for wtforms + Additional widgets for wtforms. :copyright: (c) 2014 by the FlaskBB Team. :license: BSD, see LICENSE for more details.