Skip to content
Snippets Groups Projects
Verified Commit e837b7a8 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'file-refs'

parents b40be365 987f708f
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ RUN eatmydata pip install poetry; \
# Install core
COPY aleksis ./aleksis/
COPY LICENCE README.rst manage.py ./
COPY LICENCE.rst README.rst manage.py ./
RUN mkdir -p /var/lib/aleksis/media /var/lib/aleksis/static /var/lib/aleksis/backups; \
poetry build && eatmydata pip install dist/*.whl
......
include CODE_OF_CONDUCT.rst
include CONTRIBUTING.rst
include LICENCE
include LICENCE.rst
include manage.py
recursive-include aleksis/core/static *
recursive-include aleksis/core/templates *
......
......@@ -36,17 +36,17 @@ Licence
::
Copyright © 2019, 2020 Dominik George <dominik.george@teckids.org>
Copyright © 2019 Martin Gummi <martin.gummi@teckids.org>
Copyright © 2019 Julian Leucker <leuckeju@katharineum.de>
Copyright © 2019 mirabilos <thorsten.glaser@teckids.org>
Copyright © 2018, 2019 Frank Poetzsch-Heffter <p-h@katharineum.de>
Copyright © 2019, 2020 Martin Gummi <martin.gummi@teckids.org>
Copyright © 2018, 2019, 2020 Julian Leucker <leuckeju@katharineum.de>
Copyright © 2019, 2020 mirabilos <thorsten.glaser@teckids.org>
Copyright © 2017, 2018, 2019 Frank Poetzsch-Heffter <p-h@katharineum.de>
Copyright © 2019, 2020 Tom Teichler <tom.teichler@teckids.org>
Copyright © 2018, 2019, 2020 Jonathan Weth <wethjo@katharineum.de>
Copyright © 2019, 2020 Hangzhi Yu <yuha@katharineum.de>
Copyright © 2017, 2018, 2019, 2020 Jonathan Weth <wethjo@katharineum.de>
Copyright © 2018, 2019, 2020 Hangzhi Yu <yuha@katharineum.de>
Licenced under the EUPL, version 1.2 or later
Please see the LICENCE file accompanying this distribution for the
Please see the LICENCE.rst file accompanying this distribution for the
full licence text or on the `European Union Public Licence`_ website
https://joinup.ec.europa.eu/collection/eupl/guidelines-users-and-developers
(including all other official language versions).
......
import os
from django.conf import settings
# Build path for copyright
copyright_path = os.path.abspath(os.path.join(settings.BASE_DIR, '..', 'COPYRIGHT.md'))
# Read copyright from file
with open(copyright_path, "r") as f:
COPYRIGHT = f.read()
COPYRIGHT_SHORT = "© 2018–2019 Mitglieder der Computer-AG, Katharineum zu Lübeck"
VERSION = '1.1.4 "Aebli"'
LICENSE_APACHE_2 = "Apache 2.0 License"
LICENSE_BSD = "2-Clause BSD License"
LICENSE_BSD_3 = "3-Clause BSD License"
LICENSE_MIT = "MIT License"
LICENSE_GPL_V2 = "GNU General Public License v2.0"
LICENSE_GPL_V3 = "GNU General Public License v3.0"
OPEN_SOURCE_COMPONENTS = [
# ("Docker (u.a. Engine, CLI, docker-compose)", "https://github.com/docker", LICENSE_APACHE_2,
# "https://github.com/docker/docker/blob/master/LICENSE"),
("Django", "https://www.djangoproject.com/", "Django BSD License",
"https://github.com/django/django/blob/master/LICENSE"),
("Python 3", "https://www.python.org/", "PSF LICENSE AGREEMENT FOR PYTHON",
"https://docs.python.org/3/license.html"),
("jQuery", "https://jquery.com/", LICENSE_MIT, "https://github.com/jquery/jquery/blob/master/LICENSE.txt"),
("pip", "https://pypi.org/project/pip/", LICENSE_MIT, "https://github.com/pypa/pip/blob/master/LICENSE.txt"),
("Requests", "https://requests.kennethreitz.org/", LICENSE_APACHE_2,
"https://github.com/psf/requests/blob/master/LICENSE"),
("django-widget-tweaks", "https://github.com/jazzband/django-widget-tweaks", LICENSE_MIT,
"https://github.com/jazzband/django-widget-tweaks/blob/master/LICENSE"),
("Materialize CSS", "https://materializecss.com/", LICENSE_MIT,
"https://github.com/Dogfalo/materialize/blob/master/LICENSE"),
("Material Design Icons", "http://google.github.io/material-design-icons/", LICENSE_APACHE_2,
"https://github.com/google/material-design-icons/blob/master/LICENSE"),
("highlight.js", "https://highlightjs.org/", LICENSE_BSD_3,
"https://github.com/highlightjs/highlight.js/blob/master/LICENSE"),
("React", "https://reactjs.org/", LICENSE_MIT, "https://github.com/facebook/react/blob/master/LICENSE"),
("mysqlclient", "https://github.com/PyMySQL/mysqlclient-python", LICENSE_GPL_V2,
"https://github.com/PyMySQL/mysqlclient-python/blob/master/LICENSE"),
("django-auth-ldap", "https://github.com/django-auth-ldap/django-auth-ldap", LICENSE_BSD,
"https://github.com/django-auth-ldap/django-auth-ldap/blob/master/LICENSE"),
("django-dbsettings", "https://github.com/zlorf/django-dbsettings", LICENSE_BSD_3,
"https://github.com/zlorf/django-dbsettings/blob/master/LICENSE"),
("Django PDB", "https://github.com/HassenPy/django-pdb", "Public Domain", ""),
("Django Material", "https://github.com/viewflow/django-material", LICENSE_BSD_3,
"https://github.com/viewflow/django-material/blob/master/LICENSE.txt"),
("Django Filter", "https://github.com/carltongibson/django-filter", LICENSE_BSD_3,
"https://github.com/carltongibson/django-filter/blob/master/LICENSE"),
("django-react-templatetags", "https://github.com/Frojd/django-react-templatetags", LICENSE_MIT,
"https://github.com/Frojd/django-react-templatetags/blob/develop/LICENSE"),
("martor", "https://github.com/agusmakmun/django-markdown-editor", LICENSE_GPL_V3,
"https://github.com/agusmakmun/django-markdown-editor/blob/master/LICENSE"),
("Babel", "https://babeljs.io/", LICENSE_MIT, "https://github.com/babel/babel/blob/master/LICENSE")
]
OPEN_SOURCE_COMPONENTS.sort(key=lambda elem: elem[0].lower())
# Provide vars to all templates via processor
def meta_processor(request):
return {'COPYRIGHT': COPYRIGHT, "COPYRIGHT_SHORT": COPYRIGHT_SHORT, "VERSION": VERSION}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment