diff --git a/install/install-all.sh b/install/install-all.sh index 2488cbc88..c0b215c0a 100755 --- a/install/install-all.sh +++ b/install/install-all.sh @@ -12,6 +12,7 @@ # The Initial Developer of the Original Code is # Arezqui Belaid # + # # To download and run the script on your server : # cd /usr/src/ ; rm install-all.sh ; wget --no-check-certificate https://raw.github.com/Star2Billing/newfies-dialer/master/install/install-all.sh ; chmod +x install-all.sh ; ./install-all.sh diff --git a/install/install-freeswitch.sh b/install/install-freeswitch.sh index 67840d9b4..2c3188ae5 100755 --- a/install/install-freeswitch.sh +++ b/install/install-freeswitch.sh @@ -12,6 +12,7 @@ # The Initial Developer of the Original Code is # Arezqui Belaid # + # # To download and run the script on your server : # wget --no-check-certificate https://raw.github.com/Star2Billing/newfies-dialer/master/install/freeswitch/install-freeswitch.sh diff --git a/install/install-newfies.sh b/install/install-newfies.sh index 2fb08c940..631c62455 100755 --- a/install/install-newfies.sh +++ b/install/install-newfies.sh @@ -12,6 +12,7 @@ # The Initial Developer of the Original Code is # Arezqui Belaid # + # # To download and run the script on your server : # diff --git a/newfies/api/resources.py b/newfies/api/resources.py index ae624f742..aca237f7b 100644 --- a/newfies/api/resources.py +++ b/newfies/api/resources.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + try: import cStringIO as StringIO except ImportError: diff --git a/newfies/common_functions.py b/newfies/common_functions.py index e521af8eb..b6e35c2b4 100644 --- a/newfies/common_functions.py +++ b/newfies/common_functions.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# from random import choice import calendar import string diff --git a/newfies/context_processors.py b/newfies/context_processors.py index 8860f79c7..181d8e7e9 100644 --- a/newfies/context_processors.py +++ b/newfies/context_processors.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# import newfies def newfies_version(request): diff --git a/newfies/custom_admin_tools/dashboard.py b/newfies/custom_admin_tools/dashboard.py index bc8c8648c..1da461104 100644 --- a/newfies/custom_admin_tools/dashboard.py +++ b/newfies/custom_admin_tools/dashboard.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + """This file was generated with the customdashboard management command, it contains the two classes for the main dashboard and app index dashboard. You can customize these classes as you want. diff --git a/newfies/custom_admin_tools/menu.py b/newfies/custom_admin_tools/menu.py index 4ef5f198e..439f65cb4 100644 --- a/newfies/custom_admin_tools/menu.py +++ b/newfies/custom_admin_tools/menu.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + """This file was generated with the custommenu management command, it contains the classes for the admin menu, you can customize this class as you want. diff --git a/newfies/dialer_campaign/admin.py b/newfies/dialer_campaign/admin.py index 3fc2d229f..a2cd22adc 100644 --- a/newfies/dialer_campaign/admin.py +++ b/newfies/dialer_campaign/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from django.contrib import messages from django.conf.urls.defaults import * diff --git a/newfies/dialer_campaign/dialer_campaign_custom_spamlib.py b/newfies/dialer_campaign/dialer_campaign_custom_spamlib.py index 85421a1e8..c596acde4 100644 --- a/newfies/dialer_campaign/dialer_campaign_custom_spamlib.py +++ b/newfies/dialer_campaign/dialer_campaign_custom_spamlib.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from dialer_campaign.models import * from dilla import spam import string diff --git a/newfies/dialer_campaign/forms.py b/newfies/dialer_campaign/forms.py index d0ce51dd2..a3a487e40 100644 --- a/newfies/dialer_campaign/forms.py +++ b/newfies/dialer_campaign/forms.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django import forms from django.forms.util import ErrorList diff --git a/newfies/dialer_campaign/function_def.py b/newfies/dialer_campaign/function_def.py index 68b129bc1..5b1931ddd 100644 --- a/newfies/dialer_campaign/function_def.py +++ b/newfies/dialer_campaign/function_def.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _ from dialer_campaign.models import Phonebook, Campaign, Contact, CAMPAIGN_STATUS, CAMPAIGN_STATUS_COLOR diff --git a/newfies/dialer_campaign/management/commands/create_contact.py b/newfies/dialer_campaign/management/commands/create_contact.py index 84af19c44..f961a8b88 100644 --- a/newfies/dialer_campaign/management/commands/create_contact.py +++ b/newfies/dialer_campaign/management/commands/create_contact.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from optparse import make_option from django.core.management.base import BaseCommand, CommandError from django.utils.translation import ugettext as _ diff --git a/newfies/dialer_campaign/management/commands/create_subscriber.py b/newfies/dialer_campaign/management/commands/create_subscriber.py index eb12fe0b8..8f8282dee 100644 --- a/newfies/dialer_campaign/management/commands/create_subscriber.py +++ b/newfies/dialer_campaign/management/commands/create_subscriber.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from optparse import make_option from django.core.management.base import BaseCommand, CommandError from django.utils.translation import ugettext as _ diff --git a/newfies/dialer_campaign/models.py b/newfies/dialer_campaign/models.py index a729da216..ca5229fa9 100644 --- a/newfies/dialer_campaign/models.py +++ b/newfies/dialer_campaign/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse diff --git a/newfies/dialer_campaign/tasks.py b/newfies/dialer_campaign/tasks.py index f1d83c6c9..d6e806ceb 100644 --- a/newfies/dialer_campaign/tasks.py +++ b/newfies/dialer_campaign/tasks.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from celery.task import Task, PeriodicTask from dialer_campaign.models import Campaign, CampaignSubscriber from dialer_campaign.function_def import user_dialer_setting diff --git a/newfies/dialer_campaign/urls.py b/newfies/dialer_campaign/urls.py index aeaeb8661..e428e1265 100644 --- a/newfies/dialer_campaign/urls.py +++ b/newfies/dialer_campaign/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from dialer_campaign.views import * diff --git a/newfies/dialer_campaign/views.py b/newfies/dialer_campaign/views.py index cc723e3ec..9f9a3875b 100644 --- a/newfies/dialer_campaign/views.py +++ b/newfies/dialer_campaign/views.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + # Create your views here. from django.contrib.auth.models import User from django.contrib.auth import authenticate, login, logout diff --git a/newfies/dialer_cdr/admin.py b/newfies/dialer_cdr/admin.py index 5de25732f..f47001809 100644 --- a/newfies/dialer_cdr/admin.py +++ b/newfies/dialer_cdr/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from django.contrib.admin.options import IncorrectLookupParameters from django.contrib.admin.views.main import ERROR_FLAG diff --git a/newfies/dialer_cdr/dialer_cdr_custom_spamlib.py b/newfies/dialer_cdr/dialer_cdr_custom_spamlib.py index 61914f5d4..0a0aa6f7f 100644 --- a/newfies/dialer_cdr/dialer_cdr_custom_spamlib.py +++ b/newfies/dialer_cdr/dialer_cdr_custom_spamlib.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from dialer_cdr.models import * from dilla import spam diff --git a/newfies/dialer_cdr/forms.py b/newfies/dialer_cdr/forms.py index 2fa02b1e5..ccf2cd733 100644 --- a/newfies/dialer_cdr/forms.py +++ b/newfies/dialer_cdr/forms.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import forms from django.forms import * from django.contrib import * diff --git a/newfies/dialer_cdr/function_def.py b/newfies/dialer_cdr/function_def.py index e734a95c4..882110364 100644 --- a/newfies/dialer_cdr/function_def.py +++ b/newfies/dialer_cdr/function_def.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from dialer_cdr.models import * from datetime import * from random import * diff --git a/newfies/dialer_cdr/helpers.py b/newfies/dialer_cdr/helpers.py index ba69d5a00..dff1de734 100644 --- a/newfies/dialer_cdr/helpers.py +++ b/newfies/dialer_cdr/helpers.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + import types from django.db import models from django.utils import simplejson as json diff --git a/newfies/dialer_cdr/management/commands/create_callrequest_cdr.py b/newfies/dialer_cdr/management/commands/create_callrequest_cdr.py index 56cc1571b..b7bca4ab4 100644 --- a/newfies/dialer_cdr/management/commands/create_callrequest_cdr.py +++ b/newfies/dialer_cdr/management/commands/create_callrequest_cdr.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from optparse import make_option from django.core.management.base import BaseCommand, CommandError from django.utils.translation import ugettext_lazy as _ diff --git a/newfies/dialer_cdr/models.py b/newfies/dialer_cdr/models.py index 638715e3f..e7891f472 100644 --- a/newfies/dialer_cdr/models.py +++ b/newfies/dialer_cdr/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from datetime import * diff --git a/newfies/dialer_cdr/tasks.py b/newfies/dialer_cdr/tasks.py index 475e30737..612c72393 100644 --- a/newfies/dialer_cdr/tasks.py +++ b/newfies/dialer_cdr/tasks.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from celery.task import Task, PeriodicTask from dialer_campaign.models import Campaign, CampaignSubscriber from dialer_campaign.function_def import user_dialer_setting diff --git a/newfies/dialer_cdr/templatetags/dialer_cdr_extras.py b/newfies/dialer_cdr/templatetags/dialer_cdr_extras.py index 862789db6..1d2491dc8 100644 --- a/newfies/dialer_cdr/templatetags/dialer_cdr_extras.py +++ b/newfies/dialer_cdr/templatetags/dialer_cdr_extras.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import template from django.template.defaultfilters import * from django.conf import settings diff --git a/newfies/dialer_cdr/templatetags/icons.py b/newfies/dialer_cdr/templatetags/icons.py index a9493cbc3..a357063de 100644 --- a/newfies/dialer_cdr/templatetags/icons.py +++ b/newfies/dialer_cdr/templatetags/icons.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import template from django.conf import settings diff --git a/newfies/dialer_cdr/test_utils.py b/newfies/dialer_cdr/test_utils.py index e7afd80c8..aea434d42 100644 --- a/newfies/dialer_cdr/test_utils.py +++ b/newfies/dialer_cdr/test_utils.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + import unittest diff --git a/newfies/dialer_cdr/tests.py b/newfies/dialer_cdr/tests.py index 62f59077f..2c2aea94f 100644 --- a/newfies/dialer_cdr/tests.py +++ b/newfies/dialer_cdr/tests.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django.test import TestCase, Client from django.http import HttpRequest diff --git a/newfies/dialer_cdr/urls.py b/newfies/dialer_cdr/urls.py index 92db63e01..6c9ada68e 100644 --- a/newfies/dialer_cdr/urls.py +++ b/newfies/dialer_cdr/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from dialer_cdr.views import * diff --git a/newfies/dialer_cdr/views.py b/newfies/dialer_cdr/views.py index c2a239cd4..dddbe7931 100644 --- a/newfies/dialer_cdr/views.py +++ b/newfies/dialer_cdr/views.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + # Create your views here. from django.contrib.auth.decorators import login_required from django.http import HttpResponse diff --git a/newfies/dialer_cdr/widgets.py b/newfies/dialer_cdr/widgets.py index b593c5b33..c0d7098de 100644 --- a/newfies/dialer_cdr/widgets.py +++ b/newfies/dialer_cdr/widgets.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import forms from django.conf import settings from django.utils.safestring import mark_safe diff --git a/newfies/dialer_gateway/admin.py b/newfies/dialer_gateway/admin.py index b0bc417c3..4d5304efb 100644 --- a/newfies/dialer_gateway/admin.py +++ b/newfies/dialer_gateway/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from dialer_gateway.models import Gateway diff --git a/newfies/dialer_gateway/forms.py b/newfies/dialer_gateway/forms.py index 4192e765b..7b0e4d12c 100644 --- a/newfies/dialer_gateway/forms.py +++ b/newfies/dialer_gateway/forms.py @@ -1,2 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import forms # place form definition here diff --git a/newfies/dialer_gateway/models.py b/newfies/dialer_gateway/models.py index fd210d21e..979926d08 100644 --- a/newfies/dialer_gateway/models.py +++ b/newfies/dialer_gateway/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from datetime import * diff --git a/newfies/dialer_gateway/provider_custom_spamlib.py b/newfies/dialer_gateway/provider_custom_spamlib.py index 8a19a595f..72186d2a1 100644 --- a/newfies/dialer_gateway/provider_custom_spamlib.py +++ b/newfies/dialer_gateway/provider_custom_spamlib.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from dialer_gateway.models import * from dilla import spam import string diff --git a/newfies/dialer_gateway/urls.py b/newfies/dialer_gateway/urls.py index 37b11f929..7add64232 100644 --- a/newfies/dialer_gateway/urls.py +++ b/newfies/dialer_gateway/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from dialer_gateway.views import * diff --git a/newfies/dialer_gateway/utils.py b/newfies/dialer_gateway/utils.py index aa2d32035..c794f7c67 100644 --- a/newfies/dialer_gateway/utils.py +++ b/newfies/dialer_gateway/utils.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from dialer_gateway.models import Gateway diff --git a/newfies/dialer_gateway/views.py b/newfies/dialer_gateway/views.py index 60f00ef0e..8c284cea9 100644 --- a/newfies/dialer_gateway/views.py +++ b/newfies/dialer_gateway/views.py @@ -1 +1,15 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + # Create your views here. diff --git a/newfies/dialer_settings/admin.py b/newfies/dialer_settings/admin.py index f574f218c..78b605cba 100644 --- a/newfies/dialer_settings/admin.py +++ b/newfies/dialer_settings/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from django.conf.urls.defaults import * from django.utils.translation import ugettext_lazy as _ diff --git a/newfies/dialer_settings/forms.py b/newfies/dialer_settings/forms.py index 4192e765b..7b0e4d12c 100644 --- a/newfies/dialer_settings/forms.py +++ b/newfies/dialer_settings/forms.py @@ -1,2 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import forms # place form definition here diff --git a/newfies/dialer_settings/models.py b/newfies/dialer_settings/models.py index 05101a4c5..808437ae4 100644 --- a/newfies/dialer_settings/models.py +++ b/newfies/dialer_settings/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from datetime import * diff --git a/newfies/dialer_settings/urls.py b/newfies/dialer_settings/urls.py index 30db9a627..0fbbf662a 100644 --- a/newfies/dialer_settings/urls.py +++ b/newfies/dialer_settings/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from dialer_settings.views import * diff --git a/newfies/dialer_settings/views.py b/newfies/dialer_settings/views.py index 60f00ef0e..8c284cea9 100644 --- a/newfies/dialer_settings/views.py +++ b/newfies/dialer_settings/views.py @@ -1 +1,15 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + # Create your views here. diff --git a/newfies/settings.py b/newfies/settings.py index cba61761a..4efb2c0e3 100644 --- a/newfies/settings.py +++ b/newfies/settings.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# import os import djcelery djcelery.setup_loader() diff --git a/newfies/survey/admin.py b/newfies/survey/admin.py index 7d305e074..07cb7d704 100644 --- a/newfies/survey/admin.py +++ b/newfies/survey/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from survey.models import * from django import forms diff --git a/newfies/survey/ajax.py b/newfies/survey/ajax.py index 302b6b7fc..e8aab1db1 100644 --- a/newfies/survey/ajax.py +++ b/newfies/survey/ajax.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django.utils import simplejson from django.utils import simplejson diff --git a/newfies/survey/api/resources.py b/newfies/survey/api/resources.py index bf67e5a9b..d58d41a3e 100644 --- a/newfies/survey/api/resources.py +++ b/newfies/survey/api/resources.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + try: import cStringIO as StringIO except ImportError: diff --git a/newfies/survey/forms.py b/newfies/survey/forms.py index f5c4c3363..9b8a160a5 100644 --- a/newfies/survey/forms.py +++ b/newfies/survey/forms.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django import forms from django.forms.util import ErrorList diff --git a/newfies/survey/models.py b/newfies/survey/models.py index 85af5a1e0..1e0563d03 100644 --- a/newfies/survey/models.py +++ b/newfies/survey/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes.models import ContentType diff --git a/newfies/survey/tests.py b/newfies/survey/tests.py index 2247054b3..9227e19cd 100644 --- a/newfies/survey/tests.py +++ b/newfies/survey/tests.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + """ This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". diff --git a/newfies/survey/urls.py b/newfies/survey/urls.py index f76de7301..3d2be0bed 100644 --- a/newfies/survey/urls.py +++ b/newfies/survey/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from survey.views import * diff --git a/newfies/survey/views.py b/newfies/survey/views.py index 766f86c3e..397d2340f 100644 --- a/newfies/survey/views.py +++ b/newfies/survey/views.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf import settings from django.contrib.auth.models import User from django.contrib.sites.models import Site diff --git a/newfies/telefonyhelper.py b/newfies/telefonyhelper.py index a85202980..7d7ba367f 100755 --- a/newfies/telefonyhelper.py +++ b/newfies/telefonyhelper.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# import plivohelper REST_API_URL = 'http://127.0.0.1:8088' diff --git a/newfies/templates/404.html b/newfies/templates/404.html index 15ea48ca1..7c98728d7 100644 --- a/newfies/templates/404.html +++ b/newfies/templates/404.html @@ -1,5 +1,20 @@ {% load i18n %} + +

404 Error

{% trans "This page cannot be found!" %}

diff --git a/newfies/templates/500.html b/newfies/templates/500.html index 536bc9bd2..333ba528f 100644 --- a/newfies/templates/500.html +++ b/newfies/templates/500.html @@ -1,5 +1,20 @@ {% load i18n %} + +

Server Error

{% trans "You've encountered an error!" %}

diff --git a/newfies/urls.py b/newfies/urls.py index 97606d11a..d14ae05d0 100644 --- a/newfies/urls.py +++ b/newfies/urls.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# from django.conf.urls.defaults import handler404, handler500, include,\ patterns, url from django.conf import settings diff --git a/newfies/user_profile/admin.py b/newfies/user_profile/admin.py index 27bfedfbe..57201e7ed 100644 --- a/newfies/user_profile/admin.py +++ b/newfies/user_profile/admin.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User diff --git a/newfies/user_profile/fields.py b/newfies/user_profile/fields.py index dfde7227b..724a3784d 100644 --- a/newfies/user_profile/fields.py +++ b/newfies/user_profile/fields.py @@ -1,5 +1,21 @@ # encoding: utf-8 +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + + + import os from django.utils.translation import ugettext as _ diff --git a/newfies/user_profile/forms.py b/newfies/user_profile/forms.py index 6de881d22..ab2e72ceb 100644 --- a/newfies/user_profile/forms.py +++ b/newfies/user_profile/forms.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django import forms from django.forms import ModelForm from django.contrib.auth.models import User diff --git a/newfies/user_profile/management.py b/newfies/user_profile/management.py index b78f9795b..fad477e62 100644 --- a/newfies/user_profile/management.py +++ b/newfies/user_profile/management.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf import settings from django.db.models import signals from django.utils.translation import ugettext_noop as _ diff --git a/newfies/user_profile/models.py b/newfies/user_profile/models.py index e80520bd1..e56662333 100644 --- a/newfies/user_profile/models.py +++ b/newfies/user_profile/models.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.db import models from django.contrib.auth.models import User from django.utils.translation import ugettext_lazy as _ diff --git a/newfies/user_profile/urls.py b/newfies/user_profile/urls.py index 18348ae55..15cb31dda 100644 --- a/newfies/user_profile/urls.py +++ b/newfies/user_profile/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from user_profile.views import * diff --git a/newfies/user_profile/views.py b/newfies/user_profile/views.py index 97e07f83e..d938c590e 100644 --- a/newfies/user_profile/views.py +++ b/newfies/user_profile/views.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import PasswordChangeForm diff --git a/newfies/voice_app/admin.py b/newfies/voice_app/admin.py index f86714754..ac82852df 100644 --- a/newfies/voice_app/admin.py +++ b/newfies/voice_app/admin.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# from django.contrib import admin #from django.utils.translation import ugettext_lazy as _ from voice_app.models import VoiceApp diff --git a/newfies/voice_app/forms.py b/newfies/voice_app/forms.py index 391bff689..f3ffbdd35 100644 --- a/newfies/voice_app/forms.py +++ b/newfies/voice_app/forms.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# from django import forms from django.forms import * from django.contrib import * diff --git a/newfies/voice_app/models.py b/newfies/voice_app/models.py index af7c161fd..6fed61652 100644 --- a/newfies/voice_app/models.py +++ b/newfies/voice_app/models.py @@ -1,3 +1,16 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# from django.db import models from django.utils.translation import ugettext_lazy as _ from dialer_gateway.models import Gateway diff --git a/newfies/voice_app/urls.py b/newfies/voice_app/urls.py index ce3f19830..37028230c 100644 --- a/newfies/voice_app/urls.py +++ b/newfies/voice_app/urls.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from django.conf.urls.defaults import * from django.conf import settings from voice_app.views import * diff --git a/newfies/voice_app/views.py b/newfies/voice_app/views.py index cc49edd4f..73e04fd83 100644 --- a/newfies/voice_app/views.py +++ b/newfies/voice_app/views.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + # Create your views here. from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required diff --git a/newfies/voice_app/voice_app_custom_spamlib.py b/newfies/voice_app/voice_app_custom_spamlib.py index 12d37d59f..7d7ebb9fb 100644 --- a/newfies/voice_app/voice_app_custom_spamlib.py +++ b/newfies/voice_app/voice_app_custom_spamlib.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + from voip_app.models import * from dilla import spam import string diff --git a/setup.py b/setup.py index f022bb6f7..d36cf88db 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,17 @@ +# +# Newfies-Dialer License +# http://www.newfies-dialer.org +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this file, +# You can obtain one at http://mozilla.org/MPL/2.0/. +# +# Copyright (C) 2011-2012 Star2Billing S.L. +# +# The Initial Developer of the Original Code is +# Arezqui Belaid +# + import os from setuptools import setup, find_packages from setuptools.dist import Distribution @@ -24,7 +38,6 @@ }) - COMMANDS = {} try: from sphinx.setup_command import BuildDoc @@ -61,7 +74,6 @@ def parse_requirements(file_name): requirements.append(line) return requirements - def parse_dependency_links(file_name, install_flag=False): dependency_links = [] for line in open(file_name, 'r').read().split('\n'): @@ -83,7 +95,6 @@ def parse_dependency_links(file_name, install_flag=False): if sys.argv[1] == "install": install_flag = True - setup( name='newfies-dialer', version=VERSION.replace(' ', '-'), @@ -123,6 +134,4 @@ def parse_dependency_links(file_name, install_flag=False): # devel cmdclass = COMMANDS, -) - - +) \ No newline at end of file