Adding copyright notices to all python files

- Legacy-Id: 716
This commit is contained in:
Henrik Levkowetz 2007-06-27 21:16:34 +00:00
parent 7236205b60
commit cd030d3b43
85 changed files with 169 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
__version__ = "0.99"
__date__ = "$Date$"

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,2 +1,4 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your models here.

View file

@ -1 +1,3 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from ietf.idtracker.models import PersonOrOrgInfo, ChairsHistory
from django.contrib.auth.models import Permission

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.announcements.models import Announcement

View file

@ -1 +1,3 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf import settings
from ietf import __date__, __rev__, __version__, __id__

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
"""Beautiful Soup
Elixir and Tonic
"The Screen-Scraper's Friend"

View file

@ -1,2 +1,4 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from form_decorator import form_decorator
import BeautifulSoup

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
## formfield_callback generator
## http://www.djangosnippets.org/snippets/59/
def form_decorator(fields = {}, attrs = {}, widgets = {},

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
##
## django form wizard
## http://code.djangoproject.com/ticket/3218

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django import newforms as forms
from ietf.idtracker.models import IDState, IDStatus, IETFWG
from ietf.idindex.models import orgs

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
#from django.db import models
alphabet = [chr(65 + i) for i in range(0, 26)]

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.idtracker.models import InternetDraft
from ietf.idindex import views

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.http import HttpResponse
from django.views.generic.list_detail import object_list
from django.db.models import Q

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.contrib.syndication.feeds import Feed
from django.utils.feedgenerator import Atom1Feed
from ietf.idtracker.models import InternetDraft, DocumentComment

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django import newforms as forms
from models import IESGLogin, IDStatus, Area, IDState, IDSubState

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from ietf.utils import FKAsOneToOne

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import textwrap
from django import template
from django.utils.html import escape, fix_ampersands, linebreaks

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
"""A copy of the IfChanged standard node, updated with
SmileyChris's patch in http://code.djangoproject.com/ticket/4534
and with the context push removed."""

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.idtracker.models import IDInternal, IDState, IDSubState, DocumentComment, BallotInfo
from ietf.idtracker import views

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.
from django.http import HttpResponseRedirect
from django import newforms as forms

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.contrib.syndication.feeds import Feed
from django.utils.feedgenerator import Atom1Feed
from ietf.iesg.models import TelechatMinutes

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
class TelechatMinutes(models.Model):

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.iesg import views
from ietf.iesg.models import TelechatMinutes

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.
#from django.views.generic.date_based import archive_index
from ietf.idtracker.models import IDInternal, InternetDraft

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.contrib.auth.backends import ModelBackend
from django.core.validators import email_re
from django.contrib.auth.models import User

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from django.contrib.auth.models import User
from ietf.idtracker.models import PersonOrOrgInfo

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.my.views import my

View file

@ -1 +1,3 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.contrib.syndication.feeds import Feed
from django.utils.feedgenerator import Atom1Feed
from ietf.ipr.models import IprDetail

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
#from django import newforms as forms
from ietf.idtracker.views import InternetDraft

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import re
import models
import ietf.utils

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from ietf.idtracker.models import InternetDraft, Rfc
inverse = {

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import re
import os.path
import django.utils.html

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.ipr import models, views, new, search

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
section_table = {
"index": { "index": True },

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import django.utils.html
from django.shortcuts import render_to_response as render
from django.template import RequestContext

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from ietf.idtracker.models import Acronym,PersonOrOrgInfo
from django.core.exceptions import ObjectDoesNotExist

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.liaisons.models import LiaisonDetail, LiaisonManagers

View file

@ -1 +1,3 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django import newforms as forms
from models import NonWgMailingList, ImportedMailingList
from ietf.idtracker.models import PersonOrOrgInfo, IETFWG

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from ietf.idtracker.models import Acronym, Area, PersonOrOrgInfo
from ietf.idtracker.models import Role

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.idtracker.models import Area
from ietf.mailinglists import views

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from forms import NonWgStep1, ListReqStep1, PickApprover, DeletionPickApprover, UrlMultiWidget, Preview, ListReqAuthorized, ListReqClose, MultiEmailField, AdminRequestor, ApprovalComment, ListApprover
from models import NonWgMailingList, MailingList, Domain
from ietf.idtracker.models import Area, PersonOrOrgInfo, AreaDirector, WGChair

View file

@ -1,4 +1,6 @@
#!/usr/bin/env python
# Copyright The IETF Trust 2007, All Rights Reserved
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
#from django.db import models
#from django.db import models

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.meeting import views

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.
#import models
from django.shortcuts import render_to_response as render, get_object_or_404

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
try:
import tidy
tidyavail = True

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
#from django.db import models
# Create your models here.

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
from ietf.my import views

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.template import RequestContext
from django.shortcuts import render_to_response
#from ietf.idtracker.models import PersonOrOrgInfo

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
from ietf.idtracker.models import Acronym, PersonOrOrgInfo, IRTF, AreaGroup, Area, IETFWG
import datetime

View file

@ -1 +1,3 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Create your views here.

View file

@ -0,0 +1,2 @@
# Copyright The IETF Trust 2007, All Rights Reserved

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.db import models
class Redirect(models.Model):

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns
urlpatterns = patterns('',

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.http import HttpResponsePermanentRedirect,Http404
import re

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Django settings for ietf project.
# BASE_DIR and "settings_local" are from
# http://code.djangoproject.com/wiki/SplitSettings

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import os
import re
import traceback

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.conf.urls.defaults import patterns, include, handler404, handler500
from ietf.iesg.feeds import IESGMinutes

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from listop import orl, flattenl
from log import log
from cache_foreign_key import FKAsOneToOne

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
# Caching accessor for the reverse of a ForeignKey relatinoship
# Started by axiak on #django
class FKAsOneToOne(object):

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import operator
def orl(list):

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
import syslog
import inspect
import os.path

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from email.Utils import make_msgid, formatdate, formataddr, parseaddr, getaddresses
from email.MIMEText import MIMEText
from email.MIMEMessage import MIMEMessage

View file

@ -1,4 +1,5 @@
#!/usr/bin/env python
# Copyright The IETF Trust 2007, All Rights Reserved
import re
import textwrap

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.utils.html import escape
def makeTemplatedForm(template=None):

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.shortcuts import render_to_response as render
testurls = []

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
from django.shortcuts import render_to_response as render
import urls
import re

View file

@ -1,3 +1,5 @@
# Copyright The IETF Trust 2007, All Rights Reserved
DEFAULT_FROM_EMAIL = 'Django IETFdb Test Server<django-test@tools.ietf.org>'
SERVER_EMAIL = 'Django IETFdb Test Server<django-test@tools.ietf.org>'