From 5b969d9d30dc3a17ce80f689ab3c2d18a1ce8761 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 4 Nov 2014 12:46:00 +0530 Subject: [PATCH] Explicitly write license headers for each source file The package license (AGPL3+) implicitly indicates the license of each file. However, it is desirable to have license headers in each file. This is the case for many prominent projects like GNU project, Mozilla etc. --- LICENSES | 35 +++---------------- actions/diagnostic-test | 16 +++++++++ actions/hostname-change | 16 +++++++++ actions/module-manager | 16 +++++++++ actions/owncloud-setup | 17 +++++++++ actions/timezone-change | 16 +++++++++ actions/xmpp-hostname-change | 1 - actions/xmpp-pre-hostname-change | 1 - actions/xmpp-register | 17 +++++++++ actions/xmpp-setup | 16 +++++++++ data/etc/init.d/plinth | 17 +++++++++ .../lib/freedombox/first-run.d/90_firewall | 16 +++++++++ data/usr/lib/freedombox/setup.d/86_plinth | 16 +++++++++ plinth/actions.py | 17 +++++++++ plinth/cfg.py | 17 +++++++++ plinth/menu.py | 17 +++++++++ plinth/modules/apps/apps.py | 17 +++++++++ plinth/modules/expert_mode/expert_mode.py | 17 +++++++++ plinth/modules/first_boot/forms.py | 17 +++++++++ plinth/modules/first_boot/views.py | 17 +++++++++ plinth/modules/help/help.py | 17 +++++++++ plinth/modules/lib/auth.py | 17 +++++++++ plinth/modules/owncloud/owncloud.py | 17 +++++++++ plinth/modules/packages/packages.py | 17 +++++++++ plinth/modules/system/system.py | 17 +++++++++ plinth/modules/users/users.py | 17 +++++++++ plinth/modules/xmpp/xmpp.py | 17 +++++++++ plinth/templates/base.html | 18 ++++++++++ plinth/templates/menu_block.html | 19 ++++++++++ plinth/tests/test_actions.py | 16 +++++++++ 30 files changed, 458 insertions(+), 33 deletions(-) diff --git a/LICENSES b/LICENSES index f71a5f59d..564bc8164 100644 --- a/LICENSES +++ b/LICENSES @@ -1,8 +1,9 @@ # -*- mode: org; mode: org-indent; mode: visual-line; -*- -For each of the files listed, the copyright specified for the file is -listed. "-" means "no license specified in the file," licenses are -specified and linked otherwise. +Files containing license headers are not listed here. For each of the +files listed, the copyright specified for the file is listed. "-" means +"no license specified in the file," licenses are specified and linked +otherwise. - COPYING :: N/A - INSTALL :: - @@ -10,17 +11,8 @@ specified and linked otherwise. - plinth.config :: - - README :: - - TODO :: - -- actions/echo :: - -- actions/hostname-change :: - -- actions/id :: - -- actions/owncloud-setup :: - -- actions/timezone-change :: - -- actions/xmpp-register :: - -- actions/xmpp-setup :: - -- data/usr/lib/freedombox/setup.d/86_plinth :: - - data/etc/apache2/plinth.conf :: - - data/etc/apache2/plinth-ssl.conf :: - -- data/etc/init.d/plinth :: - - data/etc/sudoers.d/plinth :: - - doc/colophon.mdwn :: - - doc/faq.mdwn :: - @@ -32,25 +24,6 @@ specified and linked otherwise. - doc/scripts.mdwn :: - - doc/security.mdwn :: - - doc/themes.mdwn :: - -- plinth/actions.py :: - -- plinth/cfg.py :: - -- plinth/logger.py :: - -- plinth/menu.py :: - -- plinth/modules/apps/apps.py :: - -- plinth/modules/config/config.py :: - -- plinth/modules/diagnostics/diagnostics.py :: - -- plinth/modules/expert_mode/expert_mode.py :: - -- plinth/modules/first_boot/first_boot.py :: - -- plinth/modules/help/help.py :: - -- plinth/modules/lib/auth.py :: - -- plinth/modules/owncloud/owncloud.py :: - -- plinth/modules/packages/packages.py :: - -- plinth/modules/system/system.py :: - -- plinth/modules/tor/tor.py :: - -- plinth/modules/users/users.py :: - -- plinth/modules/xmpp/xmpp.py :: - -- plinth/templates/base.html :: [[file:templates/base.tmpl::the%20GNU%20Affero%20General%20Public][GNU Affero General Public License, Version 3 or later]] -- plinth/tests/actions_test.py :: - - static/themes/default/FreedomBox-Identity-Manual.pdf :: - - static/themes/default/FreedomBox-Logo.7z :: [[http://thread.gmane.org/gmane.linux.debian.freedombox.user/4124/focus=4439][GPL3+/CC-BY-SA]] - static/themes/default/readme.md :: [[file:themes/default/readme.md::This%20theme%20is%20free%20software%20offered%20to%20you%20under%20the%20terms%20of%20the%20GNU%20Affero%20General%20Public%20License,%20Version%203%20or%20later:][GNU Affero General Public License Version 3]] diff --git a/actions/diagnostic-test b/actions/diagnostic-test index 10f8610d5..44a3ee641 100755 --- a/actions/diagnostic-test +++ b/actions/diagnostic-test @@ -1,3 +1,19 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# /usr/lib/freedombox/testsuite/check diff --git a/actions/hostname-change b/actions/hostname-change index abb7b293f..3556529ce 100755 --- a/actions/hostname-change +++ b/actions/hostname-change @@ -1,4 +1,20 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# hostname="$1" diff --git a/actions/module-manager b/actions/module-manager index ee885ff94..275aba608 100755 --- a/actions/module-manager +++ b/actions/module-manager @@ -1,4 +1,20 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# # Usage: # module-manager list-available diff --git a/actions/owncloud-setup b/actions/owncloud-setup index 228931189..3b82d0c9e 100755 --- a/actions/owncloud-setup +++ b/actions/owncloud-setup @@ -1,4 +1,21 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + # See also # http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_automation.html diff --git a/actions/timezone-change b/actions/timezone-change index 6a5ed13c2..75cb3532f 100755 --- a/actions/timezone-change +++ b/actions/timezone-change @@ -1,4 +1,20 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# zonename="$1" diff --git a/actions/xmpp-hostname-change b/actions/xmpp-hostname-change index 32b025cb0..653fdfcf5 100755 --- a/actions/xmpp-hostname-change +++ b/actions/xmpp-hostname-change @@ -1,5 +1,4 @@ #!/bin/bash - # # This file is part of Plinth. # diff --git a/actions/xmpp-pre-hostname-change b/actions/xmpp-pre-hostname-change index d7dde1ff9..6b3cbb6e8 100755 --- a/actions/xmpp-pre-hostname-change +++ b/actions/xmpp-pre-hostname-change @@ -1,5 +1,4 @@ #!/bin/sh - # # This file is part of Plinth. # diff --git a/actions/xmpp-register b/actions/xmpp-register index 07068b49e..0d402d21d 100755 --- a/actions/xmpp-register +++ b/actions/xmpp-register @@ -1,2 +1,19 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + ejabberdctl register "$1" `hostname` "$2" diff --git a/actions/xmpp-setup b/actions/xmpp-setup index e8c07964e..eb6d4c1ac 100755 --- a/actions/xmpp-setup +++ b/actions/xmpp-setup @@ -1,4 +1,20 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# if grep --quiet "ip_access: all" /etc/ejabberd/ejabberd.yml; then xmpp_inband_enable=true diff --git a/data/etc/init.d/plinth b/data/etc/init.d/plinth index 114fa3240..adc7e80b7 100755 --- a/data/etc/init.d/plinth +++ b/data/etc/init.d/plinth @@ -1,4 +1,21 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + ### BEGIN INIT INFO # Provides: plinth # Required-Start: $network $remote_fs $syslog diff --git a/data/usr/lib/freedombox/first-run.d/90_firewall b/data/usr/lib/freedombox/first-run.d/90_firewall index a71d52abc..fa4e6f771 100755 --- a/data/usr/lib/freedombox/first-run.d/90_firewall +++ b/data/usr/lib/freedombox/first-run.d/90_firewall @@ -1,4 +1,20 @@ #!/bin/sh +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# # Enable tracing to see the commands in # /var/log/freedombox-first-run.log diff --git a/data/usr/lib/freedombox/setup.d/86_plinth b/data/usr/lib/freedombox/setup.d/86_plinth index 5ee424d7b..a1e40f659 100755 --- a/data/usr/lib/freedombox/setup.d/86_plinth +++ b/data/usr/lib/freedombox/setup.d/86_plinth @@ -1,5 +1,21 @@ #!/bin/sh # +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + # Enable Apache modules required for Plinth. echo "Configuring Apache for Plinth..." diff --git a/plinth/actions.py b/plinth/actions.py index f6fa64666..3420900d1 100644 --- a/plinth/actions.py +++ b/plinth/actions.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + """Run specified actions. Actions run commands with this contract (version 1.1): diff --git a/plinth/cfg.py b/plinth/cfg.py index c39d6cc61..21476d68f 100644 --- a/plinth/cfg.py +++ b/plinth/cfg.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import configparser import os diff --git a/plinth/menu.py b/plinth/menu.py index 147f8fef1..a31b588e5 100644 --- a/plinth/menu.py +++ b/plinth/menu.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django.core.urlresolvers import reverse diff --git a/plinth/modules/apps/apps.py b/plinth/modules/apps/apps.py index fb3226fcf..f935c21af 100644 --- a/plinth/modules/apps/apps.py +++ b/plinth/modules/apps/apps.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django.template.response import TemplateResponse from gettext import gettext as _ diff --git a/plinth/modules/expert_mode/expert_mode.py b/plinth/modules/expert_mode/expert_mode.py index f96de0ad1..14a62ec13 100644 --- a/plinth/modules/expert_mode/expert_mode.py +++ b/plinth/modules/expert_mode/expert_mode.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import messages from django.contrib.auth.decorators import login_required diff --git a/plinth/modules/first_boot/forms.py b/plinth/modules/first_boot/forms.py index 5b55574db..1687d2c6b 100644 --- a/plinth/modules/first_boot/forms.py +++ b/plinth/modules/first_boot/forms.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import auth, messages from django.core import validators diff --git a/plinth/modules/first_boot/views.py b/plinth/modules/first_boot/views.py index 13db39d5b..ffc7e622c 100644 --- a/plinth/modules/first_boot/views.py +++ b/plinth/modules/first_boot/views.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django.contrib.auth.models import User from django.core.urlresolvers import reverse_lazy from django.shortcuts import render_to_response diff --git a/plinth/modules/help/help.py b/plinth/modules/help/help.py index 686657a58..536b91b70 100644 --- a/plinth/modules/help/help.py +++ b/plinth/modules/help/help.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + import os from gettext import gettext as _ from django.http import Http404 diff --git a/plinth/modules/lib/auth.py b/plinth/modules/lib/auth.py index 7b4c19ed2..468a87f96 100644 --- a/plinth/modules/lib/auth.py +++ b/plinth/modules/lib/auth.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django.contrib.auth.models import Group, User diff --git a/plinth/modules/owncloud/owncloud.py b/plinth/modules/owncloud/owncloud.py index b6f1eab0a..f31c543a9 100644 --- a/plinth/modules/owncloud/owncloud.py +++ b/plinth/modules/owncloud/owncloud.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import messages from django.contrib.auth.decorators import login_required diff --git a/plinth/modules/packages/packages.py b/plinth/modules/packages/packages.py index 1b60720aa..9368b66f1 100644 --- a/plinth/modules/packages/packages.py +++ b/plinth/modules/packages/packages.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import messages from django.contrib.auth.decorators import login_required diff --git a/plinth/modules/system/system.py b/plinth/modules/system/system.py index e31b40656..9f57fa91e 100644 --- a/plinth/modules/system/system.py +++ b/plinth/modules/system/system.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from gettext import gettext as _ from django.template.response import TemplateResponse diff --git a/plinth/modules/users/users.py b/plinth/modules/users/users.py index 64ad182b9..b4cd21d5e 100644 --- a/plinth/modules/users/users.py +++ b/plinth/modules/users/users.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import messages from django.contrib.auth.decorators import login_required diff --git a/plinth/modules/xmpp/xmpp.py b/plinth/modules/xmpp/xmpp.py index a107e8a5a..a5d413059 100644 --- a/plinth/modules/xmpp/xmpp.py +++ b/plinth/modules/xmpp/xmpp.py @@ -1,3 +1,20 @@ +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# + from django import forms from django.contrib import messages from django.contrib.auth.decorators import login_required diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 84ead9eaa..0e61aec9b 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -1,4 +1,22 @@ {% load static %} +{% comment %} +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +{% endcomment %} diff --git a/plinth/templates/menu_block.html b/plinth/templates/menu_block.html index aa8184d28..2c543d95b 100644 --- a/plinth/templates/menu_block.html +++ b/plinth/templates/menu_block.html @@ -1,3 +1,22 @@ +{% comment %} +# +# This file is part of Plinth. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +{% endcomment %} +