Commit graph

511 commits

Author SHA1 Message Date
Henrik Levkowetz 6596a858af Fixed a problem with the admin interface for the ietf.doc.DocHistory class.
- Legacy-Id: 8693
2014-11-14 00:21:54 +00:00
Henrik Levkowetz ea341466ca Merged in [8609] from tterriberry@mozilla.com, with minor changes:
Allow changing the title of a charter document.
   Fixes #1334
 - Legacy-Id: 8635
Note: SVN reference [8609] has been migrated to Git commit 63d919eb52
2014-11-11 01:34:04 +00:00
Henrik Levkowetz 69a7668d2e Merged in [8622] from harald@alvestrand.no:
Adding a missing column header to search result.
 - Legacy-Id: 8628
Note: SVN reference [8622] has been migrated to Git commit de8dd26b59
2014-11-09 04:27:52 +00:00
Harald T. Alvestrand de8dd26b59 Adding a missing column header to search result. Commit ready for merge.
- Legacy-Id: 8622
2014-11-09 02:22:55 +00:00
Henrik Levkowetz 52d4ae5617 Merged in [8611] from rjsparks@nostrum.com:\n Allow chairs to edit the notification field. Fixes bug #1517.
- Legacy-Id: 8620
Note: SVN reference [8611] has been migrated to Git commit 4ab6e03729
2014-11-09 01:58:29 +00:00
Henrik Levkowetz 0f4ae8fe85 Merged in [8608] from rjsparks@nostrum.com:\n Allow chosing the initial state when beginning WG processing of a draft. Fixes bug #1406.
- Legacy-Id: 8615
Note: SVN reference [8608] has been migrated to Git commit 696e93254a
2014-11-09 01:32:41 +00:00
Henrik Levkowetz 8b93881485 Merged in [8602] from suresh.krishnan@ericsson.com:\n Fixes issue #1295.
Synchronize the currently set tags when document state is edited
 - Legacy-Id: 8613
Note: SVN reference [8602] has been migrated to Git commit 16c5e24782
2014-11-09 01:12:37 +00:00
Robert Sparks 4ab6e03729 Allow chairs to edit the notification field. Fixes bug #1517. Commit ready for merge.
- Legacy-Id: 8611
2014-11-09 00:57:31 +00:00
Timothy B. Terriberry 63d919eb52 Allow changing the title of a charter document
Fixes #1334
Commit ready for merge
 - Legacy-Id: 8609
2014-11-09 00:46:28 +00:00
Robert Sparks 696e93254a Allow chosing the initial state when beginning WG processing of a draft. Fixes bug #1406. Commit ready for merge.
- Legacy-Id: 8608
2014-11-09 00:37:47 +00:00
Suresh Krishnan 16c5e24782 Synchronize the currently set tags when document state is edited
- Legacy-Id: 8602
2014-11-08 22:46:40 +00:00
Robert Sparks c436607039 merged forward. Adjusted new proceedings code to new models. Found bug in earlier work on proceedings code exposing places that tests are not covering.
- Legacy-Id: 8589
2014-11-05 21:19:09 +00:00
Ole Laursen 460f1319a2 Fix problem in test of editing status change relations
- Legacy-Id: 8587
2014-11-05 12:42:23 +00:00
Ole Laursen 3b239fa0ff Add JS functionality to edit the relations of a status change document
- Legacy-Id: 8586
2014-11-05 11:31:33 +00:00
Robert Sparks de94d49665 Tests that a message is set when a shepherd is not changed. Related to #1508 and r8504. Commit ready for merge.
- Legacy-Id: 8585
2014-11-04 21:15:11 +00:00
Ole Laursen 87870ca954 Fix more test errors - now only two not yet fully ported views remain
- Legacy-Id: 8571
2014-11-03 16:39:41 +00:00
Henrik Levkowetz 370f9efa56 Merged in [8506] from rjsparks@nostrum.com:\n change default notify address for IRTF stream documents. Fixes bug #1489.
- Legacy-Id: 8533
Note: SVN reference [8506] has been migrated to Git commit 31da337eb2
2014-10-31 21:47:50 +00:00
Henrik Levkowetz 4fda60a42a Merged in [8505] from rjsparks@nostrum.com:\n Allow removing a document shepherd, and test that it works. Fixes bug #1509.
- Legacy-Id: 8532
Note: SVN reference [8505] has been migrated to Git commit 0496ee1b73
2014-10-31 21:38:55 +00:00
Henrik Levkowetz cea2e8e603 Merged in [8504] from rjsparks@nostrum.com:\n Added tests that would have caught bug #1508. Added message to edit_shepherd_email to match that added in edit_shepherd.
- Legacy-Id: 8531
Note: SVN reference [8504] has been migrated to Git commit 905df236c3
2014-10-31 21:34:00 +00:00
Ole Laursen 7d0e817e5d Fix a bunch of failing tests, mostly due to changes in markup
- Legacy-Id: 8529
2014-10-31 17:20:14 +00:00
Ole Laursen b5a0ab81a6 Fix some Http404() to Http404 which seems to be the preferred style in Python
- Legacy-Id: 8528
2014-10-31 17:18:01 +00:00
Henrik Levkowetz 1ef00d44b2 Removed an unused import: pyflakes fix.
- Legacy-Id: 8521
2014-10-30 15:35:27 +00:00
Ole Laursen 41cb195f52 Rebase /personal/lars/5.6.4-facelift/ on trunk
- Legacy-Id: 8520
2014-10-30 14:31:07 +00:00
Henrik Levkowetz 7635d8d11a Fixed a bug in calculating can_edit_shepherd_writeup, triggered by the change in what Document.shepherd refers to (now, Email, used to be Person).
- Legacy-Id: 8510
2014-10-29 14:23:17 +00:00
Robert Sparks 31da337eb2 change default notify address for IRTF stream documents. Fixes bug #1489. Commit ready for merge.
- Legacy-Id: 8506
2014-10-27 22:23:09 +00:00
Robert Sparks 0496ee1b73 Allow removing a document shepherd, and test that it works. Fixes bug #1509. Commit ready for merge.
- Legacy-Id: 8505
2014-10-27 21:27:49 +00:00
Robert Sparks 905df236c3 Added tests that would have caught bug #1508. Added message to edit_shepherd_email to match that added in edit_shepherd. Commit ready for merge
- Legacy-Id: 8504
2014-10-27 18:35:57 +00:00
Henrik Levkowetz 594684a185 Fixed a problem with the fill_in_shepherd_email migration, even if it has been run (and things cleaned up), just in case it might be needed or viewed as a pattern later.
- Legacy-Id: 8503
2014-10-27 18:20:35 +00:00
Robert Sparks 055202dee4 Reworked logic flow for editing shepherds. Added message to inform the user when the shepherd is not changed. Fixes bug #1508. Commit ready for merge.
- Legacy-Id: 8498
2014-10-27 15:54:08 +00:00
Henrik Levkowetz ad2777972d Reverted erroneous commit [8495] to the tags branch.
- Legacy-Id: 8496
Note: SVN reference [8495] has been migrated to Git commit c706413064
2014-10-27 13:13:35 +00:00
Lars Eggert c706413064 Merge branch 'lars/5.6.4-facelift' into lars/5.7.1-facelift
Conflicts:
	ietf/group/edit.py
	ietf/group/views_stream.py
	ietf/nomcom/forms.py
	ietf/person/forms.py
	ietf/settings.py
	ietf/templates/doc/change_shepherd.html
	ietf/templates/doc/document_draft.html
	ietf/templates/doc/search/search_result_row.html
	ietf/templates/doc/submit_to_iesg.html
	ietf/templates/nomcom/edit_position.html
	ietf/templates/nomcom/list_positions.html
 - Legacy-Id: 8495
2014-10-27 11:08:30 +00:00
Henrik Levkowetz a18410cca5 Merged in [8438] from rjsparks@nostrum.com:\n Better evaluation of whether a document type is diffable. Fixes bug #1504.
- Legacy-Id: 8484
Note: SVN reference [8438] has been migrated to Git commit 71195b0a72
2014-10-26 20:00:29 +00:00
Henrik Levkowetz 55cef621bd Merged in [8305] from rjsparks@nostrum.com:\n Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430.
- Legacy-Id: 8483
Note: SVN reference [8305] has been migrated to Git commit feb57a04f0
2014-10-26 19:35:10 +00:00
Henrik Levkowetz 5a6819832f Prevent 500 errors on file move race condition.
- Legacy-Id: 8480
2014-10-26 13:19:38 +00:00
Henrik Levkowetz df8705b187 Merged in patches from production.
- Legacy-Id: 8473
2014-10-25 21:14:00 +00:00
Henrik Levkowetz 704589b4c7 Merged in branch/iola/people-cleanup @ [8471] from olau@iola.dk, which
enhances a number of pages in the datatracker where forms contain fields
  where a person should be chosen, such as for instance when choosing the
  shepherd of a document, so that they uniformly display choices which show
  both email address and name.

  Furthermore, changes have been made so as to make the email address
  uniformly act as reference to the person record.  

  Autocompletion is now consistently provided when looking for the email
  address or name of the person to choose.  

  This solves a number of issues where it has been difficult to choose the
  correct Person/Email combination, and where the correct email address to use
  for an association has been unavailable previously.
 - Legacy-Id: 8472
Note: SVN reference [8471] has been migrated to Git commit d62f2343e8
2014-10-25 21:05:50 +00:00
Henrik Levkowetz 6e38e974f5 Merged in [8237] from rcross@amsl.com:
Changes to support video content in proceedings ('recording' document type).
 - Legacy-Id: 8462
Note: SVN reference [8237] has been migrated to Git commit 96bccc7b17
2014-10-24 12:18:25 +00:00
Robert Sparks c05d734cf3 one more tweak before refactoring
- Legacy-Id: 8455
2014-10-21 22:38:06 +00:00
Robert Sparks 2f6799ece6 Have working selectors for sessions related to a meeting and sessions related to a document, views for listing such sections that can be edited, and an edit form for changing the presented version. Checkpointing before big refactor to move the URI components around
- Legacy-Id: 8453
2014-10-21 21:16:27 +00:00
Robert Sparks 9a46f47168 fix diffable bug, improve form grooming, remove too restrictive help text from form
- Legacy-Id: 8439
2014-10-16 18:58:13 +00:00
Robert Sparks 71195b0a72 Better evaluation of whether a document type is diffable. Fixes bug #1504. Commit ready for merge.
- Legacy-Id: 8438
2014-10-16 18:36:29 +00:00
Robert Sparks 7e60f910d4 rework filters to avoid conflict in editing vs showing all
- Legacy-Id: 8436
2014-10-16 17:39:52 +00:00
Robert Sparks 31f687b343 allow editing of abstract for existing material
- Legacy-Id: 8435
2014-10-16 16:46:38 +00:00
Robert Sparks 2f56de6223 added abstract to the upload form
- Legacy-Id: 8434
2014-10-16 16:27:51 +00:00
Robert Sparks b86d5c1d09 renumber migration to resolve prefix collision after merge
- Legacy-Id: 8433
2014-10-16 16:01:16 +00:00
Robert Sparks e889177a32 merged forward
- Legacy-Id: 8432
2014-10-16 15:07:33 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz c1c892e3ac Merged in [8303] from rjsparks@nostrum.com:\n Only show comment/discuss document version on the ballot page when the text is for a version of the document other than the current one. Fixes bug #1482.
- Legacy-Id: 8389
Note: SVN reference [8303] has been migrated to Git commit 75f46e78e51c7312e9e31e1330f5f1f4eee58deb
2014-10-12 18:47:35 +00:00
Henrik Levkowetz 90fa82476b Merged in [8301] from rcross@amsl.com:
changes to support consensus status.
 - Legacy-Id: 8387
Note: SVN reference [8301] has been migrated to Git commit feec6899be
2014-10-12 18:31:39 +00:00
Henrik Levkowetz d4e5f070af Merged in [8293] from rjsparks@nostrum.com:\n XXX: Should what is now captured in the list of STATUSCHANGE_RELATIONS instead be captured in the database in name_docrelationshipname?
Refactored editing the notify field to remove redundant code.
Changed the default notification list to include .all for documents, and the wg list for wg documents.
Allowed recalculating the notification list for all document types.
Improved the calculated notification list value for charters, conflict-reviews, and status-changes.
Adds shepherds to the notification list when they are assigned to a document.
Adds the working group email list to the notification list when a document is adopted.
Fixes #1438
 - Legacy-Id: 8385
Note: SVN reference [8293] has been migrated to Git commit 640c5eb52ace8bb6d2c1b3ca6c14ef10ad0f324f
2014-10-12 17:32:11 +00:00
Henrik Levkowetz 320051213e Merged in [8271] and [8292] from rjsparks@nostrum.com:
Send email when a the telechat date (or returning item bit) changes for a document.
Fixes #1452
 - Legacy-Id: 8383
Note: SVN reference [8271] has been migrated to Git commit 80fc0c7caa4feac2966722324e42a53cabe67a6b

Note: SVN reference [8292] has been migrated to Git commit 7c56f8bad35b6ed06f6c6eff7436c178209d4143
2014-10-12 17:07:45 +00:00
Ole Laursen 5604914bfc Add AutocompletedDocumentsField to be used for replacements submission
and refactor milestones tool to use this field
 - Legacy-Id: 8381
2014-10-09 17:14:14 +00:00
Henrik Levkowetz ec3e247732 Merged in [8262] and [8263] from rjsparks@nostrum.com:
Changes when returning_item is automatically set to match the
    current IESGs preferences.  Removes several chunks of dead code
    related to editing telechat dates.  Improves returning item tests.

    Refactored multiple edit_telechat functions into one function in
    doc_views.  Added a helper function for determining if ballots have
    changed to isolate the implementation.  Fixed the issue with
    update_agenda setting the returning item bit even when the user
    explicitly said not to.  Added prompting to encourage proper setting
    of the returning item bit to the edit_telechat view.

    Fixes #1209
 - Legacy-Id: 8369
Note: SVN reference [8262] has been migrated to Git commit 9d8d0d63e2338d6fa81a82c553b8c6a1c3a105c1

Note: SVN reference [8263] has been migrated to Git commit 35a7436b782fc45e224ac9ea29bfb535fd3ce959
2014-09-28 19:57:01 +00:00
Henrik Levkowetz fc3773bcb4 Merged in [8256] from rjsparks@nostrum.com:\n Allow defer for status change documents. Fixes bug #1397.
- Legacy-Id: 8367
Note: SVN reference [8256] has been migrated to Git commit 1a29f28361b11bc32432be8b31e78d933a4d04d8
2014-09-28 19:13:31 +00:00
Henrik Levkowetz cea60ad8df Merged in [8255] from rjsparks@nostrum.com:\n Combined defer/undefer tests from doc/tests_ballot and iesg/tests, extending them to demonstrate current reported bugs.
Made doc.active_defer_event() look for the events that are currently being created. This remains brittle.
Added email notifying the IESG of an undefer analagous to the defer email.
Guarded against deferring an already deferred document or undeferring a document that hasn't been deferred.
Guarded against deferring a document that's not scheduled for a telechat.
Fixes bugs 1417, 1465, 1417
 - Legacy-Id: 8366
Note: SVN reference [8255] has been migrated to Git commit 0b49f402b4ec9145cb290b8a968755cc9ebdef92
2014-09-28 18:59:10 +00:00
Henrik Levkowetz 8e0200abc9 Merged in [8238] from rjsparks@nostrum.com:\n Look in the right place in the filesystem for the files bits when building reference relations during submit. Fixes bug #1467.
- Legacy-Id: 8362
Note: SVN reference [8238] has been migrated to Git commit c6e22bc429e3c77fd2d5be6d78c20a0c90cbc80b
2014-09-28 18:32:00 +00:00
Robert Sparks 754ee80016 snapshot before SIPit - have a working session presentation edit form
- Legacy-Id: 8358
2014-09-26 20:47:13 +00:00
Robert Sparks 67782ade34 merge forward complete
- Legacy-Id: 8354
2014-09-23 15:48:27 +00:00
Robert Sparks 81119d6f37 checkpoint before migrating forward to 5.6.4-dev0
- Legacy-Id: 8352
2014-09-23 15:34:10 +00:00
Robert Sparks c3f460cbe9 Refactored history snippets for general use
Moved from VersionedMaterials to SessionPresentation for the through table name
Added the abstract and most recent presentation to the documents on the group materials page
Working snapshot before building historic edu-team documents
 - Legacy-Id: 8349
2014-09-19 21:33:30 +00:00
Henrik Levkowetz 2ff2d79a7e Merged in [8210] from rjsparks@nostrum.com:\n Default the responsible AD for an initial charter or recharter document to the responsible AD for the group. Fixes ticket #1451.
- Legacy-Id: 8316
Note: SVN reference [8210] has been migrated to Git commit 77ddbbe04aedcf7ad7af35032606c1e952228a84
2014-09-16 19:52:24 +00:00
Robert Sparks feb57a04f0 Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430.
- Legacy-Id: 8305
2014-09-11 20:41:59 +00:00
Ryan Cross feec6899be changes to support consensus status. Commit ready for merge
- Legacy-Id: 8301
2014-09-02 22:56:05 +00:00
Ole Laursen 5b7258ae12 Add change shepherd email page so that a document shepherd can change
the email address used for shepherding a document
 - Legacy-Id: 8297
2014-08-25 22:59:33 +00:00
Ole Laursen 92e5694ed3 Revamp the AutocompletedEmailsField API a bit to allow for an AutocompletedPersonsField
- Legacy-Id: 8282
2014-08-18 13:55:43 +00:00
Ole Laursen 7b36280070 Rename EmailsField to AutocompletedEmailsField and add a singular
AutocompletedEmailField that cleans to a single Email to make it
easier to use with ModelForms
 - Legacy-Id: 8280
2014-08-18 11:50:04 +00:00
Ole Laursen 5d714469a1 Use Role.formatted_email a couple of places we actually have the role
rather than use the one on person as the latter is guessing while the
former is not
 - Legacy-Id: 8273
2014-08-17 10:07:21 +00:00
Ole Laursen 9e9ec98206 Moved EmailsField from person.forms to person.fields
- Legacy-Id: 8269
2014-08-14 08:03:11 +00:00
Ole Laursen f291a466d7 Change Document.shepherd to point to the email address rather than the
person, add migration to fix the existing shepherds, fix wording and
max entries on change shepherd page to be more self-explanatory
 - Legacy-Id: 8268
2014-08-13 11:40:01 +00:00
Ryan Cross 96bccc7b17 changes to support video content in proceedings ('recording' document type). Commit ready for merge
- Legacy-Id: 8237
2014-08-04 17:17:52 +00:00
Ryan Cross 61668dba80 changes to support input of session recordings
- Legacy-Id: 8216
2014-07-30 21:55:42 +00:00
Robert Sparks ffa20b19ab Improves how many href urls are constructed. Updates ticket #1459. Commit ready for merge
- Legacy-Id: 8204
2014-07-24 17:31:06 +00:00
Henrik Levkowetz 73ae54d407 Merged in [8150] from rjsparks@nostrum.com:
Small cleanup refactor removing redundant configuration line in settings for charter text URLs.
 - Legacy-Id: 8162
Note: SVN reference [8150] has been migrated to Git commit 7266cda08a
2014-07-21 23:16:02 +00:00
Henrik Levkowetz 712c89f149 Merged in [8143] from tterriberry@mozilla.com:\n Allow IRTF chair to adopt a draft into any RG.
Fixes #1082.
 - Legacy-Id: 8153
Note: SVN reference [8143] has been migrated to Git commit e9c79a9e19
2014-07-20 15:04:12 +00:00
Robert Sparks 7266cda08a Small cleanup refactor removing redundant configuration line in settings for charter text URLs. Commit ready to merge.
- Legacy-Id: 8150
2014-07-20 03:50:20 +00:00
Henrik Levkowetz f50fa3a412 Merged in personal/shane/v5.6.2-dev0@8144 from shane@time-travellers.org:
Added untrack to document and search pages. Fixes #1381.
 - Legacy-Id: 8145
2014-07-19 21:44:36 +00:00
Henrik Levkowetz 6036a09dca Merged in [8136] from denghui@chinamobile.com:
add revision number for ballot input Fixes issue #911.
 - Legacy-Id: 8144
Note: SVN reference [8136] has been migrated to Git commit 9371ca969f
2014-07-19 21:33:02 +00:00
Timothy B. Terriberry e9c79a9e19 Allow IRTF chair to adopt a draft into any RG.
Fixes #1082.
Commit ready for merge.
 - Legacy-Id: 8143
2014-07-19 21:15:47 +00:00
Shane Kerr 5639bc79fa Added untrack to document and search pages. Implements #1381. Branch ready for merge.'
- Legacy-Id: 8140
2014-07-19 21:03:51 +00:00
Shane Kerr ea05042d12 Provide "untrack" option in the search results page.
- Legacy-Id: 8139
2014-07-19 21:00:22 +00:00
Deng Hui 9371ca969f add revision number for ballot input Fixes issue #911. commit ready for merge
- Legacy-Id: 8136
2014-07-19 20:41:06 +00:00
Shane Kerr 4d71417817 Untrack this document button added to draft document view.
- Legacy-Id: 8130
2014-07-19 19:44:30 +00:00
Henrik Levkowetz 27a5e27e20 Merged in [8122] from gnocuil@gmail.com:\n Force mailing to secretary when a charter state changed to internal or external review. Fixes ticket #1444.
- Legacy-Id: 8128
Note: SVN reference [8122] has been migrated to Git commit 8ca62eae6d
2014-07-19 18:34:21 +00:00
Cong Liu 8ca62eae6d Force mailing to secretary when a charter state changed to internal or external review. Fixes ticket #1444. Commit ready for merge.
- Legacy-Id: 8122
2014-07-19 16:12:21 +00:00
Robert Sparks 4de405e8d3 Use the name field from the materials upload form. Fixes ticket #1445. Commit ready for merge.
- Legacy-Id: 8099
2014-07-16 14:47:39 +00:00
Henrik Levkowetz f07e02b462 Merged in [8057] from olau@iola.dk:\n Change Document.get_absolute_url to handle case of non-meeting-based group materials, fixes #1440
- Legacy-Id: 8064
Note: SVN reference [8057] has been migrated to Git commit 9eba9f78d8
2014-07-13 21:40:41 +00:00
Ole Laursen 9eba9f78d8 Change Document.get_absolute_url to handle case of non-meeting-based group materials, fixes #1440
- Legacy-Id: 8057
2014-07-08 15:47:06 +00:00
Henrik Levkowetz 09f654b1f4 Merged in branch/iola/team-support from olau@iola.dk. This generalises and extends the group support for WGs and RGs so that also other groups, such as for instance the Edu Team, can have pages.
- Legacy-Id: 8013
2014-07-02 19:30:07 +00:00
Ole Laursen 20fb8ff315 Fix the now wrong comment about WG charter canonical names being able
to change
 - Legacy-Id: 7937
2014-06-26 16:31:17 +00:00
Ole Laursen e92e57acd2 Fix an instance of charter-ietf-%s that should really be charter-%s-%s
to support RG charters properly, also remove the dead code for
handling group acronym renames (it contained some instances of
charter-ietf-%s too)
 - Legacy-Id: 7936
2014-06-26 16:24:06 +00:00
Henrik Levkowetz f00f589e66 Renamed a very specialized function from email_secretariat() to email_iesg_secretary_re_charter().
- Legacy-Id: 7923
2014-06-17 16:31:12 +00:00
Henrik Levkowetz a03ee6b333 Changed the code to move drafts from the active draft repository to the draft archive so that all associated files will be moved, not just those with specifically listed extensions. This fixes the problem that .xml files associated with submitted drafts were moved to the unknown_ids subdirectory of the archive, instead of into the archive proper.
- Legacy-Id: 7922
2014-06-16 16:23:18 +00:00
Ole Laursen f9ee750afd Make it possible to adjust the name of new materials upon upload, also fix a couple of warnings from PyFlakes
- Legacy-Id: 7914
2014-06-13 12:30:42 +00:00
Henrik Levkowetz 9ff2b9ff9a Merged in support for RG pages, from branch/iola/rg-support.
- Legacy-Id: 7866
2014-06-09 20:52:14 +00:00
Ole Laursen 602feff7c9 Add tests for new material code
- Legacy-Id: 7850
2014-06-04 13:10:55 +00:00
Ole Laursen 6e83335f0f Fix a bunch of mistakes found by PyFlakes in the new materials code
- Legacy-Id: 7839
2014-06-03 11:28:27 +00:00
Ole Laursen b56b8deff9 Fix some bugs in displaying meeting-related materials in the new material
support under /doc/
 - Legacy-Id: 7838
2014-06-03 10:43:15 +00:00
Ole Laursen 2a1f902a67 Rewrite error handling in get_document_content to use a with statement
instead of finally
 - Legacy-Id: 7837
2014-06-03 10:42:33 +00:00
Ole Laursen 88cf68d43f Move group material handling code to doc/material/ now that the view of the material is integrated into /doc/, fix a bunch of bugs
- Legacy-Id: 7834
2014-06-03 09:42:16 +00:00
Ole Laursen c94757405d Add a /doc/ page for materials (slides, agendas, minutes), link to that from the group materials page
- Legacy-Id: 7825
2014-06-02 12:18:42 +00:00
Ole Laursen 544cd702bb Drop the material doc type, instead present a choice of doc types for uploading materials (currently only slides) and use that, introduce a DOCUMENT_PATH_PATTERN setting for storing the files and only look in proceedings/ for documents that are actually meeting related
- Legacy-Id: 7802
2014-05-30 14:07:16 +00:00
Ole Laursen 47c9ccf0e1 Handle the case of asking for get_state() on an unsaved document
- Legacy-Id: 7779
2014-05-26 15:40:07 +00:00
Ole Laursen 3bfb6dcd43 Added support data for a tentative new material document type, add a upload/edit/revise page for uploading and revising group materials, still missing a couple of details and tests
- Legacy-Id: 7776
2014-05-23 16:26:56 +00:00
Henrik Levkowetz c1d75dab55 Merged [7748] from rjsparks@nostrum.com: Adjust when publication request button appears for documents in non-ietf streams. Fixes bug #1402.
- Legacy-Id: 7765
Note: SVN reference [7748] has been migrated to Git commit e9984b957b
2014-05-20 20:33:12 +00:00
Ole Laursen 0144ef366b Add description field on group, enable most group info page views to
work without a group type to pave the way for /group/<acronym>/ URLs,
make charter page more generic, enable it to handle descriptions and
walk over all personnel instead of picking out specific types
of roles, add a redirect view on /group/<acronym>/ to lead to either
documents/ or charter/, add simple group.features() class to be able
to condition on group features rather than specific group types,
adjust group pages menu accordingly
 - Legacy-Id: 7758
2014-05-20 10:19:26 +00:00
Robert Sparks e9984b957b Adjust when publication request button appears for documents in non-ietf streams. Fixes bug #1402. Commit ready for merge.
- Legacy-Id: 7748
2014-05-14 17:31:00 +00:00
Robert Sparks 18bfe663d5 Corrected Document vs DocHistory mismatch when working with status-change documents. Corrected creation of BallotDocEvent timestamps. Fixes bug #1396. Commit ready for merge
- Legacy-Id: 7705
2014-05-06 20:32:27 +00:00
Robert Sparks cb458b1689 Protect against cases where add_state_change_event can return None. Fixes bug # 1383. Commit ready for merge.
- Legacy-Id: 7677
2014-04-30 22:17:01 +00:00
Henrik Levkowetz fc0c605f5b Merged [7590] from rjsparks@nostrum.com: Change when the consensus field is displayed and who can edit it for IETF stream documents. Fixes bug #1380.
- Legacy-Id: 7612
Note: SVN reference [7590] has been migrated to Git commit 85458abee3a1474ba9fc476c087e08e24a62cb2e
2014-04-16 19:02:25 +00:00
Henrik Levkowetz 1d9e9e7745 Merged [7589] from rjsparks@nostrum.com: Functional changes allowing consensus to be set back to Unknown. Fixes ticket #1150.
- Legacy-Id: 7611
Note: SVN reference [7589] has been migrated to Git commit 7fb3e913e5377aa4e38c369aeefe2449e07e3c4e
2014-04-16 18:45:55 +00:00
Henrik Levkowetz 1070a42c87 Merged [7588] from rjsparks@nostrum.com: Schema migration to allow consensus to be set back to unknown. Related to ticket #1150.
- Legacy-Id: 7610
Note: SVN reference [7588] has been migrated to Git commit df1455485a03fbd391c8c6dfa5a85c6471003ec8
2014-04-14 15:53:37 +00:00
Henrik Levkowetz 5f0c22d1e7 Fixed a pyflakes issue with previous commit.
- Legacy-Id: 7608
2014-04-13 20:35:24 +00:00
Henrik Levkowetz 06ff160c73 Merged in [7586] from rjsparks@nostrum.com:
Fixed calculation of needed ballots for status-change documents. Added needed ballots tests for drafts and status-change docs. Fixes bug 1116.
 - Legacy-Id: 7607
Note: SVN reference [7586] has been migrated to Git commit e30ba32c78cf324f5875fcce3f89ff7e27f8453c
2014-04-13 20:10:21 +00:00
Henrik Levkowetz c50fccdb7e Merged in [7586] from rjsparks@nostrum.com:
Fixed calculation of needed ballots for status-change documents. Added needed ballots tests for drafts and status-change docs. Fixes bug 1116.
 - Legacy-Id: 7606
Note: SVN reference [7586] has been migrated to Git commit e30ba32c78cf324f5875fcce3f89ff7e27f8453c
2014-04-13 19:36:06 +00:00
Henrik Levkowetz 2c27eb481d Merged in [7519] from olau@iola.dk:
Remove uses of gzip middleware - the decorator thing breaks the ETags for some reason, as noted in issue #518, and it seems consensus is that we should do this in Apache instead for the whole site
 - Legacy-Id: 7602
Note: SVN reference [7519] has been migrated to Git commit 9ddecc1970
2014-04-12 18:50:01 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz b02b0a96df All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Ole Laursen dbead00fcc Hide IESG tabs for non-WG charters. Fix spelling mistake (IEST).
- Legacy-Id: 7566
2014-04-02 12:30:00 +00:00
Ole Laursen 01461d1036 Make sure group state is set when approving charters for non-WGs
- Legacy-Id: 7565
2014-04-02 12:24:36 +00:00
Henrik Levkowetz 8c42989d5d Pyflakes cleanup compliant with pyflakes 0.8.1, which seems to find things 0.8.0 didn't fin.
- Legacy-Id: 7558
2014-04-01 16:25:18 +00:00
Ole Laursen f52e676793 Move chartering groups to /group/chartering/ (with a redirect from the old location), list RGs there too, and amend the previous fix to the chartering process for non-WGs so they have internal and external review states instead of just approved. Also move the code in wginfo/ to group/ as it is no longer just about info for WGs.
- Legacy-Id: 7556
2014-04-01 11:59:08 +00:00
Ole Laursen d3efeb421f Introduce basic charter support for non-WG groups
- Legacy-Id: 7550
2014-03-27 17:06:56 +00:00
Ole Laursen ad357e0068 Parameterize the <wg> in /wg/<acronym> to allow for RGs, add simple /rg/ overview page based on similar /wg/ overview page, fix links and other WG/RG-specific details. All the basic pages under /rg/ now appear to be working for RGs. Edit pages and permissions are not adapted yet, though.
- Legacy-Id: 7535
2014-03-22 13:11:23 +00:00
Henrik Levkowetz 5a424fe2da Merged in [7153] from rjsparks@nostrum.com:
Fixed a typo in code that looks for the IRTF chair email address while adding replaces relationships.
Made that code slightly more robust.
Fixes ticket #1253
 - Legacy-Id: 7531
Note: SVN reference [7153] has been migrated to Git commit 99c01fa54a
2014-03-21 11:55:51 +00:00
Ole Laursen 9ddecc1970 Remove uses of gzip middleware - the decorator thing breaks the ETags for some reason, as noted in issue #518, and it seems consensus is that we should do this in Apache instead for the whole site
- Legacy-Id: 7519
2014-03-19 17:40:21 +00:00
Henrik Levkowetz c19268f6a1 A second pass of pyflakes cleanup, removing additional bulk imports, fixing a bug in get_initial_notify(), and removing some dead (and buggy) code.
- Legacy-Id: 7509
2014-03-16 22:15:46 +00:00
Henrik Levkowetz 02031a01b9 Cleaned out some (arbitrary) submodule name imports into ietf.utils, and made the corresponding import statements import the names directly from the correct submodules.
- Legacy-Id: 7495
2014-03-16 07:09:38 +00:00
Henrik Levkowetz 8a6c121073 Made ietf/secr/groups pyflakes-clean.
- Legacy-Id: 7480
2014-03-15 21:13:21 +00:00
Henrik Levkowetz 108fe6b03f Fixed some pyflakes issues in the merged code.
- Legacy-Id: 7464
2014-03-15 16:32:11 +00:00
Henrik Levkowetz b9c38d3c06 Merged pyflakes fixes forward to new copy of trunk.
- Legacy-Id: 7463
2014-03-15 16:27:05 +00:00
Henrik Levkowetz 5bef5d11ae Made doc/ pyflakes-clean.
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Henrik Levkowetz b945275478 Merged [7386] from tterriberry@mozilla.com: Describe needed positions in document ballot mail.
This uses doc.utils.needed_ballot_positions() to calculate what is
 needed.
Fixes #924.
 - Legacy-Id: 7405
Note: SVN reference [7386] has been migrated to Git commit d42ccbe741
2014-03-04 20:52:15 +00:00
Henrik Levkowetz 8ff8056581 Merged [7383] from jmh@joelhalpern.com: fixes ticket #924
Changes counting logic in ballots to use actual number of ADs.
Causes ballot email to use utility to generate requirements text
 - Legacy-Id: 7404
Note: SVN reference [7383] has been migrated to Git commit 271c48c9c47bf63bee2289fad9224b624c388fba
2014-03-04 18:22:29 +00:00
Henrik Levkowetz ebc6608387 Merged in part of [7375] from jmh@joelhalpern.com.
Now sending draft update notices to IRSG for IRTF stream drafts.  Fixes issue #1227.
 - Legacy-Id: 7402
Note: SVN reference [7375] has been migrated to Git commit 5f89d9ab996c4b0519ec23accb288e02961c62bf
2014-03-04 18:12:38 +00:00
Henrik Levkowetz b297c67765 Merged [7396] from rcross@amsl.com: updated test for clean_up_draft_files.
- Legacy-Id: 7401
Note: SVN reference [7396] has been migrated to Git commit 852509c96d983e595fa082e13b771a7f89771803
2014-03-04 17:47:26 +00:00
Timothy B. Terriberry d42ccbe741 Describe needed positions in document ballot mail.
This uses doc.utils.needed_ballot_positions() to calculate what is
 needed.
Fixes #924.
Commit ready to merge.
 - Legacy-Id: 7386
2014-03-01 19:08:09 +00:00
Henrik Levkowetz dbc82f2b22 Merged [7365] from rjsparks@nostrum.com: Improve handling of status-change relation form submission when conditions (such as not running javascript) lead to the POST missing required fields.
- Legacy-Id: 7381
Note: SVN reference [7365] has been migrated to Git commit 9a7b186616823029fbe6bac5907bad50c5203e97
2014-03-01 18:08:43 +00:00
Robert Sparks ff48d32c08 Migration to repair missing StateDocEvents from wg chairs using
the datatracker to request publication of ietf stream documents.

Incremental improvement to the request publication view to create
those StateDocEvents going forward.

This is related to bug #1312
Commit ready to merge
 - Legacy-Id: 7371
2014-02-28 17:14:18 +00:00
Robert Sparks 31808eccb2 Allow 1-3 digit RFCs in status change documents.
Fixes bug #1321
Commit ready for merge
 - Legacy-Id: 7292
2014-02-24 15:43:32 +00:00
Henrik Levkowetz c52d7c00fe Removed a debug statement.
- Legacy-Id: 7243
2014-02-16 16:29:29 +00:00
Henrik Levkowetz 057dd43c73 Fixed a probem with wrong URLs in atom feeds, caused by caching. Fixes issue #1307.
- Legacy-Id: 7239
2014-02-16 15:45:06 +00:00
Henrik Levkowetz 295b484bea Merged [7210] from rjsparks@nostrum.com: Allow the IRTF Chair and the ISE to request a conflict review directly through the tracker.
Notify the Secretariat when someone other than the secretariat initiates a conflict review.
Notify IANA when anyone initiates a conflict review.
Fixes tickets #1287 and #1289
 - Legacy-Id: 7225
Note: SVN reference [7210] has been migrated to Git commit a0fd974c92
2014-02-09 21:01:29 +00:00
Henrik Levkowetz c83ef0c30b Merged [7077] from rjsparks@nostrum.com: Returns "there are no ballots to view yet" rather than 404ing when the ballot link is followed for a document that exists.
It is typical for last call to be issued (which includes a link to the ballot page) well in advance of creating any ballot for a document.
Fixes bug 1233
 - Legacy-Id: 7223
Note: SVN reference [7077] has been migrated to Git commit e93b5ec296
2014-02-09 20:36:36 +00:00
Henrik Levkowetz 3abaab1d98 Merged [7076] from rjsparks@nostrum.com:
Sets the State(type=draft) to Replaced when a document is replaced using views_draft.replaces.
Sets the state back to Active or Expired when a document is no longer replaced by another document.
Adds tests for the above functionality.
Provides a patch to repair the state of documents pointed to by RelatedDocument(relationship__slug='replaces') objects created by views_draft.replaces before this fix.
Fixes bug 1234
 - Legacy-Id: 7222
Note: SVN reference [7076] has been migrated to Git commit a3da5bbd87
2014-02-09 20:33:15 +00:00
Henrik Levkowetz 086c4290b7 Merged [6361] from rjsparks@nostrum.com:
Allow the secretariat and ads to change the title of a status change
document.  Fixes bug 1141.

Applied changes to adapt the code from Django 1.2 to 1.6: Provide a
quoted string to {% url %} and use request.user.person instead of
request.user.get_profile().
 - Legacy-Id: 7221
Note: SVN reference [6361] has been migrated to Git commit 7c4cf7002f
2014-02-09 18:46:19 +00:00
Henrik Levkowetz 690c36cd8a Merged [6359] from rjsparks@nostrum.com:
Send email to the secretariat when a status change document is put directly into the last-call-requested state.
Fixes bug 1139.
 - Legacy-Id: 7208
Note: SVN reference [6359] has been migrated to Git commit faabcb8328
2014-02-04 23:28:48 +00:00
Henrik Levkowetz 62e7b515a8 Added stream change and state change emails in adopt_draft() -- otherwise we wouldn't have the state change emails assumed in the previous commit. See issue #1246.
- Legacy-Id: 7207
2014-02-04 23:27:40 +00:00
Henrik Levkowetz 41c1c1a5fe Removing the extra (misleading) draft about WG adoption which is sent out in addition to the state change emails when a call for addoption (WG) or adoption (RG) is done using the 'Adopt Draft in Group' form. The state change messages should be sufficient, and are not misleading. Fixes issue #1246 (and 1290).
- Legacy-Id: 7206
2014-02-04 22:00:07 +00:00
Henrik Levkowetz 908aacceff Handle the case in is_downref() where the src file doesn't have a std_level or intended_std_level set.
- Legacy-Id: 7198
2014-01-31 19:08:49 +00:00
Henrik Levkowetz 2d420fac34 Merged additional django-port and shim-removal tweaks from olau@iola.dk: branch/iola/djangoport@7167.
- Legacy-Id: 7168
2014-01-26 16:30:52 +00:00