diff --git a/app_setup/templates/local_settings.py.j2 b/app_setup/templates/local_settings.py.j2 index 02c3acd7fe..af7c63d606 100644 --- a/app_setup/templates/local_settings.py.j2 +++ b/app_setup/templates/local_settings.py.j2 @@ -1,5 +1,22 @@ # Local Django settings for Ansible Commander project. +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + from defaults import * ADMINS = ( diff --git a/lib/__init__.py b/lib/__init__.py index e69de29bb2..413179a99c 100644 --- a/lib/__init__.py +++ b/lib/__init__.py @@ -0,0 +1,17 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + diff --git a/lib/cli/__init__.py b/lib/cli/__init__.py index e69de29bb2..413179a99c 100644 --- a/lib/cli/__init__.py +++ b/lib/cli/__init__.py @@ -0,0 +1,17 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + diff --git a/lib/cli/main.py b/lib/cli/main.py index ca549729f7..6f20da3a58 100644 --- a/lib/cli/main.py +++ b/lib/cli/main.py @@ -1,3 +1,21 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + # FIXME: as we've switched things over to django-rest-framework from tastypie, this will need some revision import os diff --git a/lib/main/__init__.py b/lib/main/__init__.py index e69de29bb2..52d6a7f1bc 100644 --- a/lib/main/__init__.py +++ b/lib/main/__init__.py @@ -0,0 +1,18 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + diff --git a/lib/main/base_views.py b/lib/main/base_views.py index 81a615a755..cf971e84f9 100644 --- a/lib/main/base_views.py +++ b/lib/main/base_views.py @@ -1,3 +1,20 @@ +# (c) 2013, AnsibleWorks, Michael DeHaan +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from lib.main.models import * diff --git a/lib/main/management/commands/__init__.py b/lib/main/management/commands/__init__.py index e69de29bb2..413179a99c 100644 --- a/lib/main/management/commands/__init__.py +++ b/lib/main/management/commands/__init__.py @@ -0,0 +1,17 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + diff --git a/lib/main/management/commands/acom_inventory.py b/lib/main/management/commands/acom_inventory.py index bbec213aaf..831145f859 100755 --- a/lib/main/management/commands/acom_inventory.py +++ b/lib/main/management/commands/acom_inventory.py @@ -1,5 +1,23 @@ #!/usr/bin/env python +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + import json from optparse import make_option import os diff --git a/lib/main/models/__init__.py b/lib/main/models/__init__.py index bdc02ece21..5850e0d16e 100644 --- a/lib/main/models/__init__.py +++ b/lib/main/models/__init__.py @@ -1,3 +1,21 @@ +# (c) 2013, AnsibleWorks, Michael DeHaan +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + from django.db import models from django.db.models import CASCADE, SET_NULL, PROTECT from django.utils.translation import ugettext_lazy as _ diff --git a/lib/main/rbac.py b/lib/main/rbac.py index 6ae2ded04c..e1ecbf695c 100644 --- a/lib/main/rbac.py +++ b/lib/main/rbac.py @@ -1,3 +1,20 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + from lib.main.models import * from lib.main.serializers import * from rest_framework import permissions diff --git a/lib/main/serializers.py b/lib/main/serializers.py index e2d31fed09..a8da18a0ae 100644 --- a/lib/main/serializers.py +++ b/lib/main/serializers.py @@ -1,3 +1,21 @@ +# (c) 2013, AnsibleWorks, Michael DeHaan +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + from django.contrib.auth.models import User from lib.main.models import * from rest_framework import serializers, pagination diff --git a/lib/main/tasks.py b/lib/main/tasks.py index 9af962b1df..39139d6dc2 100644 --- a/lib/main/tasks.py +++ b/lib/main/tasks.py @@ -1,3 +1,20 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + import os import subprocess from celery import task diff --git a/lib/main/views.py b/lib/main/views.py index 936c2ad5aa..7a82755c41 100644 --- a/lib/main/views.py +++ b/lib/main/views.py @@ -1,3 +1,20 @@ +# (c) 2013, AnsibleWorks, Michael DeHaan +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from lib.main.models import * diff --git a/lib/middleware/__init__.py b/lib/middleware/__init__.py index 8b13789179..413179a99c 100644 --- a/lib/middleware/__init__.py +++ b/lib/middleware/__init__.py @@ -1 +1,17 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . diff --git a/lib/middleware/exceptions.py b/lib/middleware/exceptions.py index 481de2eea5..44e88d7d4f 100644 --- a/lib/middleware/exceptions.py +++ b/lib/middleware/exceptions.py @@ -1,3 +1,21 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + import traceback from django.http import HttpResponse diff --git a/lib/settings/__init__.py b/lib/settings/__init__.py index 9dd9112892..056b4aaf3f 100644 --- a/lib/settings/__init__.py +++ b/lib/settings/__init__.py @@ -1,3 +1,21 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + try: from local_settings import * except ImportError: diff --git a/lib/settings/defaults.py b/lib/settings/defaults.py index 63c7bbae4f..f0ccfe252d 100644 --- a/lib/settings/defaults.py +++ b/lib/settings/defaults.py @@ -1,5 +1,23 @@ # Default Django settings for Ansible Commander project. +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + import os import sys diff --git a/lib/urls.py b/lib/urls.py index 84b5e96104..78f9652333 100644 --- a/lib/urls.py +++ b/lib/urls.py @@ -1,3 +1,20 @@ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + from django.conf import settings from django.conf.urls import * import lib.main.views as views diff --git a/lib/vendor/__init__.py b/lib/vendor/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/lib/wsgi.py b/lib/wsgi.py index be06f1ea20..f45b90d906 100644 --- a/lib/wsgi.py +++ b/lib/wsgi.py @@ -7,6 +7,24 @@ For more information on this file, see https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ """ +# (c) 2013, AnsibleWorks +# +# This file is part of Ansible Commander +# +# Ansible Commander is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Ansible Commander 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Ansible Commander. If not, see . + + import os os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lib.settings')