Commit graph

4449 commits

Author SHA1 Message Date
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
Ole Laursen 373644edf4 Port liaison submission/editing to Bootstrap, revamp the select related widget to use select2 rather than the longish popup table
- Legacy-Id: 8738
2014-12-12 17:59:57 +00:00
Ole Laursen 74313edc67 Summary: Move datepicker CSS to lib/
- Legacy-Id: 8736
2014-12-12 17:33:57 +00:00
Ole Laursen 70ad4d1742 Add liaisons migration to fix the few old statements that do not have a title (add an empty initial migration to make South happy)
- Legacy-Id: 8735
2014-12-12 17:30:55 +00:00
Ole Laursen 7f1683f093 Summary: Fix old bug in liaison tool - WG discussion lists where being
CC'ed with their list_subscribe rather than list_email address, and
the former is usually a URL, not an email address so cause a
validation error when submitting the statement
 - Legacy-Id: 8733
2014-12-12 17:06:05 +00:00
Ole Laursen 1d51a43be4 Summary: Fix the yyyymmdd to strftime format converter to use a single
pass through the format so that it actually works correctly
 - Legacy-Id: 8732
2014-12-12 11:24:15 +00:00
Ole Laursen b7f6be4603 Summary: Port reset charter milestones to Bootstrap
- Legacy-Id: 8731
2014-12-11 17:30:09 +00:00
Ole Laursen e4e4d4c8f8 Summary: Port group workflow customizations to Bootstrap
- Legacy-Id: 8730
2014-12-11 17:15:34 +00:00
Ole Laursen 0eb1df5f4a Summary: Move bootstrap_messages call into content
- Legacy-Id: 8729
2014-12-11 17:14:24 +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
Ole Laursen 7f286c12ee Summary: Port 401/404/500 pages to bootstrap
- Legacy-Id: 8722
2014-12-02 10:43:55 +00:00
Ole Laursen a3399b0bcd Summary: Port remaining parts of nomcom to bootstrap, fix some bugs,
let the private/public feedback pages share the same template, remove
the edit NomCom chair thing - there's no link to it and the
Secretariat can instead use the ordinary group management tool they
have available
 - Legacy-Id: 8721
2014-12-02 10:43:20 +00:00
Ole Laursen 027a976da4 Summary: Fix problem with confirm checkbox for potentially dangerous
acronym choices on group edit/creation page, fixes the last remaining
facelift test failure
 - Legacy-Id: 8720
2014-11-30 14:53:54 +00:00
Ole Laursen 8e4459ad59 Summary: Add helper for inserting a value after another value in an
OrderedDict (or Django's SortedDict)
 - Legacy-Id: 8719
2014-11-30 14:47:17 +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
Ole Laursen cebc979282 Summary: Resolve person/email/document multiselect issue by importing
select2 and switching the widgets over to using that. Port the
milestones editing page to Bootstrap.
 - Legacy-Id: 8713
2014-11-25 16:47:48 +00:00
Ole Laursen c7342d2f30 Summary: Add specialized DateField for triggering Bootstrap datepicker
- Legacy-Id: 8712
2014-11-25 16:43:50 +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
Ole Laursen 6a7f3d981d Summary: Update Secretariat jQuery version to the same as the rest of
the site (1.11.1) to make the people selection widget work
 - Legacy-Id: 8704
2014-11-24 15:33:55 +00:00
Ole Laursen 4bb48ac831 Cherrypick r8381 from /branch/iola/submit-replacement/ to get the document widget in, in preparation for fixing the autocomplete problems
- Legacy-Id: 8703
2014-11-21 15:32:04 +00:00
Ole Laursen 0f81e1c027 Merge in changes from Russ (/personal/housley/facelift-r8510) tweaking the development mode appearance, with some minor modifications
- Legacy-Id: 8695
2014-11-17 22:01:50 +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
Russ Housley cecaf3da00 Correct navbar typo.
- Legacy-Id: 8630
2014-11-09 05:39:43 +00:00
Russ Housley d0e968ec9e Correct navbar typo.
- Legacy-Id: 8629
2014-11-09 05:18:32 +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
Russ Housley fffdef11c7 Use traditional IETF logo. Make navbar red in development mode.
- Legacy-Id: 8607
2014-11-09 00:30:50 +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
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
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
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
Ole Laursen 279eab24f6 Revert removal of http:// from IDTRACKER_BASE_URL - this old and
perhaps misnamed setting is used as prefix for links in outgoing email
where protocol + server name is needed. It should perhaps be renamed
and set to https but this seems unrelated to the facelift work and for
the rename likely to be a interesting source of conflicts so is
probably better done closer to trunk.
 - Legacy-Id: 8570
2014-11-03 15:13:37 +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
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
Ole Laursen bd07ac2dc3 Add a class for the div around the actual page content to make it
easier to query for the interesting stuff
 - Legacy-Id: 8527
2014-10-31 17:14:42 +00:00
Ole Laursen 73777209eb Style telechat setting warnings as bootstrap alerts
- Legacy-Id: 8526
2014-10-31 17:07:47 +00:00
Ole Laursen a1ec3e85eb Replace partial differential character with HTML entity. While we
should support Unicode, it's causing many of the tests to fail because
the Django test client returns plain strings rather than unicode
strings. Maybe this can be reverted when Python 3 is here.
 - Legacy-Id: 8525
2014-10-31 14:24:38 +00:00
Ole Laursen b35d0e20ff Get rid of hardcoded column width setting in group popup, it does not appear to have any effect and removing it relieves us from the mathfilters dependency - also put the popup inside a spaceless to free some space up
- Legacy-Id: 8524
2014-10-30 16:50:44 +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
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
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
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
Henrik Levkowetz e3077c6e50 Fixed a bug in the new ISO-date code for draft metadata extraction.
- Legacy-Id: 8502
2014-10-27 17:01:16 +00:00