Commit graph

16633 commits

Author SHA1 Message Date
comimom b73efa811a Complete Meeting Materials page
* Tested with IETF 67 and 68 data.
 * For testing, c_sub_cut_off_date should set to future date, otherwise a Closed page will show.
 - Legacy-Id: 228
2007-06-04 19:52:52 +00:00
Henrik Levkowetz 8ff20e3127 Expanded the test code which finds urlpatterns to extract all URLs
specified in the various Django apps of the site.  Also fixed the
documentation of the TemplatedForm factory to be more correct.
 - Legacy-Id: 227
2007-06-04 19:26:16 +00:00
Bill Fenner 4e25407e25 Use python module instead of file path to settings file.
Switch back to using a temp file, since unflatten/gvpr don't
like taking input straight from the while loop.
 - Legacy-Id: 226
2007-06-04 13:54:29 +00:00
Bill Fenner 688b4fdd43 Use revision_display to decrease the version number appropriately
- Legacy-Id: 225
2007-06-04 13:53:17 +00:00
Bill Fenner cae902a373 Add two middleware classes:
- SQLLogMiddleware.  This logs any INSERT or UPDATE performed by
a request.

- SMTPExceptionMiddleware.  This renders a "please try again"
(template email_failed.html) message when an attempt to send
email failed.  This uses a bit of a hack, in that the middleware
looks explicitly for smtplib.SMTPException, and smtplib can
raise other exceptions (particularly socket errors).  utils/mail/send_smtp
catches all exceptions and reraises non-smtplib exceptions as
fake smtplib exceptions, and the middleware undoes the wrapping.
 - Legacy-Id: 224
2007-06-04 13:52:34 +00:00
Henrik Levkowetz 600002f1f8 Cleaning out miscellaneous non-functional stuff from ietf/meeting/models.py
- Legacy-Id: 223
2007-06-04 00:50:48 +00:00
Henrik Levkowetz d5c66de1a1 Removing superfluous import
- Legacy-Id: 222
2007-06-04 00:46:40 +00:00
Henrik Levkowetz ae323e9181 Removing ietf/query.py which isn't being used
- Legacy-Id: 221
2007-06-04 00:43:21 +00:00
Henrik Levkowetz 8953e1a647 Turning off the test error for missing test URLs for now
- Legacy-Id: 220
2007-06-04 00:32:20 +00:00
Henrik Levkowetz eedd6a8e8c Made URL check code accept comment lines and empty lines in URL file.
Commented out broken URLs in the testurl.list
Fixed a missing import in ipr/views.py
 - Legacy-Id: 219
2007-06-03 23:39:02 +00:00
Henrik Levkowetz 3d4e9286c2 Minor tweaks to test output
- Legacy-Id: 218
2007-06-03 22:43:43 +00:00
Henrik Levkowetz c7230247b1 Making the url test more verbose. Adding an initial list of urls to test.
- Legacy-Id: 217
2007-06-03 21:21:29 +00:00
Henrik Levkowetz 4cfe601ed7 Moving and updating the svn copy of the buildbot master config
- Legacy-Id: 216
2007-06-03 20:26:55 +00:00
Henrik Levkowetz 9bced60e2f Added a top-level test module which will run through django URLs in any
committed file named 'testurl.list' in any directory in the ietf/ tree.
There is also a test for URL coverage -- if there isn't declared test
URLs for all the url patterns in ietf/urls.py this coverage test will
fail.
 - Legacy-Id: 215
2007-06-03 19:52:06 +00:00
Bill Fenner 1d54ad36c9 Use a known exception when there are too many path arguments (in bits)
- Legacy-Id: 214
2007-06-02 01:15:59 +00:00
Bill Fenner 01f0baaf56 Fix some undefined names reported by pyflakes
- Legacy-Id: 213
2007-06-02 01:12:41 +00:00
Bill Fenner faf885aabd MailingList model updates:
- Add domain helper function to default domain name to ietf.org
- Use correct values for post_who

Template updates:
- Use the domain helper function
- Use the post_who_display helper function
- Move some of the items that could wrap to the next line
 - Legacy-Id: 212
2007-06-01 20:40:21 +00:00
Bill Fenner 8628844700 Remove CRs from subject that comes from a template.
- Legacy-Id: 211
2007-06-01 20:40:02 +00:00
Bill Fenner ac853962e2 Reduce repetition in the templates by moving "add/delete" logic to
view.

Fix up logic in templates, mailing list closing emails look
correct (both approval and denial, with and without messages
from the approver).
 - Legacy-Id: 210
2007-06-01 19:13:21 +00:00
Bill Fenner 4e426dec4c Implement [most of] the approval side of mailing list requests.
Have to check the templates for deletion.
 - Legacy-Id: 209
2007-06-01 18:34:57 +00:00
Bill Fenner 3ff684ff06 SQL commands to convert IETF database dump to django schema.
- Legacy-Id: 208
2007-06-01 18:25:39 +00:00
Bill Fenner 949bc0cbb8 Oops, a unique_together of the first two fields is wrong, since
there are two ADs per area, and of the three fields doesn't add
anything real, so just don't try to make it unique.
 - Legacy-Id: 207
2007-06-01 18:10:50 +00:00
Bill Fenner e452d4b89d IESGHistory needs to have a single primary key. Will add to
[wiki:Models] page.
 - Legacy-Id: 206
2007-06-01 18:04:35 +00:00
Henrik Levkowetz cf4521d98d Test cleanup: remove test database if 'python manage.py test' crashes
- Legacy-Id: 205
2007-06-01 17:01:32 +00:00
Henrik Levkowetz 3d84ba95d9 More test setup and teardown functionality.
- Legacy-Id: 204
2007-06-01 16:40:30 +00:00
Michael Lee 27edcb2b3e * Add meeting materials list page
* For testing, the page lists meeting materials regardless the submission cut off date.
 * Need to add Training sessions, IRTF RGs, and Interim WGs
 - Legacy-Id: 203
2007-06-01 04:10:39 +00:00
Bill Fenner 11714d1a0d Admin interface changes, a little field reshuffling, and
a new permissions system for announced_from values.
 - Legacy-Id: 202
2007-06-01 02:14:31 +00:00
Bill Fenner 6072945ba4 Handle, log, and reraise an smtplib exception.
- Legacy-Id: 201
2007-06-01 02:10:26 +00:00
Bill Fenner 4a5c6b5c57 Create I-D Search form, with field names matching the old search
form, to allow bookmarked searches to continue to work.
 - Legacy-Id: 200
2007-06-01 02:05:00 +00:00
Henrik Levkowetz 2de4f6d6d7 More test setup
- Legacy-Id: 199
2007-05-31 21:11:03 +00:00
Henrik Levkowetz 0ed54be5d8 Ignore Django patch if it seems to be reversed
- Legacy-Id: 198
2007-05-31 20:54:34 +00:00
Henrik Levkowetz a5099d6776 Make the patch succeed or fail without waiting for operator input
- Legacy-Id: 197
2007-05-31 20:47:22 +00:00
Henrik Levkowetz 1d928f6a64 Hopefully fixing the patch application
- Legacy-Id: 196
2007-05-31 20:40:49 +00:00
Bill Fenner 0ecb3e5e8f Change from id to class designators for "largefont", etc.
- Legacy-Id: 195
2007-05-31 20:14:34 +00:00
Bill Fenner c8cc298c5d Add links to state description pages.
- Legacy-Id: 194
2007-05-31 20:14:02 +00:00
Bill Fenner 2b46e031e2 Use .count to gain a smidge of efficiency when checking for
a ballot set, and use the right comment syntax.
 - Legacy-Id: 193
2007-05-31 20:13:41 +00:00
Henrik Levkowetz e75561a2d0 Making test helper scripts executable
- Legacy-Id: 192
2007-05-31 19:57:14 +00:00
Henrik Levkowetz ec3e05cde6 Adding some helper scripts and files for buildbot testing.
- Legacy-Id: 191
2007-05-31 19:48:51 +00:00
Bill Fenner b5ce6e375c Extensive updates of idtracker.
ballot sets are now (hopefully) treated properly, except for the
row coloring.  They're also included in the "view_id" view.

Search is re-done, it turns out that using draft__<anything> means
that RFCs won't be matched, so build lists of possibly-matching
RFCs and I-Ds and pass them through.  This applies to filename,
group and rfc number.
 - Legacy-Id: 190
2007-05-31 19:24:26 +00:00
Henrik Levkowetz 0f64cde6c6 More minor cleanup based on pyflakes feedback
- Legacy-Id: 189
2007-05-31 09:46:56 +00:00
Henrik Levkowetz 4a289b821f Minor cleanup based on pyflakes feedback
- Legacy-Id: 188
2007-05-31 09:44:12 +00:00
Henrik Levkowetz 186f3f3043 Minor tweak: Make the links produced by the top index page end in '/'.
- Legacy-Id: 187
2007-05-31 09:14:49 +00:00
Bill Fenner 5f4d99a36a Implement status_of_items and last_call.
(Oddly, this status_of_items shows more than the cgi one; I can't
explain why.  Also, the cgi one showed the wrong intended status
for RFCs, and the wrong area for several documents.)
 - Legacy-Id: 186
2007-05-30 21:09:17 +00:00
Bill Fenner 7d52fffdcd Implement form for sending email feedback and the actual email sending.
- Legacy-Id: 185
2007-05-30 17:11:48 +00:00
Bill Fenner e9221db2be Minor admin interface tuning.
- Legacy-Id: 184
2007-05-30 15:18:34 +00:00
Bill Fenner 15a3474aed Annotate output graph with a parallelogram node with the model name.
- Legacy-Id: 183
2007-05-30 14:24:05 +00:00
Michael Lee 1c9bf9b1ca meeting_agenda_html.cgi porting has been completed.
* Add a new method, affiliation to idtracker/models.py, in class PersonOrOrgInfo
 * Agenda for the Plenaries should be stored in /home/master-site/proceedings directory to be displayed.
 * Bug found in listing ADs at the end of the agenda. An agenda always lists the current IESG instead of the IESG at each meeting. Bug is fixed in the ported tool.
 * meeting_agenda_text.cgi was obsolete, but ported anyway in case someone still has it bookmarked.
 - Legacy-Id: 182
2007-05-30 13:47:09 +00:00
Bill Fenner 27460c988b Don't do admin; it can't handle these tables.
- Legacy-Id: 181
2007-05-30 11:21:37 +00:00
Bill Fenner 3e634ccadd Get close to the look of the existing form. MultiEmailField might
belong in a project infrastructure file, not here.
 - Legacy-Id: 180
2007-05-30 11:20:46 +00:00
Bill Fenner 0eb450cab7 Finish the poorly-thought-through and poorly-implemented
GroupIETF->IETFWG rename.
 - Legacy-Id: 179
2007-05-29 13:39:32 +00:00