|
111 | 111 | 'ietf.middleware.RedirectTrailingPeriod', |
112 | 112 | 'django.middleware.transaction.TransactionMiddleware', |
113 | 113 | 'ietf.middleware.UnicodeNfkcNormalization', |
| 114 | + 'ietf.secr.middleware.secauth.SecAuthMiddleware' |
114 | 115 | ) |
115 | 116 |
|
116 | 117 | ROOT_URLCONF = 'ietf.urls' |
117 | 118 |
|
118 | 119 | TEMPLATE_DIRS = ( |
119 | | - BASE_DIR + "/templates" |
| 120 | + BASE_DIR + "/templates", |
| 121 | + BASE_DIR + "/secr/templates", |
120 | 122 | ) |
121 | 123 |
|
122 | 124 | TEMPLATE_CONTEXT_PROCESSORS = ( |
|
127 | 129 | 'django.contrib.messages.context_processors.messages', |
128 | 130 | 'ietf.context_processors.server_mode', |
129 | 131 | 'ietf.context_processors.revision_info', |
| 132 | + 'ietf.secr.context_processors.secr_revision_info', |
| 133 | + 'ietf.secr.context_processors.static', |
130 | 134 | 'ietf.context_processors.rfcdiff_prefix', |
131 | 135 | ) |
132 | 136 |
|
|
157 | 161 | 'ietf.liaisons', |
158 | 162 | 'ietf.mailinglists', |
159 | 163 | 'ietf.meeting', |
160 | | - 'ietf.proceedings', |
| 164 | + #'ietf.proceedings', |
161 | 165 | 'ietf.redirects', |
162 | 166 | 'ietf.idrfc', |
163 | 167 | 'ietf.wginfo', |
|
168 | 172 | 'ietf.sync', |
169 | 173 | 'ietf.community', |
170 | 174 | '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', |
171 | 188 | ) |
172 | 189 |
|
173 | 190 | INTERNAL_IPS = ( |
|
203 | 220 | INTERNET_DRAFT_PATH = '/a/www/ietf-ftp/internet-drafts/' |
204 | 221 | INTERNET_DRAFT_PDF_PATH = '/a/www/ietf-datatracker/pdf/' |
205 | 222 | RFC_PATH = '/a/www/ietf-ftp/rfc/' |
206 | | -CHARTER_PATH = '/a/www/ietf-ftp/charters/' |
| 223 | +CHARTER_PATH = '/a/www/ietf-ftp/charter/' |
207 | 224 | CHARTER_TXT_URL = 'http://www.ietf.org/charter/' |
208 | 225 | CONFLICT_REVIEW_PATH = '/a/www/ietf-ftp/conflict-reviews' |
209 | 226 | CONFLICT_REVIEW_TXT_URL = 'http://www.ietf.org/cr/' |
|
311 | 328 | TZDATA_ICS_PATH = '/www/ietf-datatracker/tz/ics/' |
312 | 329 | CHANGELOG_PATH = '/www/ietf-datatracker/web/changelog' |
313 | 330 |
|
| 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 | + |
314 | 347 | # Put SECRET_KEY in here, or any other sensitive or site-specific |
315 | 348 | # changes. DO NOT commit settings_local.py to svn. |
316 | 349 | from settings_local import * |
0 commit comments