Commit graph

683 commits

Author SHA1 Message Date
Henrik Levkowetz c83dae57fb Added setting for MEDIA_ROOT, and changed the setting for MEDIA_URL; introduced a setting for the IETF main site URL, for use where MEDIA_URL had been used (incorrectly) earlier.
- Legacy-Id: 11263
2016-06-02 19:17:38 +00:00
Ole Laursen 9faae5e915 Merged community list branch with trunk
- Legacy-Id: 11174
2016-05-06 17:36:04 +00:00
Henrik Levkowetz 63f5af7e4d Guard against use of nonexistant attribute.
- Legacy-Id: 11166
2016-05-05 14:09:07 +00:00
Henrik Levkowetz 45efc6ec7a Merged in [11122] from rjsparks@nostrum.com:
Add page counts to doc.json. Fixes #1936.
 - Legacy-Id: 11148
Note: SVN reference [11122] has been migrated to Git commit f8a28077f5
2016-05-03 19:05:10 +00:00
Henrik Levkowetz 1989218a1f Fixed the function has_rfc_editor_note() to return boolean -- datetime cannot be serialized as JSON, so /iesg/agenda/agenda.json was broken when there was an rfc-editor-note.
- Legacy-Id: 11138
2016-05-02 12:24:31 +00:00
Robert Sparks f8a28077f5 Add page counts to doc.json. Fixes #1936. Commit ready for merge.
- Legacy-Id: 11122
2016-04-15 13:53:04 +00:00
Henrik Levkowetz 5107dcf04f Fixed the multiple (incorrect) extension problem for some materials links. Fixes issue #1947.
- Legacy-Id: 11104
2016-04-06 21:11:17 +00:00
Henrik Levkowetz 40bb23169c Merged in [11064] [11082] from housley@vigilsec.com:
The secretariat and the Team Chair can now edit team groups. In
    addition, if the team in within the IETF, Area Directors can edit
    it. And, if the team is within the IRTF, the IRTF Chair can edit it.
    Cleaned up the checking permission for a user to
    manage a group. Also, cleanly handle a set of group parent links did
    for a loop. Fixes #1915.
 - Legacy-Id: 11091
Note: SVN reference [11064] has been migrated to Git commit 1c509cd64c

Note: SVN reference [11082] has been migrated to Git commit 858530c214
2016-04-04 19:35:19 +00:00
Henrik Levkowetz c9cb6a6cee Merged in [11083] from stephen.farrell@cs.tcd.ie, with some tweaks:
Assigned default consensus for IETF stream documents, partly fixing #1403 - IRTF/IAB may want more, this just does IETF stream.
 - Legacy-Id: 11089
Note: SVN reference [11083] has been migrated to Git commit 9ca4e98d46
2016-04-03 17:56:33 +00:00
Stephen Farrell 9ca4e98d46 assigned default consensus for IETF stream documents partly fixing #1403 - IRTF/IAB may want more, this just does IETF stream. Commit ready to merge. (even more:-)
- Legacy-Id: 11083
2016-04-02 21:10:00 +00:00
Russ Housley 858530c214 Cleaned up the checking permission for a user to manage a group. Also, cleanly handle a set of group parent links did for a loop.
- Legacy-Id: 11082
2016-04-02 21:06:33 +00:00
Stephen Farrell c93a31034b assigned default consensus for IETF stream documents partly fixing #1403 - IRTF/IAB may want more, this just does IETF stream. Commit ready to merge.
- Legacy-Id: 11073
2016-04-02 19:11:54 +00:00
Robert Sparks 051db85076 Allow WG/RG Chairs and secretaries to edit the replaces relationship for any document, not just the documents in their groups. Fixes #1939. Commit ready for merge.
- Legacy-Id: 11058
2016-04-02 14:21:08 +00:00
Henrik Levkowetz 4b0b7e0c58 Merged in henrik/6.16.1-pyang-work@10995:
Added in support for displaying results from selected submission checks as symbols on draft pages and in draft lists.  For now, that means that drafts with yang modules will show either a green or orange yang symbol, depending on the result of the submission yang validation check.
 - Legacy-Id: 10996
2016-03-28 19:23:10 +00:00
Henrik Levkowetz be2a2285bc Added small orange or green yang symbols to draft info- and list-pages, signifying fail or pass for the submission yang validation.
- Legacy-Id: 10994
2016-03-28 18:47:53 +00:00
Ole Laursen c061caaf04 Merge in changes from community-list-cleanup
- Legacy-Id: 10968
2016-03-23 13:31:24 +00:00
Ole Laursen c7589f9b6a Integrate community lists for groups with the existing group documents
page. Each WG/RG now gets a list with an initial set of rules to
populate the list.

Refine the community list management interface a bit to support the
group lists better - group lists aren't connected to the usual track
icons so need to be able to add/remove individual drafts.

Change the "name contains" rule to support regular expressions to
enable each group to have a default replacement for the previously
implemented "related documents" search. Maintain a materialized view
of the regexp-matched drafts with a call in the submit code to avoid
having to scan all drafts/~1000 group rules all the time.
 - Legacy-Id: 10963
2016-03-22 12:48:44 +00:00
Henrik Levkowetz 6e6a8baa13 Fixed a typo.
- Legacy-Id: 10931
2016-03-15 23:15:44 +00:00
Henrik Levkowetz adb8625635 Introduced caching for the api resources.
- Legacy-Id: 10929
2016-03-15 23:12:04 +00:00
Ole Laursen 5f4082d595 Overhaul of the community list code.
From a user perspective: Use friendlier URLs for lists. Reuse the
search results table for displaying lists. Simplify the management
pages and improve the search rule UI to help fill in the values and
validating them, instead of just providing a text field. Fixes #1874.
Add an explicit button for adding individual documents. Include all
changes in the document change streams, not just some changes. Fix a
concurrency issue that allows changed documents to escape the search
rules. Don't create an empty list just be logging in.

From a code maintenance perspective: Clean up the models. Replace the
background caching scheme with direct queries. Get rid of a big chunk
of code. Speed up the code that adds track buttons to search results.
Add tests of all community views. Fixes #1422. Also fix some minor
bugs and oddities here and there.

There's still some work to do with respect to integrating the group
lists better.
 - Legacy-Id: 10921
2016-03-14 10:44:57 +00:00
Henrik Levkowetz 59623cf67f Removed an unused import.
- Legacy-Id: 10912
2016-03-06 17:49:00 +00:00
Henrik Levkowetz fbbc094086 Added sort direction to truncated search result views, and aligned the sort direction arrow with that used for the client-side tablesorter for untruncated results.
- Legacy-Id: 10910
2016-03-06 17:27:17 +00:00
Henrik Levkowetz 8291f169ae Added reverse sort capability to the document search views. The templates needs to be updated accordingly in order for this to be available other than through URL hacking.
- Legacy-Id: 10909
2016-03-06 16:52:19 +00:00
Henrik Levkowetz ccc653aed1 Merged in [10839] from housley@vigilsec.com:
Added test for proper eneration of the approval message with and without an RFC Editor Note.
 - Legacy-Id: 10901
Note: SVN reference [10839] has been migrated to Git commit b4b14112b8
2016-03-05 14:50:08 +00:00
Henrik Levkowetz 846a02c3f9 Fixed pyflakes complaints introduced with pyflakes 1.1.0
- Legacy-Id: 10896
2016-03-04 21:24:26 +00:00
Henrik Levkowetz 1c8a171703 Code style tweak.
- Legacy-Id: 10893
2016-03-04 20:05:05 +00:00
Robert Sparks 3471001b5c Only show the "Upload new revision" button when the view will actually let you upload a new revision. Commit ready for merge.
- Legacy-Id: 10880
2016-02-29 19:56:06 +00:00
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