Commit graph

4451 commits

Author SHA1 Message Date
Henrik Levkowetz 45704a1363 Made the generated postfix alias/virtual files include the AD emails in the -chairs alias.
- Legacy-Id: 8859
2015-01-10 23:57:30 +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 56f9260acb Show out-of-area ads on /wg/. Fixes #1555. Related to #1557. Commit ready for merge.
- Legacy-Id: 8856
2015-01-09 20:40:04 +00:00
Ryan Cross 83c3393c0c Fixes #1577. Fix Back and Cancel buttons in recording views. Commit ready for merge
- Legacy-Id: 8855
2015-01-09 18:54:11 +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
Ryan Cross a459356043 fix audio recordings not showing in proceedings. Commit ready for merge.
- Legacy-Id: 8853
2015-01-09 00:01:43 +00:00
Ryan Cross cd8cf00c52 fixes ability to replace minutes and agendas. Commit ready for merge.
- Legacy-Id: 8852
2015-01-08 21:42:32 +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
Ryan Cross e934aa8e73 fix several issues with IPR references in iesg templates. Commit ready for merge.
- Legacy-Id: 8849
2015-01-08 01:35:39 +00:00
Robert Sparks fd9649abf2 Don't add the group's ad to the list of people who need to be at a meeting if the group doesn't have an ad. Protects the field formatter from occurances of None in passed in lists. Patch applied to production. Commit ready for merge.
- Legacy-Id: 8848
2015-01-07 21:24:42 +00:00
Ryan Cross c957f3383b allow editing of legacy disclosures which don't have required fields (set required=False). Commit ready for merge.
- Legacy-Id: 8845
2015-01-06 23:32:23 +00:00
Ryan Cross 1d92f940ce Fixes #1570. Fixes document search result row and IESG agenda documents row links to IPR. Commit ready for merge.
- Legacy-Id: 8842
2015-01-06 19:42:32 +00:00
Ryan Cross 8130d244d8 Fixes #1569. Fixes link to IPR search from doc page. Commit ready for merge.
- Legacy-Id: 8841
2015-01-05 23:48:48 +00:00
Henrik Levkowetz 30b5d6f229 Added admin support for meeting.models.ResourceAssociation.
- Legacy-Id: 8834
2014-12-22 20:11:54 +00:00
Henrik Levkowetz 413e926b2b Set version info and settings back to development mode
- Legacy-Id: 8813
2014-12-21 21:34:03 +00:00
Henrik Levkowetz f90e802dc5 Set version info to release version 5.10.0 before branching.
- Legacy-Id: 8811
2014-12-21 21:33:56 +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
Henrik Levkowetz 04164ad157 Set version info and settings back to development mode
- Legacy-Id: 8805
2014-12-18 21:29:50 +00:00
Henrik Levkowetz 813bf0c025 Set version info to release version 5.9.0 before branching.
- Legacy-Id: 8803
2014-12-18 21:29:46 +00:00
Robert Sparks 601575a3d5 Verify that add_state_change_event returned something before trying to use attributes of the return value. Fixes bug #1566. Commit ready for merge.
- Legacy-Id: 8801
2014-12-18 20:23:57 +00:00
Henrik Levkowetz 5133e59c9b Merged in [8711] from rjsparks@nostrum.com:\n Added functionality for management of group materials,
focusing on groups of type 'team'.
* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role
 - Legacy-Id: 8765
Note: SVN reference [8711] has been migrated to Git commit b4448a8faa
2014-12-18 18:47:14 +00:00
Henrik Levkowetz da9419ae64 Set version info and settings back to development mode
- Legacy-Id: 8763
2014-12-18 18:40:22 +00:00
Henrik Levkowetz f15295863a Set version info to release version 5.8.1 before branching.
- Legacy-Id: 8761
2014-12-18 18:40:18 +00:00
Henrik Levkowetz a9b91deead Added a file which was missed in the 5.8.0 release.
- Legacy-Id: 8759
2014-12-18 18:37:53 +00:00
Henrik Levkowetz f403aa9886 Set version info and settings back to development mode
- Legacy-Id: 8757
2014-12-18 16:06:12 +00:00
Henrik Levkowetz b878bfa9eb Set version info to release version 5.8.0 before branching.
- Legacy-Id: 8755
2014-12-18 16:06:08 +00:00
Henrik Levkowetz 00e4818ceb Alternative DRY definition of the REST api top URL; this time in ietf/urls.py. This in itself is nicer, but I'm not so sure about the use of reverse() everywhere else, instead of referring to settings.
- Legacy-Id: 8752
2014-12-17 21:26:32 +00:00
Henrik Levkowetz 3cb39d462e Define the REST api top url in settings.py, rather than having literals in multiple places in the code.
- Legacy-Id: 8751
2014-12-17 21:06:05 +00:00
Henrik Levkowetz 7d2c934699 Cleanup.
- Legacy-Id: 8750
2014-12-17 20:25:18 +00:00
Henrik Levkowetz 48e0c33aff Don't list REST API endpoints which don't provide access to any tables.
- Legacy-Id: 8749
2014-12-17 20:18:27 +00:00
Henrik Levkowetz 9cb2f17f0f Added a refinement to the pyflakes management command, to make it clearer where exceptions while running pyflakes originate.
- Legacy-Id: 8747
2014-12-14 20:35:35 +00:00
Henrik Levkowetz ed2458feac Tests for the restapi.
- Legacy-Id: 8745
2014-12-14 20:34:03 +00:00
Henrik Levkowetz 770b36d575 Added generated (and sometimes manually tweaked) resources.py files.
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Henrik Levkowetz 147cc96a51 Added a management command to generate (and update) resource files for tastypie, in order to have to manually maintain the resource files needed by tastypie when models are added (model changes will have to be handled manually, or by removing the old class from the resources and auto-generate it again).
- Legacy-Id: 8743
2014-12-14 20:32:12 +00:00
Henrik Levkowetz 9883b8de78 Added a module with autodiscovery support for API resource files, and the necessary support for TimedeltaField to be used with tastypie. ALso a top-level resource list generated from settings.INSTALLED_APPS, in order to not have to maintain the top level manually in ietf/urls.py.
- Legacy-Id: 8741
2014-12-14 20:27:51 +00:00
Robert Sparks f5325272f8 Send mail to the secretariat when a Person is created with the same name as some other Person objects in case its a duplicate that needs to be merged. Fixes ticket #1553. Commit ready to merge.
- Legacy-Id: 8726
2014-12-04 03:51:48 +00:00
Ryan Cross 9cf30a07d1 Fixes ticket #1469, trying to add duplicate name in Rolodex causes 500 error. Commit ready for merge
- Legacy-Id: 8723
2014-12-02 18:30:35 +00:00
Robert Sparks 1d7d5dd32e 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. Commit ready for merge.
- Legacy-Id: 8718
2014-11-26 20:57:47 +00:00
Robert Sparks 134ae9928f Highlight need for milestone review and approval in messages to leadership when a milestone edit requires approval. Don't bother the group when the only changes are those needing approval. Fixes ticket #1501. Commit ready for merge.
- Legacy-Id: 8716
2014-11-26 18:56:51 +00:00
Robert Sparks b4448a8faa Added functionality for management of group materials,
focusing on groups of type 'team'.

* Simplifies managing the Abstract for uploaded group materials. 
  Displays the abstract on the groups materials page
* Provides SessionPresentation: a binding between 
  Document and Session objects, that tracks doc version.
* Adds helpers for finding upcoming sessions, and the 
  most recent SessionPresentations whose sessions have passed
* Generalizes the snippet concept (as a templatetage) used 
  in the history tab for use on other pages
* Adds a variant of the snippet that can be styled as an edit link
* Provides several ways to address sessions, using sequence, 
  dates, group acronyms, and day of week
* Adds a 'Materials Manager' Role

Commit ready for merge.
 - Legacy-Id: 8711
2014-11-25 00:09:05 +00:00
Robert Sparks 8a8da7a397 cleaned out boilerplate migration imports that arent actually used
- Legacy-Id: 8709
2014-11-24 21:51:51 +00:00
Robert Sparks e5e6b1337d Added a materials manager (matman) Role, and populated it for the edu team
- Legacy-Id: 8708
2014-11-24 21:40:49 +00:00
Robert Sparks 986768bf73 Cleaned up issues with date and weekday variants of the session views
- Legacy-Id: 8707
2014-11-24 21:06:58 +00:00
Robert Sparks 2d0eb1e011 Reworked URLs to explicitly invoke edit. Build list of possible sessions using group acronym and sequence variant of urls, not just sequence alone
- Legacy-Id: 8706
2014-11-24 20:53:36 +00:00
Robert Sparks 5f1663530c Added comment docevents when changing SessionPresentation objects. Reworked group materials page to be more helpful when there are multiple SessionPresentations withing a given Meeting
- Legacy-Id: 8705
2014-11-24 19:54:25 +00:00
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 50cb5f0762 Set version info and settings back to development mode
- Legacy-Id: 8656
2014-11-13 03:37:17 +00:00
Henrik Levkowetz 8bdd8deafd Set version info to release version 5.7.4 before branching.
- Legacy-Id: 8654
2014-11-13 03:37:13 +00:00
Henrik Levkowetz 8675c1e5ad Added a setting for the temporary bluesheets directory used during testing.
- Legacy-Id: 8648
2014-11-12 01:49:55 +00:00
Henrik Levkowetz c462e63adb Added settings for the PhantomJS ghostdriver.log and the temporary meeting materials directory used during testing, so that it's possible to place them in other places than the working copy.
- Legacy-Id: 8646
2014-11-12 01:45:58 +00:00
Henrik Levkowetz 184662f5e0 Merged in [8641] from rcross@amsl.com:
Fixed the check_permissions() decorator to handle not authenticated users.
 - Legacy-Id: 8645
Note: SVN reference [8641] has been migrated to Git commit 0ad5828b0f42abc2b0af0564f7b01935d0c326f5
2014-11-11 22:29:50 +00:00
Henrik Levkowetz 72247628a2 Removed an errant print debug statement.
- Legacy-Id: 8644
2014-11-11 22:24:02 +00:00
Henrik Levkowetz 9bcdf342fb Merged in [8634] from rcross@amsl.com:\n Remove none-selected option from licensing options of new IPR form.
- Legacy-Id: 8638
Note: SVN reference [8634] has been migrated to Git commit 5016baeb30
2014-11-11 02:05:35 +00:00
Henrik Levkowetz bb8359f80d Merged in [8624] from rcross@amsl.com:\n Remove secauth middleware. Replace with role_required decorators.
- Legacy-Id: 8637
Note: SVN reference [8624] has been migrated to Git commit 097b936ca8
2014-11-11 02:00:35 +00:00
Henrik Levkowetz 2d1d95e03b Merged in [8623] from suresh.krishnan@ericsson.com:\n Advising IESG Secretary of personnel changes in WGs. Fixing issue #1357.
- Legacy-Id: 8636
Note: SVN reference [8623] has been migrated to Git commit b6ff986ffd
2014-11-11 01:41:24 +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
Ryan Cross 5016baeb30 Remove none-selected option from licensing options of new IPR form. Commit ready for merge
- Legacy-Id: 8634
2014-11-11 01:10:52 +00:00
Henrik Levkowetz f2d3d4213a Reworked the generation of draft aliases and WG aliases, after trying out the output of the previous version for real. This code seems to work better, based on tests on ietfa.
- Legacy-Id: 8633
2014-11-11 01:09:30 +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
Henrik Levkowetz b6fc0586b8 Merged in [8617] from liudapeng@chinamobile.com:
Add RG in the search popup. Change to use Django Q object. Fixes issue #1355.
 - Legacy-Id: 8625
Note: SVN reference [8617] has been migrated to Git commit 136bce88b4
2014-11-09 03:38:40 +00:00
Ryan Cross 097b936ca8 Remove secauth middleware. Replace with role_required decorators. Commit ready for merge
- Legacy-Id: 8624
2014-11-09 02:32:41 +00:00
Suresh Krishnan b6ff986ffd Advising IESG Secretary of personnel changes in WGs. Fixing issue #1357. Commit ready for merge.
- Legacy-Id: 8623
2014-11-09 02:29:09 +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 334d11837a Merged in [8614] from harald@alvestrand.no:
Second try on #1425. Returns to agenda and uses message.
    Builds on [8604]. Fixes issue #1425, agenda view save-as.
 - Legacy-Id: 8621
Note: SVN reference [8604] has been migrated to Git commit c0c608ae1c

Note: SVN reference [8614] has been migrated to Git commit 502dede548
2014-11-09 02:15:18 +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
Dapeng Liu 136bce88b4 Add RG in the search popup. Change to use Django Q object. fixed issue #1355. Commit ready for merge
- Legacy-Id: 8617
2014-11-09 01:54:21 +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
Harald T. Alvestrand 502dede548 Second try on #1425. Returns to agenda and uses message. Commit ready for merge.
- Legacy-Id: 8614
2014-11-09 01:21:16 +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
Henrik Levkowetz 338848ab9d Merged in [8585] from rjsparks@nostrum.com:\n Tests that a message is set when a shepherd is not changed. Related to #1508 and r8504.
- Legacy-Id: 8612
Note: SVN reference [8585] has been migrated to Git commit de94d49665
2014-11-09 01:01:14 +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
Henrik Levkowetz cfa211f1bf Merged in [8584] from rjsparks@nostrum.com:
Reworked smtp error warning and logging to not use hard-to-read context_managers. Fixes bug #1390.
 - Legacy-Id: 8610
Note: SVN reference [8584] has been migrated to Git commit 5ca9581072
2014-11-09 00:54:03 +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
Dapeng Liu f5a0cd00da add RG in the search popup. fixed issue #1355. Commit ready for merge
- Legacy-Id: 8605
2014-11-09 00:00:50 +00:00
Harald T. Alvestrand c0c608ae1c Fixed agenda view save-as. Fixes #1425. Commit ready for merge.
- Legacy-Id: 8604
2014-11-08 23:11:03 +00:00
Henrik Levkowetz cb85e419b3 Merged in [8573] from rcross@amsl.com:
fix role_required to permit access to proposed RGs.
 - Legacy-Id: 8603
Note: SVN reference [8573] has been migrated to Git commit 882e0af92e
2014-11-08 22:52:08 +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
Henrik Levkowetz 6cca7f9472 Added some missing admin views.
- Legacy-Id: 8594
2014-11-08 19:50:38 +00:00
Henrik Levkowetz bd6d0775e1 Require posting confirmation for some particular draft name prefixes.
- Legacy-Id: 8591
2014-11-08 03:15:20 +00:00
Robert Sparks b7d8ed8491 add missing templates
- Legacy-Id: 8590
2014-11-05 21:49:44 +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
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
Robert Sparks 5ca9581072 Reworked smtp error warning and logging to not use hard-to-read context_managers. Fixes bug #1390. Commit ready to merge.
- Legacy-Id: 8584
2014-11-04 19:49:22 +00:00
Ryan Cross 882e0af92e fix role_required to permit access to proposed RGs. Commit ready for merge
- Legacy-Id: 8573
2014-11-03 19:11:45 +00:00
Henrik Levkowetz b74d4e7795 Set version info and settings back to development mode
- Legacy-Id: 8538
2014-11-01 23:16:37 +00:00
Henrik Levkowetz 16bbbc8e20 Set version info to release version 5.7.2 before branching.
- Legacy-Id: 8536
2014-11-01 23:16:27 +00:00
Henrik Levkowetz be4e45e16d Temporary patch for exception when trying to generate proceedings for a session which doesn't have an assigned timeslot in an official schedule. Happens all the time for interims, for example.
- Legacy-Id: 8534
2014-10-31 21:52:19 +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
Henrik Levkowetz 78da505019 Changed the signature line of the generate-wg-aliases to give the script path instead of a manually maintained string (which had become outdated) in the signature string at the top of the generated files.
- Legacy-Id: 8523
2014-10-30 15:39:46 +00:00
Henrik Levkowetz 26501383e0 Added generation of {draftname}.shepherd aliases for drafts when generating draft email aliases, and also added the shepherd's email address to the {draftname}.all alias. Changed the signature line of the script to give the script path instead of a manually maintained string (which had become outdated).
- Legacy-Id: 8522
2014-10-30 15:35:54 +00:00
Henrik Levkowetz 1ef00d44b2 Removed an unused import: pyflakes fix.
- Legacy-Id: 8521
2014-10-30 15:35:27 +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
Henrik Levkowetz 1bf4356002 Improved regex for the Dr.-Ing. honorific fix.
- Legacy-Id: 8509
2014-10-29 06:53:34 +00:00
Henrik Levkowetz 770f79e601 Added 'Dr.-Ing.' to the recognised honorifics in the author extraction code.
- Legacy-Id: 8508
2014-10-29 06:24:41 +00:00
Henrik Levkowetz 46cb5cbdca Did a number of changes to the author extraction method of class Draft in order to make it able to match up names with double-word family names on the first page (A. Foo Bar) with (familyname, given-name) ordering (Foo Bar Any) in the Authors' Addresses section. Regression tested against 200+ known good author extraction results. A number of stronger restrictions in regular expressions had to be introduced to avoid regression, which is probably all to the good.
- Legacy-Id: 8507
2014-10-28 15:45:47 +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