standardize license and copyright
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent 6cd92eb · Browse files · 44 files·+133 added−178 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
44 files+133 added−178 removed
- tests:+36 added−36 removed
- other:+97 added−142 removed
Provenance
- Commit
e666f7a- Tree
8b67054- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
6cd92eb
44 files changed+133 added−178 removed
deleted:artwork/LICENSE-20 removed
1-Copyright (c) 2010 by Armin Ronacher.2-3-Some rights reserved.4-5-This logo or a modified version may be used by anyone to refer to the6-Flask project, but does not indicate endorsement by the project.7-8-Redistribution and use in source (the SVG file) and binary forms (rendered9-PNG files etc.) of the image, with or without modification, are permitted10-provided that the following conditions are met:11-12-* Redistributions of source code must retain the above copyright13- notice and this list of conditions.14-15-* The names of the contributors to the Flask software (see AUTHORS) may16- not be used to endorse or promote products derived from this software17- without specific prior written permission.18-19-Note: we would appreciate that you make the image a link to20-http://flask.pocoo.org/ if you use it on a web page.added:artwork/LICENSE.rst+19 added
1+Copyright 2010 Pallets2+3+This logo or a modified version may be used by anyone to refer to the4+Flask project, but does not indicate endorsement by the project.5+6+Redistribution and use in source (SVG) and binary (renders in PNG, etc.)7+forms, with or without modification, are permitted provided that the8+following conditions are met:9+10+1. Redistributions of source code must retain the above copyright11+ notice and this list of conditions.12+13+3. Neither the name of the copyright holder nor the names of its14+ contributors may be used to endorse or promote products derived from15+ this software without specific prior written permission.16+17+We would appreciate that you make the image a link to18+https://palletsprojects.com/p/flask/ if you use it in a medium that19+supports links.modified:docs/license.rst+10 added-39 removed
1 License2 =======3 4-Flask is licensed under a three clause BSD License. It basically means:5-do whatever you want with it as long as the copyright in Flask sticks6-around, the conditions are not modified and the disclaimer is present.7-Furthermore you must not use the names of the authors to promote derivatives8-of the software without written consent.4+Source License5+--------------6 10-The full license text can be found below (:ref:`flask-license`). For the11-documentation and artwork different licenses apply.7+This license applies to all files in the Flask repository and source8+distribution. This includes Flask's source code, the examples, and9+tests, as well as the documentation.10 13-.. _authors:11+.. include:: ../LICENSE.rst12 15-Authors16--------13 18-.. include:: ../AUTHORS14+Artwork License15+---------------16 20-General License Definitions21----------------------------17+This license applies to Flask's logo.18 23-The following section contains the full license texts for Flask and the24-documentation.25-26-- "AUTHORS" hereby refers to all the authors listed in the27- :ref:`authors` section.28-29-- The ":ref:`flask-license`" applies to all the source code shipped as30- part of Flask (Flask itself as well as the examples and the unittests)31- as well as documentation.32-33-- The ":ref:`artwork-license`" applies to the project's Horn-Logo.34-35-.. _flask-license:36-37-Flask License38--------------39-40-.. include:: ../LICENSE41-42-43-.. _artwork-license:44-45-Flask Artwork License46----------------------47-48-.. include:: ../artwork/LICENSE19+.. include:: ../artwork/LICENSE.rstmodified:flask/json/__init__.py+2 added-2 removed
1 unmodified line2 """3 flask.json4 ~~~~~~~~~~5 6-:copyright: © 2010 by the Pallets team.7-:license: BSD, see LICENSE for more details.6+:copyright: 2010 Pallets7+:license: BSD-3-Clause8 """9 import codecs10 import io11 import uuid346 unmodified linesmodified:flask/json/tag.py+2 added-2 removed
36 unmodified lines37 return OrderedDict(value)38 39 app.session_interface.serializer.register(TagOrderedDict, index=0)40 41-:copyright: © 2010 by the Pallets team.42-:license: BSD, see LICENSE for more details.41+:copyright: 2010 Pallets42+:license: BSD-3-Clause43 """44 45 from base64 import b64decode, b64encode46 from datetime import datetime254 unmodified linesmodified:flask/__init__.py+2 added-2 removed
4 unmodified lines5 6 A microframework based on Werkzeug. It's extensively documented7 and follows best practice patterns.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 13 __version__ = '1.0.3'14 35 unmodified linesmodified:flask/__main__.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Alias for flask.run for the command line.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 if __name__ == '__main__':13 from .cli import main1 unmodified linemodified:flask/_compat.py+2 added-2 removed
5 unmodified lines6 Some py2/py3 compatibility support based on a stripped down7 version of six so we don't have to depend on a specific version8 of it.9 10- :copyright: © 2010 by the Pallets team.11- :license: BSD, see LICENSE for more details.10+ :copyright: 2010 Pallets11+ :license: BSD-3-Clause12 """13 14 import sys15 86 unmodified linesmodified:flask/app.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~5 6 This module implements the central WSGI application object.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import os13 import sys2327 unmodified linesmodified:flask/blueprints.py+2 added-2 removed
4 unmodified lines5 6 Blueprints are the recommended way to implement larger or more7 pluggable applications in Flask 0.7 and later.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 from functools import update_wrapper13 14 from .helpers import _PackageBoundObject, _endpoint_from_view_func471 unmodified linesmodified:flask/cli.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~5 6 A simple command line application to run flask apps.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 from __future__ import print_function13 897 unmodified linesmodified:flask/config.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~5 6 Implements the configuration related objects.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import os13 import types256 unmodified linesmodified:flask/ctx.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~5 6 Implements the objects required to keep the context.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import sys13 from functools import update_wrapper444 unmodified linesmodified:flask/debughelpers.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~5 6 Various helpers to make the development experience better.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import os13 from warnings import warn155 unmodified linesmodified:flask/globals.py+2 added-2 removed
4 unmodified lines5 6 Defines all the global objects that are proxies to the current7 active context.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 13 from functools import partial14 from werkzeug.local import LocalStack, LocalProxy47 unmodified linesmodified:flask/helpers.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~5 6 Implements various helpers.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import os13 import socket1038 unmodified linesmodified:flask/logging.py+2 added-2 removed
1 unmodified line2 """3 flask.logging4 ~~~~~~~~~~~~~5 6-:copyright: © 2010 by the Pallets team.7-:license: BSD, see LICENSE for more details.6+:copyright: 2010 Pallets7+:license: BSD-3-Clause8 """9 10 from __future__ import absolute_import11 67 unmodified linesmodified:flask/sessions.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Implements cookie based sessions based on itsdangerous.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import hashlib13 import warnings372 unmodified linesmodified:flask/signals.py+2 added-2 removed
4 unmodified lines5 6 Implements signals based on blinker if available, otherwise7 falls silently back to a noop.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 13 signals_available = False14 try:43 unmodified linesmodified:flask/templating.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~5 6 Implements the bridge to Jinja2.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 from jinja2 import BaseLoader, Environment as BaseEnvironment, \13 TemplateNotFound137 unmodified linesmodified:flask/testing.py+2 added-2 removed
4 unmodified lines5 6 Implements test support helpers. This module is lazily imported7 and usually not used in production environments.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 13 import werkzeug14 from contextlib import contextmanager232 unmodified linesmodified:flask/views.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~5 6 This module provides class-based views inspired by the ones in Django.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 from .globals import request13 from ._compat import with_metaclass145 unmodified linesmodified:flask/wrappers.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~5 6 Implements the WSGI wrappers (request and response).7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 from werkzeug.exceptions import BadRequest13 from werkzeug.wrappers import Request as RequestBase, Response as ResponseBase203 unmodified linesmodified:tests/conftest.py+2 added-2 removed
1 unmodified line2 """3 tests.conftest4 ~~~~~~~~~~~~~~5 6- :copyright: © 2010 by the Pallets team.7- :license: BSD, see LICENSE for more details.6+ :copyright: 2010 Pallets7+ :license: BSD-3-Clause8 """9 10 import gc11 import os187 unmodified linesmodified:tests/test_appctx.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~5 6 Tests the application context.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import pytest13 206 unmodified linesmodified:tests/test_basic.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~5 6 The basic functionality.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import re13 import time1935 unmodified linesmodified:tests/test_blueprints.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~5 6 Blueprints (and currently modules)7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import functools13 import pytest843 unmodified linesmodified:tests/test_cli.py+2 added-2 removed
1 unmodified line2 """3 tests.test_cli4 ~~~~~~~~~~~~~~5 6- :copyright: © 2010 by the Pallets team.7- :license: BSD, see LICENSE for more details.6+ :copyright: 2010 Pallets7+ :license: BSD-3-Clause8 """9 10 # This file was part of Flask-CLI and was modified under the terms of11 # its Revised BSD License. Copyright © 2015 CERN.566 unmodified linesmodified:tests/test_config.py+2 added-2 removed
1 unmodified line2 """3 tests.test_config4 ~~~~~~~~~~~~~~~~~5 6- :copyright: © 2010 by the Pallets team.7- :license: BSD, see LICENSE for more details.6+ :copyright: 2010 Pallets7+ :license: BSD-3-Clause8 """9 10 from datetime import timedelta11 import os196 unmodified linesmodified:tests/test_helpers.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~5 6 Various helpers.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import datetime13 import os943 unmodified linesmodified:tests/test_instance_config.py+2 added-2 removed
1 unmodified line2 """3 tests.test_instance4 ~~~~~~~~~~~~~~~~~~~5 6- :copyright: © 2010 by the Pallets team.7- :license: BSD, see LICENSE for more details.6+ :copyright: 2010 Pallets7+ :license: BSD-3-Clause8 """9 10 import os11 import sys124 unmodified linesmodified:tests/test_json_tag.py+2 added-2 removed
1 unmodified line2 """3 tests.test_json_tag4 ~~~~~~~~~~~~~~~~~~~5 6-:copyright: © 2010 by the Pallets team.7-:license: BSD, see LICENSE for more details.6+:copyright: 2010 Pallets7+:license: BSD-3-Clause8 """9 10 from datetime import datetime11 from uuid import uuid479 unmodified linesmodified:tests/test_logging.py+2 added-2 removed
1 unmodified line2 """3 tests.test_logging4 ~~~~~~~~~~~~~~~~~~~5 6-:copyright: © 2010 by the Pallets team.7-:license: BSD, see LICENSE for more details.6+:copyright: 2010 Pallets7+:license: BSD-3-Clause8 """9 10 import logging11 import sys96 unmodified linesmodified:tests/test_regression.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~~~~5 6 Tests regressions.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import gc13 import sys86 unmodified linesmodified:tests/test_reqctx.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~5 6 Tests the request context.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import pytest13 209 unmodified linesmodified:tests/test_signals.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~~~~~~~~5 6 Signalling.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import pytest13 190 unmodified linesmodified:tests/test_subclassing.py+2 added-2 removed
4 unmodified lines5 6 Test that certain behavior of flask can be customized by7 subclasses.8 9- :copyright: © 2010 by the Pallets team.10- :license: BSD, see LICENSE for more details.9+ :copyright: 2010 Pallets10+ :license: BSD-3-Clause11 """12 13 import flask14 19 unmodified linesmodified:tests/test_templating.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~~~~5 6 Template functionality7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import pytest13 430 unmodified linesmodified:tests/test_testing.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~~~5 6 Test client and more.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 import click12 import pytest13 400 unmodified linesmodified:tests/test_user_error_handler.py+2 added-2 removed
1 unmodified line2 """3 tests.test_user_error_handler4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~5 6-:copyright: © 2010 by the Pallets team.7-:license: BSD, see LICENSE for more details.6+:copyright: 2010 Pallets7+:license: BSD-3-Clause8 """9 10 from werkzeug.exceptions import (11 Forbidden,188 unmodified linesmodified:tests/test_views.py+2 added-2 removed
3 unmodified lines4 ~~~~~~~~~~~5 6 Pluggable views.7 8- :copyright: © 2010 by the Pallets team.9- :license: BSD, see LICENSE for more details.8+ :copyright: 2010 Pallets9+ :license: BSD-3-Clause10 """11 12 import pytest13 226 unmodified linesdeleted:AUTHORS-12 removed
1-Flask is developed and maintained by the Pallets team and community2-contributors. It was created by Armin Ronacher. The core maintainers3-are:4-5-- David Lord (davidism)6-- Adrian Mönnich (ThiefMaster)7-- Armin Ronacher (mitsuhiko)8-- Marcus Unterwaditzer (untitaker)9-10-A full list of contributors is available from git with::11-12- git shortlog -snedeleted:LICENSE-31 removed
1-Copyright © 2010 by the Pallets team.2-3-Some rights reserved.4-5-Redistribution and use in source and binary forms of the software as6-well as documentation, with or without modification, are permitted7-provided that the following conditions are met:8-9-* Redistributions of source code must retain the above copyright notice,10- this list of conditions and the following disclaimer.11-12-* Redistributions in binary form must reproduce the above copyright13- notice, this list of conditions and the following disclaimer in the14- documentation and/or other materials provided with the distribution.15-16-* Neither the name of the copyright holder nor the names of its17- contributors may be used to endorse or promote products derived from18- this software without specific prior written permission.19-20-THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND21-CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,22-BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND23-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE24-COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,25-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT26-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF27-USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON28-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT29-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF30-THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF31-SUCH DAMAGE.added:LICENSE.rst+28 added
1+Copyright 2010 Pallets2+3+Redistribution and use in source and binary forms, with or without4+modification, are permitted provided that the following conditions are5+met:6+7+1. Redistributions of source code must retain the above copyright8+ notice, this list of conditions and the following disclaimer.9+10+2. Redistributions in binary form must reproduce the above copyright11+ notice, this list of conditions and the following disclaimer in the12+ documentation and/or other materials provided with the distribution.13+14+3. Neither the name of the copyright holder nor the names of its15+ contributors may be used to endorse or promote products derived from16+ this software without specific prior written permission.17+18+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS19+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT20+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A21+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT22+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,23+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED24+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR25+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF26+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING27+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS28+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.