summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard')
-rw-r--r--pharos-dashboard/account/__init__.py10
-rw-r--r--pharos-dashboard/account/admin.py10
-rw-r--r--pharos-dashboard/account/apps.py10
-rw-r--r--pharos-dashboard/account/forms.py10
-rw-r--r--pharos-dashboard/account/jira_util.py10
-rw-r--r--pharos-dashboard/account/middleware.py10
-rw-r--r--pharos-dashboard/account/migrations/__init__.py10
-rw-r--r--pharos-dashboard/account/models.py10
-rw-r--r--pharos-dashboard/account/tests/__init__.py10
-rw-r--r--pharos-dashboard/account/tests/test_general.py10
-rw-r--r--pharos-dashboard/account/urls.py10
-rw-r--r--pharos-dashboard/account/views.py10
-rw-r--r--pharos-dashboard/api/__init__.py10
-rw-r--r--pharos-dashboard/api/serializers.py10
-rw-r--r--pharos-dashboard/api/urls.py10
-rw-r--r--pharos-dashboard/api/views.py10
-rw-r--r--pharos-dashboard/booking/__init__.py10
-rw-r--r--pharos-dashboard/booking/admin.py10
-rw-r--r--pharos-dashboard/booking/apps.py10
-rw-r--r--pharos-dashboard/booking/forms.py10
-rw-r--r--pharos-dashboard/booking/migrations/__init__.py10
-rw-r--r--pharos-dashboard/booking/models.py10
-rw-r--r--pharos-dashboard/booking/tests/__init__.py10
-rw-r--r--pharos-dashboard/booking/tests/test_models.py10
-rw-r--r--pharos-dashboard/booking/tests/test_views.py10
-rw-r--r--pharos-dashboard/booking/urls.py10
-rw-r--r--pharos-dashboard/booking/views.py10
-rw-r--r--pharos-dashboard/dashboard/__init__.py10
-rw-r--r--pharos-dashboard/dashboard/admin.py10
-rw-r--r--pharos-dashboard/dashboard/apps.py10
-rw-r--r--pharos-dashboard/dashboard/migrations/__init__.py10
-rw-r--r--pharos-dashboard/dashboard/models.py10
-rw-r--r--pharos-dashboard/dashboard/tasks.py10
-rw-r--r--pharos-dashboard/dashboard/templatetags/__init__.py10
-rw-r--r--pharos-dashboard/dashboard/templatetags/jenkins_filters.py10
-rw-r--r--pharos-dashboard/dashboard/templatetags/jira_filters.py10
-rw-r--r--pharos-dashboard/dashboard/urls.py10
-rw-r--r--pharos-dashboard/dashboard/views.py10
-rw-r--r--pharos-dashboard/jenkins/__init__.py10
-rw-r--r--pharos-dashboard/jenkins/adapter.py10
-rw-r--r--pharos-dashboard/jenkins/apps.py10
-rw-r--r--pharos-dashboard/jenkins/migrations/__init__.py10
-rw-r--r--pharos-dashboard/jenkins/models.py10
-rw-r--r--pharos-dashboard/jenkins/tasks.py10
-rw-r--r--pharos-dashboard/jenkins/tests.py10
-rw-r--r--[-rwxr-xr-x]pharos-dashboard/manage.py10
-rw-r--r--pharos-dashboard/notification/__init__.py10
-rw-r--r--pharos-dashboard/notification/admin.py10
-rw-r--r--pharos-dashboard/notification/apps.py10
-rw-r--r--pharos-dashboard/notification/models.py10
-rw-r--r--pharos-dashboard/notification/signals.py10
-rw-r--r--pharos-dashboard/notification/tasks.py10
-rw-r--r--pharos-dashboard/notification_framework/__init__.py10
-rw-r--r--pharos-dashboard/notification_framework/notification.py10
-rw-r--r--pharos-dashboard/pharos_dashboard/__init__.py10
-rw-r--r--pharos-dashboard/pharos_dashboard/celery.py10
-rw-r--r--pharos-dashboard/pharos_dashboard/urls.py10
-rw-r--r--pharos-dashboard/pharos_dashboard/wsgi.py10
-rw-r--r--pharos-dashboard/static/js/booking-calendar.js12
-rw-r--r--pharos-dashboard/static/js/dataTables-sort.js10
-rw-r--r--pharos-dashboard/static/js/datetimepicker-options.js10
-rw-r--r--pharos-dashboard/static/js/flot-pie-chart.js10
-rw-r--r--pharos-dashboard/static/js/fullcalendar-options.js10
63 files changed, 631 insertions, 1 deletions
diff --git a/pharos-dashboard/account/__init__.py b/pharos-dashboard/account/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/account/__init__.py
+++ b/pharos-dashboard/account/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/account/admin.py b/pharos-dashboard/account/admin.py
index 7fab123..18b2e1a 100644
--- a/pharos-dashboard/account/admin.py
+++ b/pharos-dashboard/account/admin.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.contrib import admin
from account.models import UserProfile
diff --git a/pharos-dashboard/account/apps.py b/pharos-dashboard/account/apps.py
index 999566c..9814648 100644
--- a/pharos-dashboard/account/apps.py
+++ b/pharos-dashboard/account/apps.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.apps import AppConfig
diff --git a/pharos-dashboard/account/forms.py b/pharos-dashboard/account/forms.py
index 92c55d8..7653e2b 100644
--- a/pharos-dashboard/account/forms.py
+++ b/pharos-dashboard/account/forms.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import django.forms as forms
import pytz as pytz
diff --git a/pharos-dashboard/account/jira_util.py b/pharos-dashboard/account/jira_util.py
index c066a68..c333f8c 100644
--- a/pharos-dashboard/account/jira_util.py
+++ b/pharos-dashboard/account/jira_util.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import base64
import os
diff --git a/pharos-dashboard/account/middleware.py b/pharos-dashboard/account/middleware.py
index 6f7cac7..0f1dbd8 100644
--- a/pharos-dashboard/account/middleware.py
+++ b/pharos-dashboard/account/middleware.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.utils import timezone
from django.utils.deprecation import MiddlewareMixin
diff --git a/pharos-dashboard/account/migrations/__init__.py b/pharos-dashboard/account/migrations/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/account/migrations/__init__.py
+++ b/pharos-dashboard/account/migrations/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/account/models.py b/pharos-dashboard/account/models.py
index fb2c8dd..621f669 100644
--- a/pharos-dashboard/account/models.py
+++ b/pharos-dashboard/account/models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.db import models
from django.contrib.auth.models import User
diff --git a/pharos-dashboard/account/tests/__init__.py b/pharos-dashboard/account/tests/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/account/tests/__init__.py
+++ b/pharos-dashboard/account/tests/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/account/tests/test_general.py b/pharos-dashboard/account/tests/test_general.py
index ba80b62..72e7ea1 100644
--- a/pharos-dashboard/account/tests/test_general.py
+++ b/pharos-dashboard/account/tests/test_general.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.contrib.auth.models import User
from django.test import Client
from django.test import TestCase
diff --git a/pharos-dashboard/account/urls.py b/pharos-dashboard/account/urls.py
index 7289da6..3962a0c 100644
--- a/pharos-dashboard/account/urls.py
+++ b/pharos-dashboard/account/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/pharos-dashboard/account/views.py b/pharos-dashboard/account/views.py
index fd1762e..3b4269d 100644
--- a/pharos-dashboard/account/views.py
+++ b/pharos-dashboard/account/views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import os
import urllib
diff --git a/pharos-dashboard/api/__init__.py b/pharos-dashboard/api/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/api/__init__.py
+++ b/pharos-dashboard/api/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/api/serializers.py b/pharos-dashboard/api/serializers.py
index c3875cc..78e6020 100644
--- a/pharos-dashboard/api/serializers.py
+++ b/pharos-dashboard/api/serializers.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from rest_framework import serializers
from booking.models import Booking
diff --git a/pharos-dashboard/api/urls.py b/pharos-dashboard/api/urls.py
index 22f12eb..5206ac7 100644
--- a/pharos-dashboard/api/urls.py
+++ b/pharos-dashboard/api/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/pharos-dashboard/api/views.py b/pharos-dashboard/api/views.py
index 78d7b8a..761ce6e 100644
--- a/pharos-dashboard/api/views.py
+++ b/pharos-dashboard/api/views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from rest_framework import viewsets
from api.serializers import ResourceSerializer, ServerSerializer, BookingSerializer
diff --git a/pharos-dashboard/booking/__init__.py b/pharos-dashboard/booking/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/booking/__init__.py
+++ b/pharos-dashboard/booking/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/booking/admin.py b/pharos-dashboard/booking/admin.py
index 6055bed..7a7f251 100644
--- a/pharos-dashboard/booking/admin.py
+++ b/pharos-dashboard/booking/admin.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.contrib import admin
from booking.models import Booking
diff --git a/pharos-dashboard/booking/apps.py b/pharos-dashboard/booking/apps.py
index 2d5f36f..99bf115 100644
--- a/pharos-dashboard/booking/apps.py
+++ b/pharos-dashboard/booking/apps.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.apps import AppConfig
diff --git a/pharos-dashboard/booking/forms.py b/pharos-dashboard/booking/forms.py
index 5b32c86..02ac887 100644
--- a/pharos-dashboard/booking/forms.py
+++ b/pharos-dashboard/booking/forms.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import django.forms as forms
diff --git a/pharos-dashboard/booking/migrations/__init__.py b/pharos-dashboard/booking/migrations/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/booking/migrations/__init__.py
+++ b/pharos-dashboard/booking/migrations/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/booking/models.py b/pharos-dashboard/booking/models.py
index fed35e3..200dc83 100644
--- a/pharos-dashboard/booking/models.py
+++ b/pharos-dashboard/booking/models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.contrib.auth.models import User
from django.db import models
from jira import JIRA
diff --git a/pharos-dashboard/booking/tests/__init__.py b/pharos-dashboard/booking/tests/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/booking/tests/__init__.py
+++ b/pharos-dashboard/booking/tests/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/booking/tests/test_models.py b/pharos-dashboard/booking/tests/test_models.py
index 7a572c5..612b35c 100644
--- a/pharos-dashboard/booking/tests/test_models.py
+++ b/pharos-dashboard/booking/tests/test_models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from datetime import timedelta
from django.contrib.auth.models import User, Permission
diff --git a/pharos-dashboard/booking/tests/test_views.py b/pharos-dashboard/booking/tests/test_views.py
index c5dff58..e568c15 100644
--- a/pharos-dashboard/booking/tests/test_views.py
+++ b/pharos-dashboard/booking/tests/test_views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from datetime import timedelta
from django.contrib import auth
diff --git a/pharos-dashboard/booking/urls.py b/pharos-dashboard/booking/urls.py
index bdcd52d..5320623 100644
--- a/pharos-dashboard/booking/urls.py
+++ b/pharos-dashboard/booking/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/pharos-dashboard/booking/views.py b/pharos-dashboard/booking/views.py
index d0b2aef..2fe167a 100644
--- a/pharos-dashboard/booking/views.py
+++ b/pharos-dashboard/booking/views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from datetime import timedelta
from django.conf import settings
diff --git a/pharos-dashboard/dashboard/__init__.py b/pharos-dashboard/dashboard/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/dashboard/__init__.py
+++ b/pharos-dashboard/dashboard/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/dashboard/admin.py b/pharos-dashboard/dashboard/admin.py
index 71a1e7d..a1463a7 100644
--- a/pharos-dashboard/dashboard/admin.py
+++ b/pharos-dashboard/dashboard/admin.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.contrib import admin
from dashboard.models import *
diff --git a/pharos-dashboard/dashboard/apps.py b/pharos-dashboard/dashboard/apps.py
index 50878e7..e0c4f44 100644
--- a/pharos-dashboard/dashboard/apps.py
+++ b/pharos-dashboard/dashboard/apps.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.apps import AppConfig
diff --git a/pharos-dashboard/dashboard/migrations/__init__.py b/pharos-dashboard/dashboard/migrations/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/dashboard/migrations/__init__.py
+++ b/pharos-dashboard/dashboard/migrations/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/dashboard/models.py b/pharos-dashboard/dashboard/models.py
index 734da38..050834e 100644
--- a/pharos-dashboard/dashboard/models.py
+++ b/pharos-dashboard/dashboard/models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from datetime import timedelta
from django.utils import timezone
diff --git a/pharos-dashboard/dashboard/tasks.py b/pharos-dashboard/dashboard/tasks.py
index 3df4bfb..4c09bf9 100644
--- a/pharos-dashboard/dashboard/tasks.py
+++ b/pharos-dashboard/dashboard/tasks.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from celery import shared_task
from datetime import timedelta
from django.utils import timezone
diff --git a/pharos-dashboard/dashboard/templatetags/__init__.py b/pharos-dashboard/dashboard/templatetags/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/dashboard/templatetags/__init__.py
+++ b/pharos-dashboard/dashboard/templatetags/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/dashboard/templatetags/jenkins_filters.py b/pharos-dashboard/dashboard/templatetags/jenkins_filters.py
index f5038ea..e7e1425 100644
--- a/pharos-dashboard/dashboard/templatetags/jenkins_filters.py
+++ b/pharos-dashboard/dashboard/templatetags/jenkins_filters.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.template.defaultfilters import register
diff --git a/pharos-dashboard/dashboard/templatetags/jira_filters.py b/pharos-dashboard/dashboard/templatetags/jira_filters.py
index 1be0600..7020843 100644
--- a/pharos-dashboard/dashboard/templatetags/jira_filters.py
+++ b/pharos-dashboard/dashboard/templatetags/jira_filters.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.template.defaultfilters import register
from django.conf import settings
diff --git a/pharos-dashboard/dashboard/urls.py b/pharos-dashboard/dashboard/urls.py
index 35c6463..f04f5ca 100644
--- a/pharos-dashboard/dashboard/urls.py
+++ b/pharos-dashboard/dashboard/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/pharos-dashboard/dashboard/views.py b/pharos-dashboard/dashboard/views.py
index 0eddc13..022a4af 100644
--- a/pharos-dashboard/dashboard/views.py
+++ b/pharos-dashboard/dashboard/views.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from datetime import timedelta
from django.http import JsonResponse
diff --git a/pharos-dashboard/jenkins/__init__.py b/pharos-dashboard/jenkins/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/jenkins/__init__.py
+++ b/pharos-dashboard/jenkins/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/jenkins/adapter.py b/pharos-dashboard/jenkins/adapter.py
index f9e352a..ff0508d 100644
--- a/pharos-dashboard/jenkins/adapter.py
+++ b/pharos-dashboard/jenkins/adapter.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import logging
import re
diff --git a/pharos-dashboard/jenkins/apps.py b/pharos-dashboard/jenkins/apps.py
index 5abd215..41faf60 100644
--- a/pharos-dashboard/jenkins/apps.py
+++ b/pharos-dashboard/jenkins/apps.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.apps import AppConfig
diff --git a/pharos-dashboard/jenkins/migrations/__init__.py b/pharos-dashboard/jenkins/migrations/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/jenkins/migrations/__init__.py
+++ b/pharos-dashboard/jenkins/migrations/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/jenkins/models.py b/pharos-dashboard/jenkins/models.py
index 354887a..0875bba 100644
--- a/pharos-dashboard/jenkins/models.py
+++ b/pharos-dashboard/jenkins/models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.db import models
from django.utils import timezone
diff --git a/pharos-dashboard/jenkins/tasks.py b/pharos-dashboard/jenkins/tasks.py
index 6998cf3..7c03782 100644
--- a/pharos-dashboard/jenkins/tasks.py
+++ b/pharos-dashboard/jenkins/tasks.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from celery import shared_task
from jenkins.models import JenkinsSlave, JenkinsStatistic
diff --git a/pharos-dashboard/jenkins/tests.py b/pharos-dashboard/jenkins/tests.py
index b141451..4f350d2 100644
--- a/pharos-dashboard/jenkins/tests.py
+++ b/pharos-dashboard/jenkins/tests.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from unittest import TestCase
import jenkins.adapter as jenkins
diff --git a/pharos-dashboard/manage.py b/pharos-dashboard/manage.py
index 97a5ba4..80c496f 100755..100644
--- a/pharos-dashboard/manage.py
+++ b/pharos-dashboard/manage.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
#!/usr/bin/env python
import os
import sys
diff --git a/pharos-dashboard/notification/__init__.py b/pharos-dashboard/notification/__init__.py
index 926c6e8..37dcbdd 100644
--- a/pharos-dashboard/notification/__init__.py
+++ b/pharos-dashboard/notification/__init__.py
@@ -1 +1,11 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
default_app_config = 'notification.apps.NotificationConfig' \ No newline at end of file
diff --git a/pharos-dashboard/notification/admin.py b/pharos-dashboard/notification/admin.py
index 1fb5921..bcaa1ab 100644
--- a/pharos-dashboard/notification/admin.py
+++ b/pharos-dashboard/notification/admin.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.conf import settings
from django.contrib import admin
diff --git a/pharos-dashboard/notification/apps.py b/pharos-dashboard/notification/apps.py
index 6039c7b..2de22c4 100644
--- a/pharos-dashboard/notification/apps.py
+++ b/pharos-dashboard/notification/apps.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.apps import AppConfig
diff --git a/pharos-dashboard/notification/models.py b/pharos-dashboard/notification/models.py
index 80f65df..2d19918 100644
--- a/pharos-dashboard/notification/models.py
+++ b/pharos-dashboard/notification/models.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.db import models
class BookingNotification(models.Model):
diff --git a/pharos-dashboard/notification/signals.py b/pharos-dashboard/notification/signals.py
index c1f33ac..936c25b 100644
--- a/pharos-dashboard/notification/signals.py
+++ b/pharos-dashboard/notification/signals.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from django.db.models.signals import post_save
from django.dispatch import receiver
diff --git a/pharos-dashboard/notification/tasks.py b/pharos-dashboard/notification/tasks.py
index ab3bddc..61ab14a 100644
--- a/pharos-dashboard/notification/tasks.py
+++ b/pharos-dashboard/notification/tasks.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
from celery import shared_task
from datetime import timedelta
diff --git a/pharos-dashboard/notification_framework/__init__.py b/pharos-dashboard/notification_framework/__init__.py
index e69de29..b5914ce 100644
--- a/pharos-dashboard/notification_framework/__init__.py
+++ b/pharos-dashboard/notification_framework/__init__.py
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
diff --git a/pharos-dashboard/notification_framework/notification.py b/pharos-dashboard/notification_framework/notification.py
index 7d77283..84fbcff 100644
--- a/pharos-dashboard/notification_framework/notification.py
+++ b/pharos-dashboard/notification_framework/notification.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import json
import re
diff --git a/pharos-dashboard/pharos_dashboard/__init__.py b/pharos-dashboard/pharos_dashboard/__init__.py
index b6fc817..f104c4d 100644
--- a/pharos-dashboard/pharos_dashboard/__init__.py
+++ b/pharos-dashboard/pharos_dashboard/__init__.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app # noqa
diff --git a/pharos-dashboard/pharos_dashboard/celery.py b/pharos-dashboard/pharos_dashboard/celery.py
index 4cf6a7a..f60f243 100644
--- a/pharos-dashboard/pharos_dashboard/celery.py
+++ b/pharos-dashboard/pharos_dashboard/celery.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
import os
from celery import Celery
diff --git a/pharos-dashboard/pharos_dashboard/urls.py b/pharos-dashboard/pharos_dashboard/urls.py
index 4a9d914..adcb5b8 100644
--- a/pharos-dashboard/pharos_dashboard/urls.py
+++ b/pharos-dashboard/pharos_dashboard/urls.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""pharos_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
diff --git a/pharos-dashboard/pharos_dashboard/wsgi.py b/pharos-dashboard/pharos_dashboard/wsgi.py
index b127751..3d43361 100644
--- a/pharos-dashboard/pharos_dashboard/wsgi.py
+++ b/pharos-dashboard/pharos_dashboard/wsgi.py
@@ -1,3 +1,13 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
"""
WSGI config for pharos_dashboard project.
diff --git a/pharos-dashboard/static/js/booking-calendar.js b/pharos-dashboard/static/js/booking-calendar.js
index f8a9a0f..9cb0f32 100644
--- a/pharos-dashboard/static/js/booking-calendar.js
+++ b/pharos-dashboard/static/js/booking-calendar.js
@@ -1,3 +1,13 @@
+/*****************************************************************************
+* Copyright (c) 2016 Max Breitenfeldt and others.
+*
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Apache License, Version 2.0
+* which accompanies this distribution, and is available at
+* http://www.apache.org/licenses/LICENSE-2.0
+*****************************************************************************/
+
+
function parseCalendarEvents(bookings) {
var events = [];
for (var i = 0; i < bookings.length; i++) {
@@ -33,4 +43,4 @@ $(document).ready(function () {
loadEvents(bookings_url);
$('#starttimepicker').datetimepicker(timepickerOptions);
$('#endtimepicker').datetimepicker(timepickerOptions);
-}); \ No newline at end of file
+});
diff --git a/pharos-dashboard/static/js/dataTables-sort.js b/pharos-dashboard/static/js/dataTables-sort.js
index 7189ca1..3072d2f 100644
--- a/pharos-dashboard/static/js/dataTables-sort.js
+++ b/pharos-dashboard/static/js/dataTables-sort.js
@@ -1,3 +1,13 @@
+/*****************************************************************************
+* Copyright (c) 2016 Max Breitenfeldt and others.
+*
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Apache License, Version 2.0
+* which accompanies this distribution, and is available at
+* http://www.apache.org/licenses/LICENSE-2.0
+*****************************************************************************/
+
+
/**
* This is a sort function for dataTables to sort tables by the status column.
* The order should be: online < online/idle < offline
diff --git a/pharos-dashboard/static/js/datetimepicker-options.js b/pharos-dashboard/static/js/datetimepicker-options.js
index 2d19dda..d43f5fb 100644
--- a/pharos-dashboard/static/js/datetimepicker-options.js
+++ b/pharos-dashboard/static/js/datetimepicker-options.js
@@ -1,3 +1,13 @@
+/*****************************************************************************
+* Copyright (c) 2016 Max Breitenfeldt and others.
+*
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Apache License, Version 2.0
+* which accompanies this distribution, and is available at
+* http://www.apache.org/licenses/LICENSE-2.0
+*****************************************************************************/
+
+
var timepickerOptions = {
format: 'MM/DD/YYYY HH:00'
}; \ No newline at end of file
diff --git a/pharos-dashboard/static/js/flot-pie-chart.js b/pharos-dashboard/static/js/flot-pie-chart.js
index cf8d976..3b80b2a 100644
--- a/pharos-dashboard/static/js/flot-pie-chart.js
+++ b/pharos-dashboard/static/js/flot-pie-chart.js
@@ -1,3 +1,13 @@
+/*****************************************************************************
+* Copyright (c) 2016 Max Breitenfeldt and others.
+*
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Apache License, Version 2.0
+* which accompanies this distribution, and is available at
+* http://www.apache.org/licenses/LICENSE-2.0
+*****************************************************************************/
+
+
function loadChartData(chart_id, url) {
$.ajax({
url: url,
diff --git a/pharos-dashboard/static/js/fullcalendar-options.js b/pharos-dashboard/static/js/fullcalendar-options.js
index f4fa50b..22a1b95 100644
--- a/pharos-dashboard/static/js/fullcalendar-options.js
+++ b/pharos-dashboard/static/js/fullcalendar-options.js
@@ -1,3 +1,13 @@
+/*****************************************************************************
+* Copyright (c) 2016 Max Breitenfeldt and others.
+*
+* All rights reserved. This program and the accompanying materials
+* are made available under the terms of the Apache License, Version 2.0
+* which accompanies this distribution, and is available at
+* http://www.apache.org/licenses/LICENSE-2.0
+*****************************************************************************/
+
+
var tmpevent;
function sendEventToForm(event) {