Skip to content

Commit 69e7373

Browse files
committed
Merged in branch/amsl/trunkmerge@5449 from rcross@amsl.com, with some tweaks. This provides the secretariat apps.
- Legacy-Id: 5483
1 parent 7e67b40 commit 69e7373

1 file changed

Lines changed: 36 additions & 3 deletions

File tree

ietf/settings.py

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@
111111
'ietf.middleware.RedirectTrailingPeriod',
112112
'django.middleware.transaction.TransactionMiddleware',
113113
'ietf.middleware.UnicodeNfkcNormalization',
114+
'ietf.secr.middleware.secauth.SecAuthMiddleware'
114115
)
115116

116117
ROOT_URLCONF = 'ietf.urls'
117118

118119
TEMPLATE_DIRS = (
119-
BASE_DIR + "/templates"
120+
BASE_DIR + "/templates",
121+
BASE_DIR + "/secr/templates",
120122
)
121123

122124
TEMPLATE_CONTEXT_PROCESSORS = (
@@ -127,6 +129,8 @@
127129
'django.contrib.messages.context_processors.messages',
128130
'ietf.context_processors.server_mode',
129131
'ietf.context_processors.revision_info',
132+
'ietf.secr.context_processors.secr_revision_info',
133+
'ietf.secr.context_processors.static',
130134
'ietf.context_processors.rfcdiff_prefix',
131135
)
132136

@@ -157,7 +161,7 @@
157161
'ietf.liaisons',
158162
'ietf.mailinglists',
159163
'ietf.meeting',
160-
'ietf.proceedings',
164+
#'ietf.proceedings',
161165
'ietf.redirects',
162166
'ietf.idrfc',
163167
'ietf.wginfo',
@@ -168,6 +172,19 @@
168172
'ietf.sync',
169173
'ietf.community',
170174
'ietf.release',
175+
# secretariat apps
176+
'form_utils',
177+
'ietf.secr.announcement',
178+
'ietf.secr.areas',
179+
'ietf.secr.drafts',
180+
'ietf.secr.groups',
181+
'ietf.secr.ipradmin',
182+
'ietf.secr.meetings',
183+
'ietf.secr.proceedings',
184+
'ietf.secr.roles',
185+
'ietf.secr.rolodex',
186+
'ietf.secr.telechat',
187+
'ietf.secr.sreq',
171188
)
172189

173190
INTERNAL_IPS = (
@@ -203,7 +220,7 @@
203220
INTERNET_DRAFT_PATH = '/a/www/ietf-ftp/internet-drafts/'
204221
INTERNET_DRAFT_PDF_PATH = '/a/www/ietf-datatracker/pdf/'
205222
RFC_PATH = '/a/www/ietf-ftp/rfc/'
206-
CHARTER_PATH = '/a/www/ietf-ftp/charters/'
223+
CHARTER_PATH = '/a/www/ietf-ftp/charter/'
207224
CHARTER_TXT_URL = 'http://www.ietf.org/charter/'
208225
CONFLICT_REVIEW_PATH = '/a/www/ietf-ftp/conflict-reviews'
209226
CONFLICT_REVIEW_TXT_URL = 'http://www.ietf.org/cr/'
@@ -311,6 +328,22 @@
311328
TZDATA_ICS_PATH = '/www/ietf-datatracker/tz/ics/'
312329
CHANGELOG_PATH = '/www/ietf-datatracker/web/changelog'
313330

331+
# Secretariat Tool
332+
# this is a tuple of regular expressions. if the incoming URL matches one of
333+
# these, than non secretariat access is allowed.
334+
SECR_AUTH_UNRESTRICTED_URLS = (
335+
#(r'^/$'),
336+
(r'^/secr/announcement/'),
337+
(r'^/secr/proceedings/'),
338+
(r'^/secr/sreq/'),
339+
)
340+
SECR_BLUE_SHEET_PATH = '/a/www/ietf-datatracker/documents/blue_sheet.rtf'
341+
SECR_BLUE_SHEET_URL = 'https://datatracker.ietf.org/documents/blue_sheet.rtf'
342+
SECR_INTERIM_LISTING_DIR = '/a/www/www6/meeting/interim'
343+
SECR_MAX_UPLOAD_SIZE = 40960000
344+
SECR_PROCEEDINGS_DIR = '/a/www/www6s/proceedings/'
345+
SECR_STATIC_URL = '/secr/'
346+
314347
# Put SECRET_KEY in here, or any other sensitive or site-specific
315348
# changes. DO NOT commit settings_local.py to svn.
316349
from settings_local import *

0 commit comments

Comments
 (0)