Commit graph

768 commits

Author SHA1 Message Date
Robert Sparks fe17f6d87b checkpoint: Allows adding a document to upcoming sessions
- Legacy-Id: 10849
2016-02-19 23:13:23 +00:00
Robert Sparks 859f2ead3d checkpoint: purged the rest of the day/seq URLs. Streamlined workflows to focus on "current" versions as a default. Plumbed editing and deleting sessionpresentations from a document perspective. Started adding meat to document factories.
- Legacy-Id: 10847
2016-02-19 04:20:57 +00:00
Robert Sparks d709af6ca2 checkpoint: refined document/session view with test. Trivial start on Document factories.
- Legacy-Id: 10845
2016-02-18 04:07:17 +00:00
Robert Sparks 78ca39f237 checkpoint: start of a view showing all sessions associated with a document
- Legacy-Id: 10844
2016-02-17 16:38:33 +00:00
Russ Housley b4b14112b8 Added test for proper eneration of the approval message with and without an RFC Editor Note.
- Legacy-Id: 10839
2016-02-12 22:09:13 +00:00
Russ Housley 6cf8680a16 Allow IAB, IRTF, and Independent streams to use new capability for RFC Editor Notes. Do not display of document shepherd and shepherd writeup for non-IETF stream documents. Do not display IESG information for IAB stream documents.
- Legacy-Id: 10834
2016-02-11 22:12:52 +00:00
Henrik Levkowetz 643a8ee44c Merged in [10811] from rjsparks@nostrum.com:
Handle expiring the last call of status change documents. Be more robust about errors when expiring last calls. Fixes #1911.
 - Legacy-Id: 10819
Note: SVN reference [10811] has been migrated to Git commit e7f90214c5
2016-02-10 18:57:52 +00:00
Henrik Levkowetz 071729f740 Merged in [10803] from rjsparks@nostrum.com:
Create the approval ballot for charters when the charter enters external review (or iesg review if external review is skipped). Fixes #1792.
 - Legacy-Id: 10812
Note: SVN reference [10803] has been migrated to Git commit b1f229cf9d
2016-02-10 16:53:36 +00:00
Robert Sparks e7f90214c5 Handle expiring the last call of status change documents. Be more robust about errors when expiring last calls. Fixes #1911. Commit ready for merge.
- Legacy-Id: 10811
2016-02-10 15:37:58 +00:00
Henrik Levkowetz b00b0c3db9 Moved some production-path checks to the checks module, and fixed up tests which changed some settings without restoring them.
- Legacy-Id: 10808
2016-02-09 18:50:37 +00:00
Henrik Levkowetz 5ab5b8ad21 Added caching to the smart document lookup view.
- Legacy-Id: 10807
2016-02-09 14:21:49 +00:00
Robert Sparks b1f229cf9d Create the approval ballot for charters when the charter enters external review (or iesg review if external review is skipped). Fixes #1792. Commit ready for merge.
- Legacy-Id: 10803
2016-02-08 19:59:47 +00:00
Henrik Levkowetz 5adcba1146 Added a migration for changed choices list for DocEvent. Related to [10770].
- Legacy-Id: 10792
Note: SVN reference [10770] has been migrated to Git commit 4b5ac9e09e
2016-02-07 13:43:35 +00:00
Henrik Levkowetz 86868b9020 Merged in [10779] from rjsparks@nostrum.com:
Added the ability to associate documents with sessions from the document main page.
Integrated the group meetings tab with the secretariat meeting request and meeting materials pages.
Made better use of bootstrap styling for the meetings tab and session details view.
 - Legacy-Id: 10784
Note: SVN reference [10779] has been migrated to Git commit 776b95106f
2016-02-05 23:00:04 +00:00
Henrik Levkowetz 174cfeafa3 Merged in [10770], [10771], [10772], and [10773] from housley@vigilsec.com:
The IESG Telechat Agenda now shows "(Has RFC Editor Note)" after the I-D
filename if there is an RFC Editor Note associated with the document.  This
was added to the html and txt versions of the agenda.  It was not added to the
Secretariat view or the Scribe view of the agenda.

For transition, when an AD edits the RFC Editor Note, they need to move the
text from the current writeup into the new field.  Returning documents on the
telechat agenda seems to be the biggest opportunity for something to fall
between the cracks.  If an event of type "changed_rfc_editor_note' exists, and
the string "RFC Editor Note" appears in the text of the most recent
'changed_ballot_writeup_text' event, then a message is shown that tells the AD
to remove the RFC Editor Note from the writeup.
 - Legacy-Id: 10783
Note: SVN reference [10770] has been migrated to Git commit 4b5ac9e09e

Note: SVN reference [10771] has been migrated to Git commit 46589ee421

Note: SVN reference [10772] has been migrated to Git commit c73659e95c

Note: SVN reference [10773] has been migrated to Git commit 2e6633c016
2016-02-05 22:18:14 +00:00
Henrik Levkowetz 321bce54b0 Merged in [10764] from lars@netapp.com:
Fix \'RemovedInDjango19Warning: The django.forms.util module has been renamed.
Use django.forms.utils instead.\'
 - Legacy-Id: 10778
Note: SVN reference [10764] has been migrated to Git commit a001822cab
2016-02-04 16:29:30 +00:00
Russ Housley 4b5ac9e09e Indicate on the IESG Telechat Agenda if a document has an RFC Editor Note. To accomplish this, the RFC Editor Note needed to be separated from the rest of the ballot write up. Fixes #1230.
- Legacy-Id: 10770
2016-02-04 13:32:24 +00:00
Lars Eggert a001822cab Fix "RemovedInDjango19Warning: The django.forms.util module has been renamed.
Use django.forms.utils instead." Commit ready for merge.
 - Legacy-Id: 10764
2016-02-03 13:33:37 +00:00
Robert Sparks a1a518a4bc merged older materials work (specifically, that vetted in prague)
- Legacy-Id: 10750
2016-01-27 01:12:19 +00:00
Robert Sparks a0457c74f8 Filter unused document types from the search form. Fixes #1890. Commit ready for merge.
- Legacy-Id: 10732
2016-01-25 20:09:34 +00:00
Robert Sparks 757397330c Addresses issues uncovered by the test-crawler. Adds missing DocAlias records for several document types. Creates DocAlias objects when createing Document objects for those document types. Identifies places in code to touch when we are ready to expose the bluesheets and recording document types at /doc/. (The data rows and the content store need work before doing so).
- Legacy-Id: 10731
2016-01-25 19:40:35 +00:00
Ole Laursen 197bc07771 Refactor search-related utilities slightly to make them more
independent of the search form, to enable them to be reused in the
community lists.

Also clean up the related code a bit, use SearchForm to handle other
document types, and fix missing ids in the HTML so that one can click
the "by" labels to hit the corresponding radio button.
 - Legacy-Id: 10729
2016-01-25 18:11:49 +00:00
Robert Sparks 87e2653f56 Added listing all the area directors back. Related to #1889. Commit ready for merge.
- Legacy-Id: 10726
2016-01-22 21:17:44 +00:00
Robert Sparks dc2593ebe5 Tweak the rendering of Area Directors in the charter text used in new-work, internal review, external review, and group action messages to display. Fixes #1889. Commit ready to merge.
- Legacy-Id: 10723
2016-01-22 20:47:45 +00:00
Ole Laursen 540ef748f7 Fix community list track/untrack on document page, also fix the
attached Javascript which had a split personality regarding how to
deal with a repeated click
 - Legacy-Id: 10714
2016-01-19 11:27:47 +00:00
Henrik Levkowetz f1ca9a0f1c Shave off 10 seconds of test running time by not reading more than the start of files when checing that aliases exist.
- Legacy-Id: 10705
2016-01-16 22:31:31 +00:00
Henrik Levkowetz 6c8629c4a9 Merged in [10629] from rjsparks@nostrum.com:
This set of changes focuses on improvements to the nomcom portion of
    the datatracker. 

    These changes:

    - Simplify the nomcom form for comments. Make it more obvious who
      receives mail when a comment is supplied. Fixes #1849.

    - Simplify the nomcom form for nominations. Provide a primary workflow
      where nominations choose an existing Person, and a secondary
      workflow for nominating new people. 

    - Allow nominees to add a comment when accepting or declining a
      nomination. Fixes #1845.

    - Organize the list of nominees on the feedback page. Fixes #1786 and
      #1809.

    - Simplify the mechanisms used to display feedback message counts.

    - Regroup the feedback view to make it easier to see where to spend
      review effort. Fixes #1866.

    - Capture when nomcom members last reviewed feedback for a given
      nominee. Add badges when new feedback is avaliable. Improve the
      layout of the feedback index page. Fixes #1850.

    - Reorganize the tab navigation on the nomcom private pages. Made it
      more obvious when the chair is doing something that only the chair
      gets to see. Fixes #1788 and #1795.

    - Regroup multiselect options to make classifying pending feedback
      simpler. Make the control larger and resizable. Fixes #1495.

    - Simplify the chair's views for editing nominee records. Replace the
      merge nominee form with a request to the secretariat to merge Person
      records. Fixes #1847. 

    - Added merging nominees to the secretariat's persson merging script. 

    - Show information for concluded nomcoms. Close feedback and
      nomination for concluded nomcoms. Fixes #1856.

    - Improve the questionnaire templates, reminding the nominee that
      receiving the questionnaire does not imply they have accepted a
      nomination. Fixes #1807.

    - Remove the description field from Postion. Simplify the Position
      list and the Position edit form. Make the nomcom pages more self
      documenting. Add a page to help nomcom chiars through setting up a
      new nomcom. Fixes #1867 and #1768.

    - Remove the type from the template pathname for the requirements
      templates. Make the requirements views work for both types plain and
      rst. Changed the default type for new nomcom requirement templates
      to rst.

    - Remove 'incumbent' from the models. Fixes #1771.

    - Adjust the models for Nominee and Nomination to better associate
      Nominee objects with Person objects.

    - Remove BaseNomcomForm and the implementation of custom fieldsets.

    - Replace the custom message framework with the django provided
      messages framework.

    - Improve SearchablePersonField to show the primary email address for
      any search result where a name appears more than once.

    - Add the use of factory-boy for generating test data. Normalize
      management of a test directory for test nomcom public keys.
      Significantly improve test coverage of the nomcom related code.
 - Legacy-Id: 10703
Note: SVN reference [10629] has been migrated to Git commit c8bbfbad78
2016-01-15 21:59:49 +00:00
Henrik Levkowetz b05605308f Merged in some changes missed in 12.6.1 as they weren't marked as ready to merge.
- Legacy-Id: 10700
2016-01-15 16:45:18 +00:00
Ole Laursen b7232d0ab7 Revamp tracked/not tracked icons in search results to not do one query
per document, and make them work on all search result pages, move the
utility function to community/
 - Legacy-Id: 10690
2016-01-14 18:04:05 +00:00
Henrik Levkowetz 139cda9543 Added listing of Area Directors, and TBD indications, that was inadvertently dropped from some chartering related emails during refactoring. Also added testing code to verify the email body content of some chartering emails a bit more thoroughly.
- Legacy-Id: 10683
2016-01-13 18:32:02 +00:00
Lars Eggert 733532e02e Fix internal server error when generating bibtex for legacy RFCs. But at least
for RFC1786, the authors field is empty and the date wrong. Need to check
whether this is an error in the database or in the code. But still: Commit ready
for merge.
 - Legacy-Id: 10676
2016-01-13 15:26:43 +00:00
Lars Eggert 7997b99f02 More fixes to charter-related emails and some related web templates. Mostly
focused on supporting the IRTF better, but also removing some redundancies
(i.e., including group_info.txt instead of duplicating something similar.)
Commit ready for merge.
 - Legacy-Id: 10674
2016-01-13 14:53:47 +00:00
Lars Eggert bcea97323f Fix the internal review email template and related code to handle IRTF RGs
better. Commit ready for merge.
 - Legacy-Id: 10673
2016-01-13 13:50:16 +00:00
Ole Laursen 1e75ee3d11 Do not create CommunityLists when rendering the side bar, only render
the links
 - Legacy-Id: 10668
2016-01-13 10:47:36 +00:00
Henrik Levkowetz b66dffe8fa Merged in [10636] from rjsparks@nostrum.com:
Refactored counting telechat pages to do it only in one place. Count more accurately and make it possible to report more granularly. Added page counts to agenda.json.
 - Legacy-Id: 10658
Note: SVN reference [10636] has been migrated to Git commit 67f0234cac
2016-01-12 21:45:59 +00:00
Henrik Levkowetz f50636c0ea Merged in [10634] from rjsparks@nostrum.com:
Change the text used in conflict review approval messages. Fixes #1877.
 - Legacy-Id: 10657
Note: SVN reference [10634] has been migrated to Git commit 2c75e954ad
2016-01-12 21:22:41 +00:00
Henrik Levkowetz 051daf6730 Merged in [10633] from housley@vigilsec.com:
If the Internet-Draft is not the current revision, set the URLs to settings.IETF_ID_ARCHIVE_URL.  Fixes #1876.
 - Legacy-Id: 10656
Note: SVN reference [10633] has been migrated to Git commit 8ae439ae0f
2016-01-12 20:57:16 +00:00
Henrik Levkowetz 382a4e7b2b Merged in [10631] from rjsparks@nostrum.com:
Add page counts to iesg/agenda/documents and to the edit telechat date form. Fixes #1772.
 - Legacy-Id: 10654
Note: SVN reference [10631] has been migrated to Git commit 8f5a692338
2016-01-12 18:20:28 +00:00
Henrik Levkowetz dec2d8ee9e Merged in [10630] from housley@vigilsec.com:
Better handling of consensus for BCPs and  standards track documents.  Partial fix for ticket 1560.
 - Legacy-Id: 10653
Note: SVN reference [10630] has been migrated to Git commit 884291fd91
2016-01-12 18:11:29 +00:00
Henrik Levkowetz bce152b2b9 Rewrote crawl_history() to be easier to read (renaming multiple 'retval' variables and other naming tweaks) and made it return distinct revisions without the added uniqueness filtering round from /personal/lars/6.11.1.dev0@10604.
- Legacy-Id: 10639
2016-01-11 23:33:50 +00:00
Robert Sparks 67f0234cac Refactored counting telechat pages to do it only in one place. Count more accurately and make it possible to report more granularly. Added page counts to agenda.json. Commit ready to merge.
- Legacy-Id: 10636
2016-01-07 23:31:05 +00:00
Robert Sparks 2c75e954ad Change the text used in conflict review approval messages. Fixes #1877. Commit ready for merge.
- Legacy-Id: 10634
2016-01-06 15:44:29 +00:00
Russ Housley 8ae439ae0f If the Internet-Draft is not the current revision, set the URLs to settings.IETF_ID_ARCHIVE_URL. Fixes #1876.
- Legacy-Id: 10633
2016-01-05 20:33:48 +00:00
Russ Housley 23151352c3 For documents in the IETF stream, display consensus in the IESG portion of the page. For documents in other streams, disply consensis in the Stream portion of the page. Fixes #1560.
- Legacy-Id: 10632
2016-01-05 17:18:43 +00:00
Robert Sparks 8f5a692338 Add page counts to iesg/agenda/documents and to the edit telechat date form. Fixes #1772. Commit ready for merge.
- Legacy-Id: 10631
2016-01-04 22:49:17 +00:00
Russ Housley 884291fd91 Better handling of consensus for BCPs and standards track documents. Partial fix for ticket 1560.
- Legacy-Id: 10630
2015-12-30 23:29:29 +00:00
Robert Sparks c8bbfbad78 This set of changes focuses on improvements to the nomcom portion of the datatracker.
These changes:

Simplify the nomcom form for comments. Make it more obvious who receives mail when a comment is supplied. Fixes # 1849.

Simplify the nomcom form for nominations. Provide a primary workflow where nominations choose an existing Person, and a secondary workflow for nominating new people. 

Allow nominees to add a comment when accepting or declining a nomination. Fixes #1845.

Organize the list of nominees on the feedback page. Fixes #1786 and #1809.

Simplify the mechanisms used to display feedback message counts.

Regroup the feedback view to make it easier to see where to spend review effort. Fixes #1866.

Capture when nomcom members last reviewed feedback for a given nominee. Add badges when new feedback is avaliable. Improve the layout of the feedback index page. Fixes #1850.

Reorganize the tab navigation on the nomcom private pages. Made it more obvious when the chair is doing something that only the chair gets to see. Fixes #1788 and #1795.

Regroup multiselect options to make classifying pending feedback simpler. Make the control larger and resizable. Fixes #1854.

Simplify the chair's views for editing nominee records. Replace the merge nominee form with a request to the secretariat to merge Person records. Fixes #1847. 

Added merging nominees to the secretariat's persson merging script. 

Show information for concluded nomcoms. Close feedback and nomination for concluded nomcoms. Fixes #1856.

Improve the questionnaire templates, reminding the nominee that receiving the questionnaire does not imply they have accepted a nomination. Fixes #1807.

Remove the description field from Postion. Simplify the Position list and the Position edit form. Make the nomcom pages more self documenting. Add a page to help nomcom chiars through setting up a new nomcom. Fixes #1867 and #1768.

Remove the type from the template pathname for the requirements templates. Make the requirements views work for both types plain and rst. Changed the default type for new nomcom requirement templates to rst.

Remove 'incumbent' from the models. Fixes #1771.

Adjust the models for Nominee and Nomination to better associate Nominee objects with Person objects.

Remove BaseNomcomForm and the implementation of custom fieldsets.

Replace the custom message framework with the django provided messages framework.

Improve SearchablePersonField to show the primary email address for any search result where a name appears more than once.

Add the use of factory-boy for generating test data. Normalize management of a test directory for test nomcom public keys. Significantly improve test coverage of the nomcom related code.


Commit ready for merge.
 - Legacy-Id: 10629
2015-12-23 21:00:15 +00:00
Robert Sparks dc5ae398f2 Improved SearchablePersonField to show the primary email address for any search results where a name appears more than once.
Simplified the edit nominee form.
Replaced the merge nominee form with a request to the secretariat to merge Person records. Fixes #1847.
Added merging nominees to the secretariat's person merging script.
Restructured the person merging script to make it testable.
Updated some tests to match changes to the mailtriggers that hadn't made it to the fixtures.
 - Legacy-Id: 10625
2015-12-22 21:42:55 +00:00
Henrik Levkowetz 213ae4921b Merged in /personal/lars/6.11.1.dev0@10590 from lars@netapp.com, which brings in a timeline view at the top of document pages.
- Legacy-Id: 10597
2015-12-15 19:17:36 +00:00
Lars Eggert cf4964059f Fix some issues Henrik found, and implement some of his suggestions:
* Fix ancestor stacking
* Suppress x-axis labels that overlap with others
* Make bars clickable links
 - Legacy-Id: 10590
2015-12-14 13:04:34 +00:00
Henrik Levkowetz 937fd705e2 Changed the style for 'recuse' from 'default' to 'primary' colour.
- Legacy-Id: 10583
2015-12-11 20:04:56 +00:00
Lars Eggert 0f1c823a6e Now that the timeline stuff seems stable, show it for all document types.
- Legacy-Id: 10555
2015-12-09 16:54:53 +00:00
Henrik Levkowetz 063d92bfe7 Merged in [10530] from lars@netapp.com:
Update a number of web assets to their latest versions.
 - Legacy-Id: 10552
Note: SVN reference [10530] has been migrated to Git commit 808196bc0c
2015-12-08 21:43:46 +00:00
Lars Eggert d4d09a2f75 Refactor graphical timeline, by making the data available via doc.json. Also
refactor associated js/css/html. Finally, a lot of display tweaks.
 - Legacy-Id: 10550
2015-12-08 14:29:35 +00:00
Lars Eggert 9728186ec4 Make revision history (via crawl_history) available in document templates. This
lays the foundation for graphical timelines.
 - Legacy-Id: 10542
2015-12-03 13:25:51 +00:00
Lars Eggert 29f021d7f4 Add a button to I-D and RFC pages that provides a citation in bibtex format for
the document. Commit ready for merge.
 - Legacy-Id: 10529
2015-12-02 14:07:16 +00:00
Robert Sparks 5a591bb263 Allow setting the stream state of a document that has not yet had any stream state set. Fixes #1859. Commit ready for merge. Candidate for patch.
- Legacy-Id: 10503
2015-11-17 04:33:35 +00:00
Henrik Levkowetz f2fed6a543 Merged in [10431] from rjsparks@nostrum.com:
Reduce confusion around how to send a document from a WG to the IESG through additional, restrictive, validation on the stream state editing form. Fixes bug #1418.
 - Legacy-Id: 10445
Note: SVN reference [10431] has been migrated to Git commit 5ee77ca282
2015-11-07 23:12:43 +00:00
Henrik Levkowetz 408d51c11f Merged in [10425] from bartosz.balazinski@interdigital.com:
Provide information about who has suggested document replaced-by information in the notification email.

    This commit fixes bug 1817,
 - Legacy-Id: 10440
Note: SVN reference [10425] has been migrated to Git commit ba39077180
2015-11-07 21:43:27 +00:00
Robert Sparks 5ee77ca282 Reduce confusion around how to send a document from a WG to the IESG through additional, restrictive, validation on the stream state editing form. Fixes bug #1418. Commit ready for merge.
- Legacy-Id: 10431
2015-11-06 02:32:59 +00:00
Bartosz Balazinski ba39077180 This commit fixes bug 1817, commit ready to merge
- Legacy-Id: 10425
2015-11-04 23:25:51 +00:00
Henrik Levkowetz db7aa73eb4 Merged in [10418] from henrik@levkowetz.com:
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
 - Legacy-Id: 10420
Note: SVN reference [10418] has been migrated to Git commit cf7d794b09
2015-11-04 08:46:35 +00:00
Henrik Levkowetz cf7d794b09 Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz 7d692a8826 Merged in [10384] from rjsparks@nostrum.com:
When a group gives a document a new group state (particularly for the first time), send a message that says what happened instead of simply \'Adopted\'. Fixes #1830.
 - Legacy-Id: 10411
Note: SVN reference [10384] has been migrated to Git commit be377e5ac5
2015-11-03 15:02:47 +00:00
Henrik Levkowetz be491ac1a0 Merged in [10378] from rjsparks@nostrum.com:
Make the internal review message reflect whether this is a new chartering effort or a recharter. Fixes #1814.
 - Legacy-Id: 10406
Note: SVN reference [10378] has been migrated to Git commit ff93fe3599
2015-11-03 13:49:21 +00:00
Robert Sparks be377e5ac5 When a group gives a document a new group state (particularly for the first time), send a message that says what happened instead of simply "Adopted". Fixes #1830. Commit ready for merge.
- Legacy-Id: 10384
2015-11-03 09:22:15 +00:00
Robert Sparks ff93fe3599 Make the internal review message reflect whether this is a new chartering effort or a recharter. Fixes #1814. Commit ready to merge.
- Legacy-Id: 10378
2015-11-03 05:28:06 +00:00
Henrik Levkowetz e0c89e68b9 Merged in [10363] from rjsparks@nostrum.com:
email_iana needs to leave address generation to mailtrigger and not try to rewrap the address.  This should be patched into production.
 - Legacy-Id: 10368
Note: SVN reference [10363] has been migrated to Git commit 262ad86dba
2015-11-02 06:05:07 +00:00
Robert Sparks 262ad86dba email_iana needs to leave address generation to mailtrigger and not try to rewrap the address. Commit ready for merge. This should be patched into production.
- Legacy-Id: 10363
2015-11-02 03:35:40 +00:00
Henrik Levkowetz 7161a72f66 Merged in [10345] from rjsparks@nostrum.com:
Added an RSS feed for RFCs for use with the digital preservation project.
 - Legacy-Id: 10358
Note: SVN reference [10345] has been migrated to Git commit 5daee49d7c
2015-11-01 02:34:58 +00:00
Robert Sparks 5daee49d7c Added an RSS feed for RFCs for use with the digital preservation project. Commit ready for merge.
- Legacy-Id: 10345
2015-10-31 08:11:48 +00:00
Russ Housley 93568b2b1f Add check to addcomment for WG/RG chair or secretary; Commit ready for merge
- Legacy-Id: 10343
2015-10-31 07:20:26 +00:00
Russ Housley 70890fb4c0 WG/RG chairs and secretaries can add comments to document history; get non-active I-Ds from www.ietf.org instead of tools.ietf.org; fixes 1702, 1801, 1831; Commit ready for merge
- Legacy-Id: 10341
2015-10-31 06:03:21 +00:00
Ole Laursen 2f5bfdbc95 Remove unused obsolete template tag file
- Legacy-Id: 10328
2015-10-28 10:45:48 +00:00
Ole Laursen b9301ef174 Fix weird migration issue
- Legacy-Id: 10327
2015-10-28 10:41:34 +00:00
Ole Laursen 86c3a430d1 Merge in ^/branch/iola/event-saving-refactor-r10076, fixing a few problems
- Legacy-Id: 10298
2015-10-27 10:37:06 +00:00
Henrik Levkowetz 71dec7a692 Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
- Legacy-Id: 10297
2015-10-26 22:45:26 +00:00
Robert Sparks ada7e48ed4 Framework in place, most of the details worked out
- Legacy-Id: 10275
2015-10-23 19:15:55 +00:00
Henrik Levkowetz 7accc69144 Updated a couple of tests.
- Legacy-Id: 10273
2015-10-23 17:12:46 +00:00
Henrik Levkowetz 309275dd7f Enhanced the partial-match URL feature introduced in [10158], merged in [10253], so that it now handles other document types than drafts/rfcs if the partial string has the proper prefix, and also handles partial strings which don't match at the start of the document name.
- Legacy-Id: 10255
Note: SVN reference [10158] has been migrated to Git commit 4ac99a9dc4

Note: SVN reference [10253] has been migrated to Git commit 083abf7516
2015-10-21 19:21:52 +00:00
Henrik Levkowetz 083abf7516 Merged in [10158] from olau@iola.dk:
Summary: Add a view for /doc/foo-bar-baz that tries to redirect
helpfully instead of just throwing a 404 in case in an inexact match.
Right now, it knows how to do prefix matches and handles revisions and
extensions. If it can't find a unique match, it redirects to the
search page.
Branch
 - Legacy-Id: 10253
Note: SVN reference [10158] has been migrated to Git commit 4ac99a9dc4
2015-10-21 16:54:24 +00:00
Henrik Levkowetz bd4cf3319a Merged in [10111] from olau@iola.dk:
This fixes Javascript widgets working with DocAliases, such as the
replaces field in draft submission, to work better with Javascript
disabled. It also makes sense from a modelling perspective as the name
really is a unique key for the alias.

The actual transformation requires a series of migrations taking a
couple of minutes to complete. The actual switch to the key is done at
the end.
 - Legacy-Id: 10251
Note: SVN reference [10111] has been migrated to Git commit 8bca1b4b33
2015-10-19 20:06:13 +00:00
Henrik Levkowetz 407cad853a Reverted erroneous commit.
- Legacy-Id: 10226
2015-10-17 17:56:36 +00:00
Henrik Levkowetz e10ab9a3e4 Merged in [10218] from rjsparks@nostrum.com:
Fix an initialization problem for the new work message for recharters.
 - Legacy-Id: 10225
Note: SVN reference [10218] has been migrated to Git commit f9e35662e5
2015-10-17 17:56:00 +00:00
Henrik Levkowetz f4b09f4cac Merged in [10207] from rcross@amsl.com:
Fix pyflakes error.
 - Legacy-Id: 10224
Note: SVN reference [10207] has been migrated to Git commit 8a421c61cc
2015-10-17 17:38:26 +00:00
Robert Sparks f9e35662e5 Fix an initialization problem for the new work message for recharters. Commit ready for merge.
- Legacy-Id: 10218
2015-10-16 16:34:25 +00:00
Henrik Levkowetz ac43afcaef Fix an issue with the new checks in test context.
- Legacy-Id: 10205
2015-10-13 21:15:54 +00:00
Henrik Levkowetz 3606959a57 Use get_doc_... instead of get_draft_... to better match the action.
- Legacy-Id: 10202
2015-10-13 18:55:51 +00:00
Henrik Levkowetz caa56e97a4 Renamed the two get_email_aliases functions to have distinct names.
- Legacy-Id: 10201
2015-10-13 18:12:59 +00:00
Ole Laursen fbd31575d4 Summary: Fix a subtle event ordering problem that sometimes show up
when running the test suite with MySql
 - Legacy-Id: 10189
2015-10-12 14:34:19 +00:00
Ole Laursen 32a4a95b47 Summary: Fix bug with uploading new materials with new save API
- Legacy-Id: 10188
2015-10-12 13:20:43 +00:00
Ole Laursen 4ac99a9dc4 Summary: Add a view for /doc/foo-bar-baz that tries to redirect
helpfully instead of just throwing a 404 in case in an inexact match.
Right now, it knows how to do prefix matches and handles revisions and
extensions. If it can't find a unique match, it redirects to the
search page.

Branch ready for merge.
 - Legacy-Id: 10158
2015-10-09 14:20:27 +00:00
Robert Sparks f0f5a51eb6 (Rocky) merge forward.
- Legacy-Id: 10157
2015-10-09 03:16:24 +00:00
Ole Laursen 43445307b1 Summary: Be more careful with generating announcements for charters so
they are not saved unless we're in a POST
 - Legacy-Id: 10141
2015-10-07 10:42:31 +00:00
Ole Laursen d70a1601a6 Summary: Split charter names with acronyms containing hyphen correctly
- Legacy-Id: 10139
2015-10-07 09:15:37 +00:00
Ole Laursen ec54a59cc6 Summary: Be more careful when generating writeups so that we wait with
saving newly generated writeups until we see a POST (problem found by
the test crawler)
 - Legacy-Id: 10137
2015-10-06 16:20:12 +00:00
Ole Laursen 63d96e0354 Summary: Get rid of submit_initial_charter hack, only create a charter
when a first revision has actually been submitted.
 - Legacy-Id: 10136
2015-10-06 15:14:31 +00:00
Ole Laursen e93a7830bc Summary: Enable ISE and IAB stream state help
- Legacy-Id: 10133
2015-10-05 08:28:11 +00:00
Ole Laursen 08500ec743 Summary: Don't show edit buttons on snapshots of previous document revisions
- Legacy-Id: 10121
2015-10-02 08:24:02 +00:00
Ole Laursen b1fee9c139 Summary: Only show ballot approval text in case a draft has an IESG
state - the linked view has this restriction, so previously would
result in a 404
 - Legacy-Id: 10116
2015-10-01 14:53:00 +00:00
Ole Laursen 6f044eea08 Summary: Move definition of document names and group acronyms to
settings.URL_REGEXPS, partly to cleanup the urls.py files, partly to
make sure that all URL patterns agree on what constitutes a name
 - Legacy-Id: 10114
2015-10-01 14:16:16 +00:00
Ole Laursen 8bca1b4b33 Summary: Make name the primary key for DocAlias.
This fixes Javascript widgets working with DocAliases, such as the
replaces field in draft submission, to work better with Javascript
disabled. It also makes sense from a modelling perspective as the name
really is a unique key for the alias.

The actual transformation requires a series of migrations taking a
couple of minutes to complete. The actual switch to the key is done at
the end.

Branch ready for merge.
 - Legacy-Id: 10111
2015-09-30 13:47:33 +00:00
Ole Laursen 07f867e622 Summary: Enable the state help page for IRTF stream states (was
causing 404s)
 - Legacy-Id: 10105
2015-09-29 10:00:53 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Robert Sparks 9d1ff9244a missed updating a test
- Legacy-Id: 10096
2015-09-17 22:30:04 +00:00
Robert Sparks f5b6465e81 mailtoken becomes mailtrigger
- Legacy-Id: 10090
2015-09-17 20:03:45 +00:00
Robert Sparks e5306eda00 Instrumented issuing ballots. Simplified the ballot-issued email significantly. Deferred adding ballot_saved mail for the automatic yes positions.
- Legacy-Id: 10068
2015-08-28 17:33:49 +00:00
Robert Sparks f68b46972e purged email_ad
- Legacy-Id: 10067
2015-08-27 22:23:38 +00:00
Robert Sparks 150106619b Handle the new-work message
- Legacy-Id: 10066
2015-08-27 21:27:10 +00:00
Robert Sparks 12a03d299b Automatically send the Internal Review message that the secretary currently has to send manually
- Legacy-Id: 10063
2015-08-26 21:31:11 +00:00
Robert Sparks ef2260ea63 New exlicit "Intended status changed" message
- Legacy-Id: 10061
2015-08-25 20:28:01 +00:00
Robert Sparks 5c13bddd77 New explicit "Comment has been added to document history" message
- Legacy-Id: 10060
2015-08-25 20:05:11 +00:00
Robert Sparks 9d239843e6 New explicit "Document has been adopted by group" message
- Legacy-Id: 10059
2015-08-25 18:41:04 +00:00
Robert Sparks 46c5b3ff64 Moved doc-specific email aliases onto the email tab for the document
- Legacy-Id: 10057
2015-08-25 15:19:55 +00:00
Robert Sparks 9abd670587 Rudimentary stab at an email-expansion tag for docs
- Legacy-Id: 10056
2015-08-24 22:00:07 +00:00
Robert Sparks 4e61776c89 Smarter send_ballot_comment form
- Legacy-Id: 10054
2015-08-24 18:25:39 +00:00
Robert Sparks 90c3426e2f updated mailtoken utilities to match the model refactor. Morphed all the code using the utilities to match. Added paths to get Cc through as needed. Next up: Recipient selection form for the iesg save-and-send-email workflow
- Legacy-Id: 10040
2015-08-23 18:15:06 +00:00
Robert Sparks 8a74604a1b Done with the second pass focusing on test coverage. Lots of test tweaks, some new tests, a couple of bugs fixed. The session request code views need to be redone to allow testing.
- Legacy-Id: 10035
2015-08-21 16:39:00 +00:00
Robert Sparks e545f5e131 rename test member functions so that the tests actually run them. Consider cherrypicking this commit.
- Legacy-Id: 10033
2015-08-20 02:32:01 +00:00
Robert Sparks c01934bd10 Remove dead code
- Legacy-Id: 10032
2015-08-20 02:31:21 +00:00
Robert Sparks 56ddf4ca2e checkpoint. includes moderate change to how personnel changes are sent out
- Legacy-Id: 10020
2015-08-17 22:11:54 +00:00
Robert Sparks 89f038a1e3 checkpoint
- Legacy-Id: 10019
2015-08-17 20:24:16 +00:00
Robert Sparks c39ebe4f56 checkpoint
- Legacy-Id: 10018
2015-08-13 22:42:39 +00:00
Robert Sparks f30f5c39f1 checkpoint
- Legacy-Id: 10017
2015-08-13 21:16:21 +00:00
Robert Sparks 839d0f89ad checkpoint
- Legacy-Id: 10016
2015-08-13 19:41:02 +00:00
Robert Sparks 1e84077e53 missed a cleanup
- Legacy-Id: 10012
2015-08-11 22:01:53 +00:00
Robert Sparks 79d373fa71 checkpoint.
- Legacy-Id: 10011
2015-08-11 21:52:28 +00:00
Robert Sparks 15538ded7e checkpoint
- Legacy-Id: 10010
2015-08-11 17:26:53 +00:00
Robert Sparks 6c85bc558c checkpoint. Sets initial notify to empty
- Legacy-Id: 10009
2015-08-11 02:27:59 +00:00
Robert Sparks ad444bd0bc checkpoint
- Legacy-Id: 10007
2015-08-10 20:15:31 +00:00
Robert Sparks 7649397f5b Better app and model names. Some model hygiene. Added admin.
- Legacy-Id: 9993
2015-08-09 20:11:26 +00:00
Henrik Levkowetz 2fe8dcb4c2 Added a very simple html version of the json API, to make it easier to explore the api manually.
- Legacy-Id: 9991
2015-08-09 16:28:55 +00:00
Robert Sparks c0acadf222 Working checkpoint
- Legacy-Id: 9985
2015-08-06 21:39:49 +00:00
Henrik Levkowetz 11411d2c30 Merged in an update from trunk@9942.
- Legacy-Id: 9961
2015-08-03 14:12:38 +00:00
Henrik Levkowetz fae9066c9d Merged in [9925] from rjsparks@nostrum.com:
Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759.
 - Legacy-Id: 9931
Note: SVN reference [9925] has been migrated to Git commit cd5b497acb
2015-08-01 10:23:58 +00:00
Henrik Levkowetz 17b100ec51 Merged in [9924] from rjsparks@nostrum.com:
Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.
Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.
Improves testing, primarily of group/info.py
 - Legacy-Id: 9930
Note: SVN reference [9924] has been migrated to Git commit 461af5af19
2015-08-01 10:12:40 +00:00
Robert Sparks cd5b497acb Changed several email alias references from tools.ietf.org to ietf.org. Fixes #1759. Commit ready for merge.
- Legacy-Id: 9925
2015-07-30 22:13:59 +00:00
Robert Sparks 461af5af19 Adds views of active areas, area groups, teams, and directorates.
Adds navigation to those views to the base menus.

Unifies URL patterns shared between group/urls and group/urls_info, 
exposing the same view at, e.g., /group/stir and /wg/stir/.

Improves testing, primarily of group/info.py 

Commit ready for merge.
 - Legacy-Id: 9924
2015-07-30 21:51:38 +00:00
Henrik Levkowetz ab8d018760 Provide a document's rfc number (if any) as part of the document fields exposed in the json api.
- Legacy-Id: 9923
2015-07-30 18:57:44 +00:00
Henrik Levkowetz 69933000d0 Fixed 2 instances of missing protocol specifier in URLs, pointed out by Lars Eggert.
- Legacy-Id: 9844
2015-07-21 11:31:07 +00:00
Henrik Levkowetz e0af22a110 Added a migration to capture the new DocEvent types that came in with Ole's replaced_by code in [9829].
- Legacy-Id: 9835
Note: SVN reference [9829] has been migrated to Git commit 953d639ae3
2015-07-21 10:01:50 +00:00
Henrik Levkowetz 953d639ae3 Merged in Ole's submit-time draft replacement information work, as tested and updated by Robert and Adam.
- Legacy-Id: 9829
2015-07-20 14:53:20 +00:00
Henrik Levkowetz 72546dfe44 Merged in [9782] from lars@netapp.com:
Make title capitalization consistent with other pages.
 - Legacy-Id: 9801
Note: SVN reference [9782] has been migrated to Git commit 46cfd0b52a3982cd1e1d6a6e01a8ce03053ed345
2015-07-18 15:29:12 +00:00
Henrik Levkowetz 60b126b492 Merged in [9779] from lars@netapp.com:
Remove the code that used to calculate table_rows, now that the HTML doesn't
use it anymore.
 - Legacy-Id: 9795
Note: SVN reference [9779] has been migrated to Git commit ee1ea031452864ec1df0a92eb6d2512036d7e949
2015-07-18 14:09:28 +00:00
Adam Roach 313704f637 Now sends email to chairs of WG of 'possibly-replaced' document, if any
- Legacy-Id: 9794
2015-07-18 13:56:24 +00:00
Adam Roach 03e52126f3 Only display 'possibly replaces' information to those people who can approve it and to authors
- Legacy-Id: 9786
2015-07-18 12:18:38 +00:00
Henrik Levkowetz d8da10756d Added a guard against trying to fetch ad positions when there's no active ballot.
- Legacy-Id: 9722
2015-07-15 10:50:27 +00:00
Robert Sparks 609f368ce1 Still clunky but far enough along for sprinters to play with and comment on
- Legacy-Id: 9720
2015-07-15 02:13:48 +00:00
Robert Sparks 02a9da52a1 Manually moved the concepts forward. Reworked some presentation. Working enough to bring testers in at Sprint93
- Legacy-Id: 9717
2015-07-13 21:09:39 +00:00
Henrik Levkowetz 8313f3ef08 When looking for a specific revision for a draft, which could be a quite old revision, look in the aggregate draft archive which should contain all available versions of drafts, also those which are missing in the official secretariat archive. Fixes issue #1729.
- Legacy-Id: 9713
2015-07-09 15:36:50 +00:00