Commit graph

2755 commits

Author SHA1 Message Date
Robert Sparks 77b5131fe6 Added more information about RFC5742 conflict review documents to the /agenda, moderator, and scribe pages.
Fixes bug #874
 - Legacy-Id: 4840
2012-09-11 22:31:45 +00:00
Henrik Levkowetz 153d34cfe9 Fixed an instance of old use of first_name, last_name in submission tool code.
- Legacy-Id: 4839
2012-09-11 16:42:07 +00:00
Henrik Levkowetz ed3af82ef4 Fix up scribe template to suite John, undoing a number of fixes from the sprint.
- Legacy-Id: 4838
2012-09-11 16:41:06 +00:00
Henrik Levkowetz ae551935da Add shepherd field to all_id2.txt
- Legacy-Id: 4837
2012-09-11 16:21:10 +00:00
Robert Sparks 4c4bc99f96 Improve the robustness of get_wg_section
- Legacy-Id: 4835
2012-09-07 17:39:09 +00:00
Robert Sparks 33e9663b0e Send email to IANA and the IESG when entering IESG evaluation of an RFC5742 conflict review
- Legacy-Id: 4833
2012-09-07 15:39:37 +00:00
Henrik Levkowetz 32c7740b55 Reverted a number of changes to the scribe template which made life more difficult for the scribe.
- Legacy-Id: 4820
2012-08-29 00:03:31 +00:00
Henrik Levkowetz 66f3115ac0 Fixed a problem with blocking comments on charter documents pointed out by rjsparks@nostrum.com.
- Legacy-Id: 4819
2012-08-29 00:02:59 +00:00
Henrik Levkowetz 88ea94ca44 Fixed another typo.
- Legacy-Id: 4818
2012-08-28 19:59:56 +00:00
Henrik Levkowetz ac3c8f0dff Show ballot positions also for documents without an active ballot.
- Legacy-Id: 4817
2012-08-28 18:14:27 +00:00
Henrik Levkowetz e1d6e5f0ee Fix typo in import.
- Legacy-Id: 4816
2012-08-28 18:13:33 +00:00
Henrik Levkowetz 843493aa23 Fixed a password reset url which didn't work due to a wrong keyword name in the urlpattern.
- Legacy-Id: 4810
2012-08-24 08:50:31 +00:00
Henrik Levkowetz 40081edc27 Don't try to add a ballot's AD email addresses to a new version notification email if there's no ballot. Also did some linguistic fixes, and got rid of a wildcard import.
- Legacy-Id: 4809
2012-08-24 08:49:32 +00:00
Henrik Levkowetz c245f6a020 Make .ballot_open() available on DocumentInfo instead of on Document, too.
- Legacy-Id: 4807
2012-08-24 08:13:33 +00:00
Henrik Levkowetz fc22a660e7 Fixed a crash for the case where we're looking at a historic charter page and there's no active ballot for the histoic charter.
- Legacy-Id: 4804
2012-08-23 10:11:44 +00:00
Henrik Levkowetz 7c78ed81ef Make .active_ballot() available on DocumentInfo instead of on Document, to make charter history snapshots work.
- Legacy-Id: 4803
2012-08-23 10:08:41 +00:00
Henrik Levkowetz d23a769dd9 Merged [4773] from olau@iola.dk:
Encode uploaded charter text with UTF-8 to avoid crashing on Unicode content
 - Legacy-Id: 4802
Note: SVN reference [4773] has been migrated to Git commit 2f48dfc713
2012-08-23 10:07:20 +00:00
Henrik Levkowetz ee2878aa7b Set version info and settings back to development mode
- Legacy-Id: 4785
2012-08-22 12:57:37 +00:00
Henrik Levkowetz 6aad0f2ef8 Set version info to release version 4.34 before branching.
- Legacy-Id: 4783
2012-08-22 12:57:35 +00:00
Henrik Levkowetz 7467fa48a5 Tweaked the author extraction code to handle company names in the author list on the first page, when the company names contain a comma, such as for instance 'Foo Bar, Inc'.
- Legacy-Id: 4781
2012-08-22 12:52:32 +00:00
Henrik Levkowetz c90a26ca50 Merged [4772] from rjsparks@nostrum.com:
Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4780
Note: SVN reference [4772] has been migrated to Git commit e5c3a5adc5
2012-08-22 12:34:55 +00:00
Henrik Levkowetz 9bde5b91d6 Added support for conflrev documents based on branch /personal/rcross/v4.32@4722, but tweaked to return only the directory, not the full directory+name+ext path, in order to behave the same way as for other document types.
- Legacy-Id: 4779
2012-08-22 11:26:50 +00:00
Henrik Levkowetz d50eef9e66 Merged [4746] from adam@nostrum.com:
Adding slides to agenda page
 - Legacy-Id: 4778
Note: SVN reference [4746] has been migrated to Git commit 39aa3eb5a3
2012-08-22 10:07:07 +00:00
Henrik Levkowetz ee6cc10935 Merged [4738] from adam@nostrum.com:
Added a link to the cookie page, at Robert's request
 - Legacy-Id: 4777
Note: SVN reference [4738] has been migrated to Git commit 56b86dd896
2012-08-22 10:04:27 +00:00
Henrik Levkowetz d4e8a98346 Merged [4737] from adam@nostrum.com:
Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page.
 - Legacy-Id: 4776
Note: SVN reference [4737] has been migrated to Git commit 6d87558b06
2012-08-22 10:01:52 +00:00
Ole Laursen 2f48dfc713 Encode with UTF-8 to avoid crashing on Unicode content
- Legacy-Id: 4773
2012-08-21 10:17:17 +00:00
Robert Sparks e5c3a5adc5 Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4772
2012-08-21 04:46:01 +00:00
Robert Sparks 00f2974eeb Missed a template
- Legacy-Id: 4771
2012-08-21 04:15:30 +00:00
Robert Sparks 735efac3b0 Add charter documents to iesg/agenda and iesg/agenda/documents
Keep the ordering for drafts the same on iesg/agenda and iesg/agenda/documents
Allow setting the responsible AD for a charter document
Change the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)
 - Legacy-Id: 4769
2012-08-21 03:57:17 +00:00
Robert Sparks 87ebddd0ba Simplified access to current BallotDocevent from a Document.
Added functions to BallotDocEvents to faciliate access to BallotPositionDocEvents, both for all positions, and current AD postions.
Updated the moderator package to use the Documents from _agenda_data.
Added a filter to assist with rendering the moderator package.
Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).
 - Legacy-Id: 4768
2012-08-17 20:45:32 +00:00
Robert Sparks 1968d7f150 merged in my v4.33 branch
- Legacy-Id: 4767
2012-08-16 20:38:56 +00:00
Robert Sparks fb59abd70d Missed this import
- Legacy-Id: 4762
2012-08-14 21:50:48 +00:00
Robert Sparks 1d7883fc01 Patch from yaco to avoid resetting from field. Gave the secretarait the ability to approve any unapproved liaison. Changed all the email code to use ietf.utils.mail
- Legacy-Id: 4761
2012-08-14 21:37:59 +00:00
Robert Sparks c79b323dab removed the filter that restricted telechat documents to just drafts
- Legacy-Id: 4756
2012-08-14 18:18:44 +00:00
Henrik Levkowetz 7a1a67fca4 Applied fix from rjsparks@nostrum.com: Remove old document filtering which is now to strict, letting conflict review documents show in the iesg agenda.
- Legacy-Id: 4755
2012-08-10 12:00:50 +00:00
Henrik Levkowetz 25f3f94c21 Applied fix from adam@nostrum.com: Display meeting materials with correct ordering.
- Legacy-Id: 4754
2012-08-10 11:58:55 +00:00
Henrik Levkowetz eb28ac8177 Removed the ValueError exceptions introduced in the previous revision of the draft author extraction code. Fixes issue #858.
- Legacy-Id: 4753
2012-08-06 15:16:53 +00:00
Robert Sparks e21e5fefa4 Added a migration to update non-blocking ballot positions that have non-empty discuss text. Fixes bug #856
- Legacy-Id: 4752
2012-08-03 21:33:49 +00:00
Ole Laursen 32430915e1 Fix missing group variable in template context (regression introduced with generalization of WG strings)
- Legacy-Id: 4751
2012-08-02 21:47:19 +00:00
Robert Sparks fb2b9c9e6c Removed some duplication between doc/util and doc/models by moving things into doc/models. Fixes bug #857
- Legacy-Id: 4750
2012-08-02 21:36:36 +00:00
Robert Sparks ada1e4eb56 Do not show non-empty discuss text when the position is not blocking. Fixes bug #855
- Legacy-Id: 4749
2012-08-02 21:15:12 +00:00
Henrik Levkowetz 6be46a9854 Fixed problem with diff links which erroneously included a template variable interpolation.
- Legacy-Id: 4748
2012-08-02 20:40:04 +00:00
Henrik Levkowetz c0cda6db56 Fixed problem with displaying ISE stream documents.
- Legacy-Id: 4747
2012-08-02 20:38:43 +00:00
Adam Roach 39aa3eb5a3 Adding slides to agenda page
- Legacy-Id: 4746
2012-08-02 18:10:22 +00:00
Adam Roach 9c6cd1877e Fixing slide order
- Legacy-Id: 4745
2012-08-02 16:55:44 +00:00
Henrik Levkowetz 3038396b5f Fix the update password request form to *not* give an error for existing accounts ,:-)
- Legacy-Id: 4742
2012-07-31 22:29:07 +00:00
Henrik Levkowetz 469bfa11a3 Fix some parameter names in the ietfauth urlconf which had reverted to an old form in a recent merge.
- Legacy-Id: 4741
2012-07-31 22:27:49 +00:00
Henrik Levkowetz fb9356efed Use the .plain_name Person attribute in the agenda documents form instead of the full .name attribute.
- Legacy-Id: 4740
2012-07-31 22:25:44 +00:00
Henrik Levkowetz 25210ac328 The call to liaison_manager_sdos() in set_organization_field was missing a Person parameter -- add it.
- Legacy-Id: 4739
2012-07-31 22:24:22 +00:00
Adam Roach 56b86dd896 Added a link to the cookie page, at Robert's request
- Legacy-Id: 4738
2012-07-31 16:59:00 +00:00
Adam Roach 6d87558b06 Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page.
- Legacy-Id: 4737
2012-07-31 16:54:17 +00:00
Henrik Levkowetz b6e76562bb Set version info and settings back to development mode
- Legacy-Id: 4734
2012-07-30 21:54:23 +00:00
Henrik Levkowetz 69f08251f9 Set version info to release version 4.33 before branching.
- Legacy-Id: 4732
2012-07-30 21:54:21 +00:00
Henrik Levkowetz 6dd8086125 Merged [4724] from rbarnes@bbn.com:
Adjusted the scribe template to make it XHTML compliant and fix what Robert broke
 - Legacy-Id: 4730
Note: SVN reference [4724] has been migrated to Git commit 08c1c0cb19
2012-07-30 21:44:42 +00:00
Henrik Levkowetz c7c4679d57 Merged [4721] from adam@nostrum.com:
Adding an \'href\' method to documents. It doesn\'t work for documents of type \'liai-att\' or \'liaison\', but it's a good start.
 - Legacy-Id: 4726
Note: SVN reference [4721] has been migrated to Git commit 80d7ab9eba
2012-07-29 20:48:24 +00:00
Richard Barnes 08c1c0cb19 Adjusted the scribe template to make it XHTML compliant and fix what Robert broke
- Legacy-Id: 4724
2012-07-29 01:09:41 +00:00
Henrik Levkowetz 77de554f9b Merged [4720] from adam@nostrum.com:
Forgot to add these!
 - Legacy-Id: 4723
Note: SVN reference [4720] has been migrated to Git commit 533dec821e
2012-07-29 01:06:00 +00:00
Adam Roach 80d7ab9eba Adding an "href" method to documents. It doesn't work for documents of type 'liai-att' or 'liaison', but it's a good start.
- Legacy-Id: 4721
2012-07-29 00:42:19 +00:00
Adam Roach 533dec821e Forgot to add these!
- Legacy-Id: 4720
2012-07-29 00:39:29 +00:00
Henrik Levkowetz 848738bbca Merged [4709] from housley@vigilsec.com:
Ability to fetch the IESG Telechat Agenda as a JSON object (agenda.json).
 - Legacy-Id: 4719
Note: SVN reference [4709] has been migrated to Git commit 92ce382cc1
2012-07-29 00:37:54 +00:00
Henrik Levkowetz a13e506587 Merged [4706] from adam@nostrum.com:
Updating bullet name
 - Legacy-Id: 4716
Note: SVN reference [4706] has been migrated to Git commit a05111aad3
2012-07-29 00:07:36 +00:00
Henrik Levkowetz 0b1158491f Merged [4705] from adam@nostrum.com:
Adding self-management page for user profile information
 - Legacy-Id: 4714
Note: SVN reference [4705] has been migrated to Git commit 1502efba76
2012-07-29 00:04:08 +00:00
Henrik Levkowetz e0ce3838d9 Merged [4704] from suresh.krishnan@ericsson.com:
When the state changes from whatever to Publication Requested, the regular state change mail will go out.

The regular state change mail will be sent to the authors and the wg chairs (this is the current behavior).

Now, in addition to this regular state change mail, another mail will be sent with the title 'Publication has been requested for draft <draft-name>' and this mail will be sent to the AD responsible for the WG. I considered sending the mail to both the ADs but decided not to bother the other AD :-).
 - Legacy-Id: 4711
Note: SVN reference [4704] has been migrated to Git commit fd3a74fa1f
2012-07-28 23:29:36 +00:00
Henrik Levkowetz 21e4b7e873 Merged [4701] from rjsparks@nostrum.com:
Moves the prefix for the URI to use for rfcdiff into settings.py.
Fixes bug #808
 - Legacy-Id: 4710
Note: SVN reference [4701] has been migrated to Git commit da3e916f72
2012-07-28 23:21:16 +00:00
Russ Housley 92ce382cc1 Ability to fetch the IESG Telechat Agenda as a JSON object (agenda.json).
- Legacy-Id: 4709
2012-07-28 23:17:27 +00:00
Adam Roach a05111aad3 Updating bullet name
- Legacy-Id: 4706
2012-07-28 22:04:58 +00:00
Adam Roach 1502efba76 Adding self-management page for user profile information
- Legacy-Id: 4705
2012-07-28 21:51:00 +00:00
Suresh Krishnan fd3a74fa1f When the state changes from whatever to Publication Requested, the regular state change mail will go out.
The regular state change mail will be sent to the authors and the wg chairs (this is the current behavior).

Now, in addition to this regular state change mail, another mail will be sent with the title "Publication has been requested for draft <draft-name>" and this mail will be sent to the AD responsible for the WG. I considered sending the mail to both the ADs but decided not to bother the other AD :-).
 - Legacy-Id: 4704
2012-07-28 21:17:00 +00:00
Robert Sparks da3e916f72 Moves the prefix for the URI to use for rfcdiff into settings.py.
Fixes bug #808
 - Legacy-Id: 4701
2012-07-28 20:19:36 +00:00
Henrik Levkowetz 48baaa14dc Set version info and settings back to development mode
- Legacy-Id: 4656
2012-07-28 16:29:37 +00:00
Henrik Levkowetz 8ff61de5f2 Set version info to release version 4.32 before branching.
- Legacy-Id: 4654
2012-07-28 16:29:35 +00:00
Henrik Levkowetz 798f7697af Merged [4600] from rjsparks@nostrum.com:
* Adds a new document type for conflict reviews, with a ballot for the IESG 5742 response to a review request
* Integrated the new document type into the iESG agenda views (including RSS feeds)* Removed the Edit and Add buttons from the document main view.
* Replaced Add with actions appropriate for the document type, such as "Begin IESG Processing" or "Begin IETF Conflict Review", and made most data directly editable on the document's main page, depending on access permissions.
* Removed a manual editing step that the secretariat had to perform when sending conflict review messages. The view now composes the message correctly given the stream.
* Added a pencil icon motif to differentiate fields that are editable.
* Generalized several views and helper functions to use Document instead of (e.g.) IdWrapper
* Generalized reading documents from the repository
* Added a way to get from IdWrapper  to the underlying Document to facilitate migrating way from the Wrapper classes* Added many helpers to Document to assist with migrating off IdWrapper
* Minor fixes and other changes
  * Fixes to document main view to avoid (silent) template failures. 
  * Began removing some of the code that is no longer reachable post-migration  * Corrected the behavior of the undefer code and added test cases for it
  * Improved initial population of notification lists and added the ability to regenerate the initial list
* Made the test code that scans for template coverage more robust
* Deployment notes:
  * new setting: CONFLICT_REVIEW_PATH. The associated directory will need to be created

This branch fixes bugs #805, #744 and #812
 - Legacy-Id: 4652
Note: SVN reference [4600] has been migrated to Git commit 798e7a50e7
2012-07-28 16:29:28 +00:00
Henrik Levkowetz 353d1e3d58 Set version info and settings back to development mode
- Legacy-Id: 4649
2012-07-27 23:51:47 +00:00
Henrik Levkowetz 34730cf9ab Set version info to release version 4.31 before branching.
- Legacy-Id: 4647
2012-07-27 23:51:45 +00:00
Henrik Levkowetz a554288faf Tweaked the I-D submission confirmation email some more, to be able to update the test suite to find the confirmation URL in the message.
- Legacy-Id: 4645
2012-07-27 22:48:56 +00:00
Henrik Levkowetz 75365a9181 Template tweaks.
- Legacy-Id: 4644
2012-07-27 22:16:47 +00:00
Henrik Levkowetz 01e20724db Added search fields for 2 GroupEvent admin views.
- Legacy-Id: 4643
2012-07-27 22:15:44 +00:00
Henrik Levkowetz 298d74a630 Fixed a language typo in the registration confirmation page.
- Legacy-Id: 4642
2012-07-27 21:38:22 +00:00
Henrik Levkowetz 656580bbf3 Tweaked the community tracker notification email.
- Legacy-Id: 4641
2012-07-27 21:37:30 +00:00
Henrik Levkowetz a29d4c7d16 Changed and tweaked various submission emails in order to 1) make it less likely that they would be classified as spam (better ratio of English text to hash urls) and 2) provide better consistency in formatting of key/value information.
- Legacy-Id: 4640
2012-07-27 21:36:45 +00:00
Henrik Levkowetz 43de92b2ed From adam@nostrum.com: Fixed an URL in the agenda.csv file which hadn't been updated to match current naming conventions and code.
- Legacy-Id: 4639
2012-07-27 21:33:43 +00:00
Henrik Levkowetz af2392084a Added new template filter 'textify' which changes </b> and </i> tags to '*' and '/' instead
- Legacy-Id: 4638
2012-07-27 21:22:43 +00:00
Henrik Levkowetz aa65e63dff Add admin support for RelatedDocument.
- Legacy-Id: 4637
2012-07-27 21:21:11 +00:00
Henrik Levkowetz fe185af8eb Added new RFC-Editor state tag 'AUTH48-DONE' to the rfc-ed-queue mirror script.
- Legacy-Id: 4636
2012-07-27 21:20:23 +00:00
Henrik Levkowetz 225e1a8e3a Reverting previous commit, going back to rev 4633. (Commit all made in error, only one file intended).
- Legacy-Id: 4635
2012-07-27 21:16:12 +00:00
Henrik Levkowetz 3176bea4a1 Added new RFC-Editor state tag 'AUTH48-DONE' to the rfc-ed-queue mirror script.
- Legacy-Id: 4634
2012-07-27 21:08:01 +00:00
Henrik Levkowetz 7a96c77284 Updated the EditPositionTestCase to match the removed view alias for edit_position.
- Legacy-Id: 4633
2012-07-27 20:41:01 +00:00
Henrik Levkowetz 6e1c2e6a86 Tweaked meeting materials list to avoid duplicate rows for WGs with more than one slot, as long as the materials list is the same (which is the only thing supported by other parts of the system at this time).
- Legacy-Id: 4632
2012-07-27 20:17:06 +00:00
Henrik Levkowetz 5d97058c8b Applied ballot popup patch from olau@iola.dk.
- Legacy-Id: 4629
2012-07-27 20:09:23 +00:00
Henrik Levkowetz bc5327842c Made links to other versions available also for expired documents.
- Legacy-Id: 4626
2012-07-20 13:40:29 +00:00
Henrik Levkowetz 76594a4c4d Added support for IRTF liaisons.
- Legacy-Id: 4625
2012-07-20 11:36:01 +00:00
Henrik Levkowetz 554d3a9d28 Added an extra guard against trying to call .is_authenticated on a string.
- Legacy-Id: 4624
2012-07-20 11:35:05 +00:00
Henrik Levkowetz 207f90b58f Change personal tracking rule update frequency to run every hour.
- Legacy-Id: 4623
2012-07-20 11:34:23 +00:00
Henrik Levkowetz 9ff6d889aa Rewrote the view and template code for the meeting materials list, which was showing nothing. Better to do the rewrite for the new models than trying to dig into why the proxy models doesn't work any more.
- Legacy-Id: 4622
2012-07-20 11:33:15 +00:00
Henrik Levkowetz 356552dac9 Fixed id_abstracts to include drafts assigned directly to areas, not only individual and WG drafts.
- Legacy-Id: 4620
2012-07-19 14:03:21 +00:00
Henrik Levkowetz a732ebf8e2 Added admin interface for GroupEvents.
- Legacy-Id: 4619
2012-07-19 14:02:11 +00:00
Henrik Levkowetz 4afcb973c1 Fix 1wg-charters.txt (and friend) to not list the areas as if they were WGs.
- Legacy-Id: 4618
2012-07-19 13:59:33 +00:00
Henrik Levkowetz 0c49999fc9 Updated utils/draft.py and modified the submit app code accordingly.
New features (keep in mind that utils/draft.py can be run standalone
to do extraction of draft author data, too):

  * The handling of author info formatted in columns causes problems
    in the face of an author named for instance A. Author with the
    company 'Al Author and Associates', causing breakage of email
    addresses longer than 'Al Author and'.  Tweaked the recognition
    of column data to require multiple (not only one) space around
    'and'.

  * Added support for extraction of author affiliation.

  * Tweaked the meaning of -t, --timestamp and added --notimestamp; and
    made the default be to emit leading timestamps based ont the draft
    file time.

  * Added support for running author extraction on RFCs, by not bailing
    out on not finding a draft name when RFC information is available.

  * Added support for additional date formats and author name formats.

  * Improved creation date extraction -- previously, the first supported
    date format which was recognized on the first page of the draft would
    be used, rather than the first date in a supported format.  This could
    cause errors if the Status of Memo section or Abstract contained a
    date occurring at the start of a line.

  * Tweaked the honorific regex to make things work better for the case
    when the full name in the author's address section includes a first
    name which isn't part of the first-page abbreviated name.  Fixes
    problems with draft-chiappa-lisp-introduction and similar.

  * Added a special case for people who provide their email address as
    'foo&cisco.com' instead of 'foo@cisco.com'.  Bah.

  * Added an alternative, more human-readable key-value-pair attribute
    output mode with a '-a' switch.

  * Tweaded the first-name regex to capture cases where the first name
    is indicated with an alternate first letter: 'Y(J) Stein'.  Fixes
    problems with draft-anavi-tdmoip and similar.
 - Legacy-Id: 4612
2012-07-11 12:51:33 +00:00
Henrik Levkowetz cddec8fc48 Merged in [4604] from adam@nostrum.com, which fixes problems with the html agenda code related to the schema transition.
- Legacy-Id: 4611
Note: SVN reference [4604] has been migrated to Git commit 3e5e16371f2c0319d1c0bb738860a1f793038365
2012-07-10 09:55:34 +00:00
Henrik Levkowetz a1ea63c16a Ballot ids are limited to integers, rather than being descriptive as intended at one point. Adjusted the url regexes accordingly. Patch from olau@iola.dk.
- Legacy-Id: 4610
2012-07-10 09:52:56 +00:00
Henrik Levkowetz 93e38ee7de Introduce a line break to clean up the state display for tracked drafts a bit.
- Legacy-Id: 4609
2012-07-10 09:03:44 +00:00
Ole Laursen ce8d7728d8 Apply bug fix from charter branch in sending review announcements
- Legacy-Id: 4608
2012-07-09 14:55:09 +00:00
Ole Laursen b100a4ca26 Don't try to check if anonymous users are chairs of the WG
- Legacy-Id: 4606
2012-07-07 19:57:52 +00:00
Ole Laursen 92c12cae80 Revert earlier disabling of table creation, apparently I managed to mess it up, with a clean database everything looks fine
- Legacy-Id: 4605
2012-07-07 19:41:18 +00:00
Ole Laursen 967494548e Remove unused testurl.list file
- Legacy-Id: 4602
2012-07-06 13:24:22 +00:00
Robert Sparks e76136ff3b Fixed reverse urls in tests, removed a commented out block from a template, fixed a typo in a directory setting
- Legacy-Id: 4599
2012-07-05 20:40:41 +00:00
Robert Sparks c93e6a764a Made the popup position editing dialog work correctly for non-draft document types
- Legacy-Id: 4597
2012-07-05 19:28:40 +00:00
Ole Laursen 27935fb7a2 Don't prompt for the day of the month in setting up milestones,
instead set the deadline to the last day of the month, also remove any
references to the day of the month from the output
 - Legacy-Id: 4596
2012-07-05 18:57:15 +00:00
Robert Sparks f3fd4db35c Merge forward complete - checkpointing before fixing popup position dialogs
- Legacy-Id: 4595
2012-07-04 19:35:46 +00:00
Ole Laursen 95b144515e Email the WG too when making changes to milestones, although filter
out any "Adding milestone for review" changes
 - Legacy-Id: 4593
2012-07-04 18:31:18 +00:00
Ole Laursen 6050cbf76a Give test groups a list_email so we can email them
- Legacy-Id: 4592
2012-07-04 18:29:53 +00:00
Ole Laursen 7abb438424 Add milestones needing review page for the IESG, replace simple
telechat redirect view with a generic view in urls.py
 - Legacy-Id: 4591
2012-07-04 18:16:34 +00:00
Ole Laursen e5564640eb Get rid of obsolete telechat date management page
- Legacy-Id: 4589
2012-07-04 16:46:20 +00:00
Ole Laursen 0e619af3b3 Don't restrict milestone search for drafts to drafts belonging to
group, there are probably going to be some that are not associated at
some point
 - Legacy-Id: 4588
2012-07-04 16:45:59 +00:00
Henrik Levkowetz f86188252d Make the link to the search form more prominent in the community list explicitly added documents page.
- Legacy-Id: 4587
2012-07-04 14:21:57 +00:00
Henrik Levkowetz 3ade3e443f Sort WGs in the community rules drop-down list by acronym rather than WG name.
- Legacy-Id: 4586
2012-07-04 14:10:55 +00:00
Henrik Levkowetz e61e4f0893 Provided a more comprehensive document state indication. May need further refinement.
- Legacy-Id: 4585
2012-07-04 13:31:04 +00:00
Henrik Levkowetz 4cb0643c9e Tweaked the community tracker links in the lefthand menubar to avoid line breaking for the WG documents link visible to WG chairs.
- Legacy-Id: 4584
2012-07-04 12:14:37 +00:00
Henrik Levkowetz 73f00aa920 Enabled the check for existing account, disabled when we started using self-service http password reset, but hadn't started creating accounts yet. Refactored the two confirm*() methods in ietfauth/views.py; they need the same processing, only the templates to use differ.
- Legacy-Id: 4583
2012-07-04 05:12:20 +00:00
Henrik Levkowetz fbf89cdcff Close blockquote element.
- Legacy-Id: 4582
2012-07-04 05:06:15 +00:00
Henrik Levkowetz 20f5d25fd4 Add another needed import missed in the merge.
- Legacy-Id: 4581
2012-07-04 04:26:11 +00:00
Ole Laursen 1d0ba6c341 Make sure MilestoneHistory doesn't have an auto_now on the time field
- Legacy-Id: 4580
2012-07-03 23:25:49 +00:00
Ole Laursen 317c0ce683 Fix bug in copying docs attribute when resetting charter milestones,
accidentally named the new milestone the same as the old
 - Legacy-Id: 4579
2012-07-03 23:15:41 +00:00
Ole Laursen bcf6ef0230 Add milestone support in charter diffs by outputting them on a special
.txt generating page that looks up the milestones available at the
time the charter was submitted (actually just before the next one was
submitted)
 - Legacy-Id: 4578
2012-07-03 23:12:42 +00:00
Henrik Levkowetz 0ea69383d2 Fix back link on personal list email subscription confirmation page -- it just lead to the confirmation page itself, now leads to read-only list view.
- Legacy-Id: 4577
2012-07-03 22:23:28 +00:00
Henrik Levkowetz 26705dee99 When logged in as secretariat, at /iesg/agenda/ or /iesg/agenda/documents/, and clicking on the position matrix for a document, the overlay window would give a code 500 error, because of a missing ballot id in the templates' url lookup. Fix this by providing the ballot id.
- Legacy-Id: 4576
2012-07-03 21:35:51 +00:00
Henrik Levkowetz 6a58f8ec20 Start getting rid of the name= parameter of the urlconf. At first they look helpful, but it's a great bother to have to search for where every damn name is, instead of just reading it out of the code in the template or urlreverse.
- Legacy-Id: 4575
2012-07-03 20:27:56 +00:00
Henrik Levkowetz 8b224559a7 Fix missing import.
- Legacy-Id: 4574
2012-07-03 19:08:43 +00:00
Henrik Levkowetz a81d37a1b0 Set version info and settings back to development mode
- Legacy-Id: 4573
2012-07-03 15:01:12 +00:00
Henrik Levkowetz 1318710037 Set version info to release version 4.30 before branching.
- Legacy-Id: 4571
2012-07-03 15:01:10 +00:00
Henrik Levkowetz c8af089ab1 Fix a bug which made the community tracking code crash when search results would show an old RFC without an associated draft.
- Legacy-Id: 4569
2012-07-03 13:46:23 +00:00
Henrik Levkowetz 71894599bf Tweak the menubar listing of community tracking to show when login is needed, some other text tweaks, and fitting the I-D tracking links under Drafts and RFCs where they seem to belong.
- Legacy-Id: 4568
2012-07-03 13:44:52 +00:00
Henrik Levkowetz 1bc2f7daa2 Tweak test setup message for site_id change.
- Legacy-Id: 4567
2012-07-03 13:42:36 +00:00
Henrik Levkowetz ad8b0d272c Prepare for email failure debugging -- make it clearer that the extra information is debug info meant for forwarding.
- Legacy-Id: 4566
2012-07-03 12:04:32 +00:00
Henrik Levkowetz aa00b6e35d Remove old duplicate debug.py
- Legacy-Id: 4565
2012-07-03 11:31:30 +00:00
Henrik Levkowetz 350914da15 Minor cleanup of test_runner.py. Added guards against settings which can make tests inexplicably fail. Updated check to avoid running tests on production server.
- Legacy-Id: 4564
2012-07-03 11:31:11 +00:00
Henrik Levkowetz a5041a262f Tweak the display of DocEvents.
- Legacy-Id: 4563
2012-07-03 10:58:54 +00:00
Henrik Levkowetz b51a0c4b3e Remove old non-functional 'management issues' link from IESG agenda section 6 title.
- Legacy-Id: 4562
2012-07-03 10:50:01 +00:00
Ole Laursen b68bf9b0b8 Fix comment
- Legacy-Id: 4561
2012-07-02 18:10:41 +00:00
Ole Laursen 419f387bce Make find_history_active_at return the original object if it is
currently active, otherwise we can't see from the return value whether
a given time predates the history set. The downside is that the caller
may now need to check whether it got a history object or the same
object back.
 - Legacy-Id: 4560
2012-07-02 18:09:42 +00:00
Ole Laursen 7b8928fe01 Make milestones visible in draft search results, and add notices to
the draft state edit form for WG chairs, as reminders for the WG
chairs to keep the milestones updated
 - Legacy-Id: 4559
2012-07-01 08:55:36 +00:00
Ole Laursen 02509a4d8c Fix a couple of bugs in handling editing documents associated with
milestones, also include those documents in the initial output on the
edit page
 - Legacy-Id: 4558
2012-06-30 18:27:55 +00:00
Ole Laursen 488add5004 Add script and code (and tests) to send milestone reminders to ADs
(for reviews) and group chairs.
 - Legacy-Id: 4557
2012-06-30 16:46:31 +00:00
Henrik Levkowetz 1370942f54 Add a way to reach charter urls given a wg name rather than the charter document name.
- Legacy-Id: 4556
2012-06-29 00:38:31 +00:00
Henrik Levkowetz 22c3ae22b9 Handle additional call modes and call cases for wgcharter.views.submit.
- Legacy-Id: 4555
2012-06-29 00:37:26 +00:00
Henrik Levkowetz c587b0ed44 Add some help for chairs which fuss about not being able to clearly see that they need to be logged in in order to handle approvals.
- Legacy-Id: 4552
2012-06-29 00:32:39 +00:00
Robert Sparks 1a5a7b998a Show the ballot question on the position entry form.
- Legacy-Id: 4550
2012-06-28 21:56:51 +00:00
Robert Sparks 8b5d95e71b Added the ability to reset the conflict review response text to the template at Sean's request
- Legacy-Id: 4549
2012-06-28 19:51:39 +00:00
Henrik Levkowetz 6bc68a9a51 Behave slightly more gracefully if a submission has already been moved into place, and we're asked to do it again.
- Legacy-Id: 4548
2012-06-28 19:22:59 +00:00
Henrik Levkowetz 99a7786990 Remove old non-functional Billo address.
- Legacy-Id: 4547
2012-06-28 19:21:51 +00:00
Henrik Levkowetz 30a8086b9b Make the syslog prefix more specific.
- Legacy-Id: 4546
2012-06-28 19:19:29 +00:00
Ole Laursen 2b5345cf67 Add some polish, send email notifications on milestone changes
- Legacy-Id: 4544
2012-06-28 19:00:24 +00:00
Ole Laursen 471d5de21e Add a review step when submitting milestones to try to help people
catch errors
 - Legacy-Id: 4543
2012-06-28 17:33:52 +00:00
Ole Laursen 4ef6cd7543 Add option to reject review milestone, not only accept it, for ADs
- Legacy-Id: 4542
2012-06-28 13:58:34 +00:00
Ole Laursen 22ce2e709a Make sure milestone.docs is also raw edit to avoid biggish drop down
- Legacy-Id: 4541
2012-06-28 13:57:48 +00:00
Henrik Levkowetz 007bf1959c Disable the reference-to/referenced-by rules; they will only produce hits after we populate the document relationship table with reference information.
- Legacy-Id: 4540
2012-06-27 20:24:22 +00:00
Henrik Levkowetz 02e161e496 Simplify document by WG display name code.
- Legacy-Id: 4539
2012-06-27 20:23:06 +00:00
Henrik Levkowetz 6612315b17 Correct typo in community draft tracking subscription confirmation email.
- Legacy-Id: 4538
2012-06-27 20:21:24 +00:00
Henrik Levkowetz d09d9deba5 Patch from esanchez@yaco.es to add a new IETF liaison-sending entity 'IESG and IAB'.
- Legacy-Id: 4537
2012-06-27 20:20:23 +00:00
Ole Laursen 1653633afa Fix some terminology on charter page to be more in line with what's
actually displayed these days
 - Legacy-Id: 4536
2012-06-27 16:51:40 +00:00
Ole Laursen bbee25b924 Include associated drafts in milestone overview on WG charter page.
- Legacy-Id: 4535
2012-06-27 16:47:31 +00:00
Ole Laursen 319a202900 Finish charter milestones support so they're merged in after approval
of the charter, also replace references to WGs in wgcharter with a
more generic counterpart so will be easier to add support for RGs if
someone ever gets that far (will still need testing and probably some
minor adjustments though).
 - Legacy-Id: 4534
2012-06-27 16:24:04 +00:00
Henrik Levkowetz 612ea9fd09 Use the raw parameter to get_values to make the wg link not appear in the cvs export.
- Legacy-Id: 4532
2012-06-27 12:55:00 +00:00
Henrik Levkowetz adeafe8df2 Changed the group link on the personal doc list page to use the group acronym instead of whole name, and made the acronym a link to the wg documents page.
- Legacy-Id: 4531
2012-06-27 10:46:36 +00:00
Henrik Levkowetz fdb18755a7 Tweak the display of explicitly added documents some more.
- Legacy-Id: 4530
2012-06-27 10:22:01 +00:00
Henrik Levkowetz 239cd5d66d Tweak the display of explicitly added documents (saying 'explicitly' rather than 'manually', and including the active/expired/rfc state of the document.
- Legacy-Id: 4529
2012-06-27 10:14:46 +00:00
Henrik Levkowetz e3a2b6113f When adding a rule for I-Ds, only apply the selection to active I-Ds, not those which are expired or published.
- Legacy-Id: 4528
2012-06-27 10:08:05 +00:00
Henrik Levkowetz 956b3d39df Changes to the rule specifications for document tracking lists: Simplify the filter rules, show acronym in wg and area selection lists, list only ADs of active areas.
- Legacy-Id: 4527
2012-06-27 09:48:04 +00:00
Henrik Levkowetz c55a25461b New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4526
2012-06-27 08:46:04 +00:00
Henrik Levkowetz fdff56bd21 New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4525
2012-06-27 08:44:36 +00:00
Henrik Levkowetz 822f9cff3f Remove the grep based searches in utils.py; they are too costly. If tracing lists based on word search is needed, another implementation must be found.
- Legacy-Id: 4524
2012-06-27 08:42:34 +00:00
Henrik Levkowetz 8a57be6b80 There are old drafts which contain '+' in the name. Accept that in the urlpatterns so url reverses work.
- Legacy-Id: 4523
2012-06-27 08:40:25 +00:00
Henrik Levkowetz 36387810a7 New schema models have moved from redesign/ to ietf/; fix community sources accordingly.
- Legacy-Id: 4522
2012-06-27 08:38:55 +00:00
Henrik Levkowetz 590abeea30 Make it possible to include some html markup in the option display string (specifically, an em-dash).
- Legacy-Id: 4521
2012-06-27 08:32:09 +00:00
Henrik Levkowetz b0016c0fe9 Minor cleanup.
- Legacy-Id: 4520
2012-06-27 08:31:15 +00:00
Henrik Levkowetz 89ac692442 Added in the community app, which wasn't included properly in the previous commit.
- Legacy-Id: 4519
2012-06-27 08:26:18 +00:00
Henrik Levkowetz b2573a43aa Merged community tracking branch from esanchez@yaco.es, r3175-3679,3713-3830.
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4518.2
2012-06-27 08:15:14 +00:00
Ole Laursen 8929413a71 Merged in changes from former milestones branch
- Legacy-Id: 4516
2012-06-26 18:09:43 +00:00
Ole Laursen 6c1e87b773 Move milestones branch out of the way to prepare for merge with trunk to get latest charter changes in
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4514.1
2012-06-26 17:47:53 +00:00
Henrik Levkowetz 1603cdab11 Since all the tables have been created earlier, the contents forward and backward of meeting/migrations/0001_initial.py is meaningless, but we need 'pass' instead for it to run. Fixed.
- Legacy-Id: 4504
2012-06-22 20:58:05 +00:00
Robert Sparks 51ab8123d9 merged in from 4.20-ise
- Legacy-Id: 4502
2012-06-22 20:25:17 +00:00
Henrik Levkowetz e66178fe35 Set version info and settings back to development mode
- Legacy-Id: 4493
2012-06-21 01:01:41 +00:00
Henrik Levkowetz 66343f57fc Set version info to release version 4.21 before branching.
- Legacy-Id: 4491
2012-06-21 01:01:39 +00:00
Henrik Levkowetz 3683a6af26 Backporting patches from production system.
- Legacy-Id: 4487
2012-06-21 00:35:33 +00:00
Henrik Levkowetz 7474b27348 Merged in branch/iola/approval from olau@iola.dk, which provides a pre-approval page for new WG drafts.
- Legacy-Id: 4486
2012-06-21 00:24:48 +00:00
Henrik Levkowetz bfaf48b60f Merged in personal/adam/v4.00 from adam@nostrum.com with fixes [4436], [4438] to the /meeting/*/requests page.
- Legacy-Id: 4485
Note: SVN reference [4436] has been migrated to Git commit 9cfdb5afd7f77b161c43b9551ec3fc23575aa255

Note: SVN reference [4438] has been migrated to Git commit 961c6b83d293f465df678a943a7621b731a0acbb
2012-06-21 00:00:03 +00:00
Henrik Levkowetz 546d793e5b Try to not use explicit .html extensions in the urls. Redirect from those to .html-less urls.
- Legacy-Id: 4484
2012-06-20 23:57:27 +00:00
Henrik Levkowetz b1b21e5529 Merged in branch/iola/charter-fixes from olau@iola.dk with a series of fixes to the charter management code.
- Legacy-Id: 4483
2012-06-20 23:01:28 +00:00
Henrik Levkowetz 2b78e1573e Merged in personal/rjs/v4.02_via_rfc containing [4356] which replaces code using the old via-rfc tag with code looking at the document stream (and more), and [4364] which adds document page counts on the future telechats page.
- Legacy-Id: 4482
Note: SVN reference [4356] has been migrated to Git commit 4eabc033c1

Note: SVN reference [4364] has been migrated to Git commit b3c665287d
2012-06-20 22:17:48 +00:00
Henrik Levkowetz 786c56a3ac Added a new field 'short' to Session, to help produce file names for agendas, minutes and slides for groups with different named session, such as for instance 'edu'. Generating distinct filenames directly from the name field gives too long names.
- Legacy-Id: 4481
2012-06-20 21:12:26 +00:00
Ole Laursen 822fd6daac Replace get_profile() hack with a test on the user instead, this
also makes the ballot icon more robust against users without profiles
(which shouldn't happen, but apparently we sometimes get one which
results in a crash rather than something more graceful)
 - Legacy-Id: 4480
2012-06-20 12:26:06 +00:00
Ole Laursen 35eb4f013a Give the incoming name to the top renderer so the links are internally
consistent, this is needed because we still have different views for
/doc/rfcXXXX/ and /doc/draft-foo-bar/
 - Legacy-Id: 4479
2012-06-20 11:16:55 +00:00
Ole Laursen 278776f597 Fix regexp fix - [.-_] does not mean "dot or dash or underscore", it
means all characters between dot and underscore
 - Legacy-Id: 4478
2012-06-20 11:13:46 +00:00
Ole Laursen 95c2b07691 Include _ in allowed document name regexp, we currently have 7 drafts
with _ in the database despite it not being valid - they can be found
with:
select name from doc_document where name like '%\_%' and type_id = "draft";
 - Legacy-Id: 4477
2012-06-20 11:00:35 +00:00
Henrik Levkowetz 7b75d6fd65 Quick fix for extensionless get_absolute_url(). XXX Fixme: needs bigger refactoring.
- Legacy-Id: 4476
2012-06-20 10:27:32 +00:00
Ole Laursen 7538eab96f Fix flow of approval of charters/announcement of the WG action based
on feedback from Cindy Morgan, now there's a link on the approval page
to go to the edit page which sends you back upon saving, and the edit
page doesn't provide a button to send the announcement since you
should do that on the approve page (instead it provides a link).
 - Legacy-Id: 4474
2012-06-19 18:48:02 +00:00
Ole Laursen 4cb42fd91c Include current milestones in charter action/review announcements,
fixes issue #835.
 - Legacy-Id: 4473
2012-06-19 17:06:56 +00:00
Ole Laursen bc6bd21b94 Add CC for group mailing list in action/review emails, fixes issue #837.
- Legacy-Id: 4470
2012-06-19 14:32:18 +00:00
Ole Laursen a353acd7e6 Fix link to charter .txt file on agenda page
- Legacy-Id: 4469
2012-06-19 14:16:08 +00:00
Ole Laursen 72f5495ebb Apparently, CHARTER_TXT_URL http://www.ietf.org/charters/ is really
http://www.ietf.org/charter/, fix this in the settings.py file
 - Legacy-Id: 4468
2012-06-19 14:15:04 +00:00