copyright notice
This commit is contained in:
		@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,18 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""module for the admin interface of the app"""
 | 
					"""module for the admin interface of the app"""
 | 
				
			||||||
from django.contrib import admin
 | 
					from django.contrib import admin
 | 
				
			||||||
from .models import ServiceTicket, ProxyTicket, ProxyGrantingTicket, User, ServicePattern
 | 
					from .models import ServiceTicket, ProxyTicket, ProxyGrantingTicket, User, ServicePattern
 | 
				
			||||||
from .models import Username, ReplaceAttributName, ReplaceAttributValue, FilterAttributValue
 | 
					from .models import Username, ReplaceAttributName, ReplaceAttributValue, FilterAttributValue
 | 
				
			||||||
from .forms import TicketForm
 | 
					from .forms import TicketForm
 | 
				
			||||||
# Register your models here.
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
class ServiceTicketInline(admin.TabularInline):
 | 
					class ServiceTicketInline(admin.TabularInline):
 | 
				
			||||||
    """`ServiceTicket` in admin interface"""
 | 
					    """`ServiceTicket` in admin interface"""
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,14 @@
 | 
				
			|||||||
# ⁻*- coding: utf-8 -*-
 | 
					# ⁻*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""Some authentication classes for the CAS"""
 | 
					"""Some authentication classes for the CAS"""
 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
from django.contrib.auth.models import User
 | 
					from django.contrib.auth.models import User
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,13 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""Default values for the app's settings"""
 | 
					"""Default values for the app's settings"""
 | 
				
			||||||
from django.conf import settings
 | 
					from django.conf import settings
 | 
				
			||||||
from . import auth
 | 
					from . import auth
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,13 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""forms for the app"""
 | 
					"""forms for the app"""
 | 
				
			||||||
import cas_server.default_settings
 | 
					import cas_server.default_settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,14 @@
 | 
				
			|||||||
# ⁻*- coding: utf-8 -*-
 | 
					# ⁻*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""models for the app"""
 | 
					"""models for the app"""
 | 
				
			||||||
import cas_server.default_settings
 | 
					import cas_server.default_settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,12 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
from django.test import TestCase
 | 
					from django.test import TestCase
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Create your tests here.
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,14 @@
 | 
				
			|||||||
# ⁻*- coding: utf-8 -*-
 | 
					# ⁻*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""urls for the app"""
 | 
					"""urls for the app"""
 | 
				
			||||||
from django.conf.urls import patterns, url
 | 
					from django.conf.urls import patterns, url
 | 
				
			||||||
from django.views.generic import RedirectView
 | 
					from django.views.generic import RedirectView
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,13 @@
 | 
				
			|||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""Some util function for the app"""
 | 
					"""Some util function for the app"""
 | 
				
			||||||
import urlparse
 | 
					import urlparse
 | 
				
			||||||
import urllib
 | 
					import urllib
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,14 @@
 | 
				
			|||||||
# ⁻*- coding: utf-8 -*-
 | 
					# ⁻*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# This program is distributed in the hope that it will be useful, but WITHOUT
 | 
				
			||||||
 | 
					# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 | 
				
			||||||
 | 
					# FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
 | 
				
			||||||
 | 
					# more details.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# You should have received a copy of the GNU General Public License version 3
 | 
				
			||||||
 | 
					# along with this program; if not, write to the Free Software Foundation, Inc., 51
 | 
				
			||||||
 | 
					# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# (c) 2015 Valentin Samir
 | 
				
			||||||
"""views for the app"""
 | 
					"""views for the app"""
 | 
				
			||||||
import cas_server.default_settings
 | 
					import cas_server.default_settings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user