Commit graph

871 commits

Author SHA1 Message Date
Henrik Levkowetz 1fe0883767 Merged in [10856] from rjsparks@nostrum.com:
Show all sessions associated with a document.
Remove the day/seq urls from the materials tree.
Allow sessionpresentation.rev to be None, meaning \'current version\'.
Streamlined workflows to focus on current versions of a draft as a default.
Allow adding and editing sessionpresentations when looking at a specific document.
Allow adding drafts when looking at a specific session.
Add the meeting tab to 'team' groups.
Refactored several utility classes and expanded on factories.
Fixes #1908 and #1910.
 - Legacy-Id: 10865
Note: SVN reference [10856] has been migrated to Git commit e8d40c8402
2016-02-28 19:23:44 +00:00
Robert Sparks bd0b166ca0 Show which session the user is adding drafts to when there was more than one sesison at a meeting.
- Legacy-Id: 10854
2016-02-23 16:30:54 +00:00
Robert Sparks 1a2b885864 checkpoint. Refactor to put session oriented utilites back in the meeting app. Minimize the use of the /materials url. Provide better access control to the remaining materials url functions.
- Legacy-Id: 10850
2016-02-22 17:03:46 +00:00
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
Henrik Levkowetz 8a78c9c81a Don't redirect to the latest version of a document when given a specific revision. Fixes issue #1730.
- Legacy-Id: 9712
2015-07-09 14:37:39 +00:00
Henrik Levkowetz 3fe2f85ff0 Make sure the default user preference settings for expires_soon and new_enough are integers.
- Legacy-Id: 9693
2015-06-24 08:30:54 +00:00
Henrik Levkowetz f70b2d93c5 Added preference editing support for the left_menu preference setting, and refactored the preference handling code substantially. Related to issues #1659 and #1663.
- Legacy-Id: 9673
2015-06-22 18:47:28 +00:00
Henrik Levkowetz 2690ac4df4 Removed a number of action buttons which aren't relevant for RFCs. Fixes issue #1698.
- Legacy-Id: 9614
2015-05-11 20:05:39 +00:00
Henrik Levkowetz 33f58d7001 Fixed a wrong row count for stream meta-info when displaying RFCs. Also fixed a 'missing columns' html warning. Fixes issue #1697.
- Legacy-Id: 9613
2015-05-11 19:53:15 +00:00
Henrik Levkowetz 1ba8996fd2 Merged in [9603] from rjsparks@nostrum.com:
Added functionality which allows the secretariat to manage more meeting types, including leadership meetings.
Backfilled those types of meetings from IETF91 and IETF92.
Addressed several facelift issues in the meeting application.
 - Legacy-Id: 9606
Note: SVN reference [9603] has been migrated to Git commit a85424ad23
2015-05-06 18:07:18 +00:00
Henrik Levkowetz 8365a36c2f Fixed an issue where the https: schema inadvertently had been included in RFCDIFF_PREFIX, causing duplicate schema specifications in some places. Changed name to RFCDIFF_BASE_URL and cleaned out the duplicate schema specifiers.
- Legacy-Id: 9593
2015-04-30 22:00:49 +00:00
Robert Sparks 1e30120710 checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
2015-04-30 15:57:48 +00:00
Henrik Levkowetz 91739277f4 Merged in [9541] and [9542] from rjsparks@nostrum.com:
Quit putting the group email list address in the initially generated Notify field.
Updated the tests accordingly.
 - Legacy-Id: 9565
Note: SVN reference [9541] has been migrated to Git commit ecd69a1bcb

Note: SVN reference [9542] has been migrated to Git commit 99e351fe1c
2015-04-26 20:42:03 +00:00
Henrik Levkowetz acc2c59920 Updated a bunch of links from http: to https: based on a patch from lars@netapp.com.
- Legacy-Id: 9556
2015-04-24 21:47:12 +00:00
Henrik Levkowetz 2099048ac1 Fixed format_snippet to produce valid html (the previous filter order resulted in broken html entities and bad email addresses)
- Legacy-Id: 9553
2015-04-24 20:42:33 +00:00
Robert Sparks 99e351fe1c Update tests to match r9541. Commit ready for merge.
- Legacy-Id: 9542
2015-04-22 13:52:52 +00:00
Robert Sparks ecd69a1bcb Quit putting the group email list address in the initially generated Notify field
- Legacy-Id: 9541
2015-04-22 13:19:29 +00:00
Robert Sparks 635b700306 Allow an AD to jump straight to the ballot editing page by right-clicking any ballot grid. Fixes #1669. Commit ready for merge.
- Legacy-Id: 9518
2015-04-16 21:33:02 +00:00
Henrik Levkowetz f18e0694fa Merged in [9505] from rjsparks@nostrum.com:
Add a checkbox to cc the group list address on ballot positions if a document belongs to a group. Add better tests of the checkboxes on that form.
 - Legacy-Id: 9506
Note: SVN reference [9505] has been migrated to Git commit b84d4d3a20
2015-04-15 15:49:35 +00:00
Robert Sparks b84d4d3a20 Add a checkbox to cc the group list address on ballot positions if a document belongs to a group. Add better tests of the checkboxes on that form. Commit ready for merge.
- Legacy-Id: 9505
2015-04-15 14:53:42 +00:00
Henrik Levkowetz cd14d95484 Added a filter which lets an email address break before the at-sign.
- Legacy-Id: 9493
2015-04-14 18:20:52 +00:00
Henrik Levkowetz b59db9a6cc Provide DocHistory entries with a docalias_set property (that of the associated document).
- Legacy-Id: 9473
2015-04-13 16:47:53 +00:00
Henrik Levkowetz 2aa28d3f88 Make the document revision view work for revisions other than the current one if doc.group has changed during the document's history.
- Legacy-Id: 9472
2015-04-13 16:40:05 +00:00
Henrik Levkowetz d52d916dd0 Changed the ballot-position to bootstrap label-type translation.
- Legacy-Id: 9470
2015-04-13 16:35:17 +00:00
Henrik Levkowetz f3d4f3e474 Updated a test to match the 'Document Search' change.
- Legacy-Id: 9462
2015-04-12 13:30:34 +00:00
Henrik Levkowetz 02cd366ff0 Merged in trunk@9440, containing the changes for version 5.13.1; and updated tests which look at HTML content to work with the facelift changes.
- Legacy-Id: 9446
2015-04-11 18:24:20 +00:00
Henrik Levkowetz c417c5720a Merged in [9428] from rjsparks@nostrum.com:
Properly mark (and test) older ballot comment and discuss text after a new revision is submitted . Fixes bug #1656.
 - Legacy-Id: 9434
Note: SVN reference [9428] has been migrated to Git commit 0ff9747092
2015-04-09 21:00:07 +00:00
Henrik Levkowetz b8f84dc8d7 Merged in [9375] from rjsparks@nostrum.com:
Put old style slides directly into archived. Migrate IETF92 materials to match.
 - Legacy-Id: 9432
Note: SVN reference [9375] has been migrated to Git commit d46035003e
2015-04-09 20:22:03 +00:00
Henrik Levkowetz 443e9bf6bf Merged in [9373] from rjsparks@nostrum.com:
Add missing migration.
 - Legacy-Id: 9431
Note: SVN reference [9373] has been migrated to Git commit 284f78e137
2015-04-09 20:13:36 +00:00
Henrik Levkowetz 2cf0c74561 Merged in [9351] from rjsparks@nostrum.com:
Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views.
 - Legacy-Id: 9430
Note: SVN reference [9351] has been migrated to Git commit a6c64d2b12
2015-04-09 19:46:04 +00:00
Robert Sparks 0ff9747092 Properly mark (and test) older ballot comment and discuss text after a new revision is submitted . Fixes bug #1656. Commit ready for merge.
- Legacy-Id: 9428
2015-04-08 20:55:04 +00:00
Henrik Levkowetz 31e4f1fec7 Made the revision list at the top of document pages take up less room. Added a warning above the document meta-information for old revisions. Made the background in the cell of the revision being shown have warning colour when showing old revisions. Gave the document meta-information tables the same sectioned look as the WG meta-information tables, as requested by a reviewer.
- Legacy-Id: 9421
2015-04-08 14:59:39 +00:00
Henrik Levkowetz bf9d668c3e Changed from using an otherwise unused css class as content container selector in tests, to instead using an explicit css id as selector.
- Legacy-Id: 9394
2015-04-04 08:57:39 +00:00
Robert Sparks d46035003e Put old style slides directly into archived. Migrate IETF92 materials to match. Commit ready for merge.
- Legacy-Id: 9375
2015-04-03 20:53:13 +00:00
Robert Sparks 284f78e137 Add missing migration. Commit ready for merge
- Legacy-Id: 9373
2015-04-03 19:28:06 +00:00
Henrik Levkowetz b1662da4f6 Factored out the doc_is_tracked logic, for use on group document list pages.
- Legacy-Id: 9366
2015-04-03 13:27:29 +00:00
Henrik Levkowetz ca728d9b48 Updated a set of doc tests to account for changed 'show full text' wording in the facelift document page.
- Legacy-Id: 9360
2015-04-02 19:47:55 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Robert Sparks a6c64d2b12 Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views. Commit ready for merge.
- Legacy-Id: 9351
2015-04-01 16:00:05 +00:00
Henrik Levkowetz 2f54511763 Changed all explicitly set HttpResponse content_types to specify charset.
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).  
Fixes issue #1647.
 - Legacy-Id: 9348
2015-03-26 21:35:21 +00:00
Henrik Levkowetz 73664a484b Reverted to [9345], the fixed fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9347
Note: SVN reference [9345] has been migrated to Git commit 249bcf6e33
2015-03-26 19:35:14 +00:00
Henrik Levkowetz d7a28fe146 Alternative fix from rcross@amsl.com for a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9346
2015-03-26 17:56:40 +00:00
Henrik Levkowetz 249bcf6e33 Fixed the fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9345
2015-03-26 17:39:38 +00:00
Henrik Levkowetz c36fc19663 Fixed typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9344
2015-03-26 17:38:00 +00:00
Henrik Levkowetz 10f32d850b Merged in [9330] from rcross@amsl.com:
Fixes Ticket #1626.  Cleanup legacy IPR models.
 - Legacy-Id: 9332
Note: SVN reference [9330] has been migrated to Git commit 415d0ad7c7
2015-03-25 17:34:55 +00:00
Henrik Levkowetz 469d69362c Merged in [9326] from rjsparks@nostrum.com:
Test coverage improvement for group material management.
 - Legacy-Id: 9331
Note: SVN reference [9326] has been migrated to Git commit effa1e2b68
2015-03-25 17:25:42 +00:00
Ryan Cross 415d0ad7c7 Fixes Ticket #1626. Cleanup legacy IPR models. Commit ready for merge.
- Legacy-Id: 9330
2015-03-25 16:17:45 +00:00
Henrik Levkowetz edb7a5cb3a Fixed a problem in Document.meeting_related(), and fixed a number of tests which broke when slide objects started to return True to meeting_related() without being related to a session.
- Legacy-Id: 9329
2015-03-25 16:04:57 +00:00
Henrik Levkowetz f833518a03 Workaround for incomplete transition from labelling regular meeting materials as 'active' to labelling as 'sessonly'.
- Legacy-Id: 9328
2015-03-24 21:05:38 +00:00
Robert Sparks effa1e2b68 Test coverage improvement for group material management. Commit ready for merge.
- Legacy-Id: 9326
2015-03-23 17:56:42 +00:00
Henrik Levkowetz ba90fe03ef Merged in [9319] from kivinen@iki.fi:
Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking.
 - Legacy-Id: 9325
Note: SVN reference [9319] has been migrated to Git commit 79b4688f8e
2015-03-22 19:35:04 +00:00
Tero Kivinen 79b4688f8e Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking. Commit ready for merge.
- Legacy-Id: 9319
2015-03-21 23:06:13 +00:00
Robert Sparks 02d807581a Restores add-to-community-list functionality to several pages. Fixes #1601. Commit ready for merge.
- Legacy-Id: 9242
2015-03-17 20:24:42 +00:00
Henrik Levkowetz 6f285a12f4 Changed the handling of some test directory creation and removal code, to be more consistent. Fixed a problem where a test didn't create and remove a test directory it used.
- Legacy-Id: 9203
2015-03-15 16:01:15 +00:00
Henrik Levkowetz 381d37986c Python's pathlib is now available for both 2.x and 3.x, and is well established. Removed the ietf/utils/path.py fallback, and added pathlib to requirements.txt
- Legacy-Id: 9161
2015-03-07 17:17:50 +00:00
Henrik Levkowetz 9ee16e778e Added a login requirement for the full document and group email alias pages, but kept the individual group and document email-alias pages visible without login. Added testing of login redirects for the full email alias lists, and reordered the test sequence within the test methods appropriately.
- Legacy-Id: 9160
2015-03-07 15:55:18 +00:00
Henrik Levkowetz 01ade795d3 Merged in [9083] from rjsparks@nostrum.com:
Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views.
 - Legacy-Id: 9106
Note: SVN reference [9083] has been migrated to Git commit a208803e82
2015-02-20 22:53:46 +00:00
Henrik Levkowetz e7007a6c3c Merged in [9070] from rjsparks@nostrum.com:
Adds pages to view the draft and group email aliases, either as a whole, or per document or group.
 - Legacy-Id: 9105
Note: SVN reference [9070] has been migrated to Git commit 79dda88337
2015-02-20 22:38:20 +00:00
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Robert Sparks a208803e82 Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views. Commit ready for merge.
- Legacy-Id: 9083
2015-02-13 04:18:47 +00:00
Ole Laursen 9760cd9c8e Summary: Load the groups in the group menu with AJAX and delete the
jump to group modal. This cuts page rendering speed in more than half
for simple pages and similarly shrinks them by a factor 3-4, while
keeping the user experience the same. Fallbacks are in place for
non-JS clients.

There's still some overhead in the menu generation compared to just
rendering the page content, but the group menu was definitely a major
culprit.
 - Legacy-Id: 9077
2015-02-12 16:01:05 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Robert Sparks 79dda88337 Adds pages to view the draft and group email aliases, either as a whole, or per document or group. Commit ready for merge.
- Legacy-Id: 9070
2015-02-11 21:50:34 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz f3fcf1623d Made the cookie handling for the 'expires_soon' cookie insensitive to nonnumeric values.
- Legacy-Id: 9018
2015-02-08 10:05:24 +00:00
Ole Laursen eccd8d27c4 Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Henrik Levkowetz 05a617d3b2 Made the cookie handling for the 'new_enough' cookie insensitive to nonnumeric values.
- Legacy-Id: 9009
2015-02-06 10:57:17 +00:00
Henrik Levkowetz 58cc1e431f When draft email aliases are generated, the content of the doc.notify field is used to generate the .notify alias, and is also included in the .all alias. If the notify field contains either the .notify alias or the .all alias, this can create a mail loop. Changed the alias generation code to expand (or ignore, for .notify) aliases found in the notify field, and changed the code which fills in the notify field with a default value to insert the author, ad, and shepherd aliases instead of the .all alias.
- Legacy-Id: 8994
2015-02-05 15:38:01 +00:00
Ole Laursen 78e3a620ce Summary: Fix unused import
- Legacy-Id: 8991
2015-02-05 14:14:57 +00:00
Ole Laursen d61ed824cd Summary: Replace old-style wordwrap custom tag with {% filter wordwrap %}
- Legacy-Id: 8965
2015-02-04 12:48:47 +00:00
Ole Laursen b5458c29d3 Summary: Clean up some of the FACELIFT comments
- Legacy-Id: 8959
2015-02-03 16:18:42 +00:00
Ole Laursen 8c8ec56df2 Summary: Remove now unused old base templates
- Legacy-Id: 8953
2015-02-02 17:14:10 +00:00
Ole Laursen fba359d2e0 Summary: Fix test failures due to recent facelifting
- Legacy-Id: 8941
2015-01-28 13:48:51 +00:00
Ole Laursen 4087a9837f End help_texts with period consistently - the default error rendering in the bootstrap3 library depends on it
- Legacy-Id: 8940
2015-01-28 13:25:21 +00:00
Ole Laursen f63a99be1c Facelift remaining materials pages
- Legacy-Id: 8938
2015-01-28 12:50:09 +00:00
Ole Laursen 88c9f84664 Summary: Facelift material document page
- Legacy-Id: 8937
2015-01-28 12:04:40 +00:00
Ole Laursen 7561ce463d Summary: Fix extraneous add column in search
- Legacy-Id: 8936
2015-01-28 10:33:05 +00:00
Ole Laursen d7b4ef6ac4 Summary: Facelift change charter title page
- Legacy-Id: 8932
2015-01-28 09:04:41 +00:00
Robert Sparks 786fc38235 Improve the approval mail contents concerning IESG contact members. Fixes #1588. Commit ready for merge.
- Legacy-Id: 8923
2015-01-26 22:25:38 +00:00
Robert Sparks 7e188d2d81 Fix needed-to-pas calculation to use new representation of area directors. Fixes #1587. Commit ready to merge
- Legacy-Id: 8922
2015-01-26 21:10:52 +00:00
Ole Laursen 1124d6d018 Summary: Port the remaining parts of the IPR form to Bootstrap, and fix
some bugs in the port
 - Legacy-Id: 8900
2015-01-23 16:47:22 +00:00
Ole Laursen 543ac4ecb7 Summary: Add simple utility for turning rfc1234 doc alias names into RFC1234
- Legacy-Id: 8899
2015-01-23 16:45:26 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz 49d86d691b Merged in [8861] from rcross@amsl.com:
Changes to allow upload of bluesheets in materials upload page.  Primarily for use with Interim meetings.
 - Legacy-Id: 8891
Note: SVN reference [8861] has been migrated to Git commit 40efbf4f57
2015-01-21 20:32:18 +00:00
Henrik Levkowetz be1c255be1 Merged in [8854] from rjsparks@nostrum.com:
This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557.
 - Legacy-Id: 8888
Note: SVN reference [8854] has been migrated to Git commit 65804be683
2015-01-21 19:56:57 +00:00
Henrik Levkowetz edc4cba1bd Merged in [8851] from rjsparks@nostrum.com:\n This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.
Related to #1557 and #1555.
 - Legacy-Id: 8884
Note: SVN reference [8851] has been migrated to Git commit 4c9db8f250
2015-01-21 19:33:19 +00:00
Henrik Levkowetz 4dc24cdd30 Merged in [8850] from rjsparks@nostrum.com:\n Change the permission guards on edit_notify to reflect the policy that #1517 tried to establish. Fixes #1517 and #1575.
- Legacy-Id: 8883
Note: SVN reference [8850] has been migrated to Git commit 6f8f1956de
2015-01-21 19:18:26 +00:00
Henrik Levkowetz f15ba3346b Merged in [8846] from rjsparks@nostrum.com:
Added tests for document urls that provide a revision for all the document types the view code currently handles. Refactored parts of Document and DocHistory into DocumentInfo to get the tests to pass.  (but careful review is probably warranted).
 - Legacy-Id: 8880
Note: SVN reference [8846] has been migrated to Git commit ce5bda1835b32640d17136d09262f654fade94d4
2015-01-21 19:01:47 +00:00
Henrik Levkowetz c3ff43db6a Merged in [8843] from rjsparks@nostrum.com:\n Reworked the definition of future_presentations and last_presented. Fixes #1571.
- Legacy-Id: 8876
Note: SVN reference [8843] has been migrated to Git commit 80379135318ffd08eb3934547b62660a789483f2
2015-01-20 23:05:14 +00:00
Henrik Levkowetz ff9ae1ad04 Merged in [8801] from rjsparks@nostrum.com:
Verify that add_state_change_event returned something before trying to use attributes of the return value. Fixes bug #1566.
 - Legacy-Id: 8871
Note: SVN reference [8801] has been migrated to Git commit 601575a3d5
2015-01-20 22:18:33 +00:00
Henrik Levkowetz c79f367d66 Merged in [8718] from rjsparks@nostrum.com:\n Copy the secretariat on the message sent to the RFC Editor and IANA when a draft is pulled from the RFC Editor queue. Fixes ticket #1549.
- Legacy-Id: 8866
Note: SVN reference [8718] has been migrated to Git commit 1d7d5dd32e
2015-01-15 19:29:20 +00:00
Ryan Cross 40efbf4f57 Changes to allow upload of bluesheets in materials upload page. Primarily for use with Interim meetings. Commit ready for merge.
- Legacy-Id: 8861
2015-01-12 18:45:50 +00:00
Ryan Cross e686c5c7f5 Allow upload of bluesheets via materials upload interface
- Legacy-Id: 8857
2015-01-09 21:29:57 +00:00
Robert Sparks 65804be683 This is the second step towards ADs out of GroupInfo into Role.
The use of group.ad has been scrubbed from the code and templates.
  - Those places that set group.ad have been directly manipulate Role objects instead
  - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.

Related to #1555 and #1557.

Commit ready for merge.
 - Legacy-Id: 8854
2015-01-09 18:52:06 +00:00
Robert Sparks 4c9db8f250 This is the first step towards using Role to represent Area directors. It
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.

Related to #1557 and #1555.

Commit ready to merge.
 - Legacy-Id: 8851
2015-01-08 20:22:23 +00:00
Robert Sparks 6f8f1956de Change the permission guards on edit_notify to reflect the policy that #1517 tried to establish. Fixes #1517 and #1575. Commit ready for merge.
- Legacy-Id: 8850
2015-01-08 16:25:17 +00:00
Henrik Levkowetz 25eb00c925 New django-1.7 initial migrations. Circular references exist, requiring explicit --fake migration for doc, dbtemplate and community apps.
- Legacy-Id: 8823
2014-12-22 17:07:38 +00:00
Henrik Levkowetz dd15785936 Removing south migrations as part of the django 1.7 changeover to builtin migrations.
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Henrik Levkowetz 5183042d58 Merged in branch/amsl/iprtool/5.7.4@8734 from rcross@amsl.com, providing new IPR models, refactored code, and improved list, search, and management interfaces.
- Legacy-Id: 8808
2014-12-21 19:26:33 +00:00