Commit graph

10309 commits

Author SHA1 Message Date
Robert Sparks 3baea05e6d Use the id-archive wherever we had been using the id-repository. Fixes #3080. Commit ready for merge.
- Legacy-Id: 18550
2020-10-02 14:13:17 +00:00
Henrik Levkowetz 2899c2a65d Added listing of author names, with links to the individual profile pages, to Draft and RFC status pages. Related to issue #3093.
- Legacy-Id: 18549
2020-10-02 12:34:50 +00:00
Henrik Levkowetz 4128a769a8 Added RFC and active drafts counts to the personal profile page.
- Legacy-Id: 18548
2020-10-02 12:32:48 +00:00
Henrik Levkowetz 19f3861d96 Added a link to a user's personal profile page to the account info page, and moved the GDPR fine print to the bottom. Turned the 'personal-info' dagger symbols into links to the fine print. Added a dagger to the 'External Resources' section. Partially related to issue #3093.
- Legacy-Id: 18547
2020-10-02 12:31:45 +00:00
Henrik Levkowetz de8d00cc05 Added a link to a user's personal profile page to the personal drop-down menu. Addresses issue #3093.
- Legacy-Id: 18546
2020-10-02 12:27:31 +00:00
Henrik Levkowetz 703a826ddf Added a comment to explain the lack of skipIf() for a test class.
- Legacy-Id: 18545
2020-10-02 12:24:31 +00:00
Henrik Levkowetz a2758d5feb Fixed a test case bug that compared a py3 string with bytes.
- Legacy-Id: 18544
2020-10-02 12:22:40 +00:00
Henrik Levkowetz 6cd3e6c83e Added Person.personextresource_set to the information returned in the personal-information JSON blob.
- Legacy-Id: 18543
2020-10-02 12:10:33 +00:00
Henrik Levkowetz 49e62ef6c7 Added missing exception handling for one invocation of parse_agenda_filter_params().
- Legacy-Id: 18542
2020-10-02 12:08:09 +00:00
Henrik Levkowetz 6ee63c8a0a Set version info and settings back to development mode
- Legacy-Id: 18539
2020-10-01 21:18:16 +00:00
Henrik Levkowetz 54f72eb416 Set version info to release version 7.18.0 before branching.
- Legacy-Id: 18537
2020-10-01 21:17:54 +00:00
Henrik Levkowetz 7d01c661f2 Merged in the agenda filtering improvements from jennifer@painless-security.com. This completely reworks the filtering of the IETF agenda, in order to not collide with page navigation and clean up a number of edge cases. It also reinstates the same kind of filtering for the upcoming meetings page.
- Legacy-Id: 18534
2020-09-30 11:39:40 +00:00
Henrik Levkowetz 4fab4c627e Set version info and settings back to development mode
- Legacy-Id: 18530
2020-09-28 20:03:28 +00:00
Henrik Levkowetz fd973ca683 Set version info to release version 7.17.1 before branching.
- Legacy-Id: 18528
2020-09-28 20:03:09 +00:00
Henrik Levkowetz 1b6124cdd3 Changed the template for /meeting/upcoming.ics to not produce floating times for meetings with UTC timezone. Fixes issue #3074.
- Legacy-Id: 18525
2020-09-28 19:31:44 +00:00
Henrik Levkowetz 50ecf8bb10 Merged in ^/personal/rjs/fixreviews_7.17.1.dev0:
Repair migration for disconnected and confused reviews.
 - Legacy-Id: 18524
2020-09-28 13:40:41 +00:00
Henrik Levkowetz 0bc492afaf Fixed a bytes/unicode issue for echoed-back nomcom questionnaire text.
- Legacy-Id: 18523
2020-09-28 11:06:55 +00:00
Robert Sparks 863582e56a Completed repair migration for disconnected and confused reviews. Branch ready for merge.
- Legacy-Id: 18522
2020-09-25 16:08:09 +00:00
Jennifer Richards 97dd600a9b Rebase agenda customization from jennifer/7.13.1.dev0 to 7.17.1.dev0
- Legacy-Id: 18517
2020-09-24 14:27:30 +00:00
Henrik Levkowetz 0eee548999 Fixed a couple of pyflakes issues.
- Legacy-Id: 18516
2020-09-24 10:23:30 +00:00
Robert Sparks a2a0fdfae8 Early migration, mostly comments, committed to facilitate conversation.
- Legacy-Id: 18515
2020-09-23 15:28:33 +00:00
Jennifer Richards 7bee3020fd Rearrange agenda customization UI and add customization UI to upcoming meetings
- Legacy-Id: 18513
2020-09-23 15:03:40 +00:00
Robert Sparks c95be797e7 Grabbing urls patch
- Legacy-Id: 18512
2020-09-22 16:04:24 +00:00
Henrik Levkowetz e2caecba2f Added a migration to create missing DocAlias instances (and remove some bad ones).
- Legacy-Id: 18511
2020-09-22 15:25:58 +00:00
Henrik Levkowetz 3023139c03 Merged in [18508] from rjsparks@nostrum.com:
Refine day edges on weekview. Fixes #3071.
 - Legacy-Id: 18509
Note: SVN reference [18508] has been migrated to Git commit 750c41a829da416f28cb3c5dc47532bf8fbb4ea6
2020-09-22 11:57:37 +00:00
Henrik Levkowetz 6c86e96bdf Merged in [18502] from rjsparks@nostrum.com:
Create a yangcatalog support group and populate its initial roles.
 - Legacy-Id: 18506
Note: SVN reference [18502] has been migrated to Git commit cf2a198d5f
2020-09-21 15:20:23 +00:00
Henrik Levkowetz ce18346f2e Merged in [18466] from jennifer@painless-security.com:
Cancel multi-session meetings correctly. Fixes #2958.
 - Legacy-Id: 18505
Note: SVN reference [18466] has been migrated to Git commit c2ab6f595a
2020-09-21 12:40:24 +00:00
Henrik Levkowetz 457821f16f Updated a middleware function to use the correct Py3 idiom to access exception arguments.
- Legacy-Id: 18504
2020-09-21 12:39:00 +00:00
Henrik Levkowetz 51806b1964 Updated log.assertion() to provide an exception object (under Py3, it seems that logging.Logger instances ignore the traceback if there isn't also an exception object). Added a check for unset draft-iesg state to Document.set_state().
- Legacy-Id: 18503
2020-09-18 14:15:02 +00:00
Robert Sparks cf2a198d5f Create a yangcatalog support group and populate its initial roles. Commit ready for merge.
- Legacy-Id: 18502
2020-09-17 20:57:06 +00:00
Henrik Levkowetz ac5e88b82b Added a context processor to make settings generally available in page templates. Split the SECRETARIAT_TICKET_EMAIL setting into SECRETARIAT_ACTION_EMAIL and SECRETARIAT_INFO_EMAIL, with different addresses. Updated places with hardcoded ietf-action@ietf.org addresses to use the settings value, and updated some places to use ietf-infor@ietf.org instead of the ietf-action address. Fixes issue #3081.
- Legacy-Id: 18501
2020-09-17 11:10:27 +00:00
Henrik Levkowetz 96330c3f43 Added a missing URL pattern for /api/openid/.
- Legacy-Id: 18496
2020-09-15 10:13:11 +00:00
Henrik Levkowetz 0fa1500f52 Changed the format of email addresses added to the document notifications filed when the document shepherd is set. Fixes issue #3079.
- Legacy-Id: 18494
2020-09-14 13:31:39 +00:00
Henrik Levkowetz 1b90193bf0 Set version info and settings back to development mode
- Legacy-Id: 18492
2020-09-13 12:33:47 +00:00
Henrik Levkowetz ffc819366b Set version info to release version 7.17.0 before branching.
- Legacy-Id: 18490
2020-09-13 12:33:28 +00:00
Henrik Levkowetz 724e982a1c Added documentation of the OpenID Connect and version endpoints to /api/. Added some tests.
- Legacy-Id: 18487
2020-09-11 14:13:45 +00:00
Henrik Levkowetz ac31ea1f5d Added a datatracker version endpoint /api/version. Fixes issue #3077.
- Legacy-Id: 18486
2020-09-11 14:11:37 +00:00
Henrik Levkowetz 2956d51ee9 Updated coverage data and tweaked an OpenIDtest and scope description.
- Legacy-Id: 18485
2020-09-11 10:48:44 +00:00
Henrik Levkowetz e6f6f4697a OpenID already has a photo URL as part of the 'profile' scope. Added the the datatracker photo url to the returned OpenID 'profile' scope information when a profile photo is available.
- Legacy-Id: 18484
2020-09-10 21:45:21 +00:00
Henrik Levkowetz 07be1f8516 Added a view to retrieve profile photos, in order to support Meetecho's need for such, at /person/{email}/photo. The default is to supply images with 80px width. Image scaling is available using the same query argument as Gravatar: ?size=200 or ?s=200 for 200-pixel wide images.
- Legacy-Id: 18483
2020-09-10 21:41:01 +00:00
Henrik Levkowetz 60a1e0fe3d Tweaked the decode() templatetag code slightly.
- Legacy-Id: 18482
2020-09-09 19:05:59 +00:00
Henrik Levkowetz 638797cb65 Updated the decrypt() templatetag to ensure it returns string rather than bytes.
- Legacy-Id: 18481
2020-09-09 17:46:27 +00:00
Henrik Levkowetz 90a6ed0d08 Fixed a bad membership test.
- Legacy-Id: 18480
2020-09-09 15:32:38 +00:00
Henrik Levkowetz e86bf0194b Added an assertion to catch an unexpected document state (no IESG state set). Updated the log.assertion() function to accept a "note" argument, for more informative assertion messages.
- Legacy-Id: 18479
2020-09-09 14:09:43 +00:00
Henrik Levkowetz f99d6fd38e Set version info and settings back to development mode
- Legacy-Id: 18477
2020-09-08 10:59:36 +00:00
Henrik Levkowetz 163203d3de Set version info to release version 7.16.0 before branching.
- Legacy-Id: 18475
2020-09-08 10:59:16 +00:00
Henrik Levkowetz 35ee99afa0 Added a missing migration for a change in the Schedule.base field.
- Legacy-Id: 18472
2020-09-08 10:38:00 +00:00
Henrik Levkowetz e837e0e2ee Backported a patch to production that changed the secretariat session-request tool session lengths to 60/120 minutes.
- Legacy-Id: 18471
2020-09-08 10:26:34 +00:00
Henrik Levkowetz 1354604581 Fixed a pyflakes nit.
- Legacy-Id: 18470
2020-09-07 14:57:00 +00:00
Henrik Levkowetz 0fa8800644 Rewrote some code in document_main to avoid using the iesg_state.slug attribute when iesg_state might not be set.
- Legacy-Id: 18469
2020-09-07 14:54:29 +00:00
Henrik Levkowetz 392a38f47d Use BASE_DIR as starting point for finding patch files in checks.maybe_patch_libraries(), instead of CWD.
- Legacy-Id: 18468
2020-09-04 18:39:54 +00:00
Henrik Levkowetz f9b3e2e477 Merged in ^/branch/iola/meeting-improvement-r18382@18466. This provides a beta-level snapshot of the new schedule editor work. All known issues should be fixed, but there might be adjustments needed after experience with using the new edit view.
- Legacy-Id: 18467
2020-09-04 14:28:25 +00:00
Jennifer Richards c2ab6f595a Cancel multi-session meetings correctly. Fixes #2958. Commit ready for merge.
- Legacy-Id: 18466
2020-09-03 16:30:36 +00:00
Henrik Levkowetz 6927f161dc Set version info and settings back to development mode
- Legacy-Id: 18464
2020-09-02 20:55:34 +00:00
Henrik Levkowetz 3d2e471320 Set version info to release version 7.15.1 before branching.
- Legacy-Id: 18462
2020-09-02 20:55:15 +00:00
Jennifer Richards 4c709bbfa5 Add filtering support (but no UI) to upcoming meeting views; add a group attribute to agenda view rows to avoid ambiguity when selecting rows to show/hide. Branch ready for merge.
- Legacy-Id: 18458
2020-09-02 02:02:33 +00:00
Jennifer Richards d9d5234217 Use updated filter scheme for week-view and agenda
- Legacy-Id: 18457
2020-09-01 15:54:44 +00:00
Henrik Levkowetz ac51f185bc Merged in [18446] from rcross@amsl.com:
Remove reference to old style exception attribute 'message'.
 - Legacy-Id: 18456
Note: SVN reference [18446] has been migrated to Git commit 6a2ed891eb
2020-09-01 13:03:04 +00:00
Henrik Levkowetz a6bbb33177 Merged in [18445] from rjsparks@nostrum.com:
Provide a management command to inform github backups.
 - Legacy-Id: 18455
Note: SVN reference [18445] has been migrated to Git commit 30ac9833c5
2020-09-01 12:10:48 +00:00
Henrik Levkowetz 02bb72d585 Merged in [18425] from olau@iola.dk:
Make the IPR search form initialize the state field upon form
initialization instead of evaluating the queryset upon importing the
module. This is probably never a problem in practice in this case in
the live environment, but it's a confusing practice, and when running
the tests sometimes a bug seems to throw Django off and the error is
then shadowed by Django crashing when trying to access the
(non-existing) database.
 - Legacy-Id: 18454
Note: SVN reference [18425] has been migrated to Git commit 0aa0f7d4e2
2020-09-01 10:30:55 +00:00
Henrik Levkowetz d227f1dba6 Merged in [18414] from olau@iola.dk:
Compute session order from available data instead of going through the
database again (saves ~2800 queries on the IETF 106 agenda page)
 - Legacy-Id: 18453
Note: SVN reference [18414] has been migrated to Git commit ca057911ea
2020-09-01 08:06:21 +00:00
Henrik Levkowetz e9bebe1274 Merged in [18103] from olau@iola.dk:
Prefetch a couple of things in the agenda view to reduce the number of
queries for IETF 106 from about 3800 to about 235.
 - Legacy-Id: 18452
Note: SVN reference [18103] has been migrated to Git commit a373f1d55c
2020-08-31 20:09:03 +00:00
Henrik Levkowetz 21cd74a809 Added search field and tweaked the list display for the DocAlias admin.
- Legacy-Id: 18451
2020-08-31 15:38:33 +00:00
Henrik Levkowetz 2355f7c0e8 Merged in [18378] from rjsparks@nostrum.com:
Improved the classification of some github related external resources. Tightened validation of new resource values.
 - Legacy-Id: 18449
Note: SVN reference [18378] has been migrated to Git commit 2b70735fd2
2020-08-31 15:21:42 +00:00
Henrik Levkowetz a1b1a919ab Merged in [18373] from mark@painless-security.com:
Filter out reviewers who have rejected reviewing this document in the past from the list of suggested reviewers.  Fixes #2996.
 - Legacy-Id: 18448
Note: SVN reference [18373] has been migrated to Git commit d105f8ba5b
2020-08-31 11:21:07 +00:00
Henrik Levkowetz 95bca1dbed Updated the bluesheet submission API tests slightly, to check correct handling of updates.
- Legacy-Id: 18447
2020-08-30 19:41:55 +00:00
Ryan Cross 6a2ed891eb Remove reference to old style exception attribute 'message'. Commit ready for merge.
- Legacy-Id: 18446
2020-08-29 00:17:56 +00:00
Robert Sparks 30ac9833c5 Provide a management command to inform github backups. Commit ready for merge.
- Legacy-Id: 18445
2020-08-28 15:34:25 +00:00
Henrik Levkowetz 7c5a910360 Adjusted the horizontal placement of [New] labels in search results, aligning them on a vertical line for a neater look.
- Legacy-Id: 18444
2020-08-28 15:33:28 +00:00
Henrik Levkowetz a8f13b79c3 Added links to v3 HTML output for v3 draft submissions. Fixesissue #3067.
- Legacy-Id: 18443
2020-08-28 15:31:17 +00:00
Robert Sparks ba7e1f3c6a changes to improve interfacing with the backup scripts
- Legacy-Id: 18442
2020-08-28 15:28:22 +00:00
Henrik Levkowetz 15ea994266 Added an xml_version field to Submission objects, to capture the schema version of submitted XML files (if any). Related to issue #3067.
- Legacy-Id: 18440
2020-08-28 14:31:36 +00:00
Henrik Levkowetz b3128842c9 Renamed the AUTH48 state_alert_badge() filter to auth48_alert_badge(), as the filter is specific, not generic.
- Legacy-Id: 18439
2020-08-28 13:29:15 +00:00
Ole Laursen 72665a3f0e Small clean up to remove the explicit support for copying extendedfrom
in the new meeting editor - extendedfrom's have not been in use for
years, and the new UI doesn't support making them (one should just
make another session instead or modify the timeslot, which is now
possible to do individually).
 - Legacy-Id: 18438
2020-08-28 12:59:11 +00:00
Henrik Levkowetz 5a64d6027c Added exception catching around an urlreverse that might fail. (Enumerating valid group types will also work, but can get out of sync, so this is more DRY).
- Legacy-Id: 18437
2020-08-28 12:57:22 +00:00
Henrik Levkowetz 1b2900007a Fixed an issue in the auth48 state_alert_badge() template filter, which could arise for a document where a get_state() call returns None.
- Legacy-Id: 18436
2020-08-28 12:49:09 +00:00
Ole Laursen b65aa4f257 Fix quoting of TZID in the .ics according to the validator at
icalendar.org
 - Legacy-Id: 18435
2020-08-28 12:30:51 +00:00
Ole Laursen 8759339e65 Make the upcoming meetings iCal group the IETF meetings into one
block and add important dates. Also fix a couple of bugs found by
running the generated .ics through the icalendar.org validator.
 - Legacy-Id: 18434
2020-08-28 12:28:29 +00:00
Henrik Levkowetz a6939a8c2f Set version info and settings back to development mode
- Legacy-Id: 18430
2020-08-27 21:38:40 +00:00
Henrik Levkowetz 72c2328964 Set version info to release version 7.15.0 before branching.
- Legacy-Id: 18428
2020-08-27 21:38:20 +00:00
Ole Laursen 0aa0f7d4e2 Make the IPR search form initialize the state field upon form
initialization instead of evaluating the queryset upon importing the
module. This is probably never a problem in practice in this case in
the live environment, but it's a confusing practice, and when running
the tests sometimes a bug seems to throw Django off and the error is
then shadowed by Django crashing when trying to access the
(non-existing) database.
 - Legacy-Id: 18425
2020-08-27 16:35:38 +00:00
Henrik Levkowetz 306b1682a2 Added a link to the group page from the year label on the nomcom index page.
- Legacy-Id: 18424
2020-08-27 11:00:56 +00:00
Henrik Levkowetz d60221c341 Changed the nomcom template editing forms to use a monospaced font for the template text (recommended for RST templates).
- Legacy-Id: 18423
2020-08-26 18:41:11 +00:00
Henrik Levkowetz 546135f6e1 Fixed an issue with the target URL for versioned bibxml entries under /doc/bibxml3 for drafts that have been published as RFC.
- Legacy-Id: 18422
2020-08-26 16:51:42 +00:00
Henrik Levkowetz 2603bf4a23 Merged in [18371] from mark@painless-security.com:
Track slide submissions even after acceptance or rejection.  Fixes #2835.
 - Legacy-Id: 18421
Note: SVN reference [18371] has been migrated to Git commit 21ba67fb79
2020-08-26 16:47:35 +00:00
Henrik Levkowetz da7c22f710 Added html.escape() in a test case in order to correctly handle affiliation names with ampersands.
- Legacy-Id: 18420
2020-08-26 16:04:50 +00:00
Ole Laursen 9df0994827 Add ical download/subscription for important dates for meetings,
similar to the existing meeting view
 - Legacy-Id: 18419
2020-08-26 16:01:19 +00:00
Henrik Levkowetz c98b6c8ad3 Fixed an issue with the generated tag for versioned bibxml entries under /doc/bibxml3 for drafts that have been published as RFC.
- Legacy-Id: 18418
2020-08-26 15:23:41 +00:00
Henrik Levkowetz 465063d0ec Made a template filter more robust when given unexpected input.
- Legacy-Id: 18417
2020-08-26 14:55:28 +00:00
Henrik Levkowetz 3e16da6591 Fixed an issue that could prevent error messages from docutils from propagating to the end user when editing RST templates.
- Legacy-Id: 18416
2020-08-25 22:46:03 +00:00
Ole Laursen ca057911ea Compute session order from available data instead of going through the
database again (saves ~2800 queries on the IETF 106 agenda page)
 - Legacy-Id: 18414
2020-08-25 14:56:40 +00:00
Jennifer Richards b1e3c1fe92 Use new querystring format for agenda_ical and add tests. Ensure querystring precedes URL fragment in agenda JS.
- Legacy-Id: 18413
2020-08-25 14:35:44 +00:00
Henrik Levkowetz 7a422e86bf Changed the week_view() function to calculate a first_regular_session_time also when the meeting has not been populated with any sessions, by using the meeting.date as a proxy value.
- Legacy-Id: 18410
2020-08-25 13:08:57 +00:00
Henrik Levkowetz 45eaa18c77 Fixed a broken reverse migration
- Legacy-Id: 18409
2020-08-25 09:45:29 +00:00
Henrik Levkowetz ba01af0c4d Changed the maybe_patch_libraries() check action to emit 'patched now, restart needed' errors in test or development, but not in production, where we don't care if the patches were applied earlier or just now.
- Legacy-Id: 18408
2020-08-24 11:29:41 +00:00
Henrik Levkowetz bb9bd8d469 Added a patch for tastypie under django 2.2, to catch field error exceptions that were handled differently under earlier django versions.
- Legacy-Id: 18407
2020-08-24 11:24:52 +00:00
Henrik Levkowetz 8d2e0a0637 Merged in [18357] from rjsparks@nostrum.com:
Show link to a drafts group page for all group types when the draft has a group. Fixes #3061.
 - Legacy-Id: 18406
Note: SVN reference [18357] has been migrated to Git commit cf42db8804
2020-08-24 10:53:10 +00:00
Henrik Levkowetz cbfbedf2d3 Updated the IETF meeting agenda rendering so as to show the session links to materials, meetecho, jabber, notepad etc. also for narrov-screen devices such as phones, based on code from lars@eggert.org. Also moved some template code doing markup tweaking of the room name to a TimeSlot method, and factored out session start- and end-time display, repeated in 4 locations, to a template snipped. Added a new CSS class which provides less padding at the sides of pages on narrow devices.
- Legacy-Id: 18403
2020-08-21 13:40:14 +00:00
Ole Laursen 2029fb74fa Add private bit to time slot types so that it can be configured in the
admin instead of hardcoding the list of private sessions types in the
code.
 - Legacy-Id: 18402
2020-08-21 12:15:52 +00:00
Henrik Levkowetz 6b560de71d Updated the instructions for how to expand a vocab v3 file to standalone (by using --expand with xml2rfc)
- Legacy-Id: 18401
2020-08-21 12:05:40 +00:00