Commit graph

8625 commits

Author SHA1 Message Date
Henrik Levkowetz 888a39b3aa Added a migration for the additional API endpoint for PersonalApiKey.
- Legacy-Id: 15571
2018-10-14 22:38:18 +00:00
Robert Sparks 87bda66740 Converted several secr apps to use factories for tests. Commit ready for merge.
- Legacy-Id: 15568
2018-10-12 22:08:31 +00:00
Henrik Levkowetz 6f9fbea6d3 Updated the nomcom admin pages for Feedback to make it possible to see and sort on the Nominees field.
- Legacy-Id: 15558
2018-10-11 13:40:15 +00:00
Henrik Levkowetz 8f073efb13 Merged in [15551] from rjsparks@nostrum.com:
Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests.
 - Legacy-Id: 15555
Note: SVN reference [15551] has been migrated to Git commit 5c57cf1b91
2018-10-11 10:49:55 +00:00
Henrik Levkowetz 8746e5be23 Merged in [15550] from rjsparks@nostrum.com:
Added meeting.agenda_info_note.
 - Legacy-Id: 15554
Note: SVN reference [15550] has been migrated to Git commit d179db39d4
2018-10-10 22:23:49 +00:00
Henrik Levkowetz 462994a936 Merged in [15549] from rjsparks@nostrum.com:
Renamed meeting.agenda_note to meeting.agenda_warning_note.
 - Legacy-Id: 15553
Note: SVN reference [15549] has been migrated to Git commit c9e1474076
2018-10-10 19:36:06 +00:00
Henrik Levkowetz 45aad7255c Changed the 'View' button on the NomCom email classification page to render the email body within <pre>, and to not offer classification choices, as this encourages a slow workflow, and also seems to have been broken for some time.
- Legacy-Id: 15552
2018-10-10 17:53:01 +00:00
Robert Sparks 5c57cf1b91 Used factories instead of make_test_data for malinglists, mailtrigger, message, person, secr/announcement, and secr/areas tests. Commit ready for merge.
- Legacy-Id: 15551
2018-10-10 05:36:34 +00:00
Robert Sparks d179db39d4 Added meeting.agenda_info_note. Commit ready for merge.
- Legacy-Id: 15550
2018-10-09 22:08:45 +00:00
Robert Sparks c9e1474076 Renamed meeting.agenda_note to meeting.agenda_warning_note. Commit ready for merge.
- Legacy-Id: 15549
2018-10-09 20:52:04 +00:00
Henrik Levkowetz 15c8ab9506 Ensure the send_mail argument to save_position is a boolean.
- Legacy-Id: 15547
2018-10-09 16:34:45 +00:00
Henrik Levkowetz 004d1d3aa8 Removed a debug statement.
- Legacy-Id: 15545
2018-10-09 13:51:54 +00:00
Henrik Levkowetz 8c985fe440 Turned the nomcom chair dropdown menu item 'Classify pending feedback' into a tab with a mail count badge.
- Legacy-Id: 15544
2018-10-08 15:11:21 +00:00
Henrik Levkowetz 8f2ba33059 Merged in [15263], [15264], [15265], [15287] from rcross@amsl.com:
Added new custom API endpoints for export of person data, restricted
    to secretariat use.  Added a test for the new custom API.
 - Legacy-Id: 15543
Note: SVN reference [15263] has been migrated to Git commit 8e7e0faf529db057ac4f7496d0bc84fb05f0625d

Note: SVN reference [15264] has been migrated to Git commit e6549635650d4d9f9a9de7c5b4711f5a4a25c42c

Note: SVN reference [15265] has been migrated to Git commit 7c0e97f824b874763550adf1647841129017bf5a

Note: SVN reference [15287] has been migrated to Git commit 7431bdfcd9f2213c812a9004162ca576ae230a94
2018-10-08 14:23:51 +00:00
Henrik Levkowetz 5c807d11a3 Set version info and settings back to development mode
- Legacy-Id: 15540
2018-10-08 13:24:12 +00:00
Henrik Levkowetz 431ec25583 Set version info to release version 6.86.0 before branching.
- Legacy-Id: 15538
2018-10-08 13:24:02 +00:00
Henrik Levkowetz 7ac1556fbf Migration for changed default sort order for nominees.
- Legacy-Id: 15535
2018-10-08 13:03:21 +00:00
Henrik Levkowetz b984422471 Added pagination to the nomcom pending-feedback page, to reduce load time.
- Legacy-Id: 15534
2018-10-08 11:51:21 +00:00
Henrik Levkowetz 8a5e302745 Corrected the nominee ordering change.
- Legacy-Id: 15533
2018-10-08 10:26:00 +00:00
Henrik Levkowetz 64ba033a6c Changed the default sort for nomcom.models.Nominees to be 'person__name'.
- Legacy-Id: 15532
2018-10-08 09:55:10 +00:00
Henrik Levkowetz 889babc17f Merged in [15523] from rjsparks@nostrum.com:
Converted the liaisons tests to use factories.
 - Legacy-Id: 15531
Note: SVN reference [15523] has been migrated to Git commit 5e29f56494
2018-10-07 22:15:37 +00:00
Henrik Levkowetz caeb6fcb87 Added a '--reminder' switch to the GDPR request mailer, for repeat notifications.
- Legacy-Id: 15530
2018-10-07 22:05:26 +00:00
Henrik Levkowetz 17994b4cf2 Merged in [15522] from rcross@amsl.com:
Make email address read-only in rolodex edit form.  Fixes #2602.
 - Legacy-Id: 15529
Note: SVN reference [15522] has been migrated to Git commit dd2487e946
2018-10-07 20:34:37 +00:00
Henrik Levkowetz c305498903 Prevent issues for logins without Person records by not letting Person-less users through login.
- Legacy-Id: 15528
2018-10-07 19:35:54 +00:00
Henrik Levkowetz 7dccae286d Changed the mail-not-sent icon on the document ballot page.
- Legacy-Id: 15527
2018-10-07 19:31:46 +00:00
Henrik Levkowetz 22a2e29db8 Added an send_email field to BallotPostitionDocEvent to reflect whether the 'Send email' button was used to save the ballot position. Reverted a different earlier schema change which had the same purpose. Added icons on documents' IESG evaluation record to reflect this.
- Legacy-Id: 15526
2018-10-07 15:08:17 +00:00
Henrik Levkowetz 232774a5cc Adjusted the test_submit_nonascii_name() to match the output from idnits 2.16.0, which emits warnings rather than errors for nonascii content.
- Legacy-Id: 15525
2018-10-07 14:18:00 +00:00
Henrik Levkowetz fc027ae161 Built out test_edit_nomcom_view() to also test adding and removing reminder dates.
- Legacy-Id: 15524
2018-10-06 13:01:08 +00:00
Robert Sparks 5e29f56494 Converted the liaisons tests to use factories. Commit ready for merge.
- Legacy-Id: 15523
2018-10-05 21:50:20 +00:00
Ryan Cross dd2487e946 Make email address read-only in rolodex edit form. Fixes #2602. Commit ready for merge
- Legacy-Id: 15522
2018-10-05 00:23:10 +00:00
Henrik Levkowetz 2c2effde4f Added a form clean() for the reminder dates of the nomcom edit form, to make something appropriate out of edits that remove reminder dates, rather than clicking 'delete'. This fixes a potential exception, when a blank date cannot be saved, and also does what the user expected (deletes a blanked date).
- Legacy-Id: 15521
2018-10-04 18:03:41 +00:00
Henrik Levkowetz 7b65e28be2 Fixed a typo in the GDPR consent request email template.
- Legacy-Id: 15518
2018-10-02 19:28:33 +00:00
Henrik Levkowetz 9e0e5d66b3 Merged in [15492] from rjsparks@nostrum.com:
Use factories for ipr tests.
 - Legacy-Id: 15516
Note: SVN reference [15492] has been migrated to Git commit 775addc616
2018-10-01 17:51:17 +00:00
Henrik Levkowetz cfb214c48a Added a BallotCommentDocEvent, which extends DocEvent with a send_mail field, in order to better be able to show whether ballot discusses and comments were posted with with the 'send email' button or not.
- Legacy-Id: 15515
2018-10-01 13:31:17 +00:00
Henrik Levkowetz 194495da03 Set version info and settings back to development mode
- Legacy-Id: 15513
2018-09-30 14:48:05 +00:00
Henrik Levkowetz 17302464f5 Set version info to release version 6.85.1 before branching.
- Legacy-Id: 15511
2018-09-30 14:47:55 +00:00
Henrik Levkowetz 0aec95e13d Updated bower-managed static web assets
- Legacy-Id: 15507
2018-09-30 14:06:47 +00:00
Henrik Levkowetz 1cb567f234 Fixed some pyflakes issues.
- Legacy-Id: 15506
2018-09-29 20:22:03 +00:00
Henrik Levkowetz 27fdcd7c6d Added column sorting to the private nomcom nominee table.
- Legacy-Id: 15505
2018-09-29 20:17:19 +00:00
Henrik Levkowetz 43dd7d5e90 Tweaked the management command to send GDPR consent request emails to correctly perform exclusion based on the time of previous consent request emails.
- Legacy-Id: 15504
2018-09-29 20:08:09 +00:00
Henrik Levkowetz 5318c03b54 Added a PersonEvent type for email address deactivation.
- Legacy-Id: 15503
2018-09-29 20:06:33 +00:00
Henrik Levkowetz 9b7c18d994 Tweaked PersonAdmin to show name_from_draft after the name field.
- Legacy-Id: 15502
2018-09-29 20:05:33 +00:00
Henrik Levkowetz 437418ed36 Added a management command to deactivate email addresses found in delivery-status emails or given on the command-line.
- Legacy-Id: 15501
2018-09-29 19:42:34 +00:00
Henrik Levkowetz d56601d37f Added a clarification to the GDPR consent request email text after receiving about 100 emails in response to the first email round, containing what seems to be automatic responses indicating 'Yes, I confirm'.
- Legacy-Id: 15500
2018-09-29 19:22:16 +00:00
Henrik Levkowetz 1dd47e18f5 Whitespace changes only.
- Legacy-Id: 15499
2018-09-29 12:46:12 +00:00
Henrik Levkowetz e22268d4ae Set version info and settings back to development mode
- Legacy-Id: 15497
2018-09-28 23:50:21 +00:00
Henrik Levkowetz 51f3a19a49 Set version info to release version 6.85.0 before branching.
- Legacy-Id: 15495
2018-09-28 23:50:07 +00:00
Robert Sparks 775addc616 Use factories for ipr tests. Commit ready for merge.
- Legacy-Id: 15492
2018-09-28 23:16:46 +00:00
Henrik Levkowetz c14b02cfa4 Fixed a problem where an exception could be raised when reporting an exception during draft XML processing to the user.
- Legacy-Id: 15491
2018-09-27 13:36:25 +00:00
Henrik Levkowetz 3756923f40 Added username validation to the change username form, to avoid database key collision exceptions. Instead give a message to contact the secretariat to resolve the situation.
- Legacy-Id: 15490
2018-09-27 12:52:40 +00:00
Henrik Levkowetz b11afc00bf Removed olau@iola.dk from settings.ADMIN for now; IOLA has not been involved in datatracker work for some time. Bring back when that changes.
- Legacy-Id: 15489
2018-09-27 12:37:24 +00:00
Henrik Levkowetz bf3b1f7a45 Added 'consent' to the fields handled when merging person records.
- Legacy-Id: 15488
2018-09-27 12:31:29 +00:00
Henrik Levkowetz 29ae7809d7 Merged in [15486] from rjsparks@nostrum.com:
Allow a nomcom to show nominees that have accepted nomination before feedback is open. Fixes #2598.
 - Legacy-Id: 15487
Note: SVN reference [15486] has been migrated to Git commit 4d5de5dee6
2018-09-26 21:54:05 +00:00
Robert Sparks 4d5de5dee6 Allow a nomcom to show nominees that have accepted nomination before feedback is open. Fixes #2598. Commit ready for merge.
- Legacy-Id: 15486
2018-09-26 18:57:30 +00:00
Henrik Levkowetz 367ce2361f Tweaked the consent request email text to point out an alternative to follow email links.
- Legacy-Id: 15485
2018-09-26 15:25:22 +00:00
Henrik Levkowetz 00adbd0760 Merged in [15450] from rcross@amsl.com:
Change content-type of ajax_get_liaison_info to application/json.
 - Legacy-Id: 15484
Note: SVN reference [15450] has been migrated to Git commit c6bc55207c
2018-09-26 13:01:39 +00:00
Henrik Levkowetz ce2c8bc65f Tweaked the text of the personal information help page to remove some ambiguity.
- Legacy-Id: 15483
2018-09-26 12:35:12 +00:00
Henrik Levkowetz 4f2f843a55 A string.Template with a unicode template must be given unicode dictionary values if the values contain unicode codepoints. Providing values that are objects with __str__() methods, or utf-8 encoded strings doesn't work. Fixes an issue with nomcom template interpolation for nominees with non-ascii names.
- Legacy-Id: 15481
2018-09-24 21:25:20 +00:00
Henrik Levkowetz 7ea8a3f431 Tweaked the gdpr reminder command to avoid bounces to RT and copies to gmail.
- Legacy-Id: 15480
2018-09-24 18:37:45 +00:00
Henrik Levkowetz 120d78bbbf Changed the sort order of nominees on the private index page to be according to name (instead of email address).
- Legacy-Id: 15479
2018-09-21 19:47:40 +00:00
Henrik Levkowetz 9067a2da7c Fixed an issue where a user record without matching person record will cause an exception.
- Legacy-Id: 15478
2018-09-20 18:04:23 +00:00
Henrik Levkowetz 5b3c961677 Removed the 2.5 hour session length choice for IETF 103, since there will be no Friday sessions that meeting.
- Legacy-Id: 15477
2018-09-20 14:05:00 +00:00
Henrik Levkowetz a2a19b8c61 Updated the personal information notice email text based on advice from councel (Tom Zych).
- Legacy-Id: 15475
2018-09-20 11:44:17 +00:00
Henrik Levkowetz a5cc83ccb4 Fixed an issue with login().
- Legacy-Id: 15474
2018-09-19 15:22:44 +00:00
Henrik Levkowetz a966413280 Set version info and settings back to development mode
- Legacy-Id: 15471
2018-09-18 14:07:43 +00:00
Henrik Levkowetz f138acfb4a Set version info to release version 6.84.0 before branching.
- Legacy-Id: 15469
2018-09-18 14:07:34 +00:00
Henrik Levkowetz 30f456f83a Changed the default minimum response time used by the delete_data_lacking_consent management command from 14 to 7 days.
- Legacy-Id: 15466
2018-09-18 13:35:27 +00:00
Henrik Levkowetz 5f512226a5 Added a missing migration and updated nomcom.resources to match model changes.
- Legacy-Id: 15465
2018-09-18 12:53:39 +00:00
Henrik Levkowetz 4fba531e9e Merged in the latest GDPR changes. This refines the handling of the consent checkbox on the account page; refines the Consent Needed warning given on login if consent is needed; tweaks several models to set the on_deletion fields for FK to User and Person appropriately; adds a Person.needs_consent() method to capture the logic of which fields require consent; refines the Person.plain_name() method and the user.log.log() function; and adds 2 management commands to send out consent requests and delete non-consent information, respectively.
- Legacy-Id: 15464
2018-09-16 23:12:43 +00:00
Henrik Levkowetz a389e24fb6 Refined utils.log.log() to flush stdout before logging if we're writing log messages to stderr.
- Legacy-Id: 15463
2018-09-16 14:14:26 +00:00
Henrik Levkowetz b85e1c46d9 Added a delete_data_lacking_consent management command that deletes person records and person information for which we need consent according to GDPR, but have not received it.
- Legacy-Id: 15461
2018-09-16 13:54:32 +00:00
Henrik Levkowetz 3f9dbeada8 Expanded the send_gdpr_consent_request command to add support for deletion dates, email reminder interval, email sending rate limiting, and sending to a list of users.
- Legacy-Id: 15460
2018-09-16 13:52:29 +00:00
Henrik Levkowetz 75f703578c Tweaked the Person.needs_consent() method to take historic roles into account and to handle records without associated usesrs.
- Legacy-Id: 15459
2018-09-16 13:49:25 +00:00
Henrik Levkowetz 2aefd51083 Updated the personal information notification email template.
- Legacy-Id: 15458
2018-09-16 13:47:08 +00:00
Henrik Levkowetz 44d4d76092 Added a migration to capture a change in on_delete for the Person.user field.
- Legacy-Id: 15457
2018-09-16 13:46:28 +00:00
Henrik Levkowetz 74359e9538 Refined Person.plain_name() to avoid leading or trailing spaces when only one name component is present.
- Legacy-Id: 15456
2018-09-16 13:44:27 +00:00
Henrik Levkowetz cf82379503 Undid unintentional commit
- Legacy-Id: 15455
2018-09-14 20:31:17 +00:00
Henrik Levkowetz 89b8fe6c1b Moved document methods rfc_number() and rfcnum() to the abstract parent class to have them available also for historical document records. Should fix the recent server 500 on /doc/draft-ietf-aaa-diameter/17/.
- Legacy-Id: 15454
2018-09-14 20:29:07 +00:00
Henrik Levkowetz 3d4eb192b0 Merged in [15448] from rjsparks@nostrum.com:
Add CORS headers for the api and views that serve json. Fixes #2546, #2551, and #2552.
 - Legacy-Id: 15453
Note: SVN reference [15448] has been migrated to Git commit 54d484493c
2018-09-13 18:58:52 +00:00
Henrik Levkowetz 6dacd694bc More name normalization
- Legacy-Id: 15452
2018-09-13 18:58:30 +00:00
Henrik Levkowetz 4e2b62d126 Added a bit of javascript and styling to make it possible to use URL fragment identifiers to link to position-specific tabs on the nomocom requirements and questionnaire pages.
- Legacy-Id: 15451
2018-09-13 15:50:31 +00:00
Ryan Cross c6bc55207c Change content-type of ajax_get_liaison_info to application/json. Commit ready for merge.
- Legacy-Id: 15450
2018-09-12 20:53:53 +00:00
Henrik Levkowetz 9e87dc4b66 Merged in [15446] from rjsparks@nostrum.com:
Use unversioned links in ics agendas. Partially fixes #2542.
 - Legacy-Id: 15449
Note: SVN reference [15446] has been migrated to Git commit d9b53a5d6c
2018-09-12 11:04:00 +00:00
Robert Sparks 54d484493c Add CORS headers for the api and views that serve json. Fixes #2546, #2551, and #2552. Commit ready for merge.
- Legacy-Id: 15448
2018-09-11 20:04:35 +00:00
Henrik Levkowetz ce142dab84 Merged in [15444] from rjsparks@nostrum.com:
Review assignment email includes a link to the review request that ensures the reviewer is logged in. Fixes #2543.
 - Legacy-Id: 15447
Note: SVN reference [15444] has been migrated to Git commit fd8af4b6f7
2018-09-11 17:07:06 +00:00
Robert Sparks d9b53a5d6c Use unversioned links in ics agendas. Partially fixes #2542. Commit ready for merge.
- Legacy-Id: 15446
2018-09-10 20:12:09 +00:00
Henrik Levkowetz 4db62920c1 Updated PLAN
- Legacy-Id: 15445
2018-09-10 13:44:19 +00:00
Robert Sparks fd8af4b6f7 Review assignment email includes a link to the review request that ensures the reviewer is logged in. Fixes #2543. Commit ready for merge
- Legacy-Id: 15444
2018-09-06 21:39:10 +00:00
Henrik Levkowetz 6d9514f429 Added a 'Mailing list discussion' link to the 'Additional URLs' section of the status page for drafts with doc.group and doc.group.list_archive set.
- Legacy-Id: 15443
2018-09-06 13:09:37 +00:00
Henrik Levkowetz ab7b572c1f Merged in [15441] from peter@akayla.com:
Fixed 2 trivial spelling errors in NomCom tools.  Fixes issue #2569.
 - Legacy-Id: 15442
Note: SVN reference [15441] has been migrated to Git commit 047b91862c
2018-08-21 10:40:52 +00:00
Peter E. Yee 047b91862c Fixed 2 trivial spelling errors in NomCom tools. Fixes issue #2569. Commit ready for merge.
- Legacy-Id: 15441
2018-08-17 04:24:51 +00:00
Henrik Levkowetz 9210af58fa Added more hint information when patch actions in ietf/checks.py fails.
- Legacy-Id: 15438
2018-08-16 16:03:31 +00:00
Robert Sparks e351d321a6 Include area groups in the request for minutes. Do not include sessions that have been canceled. Commit ready for merge. Fixes #2568.
- Legacy-Id: 15435
2018-08-14 21:52:43 +00:00
Henrik Levkowetz adad3d68ce Set version info and settings back to development mode
- Legacy-Id: 15432
2018-08-14 12:31:49 +00:00
Henrik Levkowetz 7b5c12ce3e Set version info to release version 6.83.1 before branching.
- Legacy-Id: 15430
2018-08-14 12:31:39 +00:00
Henrik Levkowetz e060cae5df Replaced some cases of using person.plain_name when linking to a person's profile with person.name, as plain_name can fail.
- Legacy-Id: 15427
2018-08-12 20:55:05 +00:00
Henrik Levkowetz b2bfc7858a Generalized the log.assertion() function a bit to be able to provide more information on assertion failure.
- Legacy-Id: 15426
2018-08-10 15:31:12 +00:00
Henrik Levkowetz 993765d513 Merged in [15423] from rcross@amsl.com:
Remove WG milestone management from secretariat groups app.
 - Legacy-Id: 15425
Note: SVN reference [15423] has been migrated to Git commit f8b107ef5a
2018-08-10 14:01:18 +00:00
Henrik Levkowetz fcbbe08eba Removed video url import from youtube, which is not needed any more given the /api/meeting/session/video/url API endpoint. This also prevents duplicate video URLs.
- Legacy-Id: 15424
2018-08-10 12:54:27 +00:00
Ryan Cross f8b107ef5a Remove WG milestone management from secretariat groups app. Commit ready for merge.
- Legacy-Id: 15423
2018-08-10 05:13:43 +00:00
Henrik Levkowetz caa3ec98b4 Changed the menu listing of review dirs and their display on the Directorates page back to what it was before the 'reviews' group type was split out. Added a 'Reviews' column to the Directoratges page.
- Legacy-Id: 15420
2018-08-01 18:53:44 +00:00
Henrik Levkowetz 0c732d6538 Guard against comparing email origin with username of None.
- Legacy-Id: 15419
2018-07-31 14:27:31 +00:00
Henrik Levkowetz 0ca9ec769c Added a None guard for the person merge last_login date comparison. Fixes issue #2562
- Legacy-Id: 15418
2018-07-30 16:57:59 +00:00
Henrik Levkowetz 43133fec1e Set version info and settings back to development mode
- Legacy-Id: 15416
2018-07-25 19:08:57 +00:00
Henrik Levkowetz b0fc703667 Set version info to release version 6.83.0 before branching.
- Legacy-Id: 15414
2018-07-25 19:08:48 +00:00
Henrik Levkowetz 3205b8f0db Link to personal profile pages from group photo pages also when no photo is available -- the profile pages now contains more than just the photo.
- Legacy-Id: 15409
2018-07-24 14:31:11 +00:00
Henrik Levkowetz 2f771e155b Merged in [15399] from rjsparks@nostrum.com:
use factories for ietf.ietfauth.tests.
 - Legacy-Id: 15408
Note: SVN reference [15399] has been migrated to Git commit 02e85340f6
2018-07-24 13:28:19 +00:00
Henrik Levkowetz 6c9c28553a Merged in [15395] from rjsparks@nostrum.com:
Allow the IRTF stream to set shepherds and shepherd writeups. Fixes #1993.
 - Legacy-Id: 15407
Note: SVN reference [15395] has been migrated to Git commit c470e61129
2018-07-24 08:52:27 +00:00
Henrik Levkowetz 70c5dcc8c4 Merged in [15387] from rjsparks@nostrum.com:
Use factories for ietf.iesg.tests.
 - Legacy-Id: 15406
Note: SVN reference [15387] has been migrated to Git commit 705e4c84d9
2018-07-24 08:25:07 +00:00
Henrik Levkowetz ac55203499 Merged in [15380] from rjsparks@nostrum.com:
Use factories for ietf.idindex.tests.
 - Legacy-Id: 15405
Note: SVN reference [15380] has been migrated to Git commit 2159fdd975
2018-07-24 07:22:26 +00:00
Henrik Levkowetz 6350f92ed1 Merged in [15370] from rjsparks@nostrum.com:
Use factories for ietf.group.tests_review.
 - Legacy-Id: 15404
Note: SVN reference [15370] has been migrated to Git commit 61932cbc9e
2018-07-24 06:14:47 +00:00
Henrik Levkowetz a948cd1c48 Merged in [15358] from kivinen@iki.fi:
Fixed the tablesorter issue by adding display:none character in the
front of the date. Tablesorter looks first characters and picks the
parser based on that, meaning that if the text starts with number, it
will try to parse everything in column as numbers, and if there is
anything that is not numebr it will fail, and only sorts the column
once. This is bit ugly but I do not think we want to add yet another
jquery meta tool. Fixes #2089, and #2151.
 - Legacy-Id: 15403
Note: SVN reference [15358] has been migrated to Git commit 6301862b27
2018-07-23 22:53:10 +00:00
Henrik Levkowetz 0ade20b1b8 Added a missing migration (for review unavailable-period reason)
- Legacy-Id: 15402
2018-07-23 22:32:41 +00:00
Henrik Levkowetz a124811bc4 Merged in [15357] from mahoney@nostrum.com:
added anchors for working group rows. Still needs some work since the anchor ends up being under the menu bar. Partially addresses issue #1481.
 - Legacy-Id: 15401
Note: SVN reference [15357] has been migrated to Git commit 37f8695f98
2018-07-23 22:31:54 +00:00
Henrik Levkowetz a66285129c Merged in [15356] from ben@nostrum.com:
Change newlines to commas in to contacts for new liaison email notification. Fixes issue 2525.
 - Legacy-Id: 15400
Note: SVN reference [15356] has been migrated to Git commit f8853fa468
2018-07-23 22:05:35 +00:00
Robert Sparks 02e85340f6 use factories for ietf.ietfauth.tests. Commit ready for merge
- Legacy-Id: 15399
2018-07-19 18:30:49 +00:00
Henrik Levkowetz 2e83c529b1 Merged in [15355] from rjsparks@nostrum.com:
Used factories for ietf.group.tests_info.
 - Legacy-Id: 15398
Note: SVN reference [15355] has been migrated to Git commit 5a0b005939
2018-07-19 15:54:53 +00:00
Henrik Levkowetz 85aa1ecc25 Tweaked a test to prevent failures when looking for a specific string in line-wrapped text.
- Legacy-Id: 15397
2018-07-19 15:54:18 +00:00
Henrik Levkowetz e53318084d Added a tiny utility function unwrap() to unwrap wrapped text for matching expected strings in tests.
- Legacy-Id: 15396
2018-07-19 15:53:05 +00:00
Robert Sparks c470e61129 Allow the IRTF stream to set shepherds and shepherd writeups. Fixes #1993. Commit ready for merge.
- Legacy-Id: 15395
2018-07-19 15:31:27 +00:00
Robert Sparks 705e4c84d9 Use factories for ietf.iesg.tests. Commit ready for merge.
- Legacy-Id: 15387
2018-07-19 13:13:05 +00:00
Henrik Levkowetz db2c326e73 Merged in [15354] from kivinen@iki.fi:
Added default to review completion draft version number. If the reviewer
is filling in the review form himself the default will be the latest
version of the draft. If it is someone else filling in the review
then the version number is the latest version at the point when review
was assigned (i.e., it assumes reviewer did review on version he was
requested to and then document authors might have updated the document).
Also mark the document versions that are earlier than the review request
date with red background and those which are newer with green background.
Fixes #2125.
 - Legacy-Id: 15386
Note: SVN reference [15354] has been migrated to Git commit dc3e8ee810
2018-07-18 22:36:01 +00:00
Henrik Levkowetz 3c440b9c7b Merged in [15353] from peter@akayla.com:
Add a sidebar to display feedback section names and simplify navigation.  Could use some visual improvements but otherwise works.  Fixes #2431.
 - Legacy-Id: 15385
Note: SVN reference [15353] has been migrated to Git commit 2123c09d76
2018-07-18 19:19:25 +00:00
Henrik Levkowetz f060e4d1ea Merged in [15351] from rcross@amsl.com:
Update secr/drafts/tests_views to align with view logic.  Fixes #2480.
 - Legacy-Id: 15384
Note: SVN reference [15351] has been migrated to Git commit 7df5ed1ca4
2018-07-18 18:45:31 +00:00
Henrik Levkowetz b054a142d9 Merged in [15349] from kivinen@iki.fi:
Removed the requirement for review_content field to be mandatory when
using \'link\' method. This partially addresses #2520. Commit ready for
merge.
 - Legacy-Id: 15383
Note: SVN reference [15349] has been migrated to Git commit 0783890fa5
2018-07-18 18:20:21 +00:00
Henrik Levkowetz e8e2db50b3 Merged in [15347] from kivinen@iki.fi:
Add review request date to the top. Add tooltips for drafts versions
providing the date they were sumbmitted. Fixes #2218. Commit ready for
merge.
 - Legacy-Id: 15382
Note: SVN reference [15347] has been migrated to Git commit dcabfc84f1
2018-07-18 16:36:35 +00:00
Henrik Levkowetz 803b239674 Limited the document name for uploaded slides to use 128 slugified characters from the slideset title as part of the name. Fixes a possible server 500 issue.
- Legacy-Id: 15381
2018-07-18 16:10:47 +00:00
Robert Sparks 2159fdd975 Use factories for ietf.idindex.tests. Commit ready for merge.
- Legacy-Id: 15380
2018-07-18 15:35:20 +00:00
Henrik Levkowetz 6b20768b3e Merged in [15345] from rcross@amsl.com:
Remove duplicate functionality in secr/drafts.  Fixes #2540.
 - Legacy-Id: 15379
Note: SVN reference [15345] has been migrated to Git commit 2d6083060a
2018-07-18 15:04:00 +00:00
Henrik Levkowetz 7abece146c Merged in [15344] from mahoney@nostrum.com:
email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522.
 - Legacy-Id: 15378
Note: SVN reference [15344] has been migrated to Git commit 3c478e5c52
2018-07-18 13:16:02 +00:00
Henrik Levkowetz 65fc1f8e0f Added additional checks to the meeting_session_video_url api test.
- Legacy-Id: 15377
2018-07-17 22:14:54 +00:00
Henrik Levkowetz ef80b072d4 Fixed api_set_session_video_url() to update the external video url if given a new value.
- Legacy-Id: 15376
2018-07-17 21:12:49 +00:00
Henrik Levkowetz ed208a5ebb Merged in [15342] from peter@akayla.com:
Added optional reviewer unavailability reason support.  Fixes issue #2146.
 - Legacy-Id: 15375
Note: SVN reference [15342] has been migrated to Git commit f4eba7d4df
2018-07-17 15:27:20 +00:00
Henrik Levkowetz c24092d2f7 Merged in [15335] from rcross@amsl.com:
Fixed the ordering of meeting select in secr/meetings.  Fixes #2539.
 - Legacy-Id: 15373
2018-07-17 14:36:36 +00:00
Henrik Levkowetz 7d1e21f629 Adjusted some timezones in test code to use permitted time zones after the previous changes in listed timezones. Added a migration for the changed timezone list.
- Legacy-Id: 15372
2018-07-17 14:28:42 +00:00
Henrik Levkowetz dab5b81ae2 Fixed display of xml2rfc exceptions when processing draft submission in xml form.
- Legacy-Id: 15371
2018-07-17 14:23:18 +00:00
Robert Sparks 61932cbc9e Use factories for ietf.group.tests_review. Commit ready for merge.
- Legacy-Id: 15370
2018-07-16 21:07:03 +00:00
Henrik Levkowetz 17c509b19b Modified the list of timezones available when setting a meeting timezone so as to not show timezones that are links. (Also edited the 102 meeting timezone in the database to avoid this). Fixes issues #2531 and #2534.
- Legacy-Id: 15368
2018-07-16 18:38:25 +00:00
Henrik Levkowetz b212599b09 Updated PLAN
- Legacy-Id: 15367
2018-07-16 17:23:56 +00:00
Henrik Levkowetz 5b77d01a48 Merged in [15331] from housley@vigilsec.com:
Add test for downref in Last Call announcement
 - Legacy-Id: 15366
Note: SVN reference [15331] has been migrated to Git commit e2808b1c0b
2018-07-16 16:54:56 +00:00
Henrik Levkowetz 5385aa39b8 Added a missing template.
- Legacy-Id: 15365
2018-07-16 15:49:49 +00:00
Henrik Levkowetz 9de0fc5be9 Merged in [15329] from rcross@amsl.com:
Add important dates link to proceedings.  Fixes #2538.
 - Legacy-Id: 15364
Note: SVN reference [15329] has been migrated to Git commit 287bf7d625
2018-07-15 20:33:54 +00:00
Henrik Levkowetz 1504c6b13e Merged in [15328] from rcross@amsl.com:
Give secretariat the ability to cancel non-working group sessions. Fixes #2537.
 - Legacy-Id: 15363
Note: SVN reference [15328] has been migrated to Git commit ec279682d2
2018-07-15 20:08:44 +00:00
Henrik Levkowetz b5eb2bf776 Updated a test to give predictable results (no future meeting dates) for commit [15361].
- Legacy-Id: 15362
Note: SVN reference [15361] has been migrated to Git commit 7c6f139cc8
2018-07-15 19:38:41 +00:00
Henrik Levkowetz 7c6f139cc8 Fixed an issue where /meeting/ showed the materials page of an earlier meeting, rather than the current.
- Legacy-Id: 15361
2018-07-15 19:02:34 +00:00
Tero Kivinen 6301862b27 Fixed the tablesorter issue by adding display:none character in the
front of the date. Tablesorter looks first characters and picks the
parser based on that, meaning that if the text starts with number, it
will try to parse everything in column as numbers, and if there is
anything that is not numebr it will fail, and only sorts the column
once. This is bit ugly but I do not think we want to add yet another
jquery meta tool. Fixes #2089, and #2151. Commit ready for merge.
 - Legacy-Id: 15358
2018-07-14 23:18:36 +00:00
Jean Mahoney 37f8695f98 added anchors for working group rows. Still needs some work since the anchor ends up being under the menu bar. Partially addresses issue #1481. Commit ready for merge.
- Legacy-Id: 15357
2018-07-14 22:31:13 +00:00
Ben Campbell f8853fa468 Change newlines to commas in to contacts for new liaison email notification. Fixes issue 2525. Commit ready for merge.
- Legacy-Id: 15356
2018-07-14 22:05:34 +00:00
Robert Sparks 5a0b005939 Used factories for ietf.group.tests_info. Commit ready for merge.
- Legacy-Id: 15355
2018-07-14 22:03:11 +00:00
Tero Kivinen dc3e8ee810 Added default to review completion draft version number. If the reviewer
is filling in the review form himself the default will be the latest
version of the draft. If it is someone else filling in the review
then the version number is the latest version at the point when review
was assigned (i.e., it assumes reviewer did review on version he was
requested to and then document authors might have updated the document).
Also mark the document versions that are earlier than the review request
date with red background and those which are newer with green background.
Fixes #2125. Commit ready for merge.
 - Legacy-Id: 15354
2018-07-14 21:54:04 +00:00
Peter E. Yee 2123c09d76 Add a sidebar to display feedback section names and simplify navigation. Could use some visual improvements but otherwise works. Fixes #2431. Commit ready for merge.
- Legacy-Id: 15353
2018-07-14 21:49:38 +00:00
Henrik Levkowetz cb4c9fb59f Merged in [15327] from mahoney@nostrum.com:
clarified description in the search form, removing the etc since you can't search on author names. Fixes issue #1159.
 - Legacy-Id: 15352
Note: SVN reference [15327] has been migrated to Git commit 0ece320908
2018-07-14 21:24:07 +00:00
Ryan Cross 7df5ed1ca4 Update secr/drafts/tests_views to align with view logic. Fixes #2480. Commit ready for merge.
- Legacy-Id: 15351
2018-07-14 20:59:17 +00:00
Henrik Levkowetz 3807299eee Merged in [15321] from rjsparks@nostrum.com:
Converted ietf.group.tests to factories.
 - Legacy-Id: 15350
Note: SVN reference [15321] has been migrated to Git commit 5b1a68a922
2018-07-14 20:58:09 +00:00
Tero Kivinen 0783890fa5 Removed the requirement for review_content field to be mandatory when
using "link" method. This partially addresses #2520. Commit ready for
merge.
 - Legacy-Id: 15349
2018-07-14 20:12:32 +00:00
Henrik Levkowetz 778775ca48 Merged in [15320] from rjsparks@nostrum.com:
The cookie tests were all calling make_test_data, but not using anything it created. Removed the calls.
 - Legacy-Id: 15348
Note: SVN reference [15320] has been migrated to Git commit 151b5bc39a
2018-07-14 20:12:28 +00:00
Tero Kivinen dcabfc84f1 Add review request date to the top. Add tooltips for drafts versions
providing the date they were sumbmitted. Fixes #2218. Commit ready for
merge.
 - Legacy-Id: 15347
2018-07-14 20:07:36 +00:00
Henrik Levkowetz 50b546338a Merged in [15314] from rjsparks@nostrum.com:
Converted the community app tests to use factories.
 - Legacy-Id: 15346
Note: SVN reference [15314] has been migrated to Git commit ae70706faf
2018-07-14 19:50:22 +00:00
Ryan Cross 2d6083060a Remove duplicate functionality in secr/drafts. Fixes #2540. Commit ready for merge.
- Legacy-Id: 15345
2018-07-14 19:25:09 +00:00
Jean Mahoney 3c478e5c52 email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522. Commit ready to merge.
- Legacy-Id: 15344
2018-07-14 18:52:38 +00:00
Peter E. Yee f4eba7d4df Added optional reviewer unavailability reason support. Fixes issue #2146. Commit ready for merge.
- Legacy-Id: 15342
2018-07-14 18:04:31 +00:00
Ryan Cross 9e09a1b531 Fix ordering of meeting select in secr/meetings. Fixes #2539. Commit ready for merge.
- Legacy-Id: 15339
2018-07-14 17:08:23 +00:00
Jim Fenton 57489d4f64 Adds _required_ parameter to search widget. Fixes #1832.
- Legacy-Id: 15338
2018-07-14 16:57:08 +00:00
Henrik Levkowetz f0d343aaea Set version info and settings back to development mode
- Legacy-Id: 15336
2018-07-14 16:48:13 +00:00
Henrik Levkowetz 597255579f Set version info to release version 6.82.0 before branching.
- Legacy-Id: 15334
2018-07-14 16:48:04 +00:00
Russ Housley e2808b1c0b Add test for downref in Last Call announcement
- Legacy-Id: 15331
2018-07-14 16:41:22 +00:00
Henrik Levkowetz 991c7a5e54 Captured another GroupFeatures model tweak.
- Legacy-Id: 15330
2018-07-14 16:26:11 +00:00
Ryan Cross 287bf7d625 Add important dates link to proceedings. Fixes #2538. Commit ready for merge.
- Legacy-Id: 15329
2018-07-14 16:18:51 +00:00
Ryan Cross ec279682d2 Give secretariat the ability to cancel non-working group sessions. Fixes #2537. Commit ready for merge.
- Legacy-Id: 15328
2018-07-14 16:14:35 +00:00
Jean Mahoney 0ece320908 clarified description in the search form, removing the etc since you can't search on author names. Fixes issue #1159. Commit ready to merge.
- Legacy-Id: 15327
2018-07-14 15:10:53 +00:00
Henrik Levkowetz 321af9f26b Tweaked migration ordering.
- Legacy-Id: 15323
2018-07-13 05:19:02 +00:00
Henrik Levkowetz 8783fb11ab Fixed a migration ordering issue
- Legacy-Id: 15322
2018-07-13 03:40:32 +00:00
Robert Sparks 5b1a68a922 Converted ietf.group.tests to factories. Commit ready for merge.
- Legacy-Id: 15321
2018-07-12 21:23:50 +00:00
Robert Sparks 151b5bc39a The cookie tests were all calling make_test_data, but not using anything it created. Removed the calls. Commit ready for merge.
- Legacy-Id: 15320
2018-07-12 20:33:39 +00:00
Henrik Levkowetz eaca9cee5e Fixed a migration issue.
- Legacy-Id: 15319
2018-07-12 15:18:19 +00:00
Henrik Levkowetz d6565f0450 Added exception logging for ietf/bin/rfc-editor-queue-updates. Changed the logging in the ietf/bin/rfc-editor-* scripts to use ietf.utils.log.log(). Reordered some imports.
- Legacy-Id: 15318
2018-07-12 12:52:58 +00:00
Henrik Levkowetz 85c24b8450 Added a missing template.
- Legacy-Id: 15317
2018-07-12 12:16:13 +00:00
Henrik Levkowetz 2daef52bea This commit replaces the code defined group features with features held
in a database table:

- Added a GroupFeatures model to the group models, and removed the old 
  features.py
- Added a agenda type for future use in showing different group types on
  different agendas.
- Renamed the group feature has_materials to has_nonsession_materials.
- Added API resources and admin support for the new tables.
- Added a Directorate (with reviews) group type as complement to
  Directorate, to distinguish between directorates with and without reviews.
- Adjusted tests as needed.
- Updated the fixtures, and fixed the generate_fixtures script to include
  the new AgendaTypeName objects.

There still exists about 70 instances of code comparing the group type
with a list of types; most of these should probably be replaced with new
features, instead, to make it possible to add new group types through the
database table, rather than having to edit the code.  That was the purpose
of this refactoring from the start, but the presence of this large number
of comparisons of group type against lists of types defeats the goal until
we add appropriate features and replace the group type list comparisons.
 - Legacy-Id: 15316
2018-07-12 10:51:48 +00:00
Henrik Levkowetz 21f38a364e Replaced the use of a deprecated Django field attribute with the sanctioned replacement.
- Legacy-Id: 15315
2018-07-12 10:19:00 +00:00
Robert Sparks ae70706faf Converted the community app tests to use factories. Commit ready for merge.
- Legacy-Id: 15314
2018-07-12 05:56:14 +00:00
Henrik Levkowetz e87442f33a Merged in [15282] from housley@vigilsec.com:
Set reply-to for I-D Announcements that include a CC to a mail list.  Fixes #2530.
 - Legacy-Id: 15289
Note: SVN reference [15282] has been migrated to Git commit 733c304e3d
2018-07-10 17:16:47 +00:00
Henrik Levkowetz 35deea3391 Added support for kind codes as part of patent numbers.
- Legacy-Id: 15285
2018-07-05 17:22:48 +00:00
Russ Housley 733c304e3d Set reply-to for I-D Announcements that include a CC to a mail list. Fixes #2530.
- Legacy-Id: 15282
2018-06-29 18:15:42 +00:00
Henrik Levkowetz c9cc9ff214 Upped the permitted number of search results for the /stream/ise/ page (and friends) from 200 to 1000. Fixes issue #2527.
- Legacy-Id: 15281
2018-06-26 16:43:40 +00:00
Henrik Levkowetz c7a9c2f121 Set version info and settings back to development mode
- Legacy-Id: 15278
2018-06-20 21:47:59 +00:00
Henrik Levkowetz b238767c25 Set version info to release version 6.81.3 before branching.
- Legacy-Id: 15276
2018-06-20 21:47:50 +00:00
Henrik Levkowetz 9c39dc85d0 Updated bower-managed static web assets
- Legacy-Id: 15273
2018-06-20 21:24:21 +00:00
Henrik Levkowetz c219f2f998 Merged in [15266] from rcross@amsl.com:
Update blue sheet template.  Replace start time / end time with date.
 - Legacy-Id: 15271
Note: SVN reference [15266] has been migrated to Git commit e65748103b705e5dddea75bc550884498f42e75e
2018-06-20 04:10:22 +00:00
Henrik Levkowetz dbfdb94c34 Merged in [15267] from rcross@amsl.com:
Fix issue with decorator on utils.html.remove_tags().
 - Legacy-Id: 15270
Note: SVN reference [15267] has been migrated to Git commit 0d255f7d0874f01163f292568e76fa9d830a54e2
2018-06-19 21:23:35 +00:00
Henrik Levkowetz 97db5f71b5 Added a management command to send out gdpr consent requests.
- Legacy-Id: 15269
2018-06-19 19:23:46 +00:00
Henrik Levkowetz d8005ab0f1 Fixed an issue in Person.needs_consent(): avoid multiple mentions of 'email address'.
- Legacy-Id: 15268
2018-06-19 19:19:58 +00:00
Henrik Levkowetz 5251d0eb78 Changed the handling of the consent field of /account/profile/ to only be required set when information requiring consent is present.
- Legacy-Id: 15261
2018-06-14 19:28:06 +00:00
Henrik Levkowetz 50632482ea Improved the wording of the consent required login warnin. Refactored the login view to use Person.needs_consent() instead of inline logic.
- Legacy-Id: 15260
2018-06-14 19:27:03 +00:00
Henrik Levkowetz 9fe1820640 Tweaked the 'Related documents' part of the Document admin page to more intuitively show the relationships.
- Legacy-Id: 15259
2018-06-14 19:22:55 +00:00
Henrik Levkowetz 31352b0064 Added Person.needs_consent() which returns a list of descriptions of fields for which consent is needed, or [].
- Legacy-Id: 15258
2018-06-14 18:56:01 +00:00
Henrik Levkowetz 35e16ef7d5 Changed User ForeignKeys to not delete objects pointing at a user when the user is deleted, instead setting the ForeignKey field to None.
- Legacy-Id: 15257
2018-06-14 18:53:48 +00:00
Henrik Levkowetz 0df2c0dee8 Tweaked unidecode_name() to avoid double-quotes in the ascii string.
- Legacy-Id: 15256
2018-06-14 15:06:08 +00:00
Henrik Levkowetz 41a5f5dca4 Merged in [15248] from rjsparks@nostrum.com:
Improvements to tests after converting to factories suggested by studying coverage_changes.
 - Legacy-Id: 15255
Note: SVN reference [15248] has been migrated to Git commit b86bd84278
2018-06-14 13:11:29 +00:00
Henrik Levkowetz 434b62d7a5 Merged in [15247] from rjsparks@nostrum.com:
Tweaked the color palatte for the agenda editor.
 - Legacy-Id: 15254
Note: SVN reference [15247] has been migrated to Git commit 13df62f8ba
2018-06-14 12:35:39 +00:00
Henrik Levkowetz b3301de22e Fixed a pyflakes nit.
- Legacy-Id: 15253
2018-06-14 12:35:16 +00:00