Commit graph

3951 commits

Author SHA1 Message Date
Henrik Levkowetz 0f5b59d431 Set version info to release version 4.83 before branching.
- Legacy-Id: 6668
2013-11-06 19:33:46 +00:00
Henrik Levkowetz 239b526d57 Fixed a bug in the materials urls in agenda.ics.
- Legacy-Id: 6666
2013-11-06 17:03:30 +00:00
Henrik Levkowetz 1e16aa34d4 Merged [6643] from rcross@amsl.com:
change draft replace action: move document to archive directory
 - Legacy-Id: 6665
Note: SVN reference [6643] has been migrated to Git commit dbff28dbb2
2013-11-06 16:23:58 +00:00
Henrik Levkowetz c41bb723b9 Merged [6642] from tterriberry@mozilla.com:
Add 'Track this document' link on drafts.

Fixes #1085.
 - Legacy-Id: 6664
Note: SVN reference [6642] has been migrated to Git commit 0ffa8be8ea
2013-11-06 16:20:46 +00:00
Henrik Levkowetz 9d62773f41 Updated one invocation of update_state() to match the new signature in [6660].
- Legacy-Id: 6663
Note: SVN reference [6660] has been migrated to Git commit 8ec6c336a9
2013-11-06 16:19:13 +00:00
Henrik Levkowetz 27895541a4 Merged [6641] from bartosz.balazinski@interdigital.com:
Added the new version of the shepherd writeup as a comment when it's edited.
The new version works like this:

 -  Any shepherd writeups done before the document is submitted for
    publication are not disclosed in the history.

 -  When the document is submitted for publication the available writeup (if
    available) is added to history.

 -  Any further writeups after the document has been submitted for publication
    are disclosed in the history.
 - Legacy-Id: 6662
Note: SVN reference [6641] has been migrated to Git commit a0a451881b
2013-11-06 16:06:07 +00:00
Henrik Levkowetz 58685d93e1 Updated known-good test file to match commit [6655].
- Legacy-Id: 6661
Note: SVN reference [6655] has been migrated to Git commit 89904c9bb3
2013-11-06 16:00:25 +00:00
Henrik Levkowetz 8ec6c336a9 Merged [6626] and [6640] from suresh.krishnan@ericsson.com:
Refactored the mails sent when state is changed along with annotation tags.
Don't send emails for only comment changes, just add a history entry.  For
state changes and annotation changes, only send one email, containing
information about both state changes and annotation tag changes.  
Fixes issue #1127.
 - Legacy-Id: 6660
Note: SVN reference [6626] has been migrated to Git commit 74c7230842

Note: SVN reference [6640] has been migrated to Git commit 629816a2cb
2013-11-06 15:53:33 +00:00
Henrik Levkowetz 71d797bcb8 Refines Joel's fix to show clearly who receives draft submission confirmation emails, to show a more detailed warning text when the submitter isn't in the addressee list. Fixes issue #1097.
- Legacy-Id: 6659
2013-11-06 15:29:02 +00:00
Ole Laursen 422a20fe3d Add replaces field which is apparently in the database, but not in
models.py which confuses South
 - Legacy-Id: 6658
2013-11-06 15:24:22 +00:00
Ole Laursen 4635c1ce0f Move helpers for the admin on IdSubmissionDetail to admin.py
- Legacy-Id: 6657
2013-11-06 15:23:08 +00:00
Ole Laursen b46f0ba733 Get rid of submit/error_manager.py which is apparently unused
- Legacy-Id: 6656
2013-11-06 15:21:19 +00:00
Henrik Levkowetz 89904c9bb3 Corrected the links to WG agendas in the csv file.
- Legacy-Id: 6655
2013-11-06 15:08:47 +00:00
Ole Laursen 2daff23f02 Remove shim layer from submit code
- Legacy-Id: 6654
2013-11-05 16:59:13 +00:00
Henrik Levkowetz dcc61a7eee Merged [6638] from jmh@joelhalpern.com:
Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6653
Note: SVN reference [6638] has been migrated to Git commit 72885f4524
2013-11-05 15:03:25 +00:00
Henrik Levkowetz 0e19d8319a Tweaked the style used on the nomcom feedback pages a bit, to give people a bit more room to write in the feedback field.
- Legacy-Id: 6652
2013-11-04 20:48:53 +00:00
Henrik Levkowetz c7c4afc6dd It turns out that the get_user_email is called for every nominee listed on a feedback page, which is insane. But until the template can be rewritten to do this in a more sane way, we cache the lookup result.
- Legacy-Id: 6651
2013-11-04 20:47:54 +00:00
Henrik Levkowetz 9302f9b7ab Merged [6635] from tterriberry@mozilla.com:
Mark Concluded BoFs as BoFs, not Concluded WGs.

Fixes #1169.
 - Legacy-Id: 6649
Note: SVN reference [6635] has been migrated to Git commit 04f4b26b3a
2013-11-04 15:52:37 +00:00
Henrik Levkowetz 28bc1d2dce Merged [6630] from jmh@joelhalpern.com:
Add document titles to status change request email.  Fixes issue #1069.
 - Legacy-Id: 6648
Note: SVN reference [6630] has been migrated to Git commit bb539aa0c2
2013-11-04 15:49:41 +00:00
Henrik Levkowetz 6d8b178074 Include IAOC update sessions in the training section.
- Legacy-Id: 6647
2013-11-04 15:12:21 +00:00
Ole Laursen e1708da2fe Cosmetic fix, insert missing space
- Legacy-Id: 6646
2013-11-04 13:49:32 +00:00
Ole Laursen a7f515f4b2 Fix link pointing to /idtracker/
- Legacy-Id: 6645
2013-11-04 11:11:50 +00:00
Henrik Levkowetz 801283f814 By preference, show the same email for a logged-in user as his login, if it
exists; otherwise show the newest active email address.
 - Legacy-Id: 6644
2013-11-03 19:11:45 +00:00
Ryan Cross dbff28dbb2 change draft replace action: move document to archive directory
- Legacy-Id: 6643
2013-11-03 01:38:23 +00:00
Timothy B. Terriberry 0ffa8be8ea Add 'Track this document' link on drafts.
Fixes #1085.
 - Legacy-Id: 6642
2013-11-03 00:26:02 +00:00
Bartosz Balazinski a0a451881b Fix for issue 1121
- Legacy-Id: 6641
2013-11-03 00:15:49 +00:00
Suresh Krishnan 629816a2cb Refactoring the mails sent when state is changed along with annotation tags. Currently there are two emails getting sent. Fixing it to send only one email that rolls up the annotation tag changes into the state change email.
- Legacy-Id: 6640
2013-11-02 23:52:29 +00:00
Henrik Levkowetz f029c88347 Merged [6629] from tterriberry@mozilla.com:
Allow wgchairs to edit replaces relationships.

This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6639
Note: SVN reference [6629] has been migrated to Git commit 9ef29a323f
2013-11-02 23:41:51 +00:00
Joel M. Halpern 72885f4524 Include confirmation addresses in ID-Submission success notice.
Fixes issue #1097.
 - Legacy-Id: 6638
2013-11-02 23:29:21 +00:00
Henrik Levkowetz 0308b2d72a Merged [6627] from markus.stenberg@iki.fi:
Addressed #1074 - approved by mr. Kivinen.
 - Legacy-Id: 6636
Note: SVN reference [6627] has been migrated to Git commit 0d5a505697
2013-11-02 23:16:49 +00:00
Timothy B. Terriberry 04f4b26b3a Mark Concluded BoFs as BoFs, not Concluded WGs.
Fixes #1169.
 - Legacy-Id: 6635
2013-11-02 23:13:32 +00:00
Henrik Levkowetz 64145371c6 Merged [6624] from jmh@joelhalpern.com:
Added \'Last Call Issued:\' to front of last call atom feed entry subjects.
 - Legacy-Id: 6634
Note: SVN reference [6624] has been migrated to Git commit 139b886458
2013-11-02 23:09:18 +00:00
Henrik Levkowetz 7925223ef8 Merged [6622] from rjsparks@nostrum.com:
Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6633
Note: SVN reference [6622] has been migrated to Git commit a677a70df3
2013-11-02 23:04:28 +00:00
Henrik Levkowetz 782136bec2 Merged [6614] from markus.stenberg@iki.fi:
Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6632
Note: SVN reference [6614] has been migrated to Git commit b60865b3c5
2013-11-02 22:32:45 +00:00
Henrik Levkowetz feaa3310b4 Merged [6616] from jmh@joelhalpern.com:
Fix conflict review text for irtf docs to reference RFC 5743.
 - Legacy-Id: 6631
Note: SVN reference [6616] has been migrated to Git commit c936db32c0
2013-11-02 22:28:13 +00:00
Joel M. Halpern bb539aa0c2 Add document titles to status change request email. Fixes issue #1069.
- Legacy-Id: 6630
2013-11-02 22:25:15 +00:00
Timothy B. Terriberry 9ef29a323f Allow wgchairs to edit replaces relationships.
This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6629
2013-11-02 22:20:58 +00:00
Henrik Levkowetz 0aba8663a5 Updated known-good agenda.csv master to match blankline elimination from template.
- Legacy-Id: 6628
2013-11-02 22:13:51 +00:00
Markus Stenberg 0d5a505697 Addressed #1074 - approved by mr. Kivinen.
- Legacy-Id: 6627
2013-11-02 22:13:43 +00:00
Suresh Krishnan 74c7230842 Fixed issue #1127. New behavior is
case: Only annotation tags changed -> Send annotation tags changed email (no state change mails)
case: Only comment changed -> *No emails*. Just add a history entry.
case: State changed -> Send state change emails. Include comments in the email if any were entered. If annotation tags were also changed, send a separate annotation tag change email.
 - Legacy-Id: 6626
2013-11-02 22:09:00 +00:00
Henrik Levkowetz a53cdd3c48 Took out unintentionally included newlines from the agenda.csv template.
- Legacy-Id: 6625
2013-11-02 21:58:55 +00:00
Joel M. Halpern 139b886458 Added "Last Call Issued:" to front of last call atom feed entry subjects.
- Legacy-Id: 6624
2013-11-02 21:56:40 +00:00
Henrik Levkowetz e32d83939f Merged [6613] from adam@nostrum.com:
Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of \'not yet approved\' IPR disclosures.
 - Legacy-Id: 6623
Note: SVN reference [6613] has been migrated to Git commit b72c8a7cfd
2013-11-02 21:28:19 +00:00
Robert Sparks a677a70df3 Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6622
2013-11-02 21:11:07 +00:00
Robert Sparks e309ff92b3 Don't insert references to self.
Move the data filler from a migration to a standalone script
 - Legacy-Id: 6620
2013-11-02 20:59:43 +00:00
Henrik Levkowetz 049779e382 Merged [6612] from jmh@joelhalpern.com:
Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6619
Note: SVN reference [6612] has been migrated to Git commit 5e00182ade
2013-11-02 20:33:18 +00:00
Henrik Levkowetz 84eee2e83c Extract the proper directory to combine with the relative path of the urlist diff master, instead of using getcwd() .
- Legacy-Id: 6618
2013-11-02 20:23:47 +00:00
Henrik Levkowetz 43c1b096dd Updated known-good files.
- Legacy-Id: 6617
2013-11-02 20:21:22 +00:00
Joel M. Halpern c936db32c0 Fix conflict review text for irtf docs to reference RFC 5743.
- Legacy-Id: 6616
2013-11-02 20:20:11 +00:00
Markus Stenberg b60865b3c5 Took care of #841 by moving <span> correctly outside <a> altogether.
It used to be unbalanced:
 <a><span></a></span>, but now 
 <span><a></a></span>
 - Legacy-Id: 6614
2013-11-02 19:56:16 +00:00
Adam Roach b72c8a7cfd Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of "not yet approved" IPR disclosures.
- Legacy-Id: 6613
2013-11-02 18:42:11 +00:00
Joel M. Halpern 5e00182ade Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6612
2013-11-02 18:31:13 +00:00
Henrik Levkowetz a5d86f1899 Don't tack on the scheme and host in the template; if this is needed, it's now done in get_absolute_url().
- Legacy-Id: 6611
2013-11-02 14:44:14 +00:00
Henrik Levkowetz f862b71c35 Set version info and settings back to development mode
- Legacy-Id: 6586
2013-10-31 18:13:10 +00:00
Henrik Levkowetz 0ff1e5d04d Set version info to release version 4.82 before branching.
- Legacy-Id: 6584
2013-10-31 18:13:05 +00:00
Henrik Levkowetz 13b6c7a983 Updated template and support functions for iPhone agenda page.
- Legacy-Id: 6582
2013-10-31 17:58:59 +00:00
Henrik Levkowetz 28a0d99d09 Merged [6580] from rjsparks@nostrum.com:
Reverted materials.html and the view that drives it to before the 4.70 merge.
Tweaked the view to get (I hope) the right things.
 - Legacy-Id: 6581
Note: SVN reference [6580] has been migrated to Git commit 7a84ffe197
2013-10-31 17:23:25 +00:00
Robert Sparks 7a84ffe197 Reverted materials.html and the view that drives it to before the 4.70 merge.
Tweaked the view to get (I hope) the right things.
 - Legacy-Id: 6580
2013-10-31 17:16:53 +00:00
Henrik Levkowetz 45b9b45f28 Removed a lot of dead code and unused imports.
- Legacy-Id: 6578
2013-10-30 21:51:13 +00:00
Henrik Levkowetz 1208ae708b Removed 2 tests which tested dead code.
- Legacy-Id: 6577
2013-10-30 21:33:10 +00:00
Henrik Levkowetz dc6d96797b Removed unused imports. Marked some instances of code which used variables that don't exist. Removed dependency on the logging module, we use syslog by default. Replaced some log.debug() calls with debug.log().
- Legacy-Id: 6576
2013-10-30 21:27:40 +00:00
Henrik Levkowetz 6c8802a3cc Needlessly fixed a naming error in meeting.proxy.
- Legacy-Id: 6575
2013-10-30 21:23:22 +00:00
Henrik Levkowetz adc5b130dc Fixed incorrect except statement syntax.
- Legacy-Id: 6574
2013-10-30 21:21:28 +00:00
Henrik Levkowetz 5f2da7ba9e Merged [6486] from rjsparks@nostrum.com:
Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position
 - Legacy-Id: 6573
Note: SVN reference [6486] has been migrated to Git commit 2a1b4c7775
2013-10-30 21:17:46 +00:00
Robert Sparks b18249222b Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.
Note to deployer: This migration takes around 10 minutes to complete on a fast development laptop.
 - Legacy-Id: 6572
2013-10-30 20:51:11 +00:00
Henrik Levkowetz c8e7a4a5d4 Updated test masters to match the changed (and now more predictable) order
of some entries.
 - Legacy-Id: 6538
2013-10-29 22:45:29 +00:00
Henrik Levkowetz 951670e9df New view code and templates for agenda pages, updating all agenda templates
to take schedule-specific information so that they will work with arbitrary
schedules, not just the official schedule for a meeting.
 - Legacy-Id: 6537
2013-10-29 22:44:13 +00:00
Henrik Levkowetz c61d1d1c2f Provided new methods Meeting.vtimezone() which return a vtimezone stanza for
ical files, based on the timezone setting for a meeting, fetched from a pre-
generated file; and Session.ical_status(), which provides a string appropriate
for use in ical STATUS: entries.
 - Legacy-Id: 6536
2013-10-29 22:30:38 +00:00
Henrik Levkowetz e89a272661 Changed the path to iCalendar vtimezone information to point into the release
directory, so that we can make updated vtimezone information available
directly in a release, instead of out-of-band.
 - Legacy-Id: 6535
2013-10-29 22:25:36 +00:00
Henrik Levkowetz 2e6fa148f3 Tweaked the testurl diff output text.
- Legacy-Id: 6534
2013-10-29 22:22:54 +00:00
Henrik Levkowetz bf75cd1bef Added a template filter to do required escaping in iCalendar pages.
- Legacy-Id: 6533
2013-10-29 22:20:51 +00:00
Henrik Levkowetz 04e3a48ae0 Added links to the individual nominee fedback pages to the
private nomcom index page, in order to make it easier to find
and look at the feedback for a filtered set of nominees.
 - Legacy-Id: 6532
2013-10-29 14:55:56 +00:00
Henrik Levkowetz 93826ae094 Fixed the case where the urlpattern regexp match gives us an ext which is None.
- Legacy-Id: 6502
2013-10-27 23:04:02 +00:00
Henrik Levkowetz 16ae35ae19 Rewrote html and text agenda templates to take schedule as data.
- Legacy-Id: 6495
2013-10-27 12:16:37 +00:00
Henrik Levkowetz da8c38f55d Tweaked the display of testurl.list diff failures against known-good masters.
- Legacy-Id: 6494
2013-10-27 10:03:43 +00:00
Henrik Levkowetz d8e3e32ee7 Set TEMPLATE_STRING_TO_INVALID to '' during testing.
- Legacy-Id: 6493
2013-10-27 10:02:21 +00:00
Henrik Levkowetz 239fa9762c Tweaked the utility script to find missing submission confirmation emails.
- Legacy-Id: 6492
2013-10-26 18:10:30 +00:00
Henrik Levkowetz 6928ff2927 Correct sequence typo.
- Legacy-Id: 6491
2013-10-26 15:32:04 +00:00
Ole Laursen 52583aa850 Add extra newline, forgot to commit that with previous commit
- Legacy-Id: 6489
2013-10-25 13:55:49 +00:00
Ole Laursen d202c65835 Add tests of document placement in the agenda
- Legacy-Id: 6488
2013-10-25 12:54:39 +00:00
Ole Laursen 9842eef405 For no good reason, agenda_data took request as first parameter, remove this as it makes testing harder
- Legacy-Id: 6487
2013-10-25 12:53:54 +00:00
Robert Sparks 2a1b4c7775 Slightly more than minimal changes to have questionnaire reminders go only to those nominees who have accepted but have not yet sent in a questionnaire for a given position
- Legacy-Id: 6486
2013-10-23 20:45:11 +00:00
Henrik Levkowetz e27e4dbb1f Changed the 'pipe' utility to work with commands taking input
on standard in, also when providing an emtpy string as input.
This is now different from providing 'None' as the input
argument, or omitting it.
 - Legacy-Id: 6485
2013-10-23 20:45:07 +00:00
Henrik Levkowetz 3863b0def3 Added another state to the possible IETFWG states in the group proxy models file, to avoid exceptions.
- Legacy-Id: 6484
2013-10-23 05:51:04 +00:00
Henrik Levkowetz 2dcb9bc39d Removed the ams_filters template tag file from the meeting app -- it was a copy of the ams_filters under secr/, and masked it.
- Legacy-Id: 6481
2013-10-22 19:01:18 +00:00
Henrik Levkowetz e3cf47d6ef Set version info and settings back to development mode
- Legacy-Id: 6480
2013-10-21 22:19:47 +00:00
Henrik Levkowetz 8c87d60c51 Set version info to release version 4.81 before branching.
- Legacy-Id: 6478
2013-10-21 22:19:43 +00:00
Henrik Levkowetz 56953d8027 Tweaked the email line lengths in the data migration.
- Legacy-Id: 6476
2013-10-21 22:09:59 +00:00
Henrik Levkowetz e3eeee53fb Renumbered unapplied migration.
- Legacy-Id: 6475
2013-10-21 21:51:21 +00:00
Henrik Levkowetz edcc97aded Merged in branch/amsl/1.50@6388 from rcross@amsl.com, with secretariat tool
announcement fixes, permission fixes, and agenda database schema fixes.
 - Legacy-Id: 6473
2013-10-21 20:29:15 +00:00
Henrik Levkowetz a7db9eec43 Require logins to be all-lowercase. This was prompted by repeated
trouble with people registering non-lowercase logins, then trying to
log in with all-lowercase, or vice versa.
 - Legacy-Id: 6472
2013-10-21 20:26:03 +00:00
Henrik Levkowetz d649fd5e10 Merged [6465] and [6466] from rjsparks@nostrum.com:
Added the ability to send reminders to complete questionnaires to nominees in
the accepted state.  Changed the send_reminders management command to not take
any arguments and run against all active nomcoms.  Removed bugs from the
send_reminders management command and added tests for it.  Adjusted several
dbtemplate titles and content.

Fixes bug 1157
 - Legacy-Id: 6471
Note: SVN reference [6465] has been migrated to Git commit 22f356434a

Note: SVN reference [6466] has been migrated to Git commit a461e6c4a4
2013-10-21 20:12:00 +00:00
Henrik Levkowetz 47071ecade Merged [6468] and [6469] from ejimenez@yaco.es:
Now incumbent can be None in positions.
Fixes #1156.
 - Legacy-Id: 6470
Note: SVN reference [6468] has been migrated to Git commit d4e37ac7a0d7fddc0317b0d95670a8de8cd32c2d

Note: SVN reference [6469] has been migrated to Git commit 0a315723ad6dd610d0c17e78edce2027b6868d4e
2013-10-21 17:07:09 +00:00
Robert Sparks a461e6c4a4 Missed adding the new migrations to the last commit - apologies
Commit ready to merge
 - Legacy-Id: 6466
2013-10-18 16:10:44 +00:00
Robert Sparks 22f356434a Added the ability to send reminders to complete questionnaires to nominees in the accepted state.
Changed the send_reminders management command to not take any arguments and run against all active nomcoms.
Removed bugs from the send_reminders management command and added tests for it.
Adjusted several dbtemplate titles and content.

Fixes bug 1157

Commit ready for merge
 - Legacy-Id: 6465
2013-10-18 16:08:37 +00:00
Henrik Levkowetz 11230a8448 Let Timeslot.session() Return the first session, rather than none, for
timeslots with multiple associated sessions for the public schedule.
 - Legacy-Id: 6464
2013-10-18 12:15:46 +00:00
Henrik Levkowetz 819b4c6087 Made the timeslots returned from meeting.proxy.MeetingTimeProxy.sessions()
distinct, to avoid duplicate agenda entries.
 - Legacy-Id: 6463
2013-10-18 12:14:26 +00:00
Henrik Levkowetz e9980b483f Made the timeslots sent to the agenda.ics template distinct, to avoid
duplicate agenda items.  Fixes issue #1155.
 - Legacy-Id: 6462
2013-10-18 11:59:15 +00:00
Henrik Levkowetz ee1ae839d9 Added caching for the somewhat costly TimeSlot.session() method/property.
This speeds up text agenda generation using the legacy template substantially.
 - Legacy-Id: 6461
2013-10-17 11:32:27 +00:00
Henrik Levkowetz a23d31677f Tweaked the strings displayed when a plenary agenda cannot be shown.
- Legacy-Id: 6460
2013-10-17 11:28:29 +00:00
Henrik Levkowetz 5807ad2108 Changed the select statement in MeetingProxy.sessions() to produce correct
results for the official agenda, and filter out timeslot entries without
scheduled sessions.
 - Legacy-Id: 6459
2013-10-17 11:27:45 +00:00
Henrik Levkowetz d2d532a015 Removed ADs from known-good master to match template change.
- Legacy-Id: 6457
2013-10-17 11:22:40 +00:00
Henrik Levkowetz 5614562b19 Remove the AD information from the text agenda until we fix the database so that
it displays consistently correctly for past meetings.
 - Legacy-Id: 6456
2013-10-17 11:20:23 +00:00
Ole Laursen 10dceef26d Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen de2ed527b4 Fix indentation problem with ballot writeup in Secretariat telechat tool and fix problem with unescaped << and >>
- Legacy-Id: 6453
2013-10-16 12:04:27 +00:00
Henrik Levkowetz e33fe28a2c Reverted to release 4.72 versions of several functions and methods, starting
with agenda_info() and the view functions that use it.  Also changed
meeting/tests/agenda.py to accept matching return values.  Reverted old
supporting models and proxy models to 4.72 versions, too, in meeting/proxy.py
and proceedings/models.py.  Updated the proxy models which rely on TimeSlot
to work properly with the m2m sessions field, and adjusted some other
functions, such as session_agenda() to also understand the m2m sessions
field (and its reverse).  Added an understanding of the "bof-conc" state
to the code which returns 'BOF' or 'WG' for agenda templates.
 - Legacy-Id: 6452
2013-10-15 17:54:42 +00:00
Henrik Levkowetz ff403d07ef Reverted to release 4.72 versions of txt, ics, and csv agendas, with minor tweaks.
- Legacy-Id: 6451
2013-10-15 17:45:55 +00:00
Henrik Levkowetz 65d505edf3 Fixed some bugs in the method which saves a copy of a page which failed a
testurl diff test.
 - Legacy-Id: 6450
2013-10-15 17:37:30 +00:00
Henrik Levkowetz 6a9e9dac55 Changed 'WG' to 'BOF' for some sessions that actually were BOF sessions
in the csv agenda test master.
 - Legacy-Id: 6449
2013-10-15 17:34:54 +00:00
Henrik Levkowetz dfe81e6882 Add setting for where to save files which fail urltest diffs.
- Legacy-Id: 6448
2013-10-14 18:39:33 +00:00
Henrik Levkowetz b951a187a7 If we have a diff with a known-good master in a testurl.list file, save the
failed file for inspection.
 - Legacy-Id: 6447
2013-10-14 18:38:13 +00:00
Henrik Levkowetz bc0e4e5614 Tweaked the makefixture command to not recurse on reverse relationships.
- Legacy-Id: 6446
2013-10-14 18:36:20 +00:00
Henrik Levkowetz 6f6f1d65e6 Added known-good tests for agenda.ics and agenda.csv
- Legacy-Id: 6445
2013-10-14 18:34:36 +00:00
Henrik Levkowetz e5c5d4cafa Tweaked the return handling for urltest diffs.
- Legacy-Id: 6444
2013-10-13 23:43:50 +00:00
Henrik Levkowetz b5ac288167 Removed a test with duplicated name. Invoked timeslot method as method, to align with removed @property decorator.
- Legacy-Id: 6443
2013-10-13 21:14:46 +00:00
Henrik Levkowetz 036f31a397 Removed the agenda=83.txt test for real this time.
- Legacy-Id: 6442
2013-10-13 21:13:14 +00:00
Henrik Levkowetz ec05016585 Added a test assertion in the case of a failed urltest diff, to have the
test noticed as failed.
 - Legacy-Id: 6441
2013-10-13 21:12:23 +00:00
Henrik Levkowetz 7d4b1656bb Changed a test which changed a WG acronym, since this will (and should)
fail now -- we don't want to permit acronym changes.
 - Legacy-Id: 6440
2013-10-13 21:11:10 +00:00
Henrik Levkowetz a7838d8765 Cleanup action: replaced screaming html id with non-screaming version;
replaced the noTable block construct with start/end table_content blocks
in order to not have to open and close tables in different blocks, and
not have empty tables lying about.
 - Legacy-Id: 6439
2013-10-13 21:09:32 +00:00
Henrik Levkowetz 6d28eb180e Replaced the handcoded agenda-83.txt test with one using the testurl
framework, moving the known-good master to a name matching the others
mentioned in testurl.list.
 - Legacy-Id: 6438
2013-10-13 20:41:12 +00:00
Henrik Levkowetz e516dc7925 Reinstated the release 4.72 get_agenda_info() as legacy_get_agenda_info(),
and tweaked it to work with the new Timeslot model's sessions field.
Reverted the html agenda view code to use legacy_get_agenda_info(), based
on the release 4.72 code.  This is a fix to display the html agenda for
now, and will need more cleanup, but this should be done without introducing
scheduledsession instances to the template.
 - Legacy-Id: 6437
2013-10-13 17:59:42 +00:00
Henrik Levkowetz 9be2f712b8 Added a property method to return what the 'session' field used to return,
but based on the 'sessions' m2m field filtered with the meeting agenda.
This is right for the main meeting agenda, but not for personal schedule
layouts, so this isn't a final fix.
 - Legacy-Id: 6436
2013-10-13 17:54:59 +00:00
Henrik Levkowetz d3983b668a Reverted html agenda templates to release 4.72 state, except for a jquery
version change and moving inline weekview javascript to a separate file.
 - Legacy-Id: 6435
2013-10-13 17:52:09 +00:00
Henrik Levkowetz 256e033be3 Add known-good files for agenda.html and agenda-utc.html, and update
testurl.list to do comparisons against those.  Some tweaks are still
needed to filter out versions strings, etc.
 - Legacy-Id: 6434
2013-10-13 17:47:52 +00:00
Henrik Levkowetz 90e95e6f15 Repurpose the 'master' column in testurl.list files to point to a local
known-good master file, for comparisons.
 - Legacy-Id: 6433
2013-10-13 17:46:19 +00:00
Henrik Levkowetz 390309412f Changed the WG edit form so that once an acronym has been set, the acronym
field is read-only; also changed the form validation to not permit changes
to an existing acronym.
 - Legacy-Id: 6432
2013-10-12 15:33:54 +00:00
Henrik Levkowetz 422e5a438e Changed NOMCOM_FROM_EMAIL to be the Nomcom chair instead of the secretariat. Fixes issue #1152.
- Legacy-Id: 6431
2013-10-11 20:20:48 +00:00
Ole Laursen ec7e01481d Fix a potential bug with milestones_needing_review and ad-less groups
- Legacy-Id: 6430
2013-10-11 14:50:30 +00:00
Ole Laursen 87aaf4a47e Remove unused idtracker import from iesg/models.py
- Legacy-Id: 6429
2013-10-11 14:38:50 +00:00
Ole Laursen a17c07f282 Remove unused fixtures/sieve-charter.txt
- Legacy-Id: 6428
2013-10-11 14:37:11 +00:00
Ole Laursen 5f337e3c70 Remove obsolete testurl.list tests from IESG, the tests in
iesg/tests.py together with the test crawler has better coverage
 - Legacy-Id: 6427
2013-10-11 14:35:30 +00:00
Ole Laursen 5cf8d5af6a Area_Director -> Area Director in left_menu.html
- Legacy-Id: 6426
2013-10-11 14:33:46 +00:00
Ole Laursen b24a20d328 Add test for /iesg/discusses/
- Legacy-Id: 6425
2013-10-11 14:31:50 +00:00
Ole Laursen 1c8c87f88a Remove search for "IESG has approved and state has been changed to"
from state change doc event searches, these have been split up by a
migration and no longer exist
 - Legacy-Id: 6424
2013-10-11 13:19:07 +00:00
Ole Laursen 75a2c9ba0d Remove idwrapper compatibility code from ballot_icon.py
- Legacy-Id: 6423
2013-10-11 13:17:32 +00:00
Ole Laursen b3ed153015 Get rid of old in_group template tag, it's been superseded by has_role
- Legacy-Id: 6422
2013-10-11 13:13:23 +00:00
Ole Laursen b63c622564 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6421
2013-10-11 13:07:16 +00:00
Ole Laursen b6c4f725b9 Fix accidental debug slicing in IESG discusses - of note is that the
discusses page now supports more than just I-Ds
 - Legacy-Id: 6420
2013-10-11 13:06:38 +00:00
Ole Laursen dcfe368f74 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6419
2013-10-11 13:05:33 +00:00
Ole Laursen 1975ff27d0 Port IESG discusses to new schema
- Legacy-Id: 6418
2013-10-11 13:03:40 +00:00
Henrik Levkowetz 697dcc450a If an exception is raised earlier in field validation, the
position field may not be set when we get to this point and
try to retrieve the value of a different field than the one
we're processing. Don't cause a new exception in that case.
 - Legacy-Id: 6416
2013-10-11 12:31:50 +00:00
Henrik Levkowetz 3e668a1bca Merged [6413] from rjsparks@nostrum.com:
Removed redundant call to not_duplicated from the nomcom/private_index template

It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151.
 - Legacy-Id: 6415
Note: SVN reference [6413] has been migrated to Git commit 3814b60c5d
2013-10-11 02:17:43 +00:00
Henrik Levkowetz e24f97550c Added Ryan to the admin list so he'll get 500 notifications.
- Legacy-Id: 6414
2013-10-11 02:11:33 +00:00
Robert Sparks 3814b60c5d Removed redundant call to not_duplicated from the nomcom/private_index template
It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151

Commit ready for merge
 - Legacy-Id: 6413
2013-10-10 20:59:06 +00:00
Ole Laursen f6ff2a8082 Delete all old WGAction stuff, it's superceded by the WG charter
support, clean up iesg/models.py a bit
 - Legacy-Id: 6411
2013-10-10 16:12:34 +00:00
Ole Laursen 77aa4723bf Use the right path for other document types in
/iesg/agenda/telechat-YYYY-MM-DD-docs.tgz which now as a side-effect
of the port can bundle more than just drafts
 - Legacy-Id: 6410
2013-10-10 15:57:00 +00:00
Ole Laursen bfde86f52b Add support for status change in Document.get_file_path, ideally
someone would clean up the directory structure and we would transition
to something simpler
 - Legacy-Id: 6409
2013-10-10 15:54:32 +00:00
Ole Laursen 72cc997151 Add test for /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz
- Legacy-Id: 6408
2013-10-10 15:53:24 +00:00
Ole Laursen 21b32e72a3 Port /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz, use tarfile.addfile
and StringIO to avoid the temporary file
 - Legacy-Id: 6407
2013-10-10 11:12:13 +00:00
Ole Laursen a81af95500 Add simple test for /iesg/agenda/documents/
- Legacy-Id: 6406
2013-10-10 10:38:59 +00:00
Ole Laursen 0860342e34 Port /iesg/agenda/documents/ to new schema, fix problem with rows
being colored for ADs with their position even if a ballot icon is not
shown (issue #1128)
 - Legacy-Id: 6405
2013-10-10 10:31:28 +00:00
Ole Laursen a728468711 Fix some problems highlighted by the tests, making the code a bit more
robust in case of unexpected data
 - Legacy-Id: 6402
2013-10-09 16:28:36 +00:00
Ole Laursen bb952fa281 Add test for agenda_documents_txt
- Legacy-Id: 6401
2013-10-09 16:27:36 +00:00
Ole Laursen 516a5fcc92 Port /iesg/agenda/documents.txt to new schema, compose the table in
Python instead of using a template to make the code easier to read
 - Legacy-Id: 6400
2013-10-09 15:55:45 +00:00
Ole Laursen 53c59e56e3 Remove vary_on_cookie on agenda view, it's not needed anymore, Django
already adds the vary: cookie header automatically
 - Legacy-Id: 6399
2013-10-09 12:55:28 +00:00
Ole Laursen be9fd53d55 Remove the ?private thing in /iesg/agenda/, the only use of it appears
to be agenda_package.txt and that file already includes the links that
are enabled by the flag - perhaps it predates the user modeling that
allows ADs and Secretariat to see the links
 - Legacy-Id: 6398
2013-10-09 12:53:13 +00:00
Ole Laursen b99cf963ae Move /iesg/milestones to /iesg/milestones/, apparently the URL (by accident) didn't include the ending slash
- Legacy-Id: 6397
2013-10-09 12:43:45 +00:00
Ole Laursen 55c7c69679 Remove unused secr/ copy of agenda outline template (from iesg/)
- Legacy-Id: 6396
2013-10-09 12:41:59 +00:00
Ole Laursen bd34270cbc Port IESG agenda pages to new schema, add tests for them, move agenda
utilities to agenda.py, fix a couple of things, remove obsolete test
versions of agenda view, add support for viewing future IESG agendas
through /agenda/YYYY-MM-DD/* (useful when testing)
 - Legacy-Id: 6395
2013-10-09 12:40:42 +00:00
Ole Laursen 53ec62a5c9 Fix a bug in the Secretariat telechat menu, "232" -> "s232"
- Legacy-Id: 6394
2013-10-09 12:16:14 +00:00
Henrik Levkowetz 5b003d3842 Missing import in nomcom file.
- Legacy-Id: 6393
2013-10-09 08:37:09 +00:00
Henrik Levkowetz bb148003b5 Fixed the plenary display code for the text agenda to use the non-proxy plenary information to identify the plenaries, matching other previous changes from the agenda branch.
- Legacy-Id: 6383
2013-10-08 06:42:53 +00:00
Ole Laursen 11f3efdec7 Add test of ReviewDecisions
- Legacy-Id: 6380
2013-10-07 17:56:29 +00:00
Henrik Levkowetz dbc17624f8 Added a break_info() model on Timeslot. Fixes the missing breaks on the
text agenda.
 - Legacy-Id: 6376
2013-10-04 21:49:52 +00:00
Henrik Levkowetz f95b2795fe Putting a place a known-good text version of the agenda for meeting 83. This
is the way it should look.  If something else is produced, it's not right.
The order of sessions on this agenda is sorted first on area on then on
acronym.  This is the known good agenda.
 - Legacy-Id: 6375
2013-10-04 21:18:47 +00:00
Henrik Levkowetz 8561e9c2d8 Removed unwanted Http403 exception.
- Legacy-Id: 6374
2013-10-04 20:46:08 +00:00
Henrik Levkowetz 799c8c8f69 Fixed the agenda-utc test to be insensitive to the release number.
- Legacy-Id: 6373
2013-10-04 20:43:46 +00:00
Henrik Levkowetz da1cf81bf7 Fixed the return value assigment from agenda_info() in cvs_agenda()
- Legacy-Id: 6372
2013-10-04 20:41:02 +00:00
Henrik Levkowetz e2134a67a2 Rename agendaREDESIGN.ics -> agenda.ics. The old agenda.ics file isn't in use
any more.
 - Legacy-Id: 6370
2013-10-04 18:47:20 +00:00
Henrik Levkowetz 83cab39be7 Added a RoomAdmin to the admin site.
- Legacy-Id: 6369
2013-10-04 18:08:09 +00:00
Henrik Levkowetz 03a79d4736 Merged [6363] from mcr@sandelman.ca: Don't include timeslots marked
'unavailable' in the agenda.
 - Legacy-Id: 6365
Note: SVN reference [6363] has been migrated to Git commit 8de0d8a0c8814059b153e96929220bed6cb46e2c
2013-10-04 14:07:13 +00:00
Henrik Levkowetz e87ba2d869 Added ordering ('-date') to the Meeting model
- Legacy-Id: 6364
2013-10-04 14:03:12 +00:00
Henrik Levkowetz 3020c5f7eb Imported a new version of the draft metadata extraction module, which
calculates page numbers more reliably, doesn't include duplicates in
the list of referenced drafts, and other minor tweaks.
 - Legacy-Id: 6362
2013-10-04 13:50:14 +00:00
Robert Sparks 7c4cf7002f Allow the secretariat and ads to change the title of a status change document.
Fixes bug 1141
Commit ready to merge.
 - Legacy-Id: 6361
2013-10-03 22:36:57 +00:00
Robert Sparks faabcb8328 Send email to the secretariat when a status change document is put directly into the last-call-requested state.
Fixes bug 1139.

Commit ready for merge.
 - Legacy-Id: 6359
2013-10-03 21:58:42 +00:00
Henrik Levkowetz 6c13e8027b Fixed the language in some UI strings in the nomcom tool.
- Legacy-Id: 6358
2013-10-03 20:56:59 +00:00
Henrik Levkowetz ed891d23d0 Set version info and settings back to development mode
- Legacy-Id: 6355
2013-10-03 14:22:46 +00:00
Henrik Levkowetz d256693205 Set version info to release version 4.80 before branching.
- Legacy-Id: 6353
2013-10-03 14:22:42 +00:00
Henrik Levkowetz 212ff26fad Reverted a mistake in agenda.html.
- Legacy-Id: 6351
2013-10-03 14:22:29 +00:00
Henrik Levkowetz 807ea25e3c Removed some debug statements.
- Legacy-Id: 6350
2013-10-03 14:20:14 +00:00
Henrik Levkowetz c78be852a5 Added a new WG (ietf stream) tag slug.
- Legacy-Id: 6349
2013-10-03 11:48:56 +00:00
Ole Laursen 5fe7ce62ff Add timeframe to IESG Review Decisions page
- Legacy-Id: 6348
2013-10-03 11:41:47 +00:00
Henrik Levkowetz cc8817846a Applied the same patch to other templates which use the same approach. Fixed 2 typos.
- Legacy-Id: 6347
2013-10-03 05:40:41 +00:00
Henrik Levkowetz ca81ed0840 Moved script loading inside {% block scripts %}. Patch from rjsparks@nostrum.com.
- Legacy-Id: 6346
2013-10-03 05:11:43 +00:00
Henrik Levkowetz a3c8adfdf6 Merged in the contents of commit [6337] from mcr@sandelman.ca, with some changes to take out dead code that inadvertently came back in.
- Legacy-Id: 6344
Note: SVN reference [6337] has been migrated to Git commit d0d1d949a9328da6c4e30d8f5e0d14ffb204e678
2013-10-02 21:53:28 +00:00
Ole Laursen 43d4017891 Get rid of some unnecessary queries on IESG review decision page, fix
a couple of issues in the layout
 - Legacy-Id: 6343
2013-10-02 15:50:29 +00:00
Henrik Levkowetz 08e90fd63f Enabling jquery again in template base.html. Moving library pack jquery-1.8.2 from /static/js/ to /static/js/lib/. Replacing jquery-1.5.1 with 1.8.2 in some places; the incompatibilities listed on the jquery pages seem to be small, and on a cursory inspection not present in the current usage.
- Legacy-Id: 6342
2013-10-02 15:44:50 +00:00
Ole Laursen 66e2503e89 Add db_index on DocEvent.time to speed up queries on historical data
- Legacy-Id: 6341
2013-10-02 15:38:26 +00:00
Ole Laursen b552ff31aa Replace the announcement pages with a new page collecting all IESG
review decisions. Add migration to split up iesg_approve/disapprove
events of the form "IESG has approved ... and state has been changed
..." into the approve/disapprove event and a synthesized state change
event. Also regularize the descriptions a bit. This simplifies the
code in the new page.
 - Legacy-Id: 6340
2013-10-02 15:37:44 +00:00
Henrik Levkowetz fada6fdfc9 Provide the site_base_url to the template without a trailing slash, for easier use in javascript.
- Legacy-Id: 6339
2013-10-02 14:11:30 +00:00
Henrik Levkowetz 342bc5bf96 Merged in the merge work branch personal/henrik/r6270 which provides the agenda scheduling tool step 3, from a merge of branch/ssw/agenda/v4.70 from mcr@sandelman.ca; and also substantial fixes to the test framework, and more.
- Legacy-Id: 6328
2013-10-01 13:53:05 +00:00
Henrik Levkowetz d2df8cac78 Fixed the manyfold duplicated position names in the position selection drop-down list in the nomcom private index page. Fixes issue #1137.
- Legacy-Id: 6327
2013-10-01 13:42:30 +00:00
Henrik Levkowetz 983785d63c Fixed a typo.
- Legacy-Id: 6326
2013-09-30 21:00:12 +00:00
Henrik Levkowetz 87898cb006 Updated the text agenda comparison copy to match the ADs present in the fixtures.
- Legacy-Id: 6325
2013-09-30 20:50:32 +00:00
Henrik Levkowetz 3d158d1891 Renamed person.json fixture to persons.json
- Legacy-Id: 6324
2013-09-30 20:49:11 +00:00
Henrik Levkowetz c6739bbb4f Modified testurl.list for meetings; there were some URLs that could not succeed with the current database content (the URL tests are running against database content taken from the production database, so this is not a case of missing fixtures).
- Legacy-Id: 6322
2013-09-30 20:40:02 +00:00
Henrik Levkowetz 18445123aa Made the setting for use of InnoDB for testing default. Added a setting for global test fixtures. Added ietf.utils to the app list to capture the makefixture management command.
- Legacy-Id: 6321
2013-09-30 20:38:06 +00:00
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +00:00
Henrik Levkowetz 4395949b85 Fixed up to use perma_fixtures instead of fixtures. Changed diff of html-agenda so it disregards the changing datatracker version information embedded in the html file. Changed dumping of agenda page results to file to not use a code constant, but instead happen if the test fails. Added an announcement of this to the test exception string.
- Legacy-Id: 6319
2013-09-30 20:29:11 +00:00
Henrik Levkowetz a07f47a4a0 Added a new TestCase class, subclassing django.test.TestCase, in order to
be able to add fixtures once and for all for all tests, instead of loading
them again and again for each test, if running on a database that supports
transaction rollbacks.  In this case, fixtures specified in the perma_fixtures
class attribute will be loaded permanently, and not re-loaded.  Fixtures
specifice as before, in a fixtures class attribute, will be treated as
before.

The downside of this is that as fixtures are loaded and not unloaded, they
can conflict with each other.  The requirements on consistency becomes much
greater.  The effect of this has been to require quite a bit of changes to
the simplified creations of various objects in make_test_data() in cases
where identically named objects occur in fixtures.  Where completely
fictitious objects are created, no conflicts appear.

Also re-wrote parts of test_runner.py to permit global fixtures, loaded
before any tests are run and shared by all.
 - Legacy-Id: 6318
2013-09-30 20:22:24 +00:00
Henrik Levkowetz 4805b4b12e Updated fixtures, built to be more internally consistent in order to be able to pre-load them for the test suite.
- Legacy-Id: 6317
2013-09-30 19:02:53 +00:00
Henrik Levkowetz b335ef3b5c Imported a newer version of makefixture from github. It handles reverse relationships in a less hackish way than my hack.
- Legacy-Id: 6314
2013-09-30 14:24:14 +00:00
Ole Laursen d9ccff1889 Get rid of the view behind /iesg/ann/0-9+/ (apparently for displaying
ballot text for drafts processed by the IESG) - it has not worked
since the switch to the new schema as it's based on the old numeric
primary keys which we no longer have
 - Legacy-Id: 6313
2013-09-30 12:49:08 +00:00
Ole Laursen 5c6ee01bf7 drafts -> docs in /feed/iesg-agenda/ since we're returning more than
just I-Ds, sort by latest first, limit to documents on current and
future telechats (as the description says) to speed it up, add simple
test of the feed
 - Legacy-Id: 6312
2013-09-30 12:17:38 +00:00
Ole Laursen 52febb2fc0 Fix spelling bug in global[e] test fixtures
- Legacy-Id: 6311
2013-09-30 12:17:15 +00:00
Henrik Levkowetz 4b568f8d22 Empty models.py, needed to make django look for management/commands/.
- Legacy-Id: 6310
2013-09-29 21:15:06 +00:00
Henrik Levkowetz 083f60dd93 Renamed model .url() methods to .json_url() or .base_url(), depending on function. Replaced the use of custom django method request.get_host_protocol() with standard request.build_absolute_uri(). Removed an uncaught Http403 exception. Fixed a typo /venus_addr/venue_addr/. Removed relurl() methods; no longer needed. Removed some debug functions.
- Legacy-Id: 6309
2013-09-29 21:14:07 +00:00
Henrik Levkowetz 127deda3c7 The supposedly known-good agenda-utc.html file was filled with '****** SOMETHING WENT WRONG ******', which is clearly wrong. This one is a bit better.
- Legacy-Id: 6308
2013-09-29 20:57:46 +00:00
Henrik Levkowetz 6e9e1930e2 Added a makefixture management command, from http://djangosnippets.org/snippets/918/, somewhat hacked.
- Legacy-Id: 6307
2013-09-29 20:50:51 +00:00
Ole Laursen c191a691e0 Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
 - Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Ole Laursen f13837ef5f Add support for global test fixtures to avoid loading them for all
tests
 - Legacy-Id: 6304
2013-09-29 17:32:52 +00:00
Ole Laursen 0c0c0c9194 Fix test fixture generation, it wasn't catching new name models not
ending in Name
 - Legacy-Id: 6303
2013-09-29 15:48:44 +00:00
Ole Laursen 37825f2e5e Save the test fixtures as JSON rather than XML, this seems to speed up
the tests by 10-15%
 - Legacy-Id: 6302
2013-09-29 13:31:10 +00:00
Ole Laursen 3701f2ac7d Use Role rather than Email when retrieving roles in wginfo - Role has
a link to both the email and the person (but didn't originally with
the new schema) so is better than the going through the email only, do
a couple of extra cleanups too while at it
 - Legacy-Id: 6301
2013-09-28 21:10:28 +00:00
Ole Laursen c419271d97 Remove (external) permissions app which has been obsolete since the move to the new schema
- Legacy-Id: 6300
2013-09-28 20:00:28 +00:00
Ole Laursen f7ad84ecb9 Remove (external) workflows app which has been obsolete since the move to the new schema
- Legacy-Id: 6299
2013-09-28 19:52:28 +00:00
Ole Laursen 050929a56d Remove ietfworkflows which is now obsolete
- Legacy-Id: 6297
2013-09-28 19:48:48 +00:00
Ole Laursen 8145d688de Remove references to ietfworkflows/urls.py
- Legacy-Id: 6296
2013-09-28 18:57:59 +00:00
Ole Laursen 74966fac88 Fix URL schema of change stream state to use the state type (to be
more in line with the IANA ones), remove debug output, link to the new
change state page from the draft main page
 - Legacy-Id: 6295
2013-09-28 18:54:43 +00:00
Henrik Levkowetz 92b9da1d4f Moved read_agenda_file() and session_draft_list() back to views.py. The move almost masked a code change in trunk during the merge.
- Legacy-Id: 6294
2013-09-28 05:42:49 +00:00
Henrik Levkowetz 26688aa2ec Changed back to standard TestCase to ensure confidence in tests. Removed duplicate tests. Adapted tests to new json_url() method signature. Corrected the /people/ urls to /person/.
- Legacy-Id: 6293
2013-09-28 05:35:17 +00:00
Henrik Levkowetz 72a19e2ab2 Fixed the on-and-off failing test_agenda83txt(), which gave inconsistent results because the datetime object given to the template to render had no timezone setting. Added a PRODUCTION_TIMEZONE setting, and used it to provide a consistent timezone to the agenda.txt template.
- Legacy-Id: 6292
2013-09-27 20:07:42 +00:00
Henrik Levkowetz 254d6f70dd Removed some debug statements.
- Legacy-Id: 6290
2013-09-27 17:32:35 +00:00
Ole Laursen 8c88bc5aec Rewrite change stream state page, moving it to doc/views_draft.py,
port associated tests, make the recommended next states clickable with
Javascript so a standard state change is just two clicks (next state
and save button)
 - Legacy-Id: 6288
2013-09-27 14:19:27 +00:00
Henrik Levkowetz 8e750a9b18 Revert changes to manage.py -- the intention with these changes was already taken care of with similar code further down.
- Legacy-Id: 6285
2013-09-26 21:55:14 +00:00
Henrik Levkowetz 7bb999e09e Undid gratuitous changes.
- Legacy-Id: 6284
2013-09-26 21:35:18 +00:00
Henrik Levkowetz 7876340a44 Undid gratuitous whitespace changes.
- Legacy-Id: 6283
2013-09-26 21:27:21 +00:00
Henrik Levkowetz ea9d075801 Undid gratuitous whitespace changes.
- Legacy-Id: 6282
2013-09-26 21:26:56 +00:00
Henrik Levkowetz 2f1edc3d68 Undid gratuitous whitespace changes.
- Legacy-Id: 6281
2013-09-26 21:20:41 +00:00
Henrik Levkowetz 321744b0b9 Undid gratuitous whitespace and quoting changes. This code is taken verbatim from an external source, as indicated at the beginning of the file, and should not be messed with unless we fix bugs.
- Legacy-Id: 6280
2013-09-26 21:10:41 +00:00
Henrik Levkowetz 2f890235de Undid gratuitous whitespace changes.
- Legacy-Id: 6279
2013-09-26 21:04:57 +00:00
Henrik Levkowetz be3cff19d1 Moved a migration from the merge forward to have the proper number for application.
- Legacy-Id: 6274
2013-09-26 19:57:36 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Ole Laursen f1e0be1033 Improve the stream state change email a bit, switch to using a
specific message for adoptions with the name of the WG/RG
 - Legacy-Id: 6270
2013-09-26 15:03:55 +00:00
Ole Laursen c508a5672d Reimplement WG/RG adoption of drafts with the new schema, move it to
doc/ together with test and utilities, rewrite the UI to be more in
line with the rest of the edit pages (including the revamped stream
state change UI)
 - Legacy-Id: 6269
2013-09-26 13:14:07 +00:00
Ole Laursen c760b48b38 Make streams_menu tag more robust in the face of "request" missing
from context, this would normally be an error but it can happen if a
404 is returned
 - Legacy-Id: 6268
2013-09-26 13:00:25 +00:00
Ole Laursen 56ea114e31 Fix missing parameter to is_rgdelegate
- Legacy-Id: 6267
2013-09-26 09:48:59 +00:00
Ole Laursen 5ba00a9362 Move stream views to views_stream.py
- Legacy-Id: 6266
2013-09-26 09:48:37 +00:00
Henrik Levkowetz 29eaaa9eda Tweaked the introductory text on the Desired Expertise page.
- Legacy-Id: 6265
2013-09-26 06:32:28 +00:00
Henrik Levkowetz 1dae75ee59 The exception string for submission upload read errors seems to have changed after we switched to wsgi, from "Client read error" to "request data read error". Now looking for just "read error".
- Legacy-Id: 6264
2013-09-26 06:29:28 +00:00
Henrik Levkowetz 0fcaefe29b Added an explanatory paragraph to the Desired Expertise page.
- Legacy-Id: 6263
2013-09-25 13:51:18 +00:00
Ole Laursen f0eddecf6b Add test for stream management page
- Legacy-Id: 6262
2013-09-25 11:43:23 +00:00
Henrik Levkowetz 08ea8c1b30 Fixed a wrong secretariat template extension name.
- Legacy-Id: 6260
2013-09-24 17:51:50 +00:00
Henrik Levkowetz 8d9c1e9177 Changed 'requirement' to 'desired expertise' in user-visible places in the nomcom app.
- Legacy-Id: 6259
2013-09-24 17:50:02 +00:00
Ole Laursen 525259a84f Remove unused ietfworkflows imports
- Legacy-Id: 6258
2013-09-24 17:34:20 +00:00
Ole Laursen 2e152bbc9c Fix naming bug in streams_menu template tag
- Legacy-Id: 6257
2013-09-24 17:32:41 +00:00
Ole Laursen 8bc5df166b Get rid of unused ietfworkflows import
- Legacy-Id: 6256
2013-09-24 17:28:43 +00:00
Ole Laursen 2d902e28d1 Add stream edit page for setting delegates instead of page in
ietfworkflows, add streams_menu template tag for outputting the
streams menu instead of the one in ietfworkflows, move
base_wgmenu.html and base_leftmenu.html templates to base/ (together
with base/streams_menu.html), get rid of "first" madness in
base/left_menu.html which is now obsolete anyway because we have a
Settings headline which is always first
 - Legacy-Id: 6255
2013-09-24 17:25:10 +00:00
Ole Laursen 5f6f966355 Add stream edit page for setting delegates
- Legacy-Id: 6254
2013-09-24 16:55:23 +00:00
Ole Laursen 210a90e0b4 Remove unused ietfworkflows import
- Legacy-Id: 6253
2013-09-24 16:53:23 +00:00
Henrik Levkowetz 85e7af3370 Added a development helper page.
- Legacy-Id: 6251
2013-09-23 19:27:38 +00:00
Henrik Levkowetz 5d9e6c0b6a Fixed the language of the nomination confirmation message.
- Legacy-Id: 6250
2013-09-23 19:27:17 +00:00
Ole Laursen 705322f4a1 Add a select_related to role extraction in wginfo to reduce number of
DB queries a bit
 - Legacy-Id: 6247
2013-09-23 10:47:34 +00:00
Henrik Levkowetz 86cf15cd9f Fixed some bugs in the EncryptedTextField class.
- Legacy-Id: 6246
2013-09-22 19:26:48 +00:00
Henrik Levkowetz 0016c69b61 Added an index page for nomcoms, at /nomcom/, with links to nomcom pages and announcements, where they exist.
- Legacy-Id: 6245
2013-09-22 18:59:24 +00:00
Ole Laursen b4988b2b45 Make IESG discusses use doc/search/status_columns.html with a quick hack to break dependency on ietfworkflows, remove now unused idrfc/status_columns.html, remove unused iesg/agenda_documents_row_status.html
- Legacy-Id: 6220
2013-09-20 15:55:28 +00:00
Ole Laursen 2e29298d0c Move group charter actions from box and button next to header up to an
edit menu under the ordinary group menu
 - Legacy-Id: 6219
2013-09-20 14:09:30 +00:00
Ole Laursen 5924024513 Swap the arguments to group.has_role so they match the arguments to
the existing has_role
 - Legacy-Id: 6218
2013-09-20 13:46:47 +00:00
Ole Laursen 0eed4ad9e5 Add has_role(role_name, user) utility to group, used like
group.has_role("chair", request.user). Remove the NomCom specific
group utilities, apparently they're not actually used.
 - Legacy-Id: 6217
2013-09-20 11:23:17 +00:00
Ole Laursen e1bd47b509 Add ietf. qualifier to settings import, this fixes a weird bug where
model files apparently get the wrong settings
 - Legacy-Id: 6216
2013-09-20 11:02:06 +00:00
Ole Laursen 019ca2ae03 Merge changes from attic/shimfree into new branch to complete rebasing shimfree on trunk
- Legacy-Id: 6215
2013-09-20 09:48:58 +00:00
Henrik Levkowetz c52efcae8c Set version info and settings back to development mode
- Legacy-Id: 6210
2013-09-19 19:31:46 +00:00
Henrik Levkowetz faf1917062 Set version info to release version 4.72 before branching.
- Legacy-Id: 6208
2013-09-19 19:31:44 +00:00
Henrik Levkowetz 32325fc762 Replaced the two AD document links with one pointing to the new view (under the old URL).
- Legacy-Id: 6206
2013-09-19 19:09:39 +00:00
Henrik Levkowetz 44a8eb207b Removed the old ad documents page, and it's view function, and put in a redirect from the temporary /ad2/ url to the /ad/ url.
- Legacy-Id: 6204
2013-09-19 18:24:23 +00:00
Henrik Levkowetz 23cdddf696 Added overview pages for non-ietf-stream documents (ise, iab, irtf).
- Legacy-Id: 6202
2013-09-19 18:21:16 +00:00
Henrik Levkowetz e09667122a Added the ability to search for documents from a certain stream to the main document search form.
- Legacy-Id: 6201
2013-09-19 18:16:10 +00:00
Ole Laursen a871d6e19e Remove wgchairs app, all of its functionality is now superceded by wginfo/ and other recent developments in doc/
- Legacy-Id: 6198
2013-09-19 15:22:59 +00:00
Ole Laursen 19fc7c14bc Increase contrast a bit for the customize buttons
- Legacy-Id: 6197
2013-09-19 15:19:12 +00:00
Ole Laursen 8ffecd8015 Clean up a couple of old-school tags in group edit template, add
link to account creation for personnel
 - Legacy-Id: 6196
2013-09-19 11:05:21 +00:00
Ole Laursen 81ba5ef959 Move delegate handling to group edit page (like other group
personnel), show group delegates in the charter page with the other
personnel
 - Legacy-Id: 6195
2013-09-19 11:04:31 +00:00
Ole Laursen 3562c5ef06 Rewrite slightly to avoid using wgchairs.accounts.get_person_for_user
- Legacy-Id: 6194
2013-09-19 11:02:24 +00:00
Ole Laursen f4761ba7c1 Get rid of unused wgchairs references
- Legacy-Id: 6193
2013-09-19 11:01:32 +00:00
Henrik Levkowetz 6460a7eef2 Updated the comment with the working Apache setting for a dev server.
- Legacy-Id: 6170
2013-09-18 20:31:57 +00:00
Henrik Levkowetz 80a19d6dfd Change the development url patterns to match the name change of static/secr to static/secretariat.
- Legacy-Id: 6169
2013-09-18 20:30:56 +00:00
Henrik Levkowetz d8074d39d3 Merged the latest secretariat code from rcross@amsl.com, from branch/amsl/trunkmerge@6149.
- Legacy-Id: 6168
2013-09-18 19:33:36 +00:00
Henrik Levkowetz da4177e1cd Rename the nomcom public keys path setting.
- Legacy-Id: 6166
2013-09-18 18:10:27 +00:00
Henrik Levkowetz 78a0fd7759 Added a dev-specific robots.txt, which blocks all robots.
- Legacy-Id: 6164
2013-09-18 17:44:51 +00:00
Henrik Levkowetz 68cea34e64 Fixed a typo in the WSGI connector.
- Legacy-Id: 6163
2013-09-18 17:43:38 +00:00
Henrik Levkowetz 11c1b0738a Cleaned up the ipr count code in doc/views_search.py a bit more.
- Legacy-Id: 6162
2013-09-18 17:43:09 +00:00
Henrik Levkowetz 641bcccfba Replaced the ad_hoc nomcom_member_required() decorator with our generic role_required() decorator. Changed access permission for nomcom-chair only pages to also permit nomcom advisor access (this lets the previous nomcom chair explain and assist as needed). Also tweaked some text strings in the email feedback pipe script.
- Legacy-Id: 6160
2013-09-16 21:05:25 +00:00
Henrik Levkowetz d60210484f Moved the nomcom private key storage out of the source tree, which is a silly place to put it.
- Legacy-Id: 6159
2013-09-16 21:00:07 +00:00
Henrik Levkowetz 11e56aa5b2 Modified the code which accumulates ipr disclosures associated with a document, shown as an IPR count in search results. The previous code had two deficiencies: it could count some IPR disclosures twice, and it also included withdrawn and pending disclosures. The current count matches the IPR search results better.
- Legacy-Id: 6158
2013-09-16 20:55:24 +00:00
Henrik Levkowetz dbda8e8c53 A WSGI connector for the datatracker, to let us run under mod_wsgi.
- Legacy-Id: 6157
2013-09-16 20:52:37 +00:00
Henrik Levkowetz 5033aba13e Cleaned upthe manage.py command changes a little bit.
- Legacy-Id: 6156
2013-09-16 20:51:00 +00:00
Henrik Levkowetz 4538ef7b0e Added Nomcom role suport to role_required() through has_role(). This will let us get rid of the more specialized ad_hoc nomcom_memeber_required() which can't handle access for multiple roles.
- Legacy-Id: 6155
2013-09-16 19:18:22 +00:00
Henrik Levkowetz 71f85f96c7 Merged in a fix from rjsparks@nostrum.com for incorrect IANA notification email addresses.
- Legacy-Id: 6152
2013-09-13 22:23:55 +00:00
Ryan Cross 4f98ac157c Revert to pre-agenda tool db schema. Change sec static files subdirectory to 'secretariat'. Branch ready for merge.
- Legacy-Id: 6148
2013-09-12 16:58:44 +00:00
Ole Laursen 570b757747 Move group workflow tests to wginfo
- Legacy-Id: 6147
2013-09-12 16:36:27 +00:00
Ole Laursen 5493f3c613 Fix missing import statement in for customize_workflow
- Legacy-Id: 6146
2013-09-12 16:36:10 +00:00
Ryan Cross 54ca99c1bf new version
- Legacy-Id: 6144
2013-09-11 22:08:12 +00:00
Ryan Cross ed745b457d fix bug where concluded BOFs showing in proceedings
- Legacy-Id: 6143
2013-09-11 17:35:10 +00:00
Ole Laursen 36d4710393 Fix styling of next states in workflow customization, replace "+" with
"+ customize"
 - Legacy-Id: 6142
2013-09-11 17:28:33 +00:00
Henrik Levkowetz a4fc386e2e Tweaked the template used to generate the various 1wg-charter*.txt files to properly fetch email addresses. Commit ready for merge.
- Legacy-Id: 6141
2013-09-11 12:51:33 +00:00
Ryan Cross 0d1c0b2db9 updates to announcements and groups view to match secretariat production branch
- Legacy-Id: 6140
2013-09-10 23:49:13 +00:00
Ole Laursen 8657e4fd08 Redirect when POSTing on workflow customization page to prevent the
history from filling up with spam entries
 - Legacy-Id: 6138
2013-09-10 16:23:22 +00:00
Ole Laursen 9409814ada Fix missing import
- Legacy-Id: 6137
2013-09-10 16:22:11 +00:00
Ole Laursen 947345ecf2 Remove link to now obsolete shepherd pages, move manage workflow to
wginfo, fix a couple of oddities on the workflow page
 - Legacy-Id: 6136
2013-09-10 16:18:14 +00:00
Ole Laursen 95fdfb5d8a Add tags for streams to state help
- Legacy-Id: 6134
2013-09-10 16:15:18 +00:00
Ole Laursen 026ed3f8df Add statehelp template filter for outputting a little help icon for a
state with a tooltip and link to the description
 - Legacy-Id: 6133
2013-09-10 16:13:59 +00:00
Henrik Levkowetz 19b7bc1d60 Fixed an issue when trying to edit a document state when there's no prior state, and removed the link to edit the document state when there's no set state.
- Legacy-Id: 6132
2013-09-10 15:46:46 +00:00
Henrik Levkowetz a132e6720a Fixed 2 issues with the wg document list: Wrong heading for the related docs, and candidate wg docs listed as wg docs, rather than related docs.
- Legacy-Id: 6130
2013-09-10 15:43:17 +00:00
Ryan Cross 62f83fc67d changes to support datatracker v4.71
- Legacy-Id: 6129
2013-09-09 22:26:14 +00:00
Henrik Levkowetz a14808255b Migration for new ConstraintName field: penalty
- Legacy-Id: 6127
2013-09-09 20:55:59 +00:00
Henrik Levkowetz db7106a70c Fixed legacy document fieldname.
- Legacy-Id: 6126
2013-09-09 20:54:56 +00:00
Henrik Levkowetz 78a76c8b07 Set version info and settings back to development mode
- Legacy-Id: 6124
2013-09-09 19:41:37 +00:00
Henrik Levkowetz fa33dbbc87 Set version info to release version 4.71 before branching.
- Legacy-Id: 6122
2013-09-09 19:41:03 +00:00
Henrik Levkowetz 9dc13aa8f2 Merged in personal/rjs/r6117-pubreq:
- Made Publication Request (for documents from IETF working groups) an
  explicit action rather than a side-effect.

- Simplified the working group state edit form.

- Added hints to the WG state edit form to use the document's main page to
  request publication.

- If a document is moved into IESG processing directly by the secretariat or
  an AD (old processing path), set working group state accordingly.
 - Legacy-Id: 6120
2013-09-09 19:29:56 +00:00
Robert Sparks 63139ab860 Made Publication Request (for documents from IETF working groups) an explicit action rather than a side-effect.
Simplified the working group state edit form.
Added hints to the WG state edit form to use the document's main page to request publication.
If a document is moved into IESG processing directly by the secretariat or an AD (old processing path), set working group state accordingly.
 - Legacy-Id: 6119
2013-09-09 18:25:44 +00:00
Henrik Levkowetz 2a2389d17f Merged in branch/iola/shimfree@6083. This cleans up and moves relevant code from idrfc/ to doc/. There should now only be a bit of old wrapper code left in idrfc; that will go away when the remaining models which use it are cleaned up.
- Legacy-Id: 6117
2013-09-09 17:45:36 +00:00
Ole Laursen 5a3cccce7c Fix subtle is_chair bug and construct group_documents_txt state names
directly from state instead of using search headings
 - Legacy-Id: 6113
2013-09-09 16:46:34 +00:00
Henrik Levkowetz c93e5cc914 Fixed the manage command so it adds our own import path to the Python path automatically.
- Legacy-Id: 6112
2013-09-09 15:31:10 +00:00
Ole Laursen 3f9327eefe Fix crash bug in /wg/<bofname>/charter/ page for BOFs
- Legacy-Id: 6092
2013-09-06 22:38:57 +00:00
Henrik Levkowetz 0a45268915 Applied patch from rjsparks@nostrum.com to fix a line colouring bug in IPR lists.
- Legacy-Id: 6090
2013-09-06 19:19:47 +00:00
Ole Laursen b4feab127a Add basic tests for the information pages in wginfo
- Legacy-Id: 6089
2013-09-05 22:08:11 +00:00
Henrik Levkowetz 808343d06b Fixed regression: wrong URL to IESG state diagram in state help. Fixes issue #1119.
- Legacy-Id: 6088
2013-09-04 14:21:48 +00:00
Ole Laursen 459bbf39e0 Fix spelling mistake
- Legacy-Id: 6087
2013-09-04 08:44:50 +00:00
Ole Laursen 6d17ab8015 Port wginfo/ to new schema, delete some dead code. Missing tests and
still a little bit of cruft left from views in other modules.
 - Legacy-Id: 6084
2013-09-03 16:51:22 +00:00
Henrik Levkowetz 38b0a59ba3 Merged personal/rjs/v4.70@6042:
* Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.

  * Brought search results against WGs and document titles into consistency with results from searching for individual documents

  * Added the IPR count to the link on the documents main page (when not zero)

  * Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias? lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument? objects.

  * Added getting the DocAlias? with the same name to Document

  * Added getting related IPR disclosures (as described in the first bullet) to Document

  * Simplified ipr/related.py

  * Removed the use of DraftLikeDocAlias? and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias? and IprDocAlias? directly.

  * Removed dead code from ipr/search.py

  * Removed the special handling of WG 2000 from ipr/search.py 

  This fixes bug #1071
 - Legacy-Id: 6083
2013-09-02 18:34:54 +00:00
Henrik Levkowetz d6471397ef Fixed bug in previous commit, for case where iesg_state is None.
- Legacy-Id: 6082
2013-08-30 12:32:11 +00:00
Henrik Levkowetz ffb4581008 Fixed regression in display of IESG state; added back substate information. Fixes issue #1117.
- Legacy-Id: 6081
2013-08-30 12:21:36 +00:00
Henrik Levkowetz d85e0ae2de Added template rendering verification on dbtemplate form submission in order to catch errors in edited templates before they are committed. This should prevent server 500 errors when rendering dbtemplate pages. Fixes issue #1113.
- Legacy-Id: 6079
2013-08-28 12:50:17 +00:00
Henrik Levkowetz 84a07d7151 Selectively removed the agenda and minutes warnings from the meeting materials page, for educational sessions where agenda and minutes aren't expected. Fixes issue #1115.
- Legacy-Id: 6078
2013-08-28 11:00:38 +00:00
Henrik Levkowetz 37e69a02c6 Changed the order of the files diffed in the draft diff links on the history page. Fixes issue #1114.
- Legacy-Id: 6077
2013-08-28 10:36:32 +00:00
Ryan Cross 24ffdb2d34 changes to IPR notification email
- Legacy-Id: 6076
2013-08-22 21:35:01 +00:00
Henrik Levkowetz ed020c8b8e Add Auto-Submitted and Precedence header fields to outgoing email messages.
- Legacy-Id: 6071
2013-08-17 15:33:56 +00:00
Ole Laursen 9b65f3be79 Found two more places where an IPR update is shown even if the
updating IPR is rejected, fix those
 - Legacy-Id: 6064
2013-08-15 11:34:20 +00:00
Ole Laursen a3f39aef3c Include referrer in test crawler crash reports, format the result like
a 500
 - Legacy-Id: 6063
2013-08-15 09:58:27 +00:00
Ole Laursen 023d02feb8 Apparently the session_draft_list fix was missing a .distinct(),
rewrite slightly to add that
 - Legacy-Id: 6062
2013-08-15 09:51:13 +00:00
Ole Laursen 31dc2ea1a4 Don't link to updates on IPR that has been rejected, fixes broken link
to IPR 1252
 - Legacy-Id: 6061
2013-08-15 08:56:35 +00:00
Ole Laursen c8f173f06e Rewrite reading the draft list from a group agenda to be less weird,
fixing problem when agenda file is not found, which turns up when
running the test-crawler on a test instance
 - Legacy-Id: 6060
2013-08-15 08:44:29 +00:00
Ole Laursen 722b2321be On charter doc page only generate link to /wg/ if the group is a WG,
not if it is an AG
 - Legacy-Id: 6059
2013-08-15 07:53:22 +00:00
Ole Laursen 4d54b94dac Fix state diagram link
- Legacy-Id: 6058
2013-08-14 16:29:04 +00:00
Ole Laursen 2a85572777 Add status-change to state_help framework, remove last traces of former framework
- Legacy-Id: 6057
2013-08-14 16:16:52 +00:00
Ole Laursen 0b1aabc64d Add extra exception trap to test crawler to output URL under test for None responses
- Legacy-Id: 6056
2013-08-14 16:15:42 +00:00
Ole Laursen c182d4e5e9 Return empty string instead of None in case an agenda file isn't read
correctly, fixes annoying problem with the test crawler
 - Legacy-Id: 6055
2013-08-14 15:48:17 +00:00
Ole Laursen 99d8e69f0b Remove idrfc/templatetags/
- Legacy-Id: 6054
2013-08-14 15:14:47 +00:00
Ole Laursen d2b9adf3cb Move ietf_filters templatetag from idtracker/ to doc/
- Legacy-Id: 6053
2013-08-14 15:11:24 +00:00
Ole Laursen 6ac0920af0 Move idrfc/ templates to doc/ and subdirectories in doc/, move ported ballot_icon template tag, delete dead code
- Legacy-Id: 6052
2013-08-14 14:10:46 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen 2cf79bb04c Move update_telechat from idrfc.utils to doc.utils, port remaining
code to using log_state_changed from doc.utils, remove idrfc/utils.py
 - Legacy-Id: 6050
2013-08-13 16:44:07 +00:00
Ole Laursen a8fefd9454 Remove unused idrfc import from secr/telechat/views.py
- Legacy-Id: 6049
2013-08-13 16:28:21 +00:00
Ole Laursen 484293d190 Remove debug print
- Legacy-Id: 6048
2013-08-13 15:43:56 +00:00
Ole Laursen 867f7a8149 Get rid of some pre-redesign dead code in submit to get rid of idrfc import
- Legacy-Id: 6047
2013-08-13 14:47:49 +00:00
Ole Laursen de7ae60985 Move markup_txt.py from idrfc/ to utils/
- Legacy-Id: 6046
2013-08-13 14:33:22 +00:00
Henrik Levkowetz 551f61b55a Fixed a possible KeyError bug for missing form field 'by'.
- Legacy-Id: 6045
2013-08-13 12:43:53 +00:00
Henrik Levkowetz e46220af5d Added code to expire last calls for statechg documents too (in addition to iesg drafts) with the expire-last-call script. Fixes issue #1092.
- Legacy-Id: 6044
2013-08-12 22:25:54 +00:00
Henrik Levkowetz 4376c7d279 Added missing parenthesis.
- Legacy-Id: 6043
2013-08-12 22:07:19 +00:00
Robert Sparks a593fec06e * Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.
* Brought search results against WGs and document titles into consistency with results from searching for individual documents
* Added the IPR count to the link on the documents main page (when not zero)
* Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument objects.
* Added getting the DocAlias with the same name to Document
* Added getting related IPR disclosures (as described in the first bullet) to Document
* Simplified ipr/related.py
* Removed the use of DraftLikeDocAlias and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias and IprDocAlias directly.
* Removed dead code from ipr/search.py
* Removed the special handling of WG 2000 from ipr/search.py

Fixes bug 1071
 - Legacy-Id: 6042
2013-08-12 21:41:57 +00:00
Henrik Levkowetz 8df981a25d Reverted commit [6032] -- it had unintended changes :-( We'll probably have to move forward instead, and fix the dependent scripts to accept RG annotations.
- Legacy-Id: 6035
Note: SVN reference [6032] has been migrated to Git commit 2b19bba4b8
2013-08-12 14:32:09 +00:00
Henrik Levkowetz 2b19bba4b8 Fixed regression in the generation of 1id-abstracts.txt -- the refactored code generated entries for all groups (including research groups) which have active drafts. That would be fine if there weren't other scripts that used the output and format of 1wg-abstracts.txt that broke when RGs where included... I hope we're getting closer to upgrading Django and after that providing a JSON interface for things that are now handled by 1id-abstracts.txt (and friends), but for now we need to stick to the conventions for these files.
- Legacy-Id: 6032
2013-08-10 21:52:38 +00:00
Henrik Levkowetz 9b04370eb6 Added secretaries to those who are authorized to edit stream info for a document.
- Legacy-Id: 6028
2013-08-09 18:21:16 +00:00
Henrik Levkowetz f5ab950fcb Added a penalty field to the ConstrantNames, for use in agenda scheduling.
- Legacy-Id: 6027
2013-08-09 18:20:15 +00:00
Henrik Levkowetz 9c42fe3e24 Tweaked the nomcom private menus.
- Legacy-Id: 6026
2013-08-09 18:19:34 +00:00
Ole Laursen 13a15b6111 Remove unused fixture generation (for old schema)
- Legacy-Id: 6005
2013-08-09 16:13:51 +00:00
Ole Laursen ed7d8f2dd5 Remove debug print
- Legacy-Id: 6004
2013-08-09 15:57:47 +00:00
Ole Laursen 154a4b6b23 Remove the now unused tombstone template text files
- Legacy-Id: 6003
2013-08-09 15:01:24 +00:00
Ole Laursen ff2c1ae3cc Remove the testurl list tests from idrfc, these are now handled
through explicit unit tests (and the test crawler which can be run
with "bin/test-crawl")
 - Legacy-Id: 6002
2013-08-09 15:00:07 +00:00
Ole Laursen ec2f0cabbf Delete dead code from idrfc, and delete some obsolete imports too
- Legacy-Id: 6001
2013-08-09 14:55:51 +00:00
Henrik Levkowetz 99a3d4772d Added missing migration. Already fixed (somehow??) in production.
- Legacy-Id: 5997
2013-08-08 13:39:25 +00:00
Henrik Levkowetz 175a9dba80 Refactored group membership code, adding advisors and liaisons to the membership list. Needed for the nomcom code.
- Legacy-Id: 5996
2013-08-08 12:29:59 +00:00
Henrik Levkowetz 676d8504f0 Reverted an unneded 'fix' for RG chair document access, which caused 1wg-summary.txt to erroneously include RGs.
- Legacy-Id: 5995
2013-08-08 12:29:00 +00:00
Henrik Levkowetz 603f8b93fe Fixed the broken WG document list template (regression caused by the shimfree merge).
- Legacy-Id: 5994
2013-08-08 12:27:12 +00:00
Henrik Levkowetz 8b6f122314 Fixed nomcom email pipe command to read from stdin if no file given, and give better error messages.
- Legacy-Id: 5992
2013-08-08 12:25:03 +00:00
Ole Laursen 214b1e0a3b Be more strict when chartering a new group, only accept [a-z][a-z0-9]+
as acronym (specifically not hyphens), closes #1080.
 - Legacy-Id: 5965
2013-08-07 15:23:37 +00:00
Ole Laursen 52cefc5909 Don't include WGs without areas in the area-based overviews of WGs
(1wg-summary.txt and 1wg-charters.txt) to prevent crashes, fixes issue
#1083
 - Legacy-Id: 5963
2013-08-07 12:49:47 +00:00
Ryan Cross 22748ac289 add warning to group edit, use datatracker to manage groups
- Legacy-Id: 5960
2013-08-06 21:53:23 +00:00
Ryan Cross 1dd59020b8 remove additional info link from RG proceedings
- Legacy-Id: 5957
2013-08-06 17:41:35 +00:00
Henrik Levkowetz c6b688e0af Added migrations which should have been part of release 4.70.
- Legacy-Id: 5954
2013-08-06 17:37:47 +00:00
Henrik Levkowetz 804542519b Added migrations which should have been part of release 4.70.
- Legacy-Id: 5953
2013-08-06 17:37:33 +00:00
Henrik Levkowetz d59b16b665 Set version info and settings back to development mode
- Legacy-Id: 5952
2013-08-06 10:16:01 +00:00
Henrik Levkowetz a32834c087 Set version info to release version 4.70 before branching.
- Legacy-Id: 5950
2013-08-06 10:15:58 +00:00
Henrik Levkowetz 6baea429aa Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Henrik Levkowetz a84d8910a4 Re-enabled the link to document shepherd writeups for individual drafts, which regressed in the 4.60 merge. Fixes issue #1084.
- Legacy-Id: 5946
2013-08-02 12:22:33 +00:00
Henrik Levkowetz 2fa9aedf01 Set version info and settings back to development mode
- Legacy-Id: 5945
2013-08-01 16:26:30 +00:00
Henrik Levkowetz fac8b399f7 Set version info to release version 4.61 before branching.
- Legacy-Id: 5943
2013-08-01 16:26:26 +00:00
Henrik Levkowetz 17eb95c180 Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5939
2013-08-01 14:37:50 +00:00
Henrik Levkowetz 582be932d1 Tweaked agenda presentation in order to not blow up on bad character encodings in charter file.
- Legacy-Id: 5938
2013-08-01 14:35:19 +00:00
Henrik Levkowetz 8675711c27 Merged [5902],[5904] from markus.stenberg@iki.fi:
Added support and scripts for generation of wg- and draft-aliases.  Fixes issue #713.
 - Legacy-Id: 5937
Note: SVN reference [5902] has been migrated to Git commit e5b551f4ce

Note: SVN reference [5904] has been migrated to Git commit e68e51cc55
2013-08-01 12:44:49 +00:00
Henrik Levkowetz 9f998e5bbc Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5935
2013-07-31 17:11:19 +00:00
Henrik Levkowetz b02d0bdd1c Corrected reset of document group on document stream change.
- Legacy-Id: 5934
2013-07-31 17:06:12 +00:00
Henrik Levkowetz 8b1b38d57e Added group secretaries to those authorise to edit group document meta-information.
- Legacy-Id: 5933
2013-07-31 16:07:16 +00:00
Henrik Levkowetz 88bd027776 Added handling for missing association between login and Person record.
- Legacy-Id: 5932
2013-07-31 14:54:03 +00:00
Henrik Levkowetz b090f1e92c Merged [5903] from adam@nostrum.com:
Added tooltip capability to document tabs, and tooltips for disabled IESG Evaluation/Review tab.  Fixes bug #448.
 - Legacy-Id: 5931
Note: SVN reference [5903] has been migrated to Git commit d87379c177
2013-07-31 14:16:37 +00:00
Henrik Levkowetz d7879978f1 Merged [5901] from adam@nostrum.com:
Added a document link to the emails sent on discuss/comment changes.  Fixes bug #916
 - Legacy-Id: 5930
Note: SVN reference [5901] has been migrated to Git commit 30dec0ec09
2013-07-31 14:08:36 +00:00
Henrik Levkowetz 941378d201 Merged [5900] from rjsparks@nostrum.com:
Adds related documents to the set of documents checked for IPR declarations when building last call text. Partially addresses #1071.
 - Legacy-Id: 5929
Note: SVN reference [5900] has been migrated to Git commit c69a33217e
2013-07-31 14:04:12 +00:00
Henrik Levkowetz ddf45fd995 Merged [5899] from suresh.krishnan@ericsson.com:
When working group chairs added an annotation to a document, the date on the
history entry was wrong. It has now been fixed. Fixes issue #1046.
 - Legacy-Id: 5928
Note: SVN reference [5899] has been migrated to Git commit 60bab5fe50
2013-07-31 14:01:08 +00:00
Henrik Levkowetz 2cc0542666 Merged [5897] from suresh.krishnan@ericsson.com:
Fixes the last call processing code to identify the new placeholder writeup.
Fixes issue #884.
 - Legacy-Id: 5927
Note: SVN reference [5897] has been migrated to Git commit 8d4a171431
2013-07-31 13:56:35 +00:00
Henrik Levkowetz 6794113320 Merged [5898] from adam@nostrum.com, with
additional tweaks from henrik: Added the capability to search for all kinds
 of documents in the main datatracker search page.  Fixes bug #838.
 - Legacy-Id: 5926
Note: SVN reference [5898] has been migrated to Git commit b14a8d0cee
2013-07-31 12:45:32 +00:00
Ryan Cross 7d6d324c81 add new section to proceedings, 6
- Legacy-Id: 5924
2013-07-31 07:12:31 +00:00
Henrik Levkowetz 3decaf3300 Added back the 'Request Publication' action (regression loss) on draft pages for the non-ietf streams.
- Legacy-Id: 5921
2013-07-30 14:56:25 +00:00
Ryan Cross b14e3ddce9 add javascript form validation to materials upload form
- Legacy-Id: 5919
2013-07-30 13:01:38 +00:00
Henrik Levkowetz 544d252b92 Fixed a bug in rendering the AD/Shepherd column in document list pages, when no AD is associated with a document. Fixes issue #1079.
- Legacy-Id: 5916
2013-07-30 11:00:59 +00:00
Henrik Levkowetz 6d8a7afa5f Modified the doc stream-change edit form to reset doc.group to None on stream changes. Fixes issue #1078.
- Legacy-Id: 5915
2013-07-30 10:02:42 +00:00
Henrik Levkowetz 4e42c65e92 Fixed double plural 's' caused by the use of 'pluralize' in the template *and* plural forms for the group headers returned by fill_in_search_attributes(). Fixes issue #1077.
- Legacy-Id: 5914
2013-07-30 09:42:53 +00:00
Henrik Levkowetz 63b985036d Fixed the incorrect blankline placemnt in the refactored template for id-index and id-abstracts, when generating abstracts. Fixes issue #1076.
- Legacy-Id: 5913
2013-07-29 14:57:49 +00:00
Henrik Levkowetz 12bd97c7cf Added convenience methods to the Document class to recursively retrieve all forward / reverse relationship of a kind or set of kinds.
- Legacy-Id: 5912
2013-07-29 13:31:18 +00:00
Henrik Levkowetz 7a131cd777 Fixed the handling of help pages for doc states.
- Legacy-Id: 5911
2013-07-29 13:25:10 +00:00
Henrik Levkowetz 5171e331e7 Added a direct link to the cookie options in use by the datatracker to the lefthand menubar. Fixes issue #1075.
- Legacy-Id: 5908
2013-07-29 09:18:33 +00:00
Markus Stenberg e68e51cc55 Removed hardcoded rewrites - bad idea, and added default .ad's also for working group documents (.group.acronym != 'none').
- Legacy-Id: 5904
2013-07-27 14:53:31 +00:00
Adam Roach d87379c177 Fixed bug #448 -- added tooltip capability to document tabs
- Legacy-Id: 5903
2013-07-27 14:25:01 +00:00
Markus Stenberg e5b551f4ce First iteration of email alias generation for wg- and drafts ( issue #713 ).
- Legacy-Id: 5902
2013-07-27 14:11:20 +00:00
Adam Roach 30dec0ec09 Fixed bug #916
- Legacy-Id: 5901
2013-07-27 13:45:29 +00:00
Robert Sparks c69a33217e Adds related documents to the set of documents checked for IPR declarations when building last call text
- Legacy-Id: 5900
2013-07-27 13:07:00 +00:00
Suresh Krishnan 60bab5fe50 When working group chairs added an annotation to a document, the date on the history entry was wrong. It has now been fixed.
- Legacy-Id: 5899
2013-07-27 12:51:10 +00:00
Adam Roach b14a8d0cee Fixed bug #838
- Legacy-Id: 5898
2013-07-27 12:26:24 +00:00
Suresh Krishnan 8d4a171431 Fixing the last call processing code to identify the new placeholder writeup.
- Legacy-Id: 5897
2013-07-27 12:01:21 +00:00
Ryan Cross 5855140136 changes to announcements: default reply_to=ietf@ietf.org, widen body field, add back button
- Legacy-Id: 5889
2013-07-27 10:16:23 +00:00
Ryan Cross 1c60bb6b00 add zip to valid slide extensions
- Legacy-Id: 5887
2013-07-27 08:41:54 +00:00
Henrik Levkowetz e91c7144d9 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5885
2013-07-25 20:52:17 +00:00
Henrik Levkowetz 9d2db7c6e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5884
2013-07-25 19:44:44 +00:00
Henrik Levkowetz a055370da1 Removed debug statement.
- Legacy-Id: 5883
2013-07-25 19:29:05 +00:00
Henrik Levkowetz 75fa9bb0e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5882
2013-07-25 19:26:14 +00:00
Henrik Levkowetz 5eac4a86ce Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5881
2013-07-25 19:24:47 +00:00
Henrik Levkowetz 6a2ae39913 Fixed a regression: restore diff pane in history page for RFCs.
- Legacy-Id: 5880
2013-07-25 18:52:24 +00:00
Henrik Levkowetz 3c4bee32e5 Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting.
- Legacy-Id: 5879
2013-07-25 18:29:37 +00:00
Henrik Levkowetz 1e03a04eca Changed the mimetype detection code to only read first 4k block of file, not the whole file.
- Legacy-Id: 5878
2013-07-25 18:28:18 +00:00
Henrik Levkowetz a8c2bc80e9 Fixed bug in the rewritten mime-magic code.
- Legacy-Id: 5877
2013-07-25 15:20:21 +00:00
Henrik Levkowetz 4ed0337cae Made the code which uses the 'magic' module to determine file type and encoding work with both the old and new interface to python-magic.
- Legacy-Id: 5876
2013-07-25 14:45:01 +00:00
Henrik Levkowetz 942efacb08 Added a guard to prevent duplicate RFC-Editor notifications for approved documents, and added logging to the notification routine.
- Legacy-Id: 5852
2013-07-23 22:28:19 +00:00
Henrik Levkowetz 4d7120ee86 Set version info and settings back to development mode
- Legacy-Id: 5850
2013-07-23 16:33:01 +00:00
Henrik Levkowetz 451043d138 Set version info to release version 4.60 before branching.
- Legacy-Id: 5848
2013-07-23 16:32:56 +00:00
Henrik Levkowetz 55d8a49b57 Refactored the new AD dashboard view to re-use code and templates the same way the refactored previous view did.
- Legacy-Id: 5846
2013-07-19 23:49:15 +00:00
Henrik Levkowetz cf3fac2959 Added back in the ad2 view lost in the shimfree merge.
- Legacy-Id: 5845
2013-07-19 20:37:52 +00:00
Henrik Levkowetz dfee10aa92 Restored the functionality of showing both AD and Shepherd for documents
shown for searches and document lists.
 - Legacy-Id: 5842
2013-07-18 15:42:30 +00:00
Henrik Levkowetz 07683cae08 Updated the doc stream auth function to permit Area Directors to edit stream
info for ietf documents.
 - Legacy-Id: 5841
2013-07-17 22:28:33 +00:00
Henrik Levkowetz 92a8ed56a8 Editing the sheperd now works for all documents, so remove the limitation
on this being a WG document, and adjust the URL name and arguements.
 - Legacy-Id: 5840
2013-07-17 22:26:43 +00:00
Henrik Levkowetz 51284a8871 Added an index page at /help/state, listing the document states that
have help information.
 - Legacy-Id: 5837
2013-07-17 20:55:35 +00:00
Henrik Levkowetz cbfe489ff5 Merged in more shim-layer removals from olau@iola.dk
(-r5465:HEAD from branch/iola/shimfree).  Copying relevant
commit messages here:

 - Deleted dead code in many places.

 - Renamed id-something to draft-something, make the "is
   this eligible for expiration" logic clearer

 - Added a name for IPR search URL

 - Revamped the ballot popup view

 - URL reversed the IPR search link instead of hardcoding it

 - Cleaned up search views and remove dead code, port them to the new DB
   schema, hack related views in iesg/ and wginfo/ to use the new search
   interfaces, avoid camelCase in search GET parameters (with
   backwards-compat fallback), add some simple search unit tests, remove
   caching from views_search.py index pages as they're now pretty fast to
   generate, rewrite ballot popup JS, regularize some CSS classes to use
   hyphen-notation rather than camelCase, move some of the search
   templates to doc/.

   idrfc/ now mostly contains some wrapper code still in use by other
   subdirs, some ported code not yet moved, and dead code.

 - Fixed output bug in test crawler and print referrer upon errors so it's
   easier to figure out where a link came from

 - Added /doc/in-last-call/ to crawler, report original page as referrer in
   a redirect chain rather than intermediate URL

 - Ported idindex to new schema, speed them up, add tests, refactor index
   page in views_search to share code with the text index file, get rid
   of some special-case idindex filters from ietf_filters, move
   "/drafts/" redirects to a file in /doc/

 - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of
   drafts in IESG process to new schema in /doc/iesg/ and
   /doc/iesg/last-call/

 - Added redirects for all of /idtracker/*, removed all view code and other
   dead code from idtracker/

 - Removed the idtracker sitemap indexing drafts - in its current form,
   it adds nothing of value to the HTML-based /doc/all/ view, and it's
   pretty slow

 - Ported idtracker feeds to new schema, move them to doc/, cleaned up
   idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5836
2013-07-17 20:52:39 +00:00
Henrik Levkowetz bd76041df3 On request form the secretariat, added a note to the new I-D announcement
messages about there being a couple of minutes delay between submission and
the appearance of htmlized document and diff on the tools servers.
 - Legacy-Id: 5835
2013-07-17 10:00:05 +00:00
Henrik Levkowetz 68b05b609a Various fixes due to clear up tree conflicts and other bugs resulting from
the [5830] merge.
 - Legacy-Id: 5834
Note: SVN reference [5830] has been migrated to Git commit e678659b56
2013-07-16 14:02:43 +00:00
Henrik Levkowetz e678659b56 Merged in a lot of shim-layer removals from olau@iola.dk
(-r5194:5465 from branch/iola/shimfree).  Copying relevant
commit messages here:

  - Removed .related many to many relationship, it's not really useful
    since we always have to restrict on the relationship type anyway,
    instead add two helpers for doing the necessary queries (in both
    directions)

  - Added migration for transforming the .desc on the new_revision events
    into something more akin to what is actually shown in the history page

  - Added migration for blanking IESG notes that just consist of "RFC
    XXXX", these have been superfluous for some time

  - Grant stream chairs access to changing the stream on a draft

  - Hacked the format_history_text filter to be less weird, using the same
    formatting for snippets and full text, also link up legacy ballot set
    events

  - Moved the decoraters + utilities to new ietfauth/utils.py file

  - Added simple helper to Email to identify invalid email addresses (from
    legacy author entries)

  - Used new new_revision .desc format for when drafts are submitted

  - Improved the looks of the button class by adding extra contrast and a
    linear gradient. Currently the gradient is only visible in fairly
    recent browsers.

  - Rewrote draft and RFC tabs in terms of the new schema, porting
    write-up and history tabs as well

  - Fixed two bugs in RFC Editor syncing: make sure documents we don't know
    beforehand get a "draft" type and make sure individually submitted
    drafts get the type="individ" group instead of NULL

  - Made the CSS-styled button feel a bit nicer to use by flattening the
    active state, also introduce some temporary styles until browsers
    catch up with the standard syntax

  - Added migrations for fixing 1) a dummy RFC entry, 2) three stand-alone
    RFCs that didn't get their doc.type set, 3) a big bunch of historic
    stand-alone RFCs that have doc.group=None - set these to the
    individual submission "none" group for the time being so the view code
    doesn't have to deal with a special case.

    In some cases this is wrong since there actually was a WG associated
    but unfortunately fixing them properly requires detective work
    (probably parsing the RFCs) and in at least some cases recreating
    historic WGs. In case someone ends up doing this, the documents to
    check can still be found with

    Document.objects.filter(name__startswith="rfc", group__type="individ")
    since there are almost no new RFCs that didn't went through the I-D
    process.

  - Merged the I-D and RFC views by showing I-D information on RFCs too.
    I-Ds that have been published as RFCs redirect to the RFC URL. Also
    support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.

  - Fixed revision augmentation so events after RFC publication gets a "RFC"
    designation

  - Fixed a bug with tabs not using provided name but rather doc.name

  - Displaying draft-iesg state rather than doc.friendly_state as IESG state,
    also show a notice that the IESG state refers to post-RFC processing
    if it does, like the old separate RFC page did

  - Fixed the RFC number doc.note migration to catch combined "RFC XXX; BCP
    XXX" notes too, use the opportunity to remove inserted HTML tags from
    notes and rely on linebreaksbr filter instead (the other thing was a
    left-over from the Perl days), update the various uses of the note to
    reflect that

  - Refactored slightly to make views_doc.py independent of other idrfc code

  - Moveed idrfc/views_doc.py to doc/ with associated templates, replace the
    somewhat fragile simple URL tests for views_doc.py with ordinary unit
    tests. The new tests are still fairly basic but at least test more
    than the URL tests did.

  - Made sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of
    RFC0123 in the alias table with a new migration and a change to the
    RFC Editor sync, this in turn makes /doc/std1/ do the right thing

  - Now /doc/std1/ works, we can actually do a local link in
    urlize_ietf_docs rather than linking to the tools.ietf.org server

  - Fixed history text formatter: sanitize HTML before adding linebreaks and
    non-breaking spaces, this cuts the time to render a history page with
    long comments in half

  - Added a test crawler that walks through the crawlable part of the site,
    reporting errors and slow pages

  - Got rid of initial "No record" positions when showing old positions,
    it's just noise

  - Added a .select_related() to the document main tab to reduce the number
    of DB queries, unfortunately it seems it doesn't really help with
    Django 1.2.x due to a bug (Document inherits from DocumentInfo which
    makes things a bit more complicated)

  - Introduced a simple cache in doc.get_state so repeated reads don't
    cause a DB query

  - Cleaned up the search code in preparation for removal of the shim-layer;
    use a static button and don't send extraneous GET parameters

  - Removed dead code in several places
 - Legacy-Id: 5830
2013-07-15 20:55:24 +00:00
Henrik Levkowetz 539dd58888 Set version info and settings back to development mode
- Legacy-Id: 5827
2013-07-15 07:32:23 +00:00
Henrik Levkowetz baad13bf7c Set version info to release version 4.53 before branching.
- Legacy-Id: 5825
2013-07-15 07:32:20 +00:00
Henrik Levkowetz 3105101cc5 Changed test running and test data generation to work with database rollback
(for instance with InnoDB).

Added settings.DATABASE_TEST_OPTIONS which can be used to force for instance
InnoDB use during testing.

Using this has the potential of reducing the time it takes to run the test
suite substantially; a few test runs indicate a reduction in test run time by
50% on a run-of-the-mill linux server.
 - Legacy-Id: 5823
2013-07-15 07:21:34 +00:00
Henrik Levkowetz eb10724796 Changed liaison attachment code to use the correct document type slug.
- Legacy-Id: 5822
2013-07-15 07:14:20 +00:00
Henrik Levkowetz 96771f7340 Updated tests to not depend on the record ids of generated test data.
- Legacy-Id: 5821
2013-07-15 07:10:27 +00:00
Henrik Levkowetz 1aacb9fa45 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5820
2013-07-14 14:52:00 +00:00
Henrik Levkowetz 1d7218df94 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5819
2013-07-14 14:41:01 +00:00
Henrik Levkowetz 5955e5eefe Set version info and settings back to development mode
- Legacy-Id: 5816
2013-07-14 14:04:24 +00:00
Henrik Levkowetz 9c5f300444 Set version info to release version 4.52 before branching.
- Legacy-Id: 5814
2013-07-14 14:04:21 +00:00
Henrik Levkowetz bb7fbd8cab Merged [5794] to [5800] from olau@iola.dk:
* Skip IANA - Review Needed and Version Changed - Review Needed changes from
    IANA as it turns out that the Datatracker is the authoritative source on
    these states. Also improve logging so that the raw JSON from IANA is
    dumped, the parsed JSON on imported changes is dumped and we write to
    syslog before starting a sync script in the notification view.

  * Only add charter state change link when chartering, it doesn't make sense
    for an approved charter. Fixes #861.

  * Don't display group.comments on the charter document page. Apparently
    group.comments have been used by the Secretariat in the past for
    chartering comments, but it's not possible to edit the field and the whole
    thing doesn't make sense from a modelling perspective - a feature like
    this should probably use the note field on the charter.  Fixes issue
    #1048.

  * Don't crash if an attachment has been created already, just reuse it -
    this case shouldn't actually happen, but apparently sometimes does,
    probably due to a concurrency issue

  * Add link to charter pages from the milestones editing page (besides the
    cancel button), fixes #1044.

  * Special-case proposed working groups with respect to milestones, they get
    the charter milestones on the WG charter page rather than the current set

  * Show approved milestones on /doc/charter-xyz/ page if the charter is
    approved instead of only showing proposed milestones for proposed charters
 - Legacy-Id: 5812
Note: SVN reference [5794] has been migrated to Git commit a603b8e056

Note: SVN reference [5800] has been migrated to Git commit 0f69f87a56
2013-07-14 14:00:39 +00:00
Henrik Levkowetz 1af953e4fb Fixed problem with caching of utc agenda -- use a separate cache name for this.
- Legacy-Id: 5810
2013-07-14 12:46:52 +00:00
Henrik Levkowetz a971124ac1 Permit unicode milestone text (using unicode() instead of str() in comparison when looking for milestone changes). Fixes issue #1065.
- Legacy-Id: 5809
2013-07-11 21:36:31 +00:00
Ryan Cross 3655dbb36e fixed 2 bugs where combined sessions aren't being handled properly in edit() and remove()
- Legacy-Id: 5807
2013-07-08 18:51:13 +00:00
Ryan Cross d19fe19ce0 add Standardization Level to drafts view/edit
- Legacy-Id: 5804
2013-06-24 23:30:30 +00:00
Ryan Cross 45ec7a97a1 TICKET:928 use correct role in session request notification email
- Legacy-Id: 5802
2013-06-24 22:52:13 +00:00
Ole Laursen 0f69f87a56 Skip IANA - Review Needed and Version Changed - Review Needed changes
from IANA as it turns out that the Datatracker is the authoritative
source on these states. Also improve logging so that the raw JSON from
IANA is dumped, the parsed JSON on imported changes is dumped and we
write to syslog before starting a sync script in the notification view.
 - Legacy-Id: 5800
2013-06-21 16:48:05 +00:00
Ole Laursen 57b0ca9cab Only add charter state change link when chartering, it doesn't make
sense for an approved charter. Fixes #861.
 - Legacy-Id: 5799
2013-06-21 15:13:46 +00:00
Ole Laursen 3c58e4743a Don't display group.comments on the charter document page. Apparently
group.comments have been used by the Secretariat in the past for
chartering comments, but it's not possible to edit the field and the
whole thing doesn't make sense from a modelling perspective - a
feature like this should probably use the note field on the charter.
Fixes issue #1048.
 - Legacy-Id: 5798
2013-06-21 14:55:53 +00:00