Commit graph

10228 commits

Author SHA1 Message Date
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
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
Henrik Levkowetz 504b233691 Set version info and settings back to development mode
- Legacy-Id: 18399
2020-08-20 14:08:15 +00:00
Henrik Levkowetz f9590476c8 Set version info to release version 7.14.1 before branching.
- Legacy-Id: 18397
2020-08-20 14:07:55 +00:00
Henrik Levkowetz c95ffe42e7 Fixed a pyflakes issue
- Legacy-Id: 18393
2020-08-20 13:47:27 +00:00
Henrik Levkowetz 6dd0b7c81e Updated an initial migration to reflect actual database tables present.
- Legacy-Id: 18390
2020-08-20 12:35:37 +00:00
Henrik Levkowetz 48126ba505 - Legacy-Id: 18389 2020-08-20 12:34:09 +00:00
Henrik Levkowetz b4cc53fea0 Migration for deleted model
- Legacy-Id: 18388
2020-08-20 12:31:52 +00:00
Henrik Levkowetz 16fb382943 Made the patch utility return information to distinguish already patched files from successful patch application, and modified our checks extensions to signal when patches have been applied and a ccommand needs to be re-run.
- Legacy-Id: 18386
2020-08-20 11:36:46 +00:00
Ole Laursen a39fa7f967 New branch from trunk @ r18382 for meeting improvements, with iola/meeting-improvement-r17835 merged in
- Legacy-Id: 18385
2020-08-20 09:36:41 +00:00
Robert Sparks f4fd4b1921 Gather actual repos to backup takinging user and organizational owners into account, iterating through owner repos when necessary using the github api.
- Legacy-Id: 18384
2020-08-19 19:07:29 +00:00
Henrik Levkowetz bc75565969 Changed the default LOGGING setup to avoid logging to syslog, as it may not be available in all enviroments.
- Legacy-Id: 18382
2020-08-19 13:27:50 +00:00
Henrik Levkowetz 1318fe6914 Changes to permit login to the dev. server from recent browsers (such as Chrome 84)
- Legacy-Id: 18381
2020-08-19 13:25:25 +00:00
Ole Laursen 5ea30519da Add explanation to filter on regular sessions
- Legacy-Id: 18380
2020-08-18 13:37:18 +00:00
Ole Laursen 996fc716eb Add new page for editing timeslots and misc session, accessible from
the possible agendas list for a meeting.

The new page incorporates the editing functionality otherwise
accessible from

/secr/meetings/<meeting>/<schedule>/miscsessions/
/secr/meetings/<meeting>/<schedule>/regularsessions/
/meeting/<meeting>/timeslots/edit

in a time vs. room grid that gives a better overview of what's going
on each day and allows adding and editing time slots and sessions.

Regular sessions must be scheduled in the other schedule editor, but
it's possible to add regular timeslots and edit agenda notes on
scheduled regular sessions.
 - Legacy-Id: 18379
2020-08-18 13:24:30 +00:00
Robert Sparks 2b70735fd2 Improved the classification of some github related external resources. Tightened validation of new resource values. Commit ready to merge.
- Legacy-Id: 18378
2020-08-17 23:50:22 +00:00
Henrik Levkowetz 0f5d2b290f Added a 'meeting' list filter to the admin page for ImportantDate.
- Legacy-Id: 18376
2020-08-15 09:38:00 +00:00
Henrik Levkowetz f93270e0f6 Changed the API to not export saved Message instances (they can contain information such as draft confirmation codes and password reset codes that should not be generally visible).
- Legacy-Id: 18375
2020-08-15 09:37:05 +00:00
Henrik Levkowetz 50d559f05f Removed an unused model.
- Legacy-Id: 18374
2020-08-15 09:34:25 +00:00
Mark J. Donnelly d105f8ba5b Filter out reviewers who have rejected reviewing this document in the past from the list of suggested reviewers. Fixes #2996. Commit ready for merge.
- Legacy-Id: 18373
2020-08-13 15:03:54 +00:00
Mark J. Donnelly 8bde162613 Include an HTML template missed in the previous commit. Fixes #2835. Commit ready for merge.
- Legacy-Id: 18372
2020-08-13 13:49:11 +00:00
Mark J. Donnelly 21ba67fb79 Track slide submissions even after acceptance or rejection. Fixes #2835. Commit ready for merge.
- Legacy-Id: 18371
2020-08-13 13:48:01 +00:00
Henrik Levkowetz 2af4246225 Set version info and settings back to development mode
- Legacy-Id: 18369
2020-08-13 12:23:00 +00:00
Henrik Levkowetz df1c07392e Set version info to release version 7.14.0 before branching.
- Legacy-Id: 18367
2020-08-13 12:22:27 +00:00
Henrik Levkowetz 9125104065 Merged in [18324] from rjsparks@nostrum.com:
Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419.
 - Legacy-Id: 18363
Note: SVN reference [18324] has been migrated to Git commit cb58810705
2020-08-13 11:23:22 +00:00
Henrik Levkowetz 83b32720cd Removed cruft in a file
- Legacy-Id: 18362
2020-08-13 11:02:58 +00:00
Henrik Levkowetz d0a70331d1 Removed cruft in a file
- Legacy-Id: 18361
2020-08-13 11:02:00 +00:00
Henrik Levkowetz aa7950e31b Use the same 'Secure' and 'SameSite' cookie settings for application cookies as for session cookies, rather than hardcoded values (DRY).
- Legacy-Id: 18360
2020-08-13 10:53:05 +00:00
Henrik Levkowetz 4712e8370c Added a patch to make django use the same settings when deleting a cookie as when setting it. In particular, it sets Secure if settings.SESSION_COOKIE_SECURE, which is needed if samesite='None'. Fixes issue #3056
- Legacy-Id: 18359
2020-08-13 10:47:06 +00:00
Henrik Levkowetz 07d60de46e Merged in /branch/iola/meeting-improvement-r17835@18048. This provides a new snapshot of the new schedule editor work, with improved edit page layout and details.
- Legacy-Id: 18358
2020-08-12 19:16:18 +00:00
Robert Sparks cf42db8804 Show link to a drafts group page for all group types when the draft has a group. Fixes #3061. Commit ready for merge.
- Legacy-Id: 18357
2020-08-12 18:47:29 +00:00
Henrik Levkowetz dd09b70850 Added secure=True, samesite='None' for user preference cookies, to play well with recent changes in browser cookie handling.
- Legacy-Id: 18356
2020-08-12 13:08:17 +00:00
Ole Laursen c78ffbcd18 Introduce support for setting a base schedule on a schedule. All
assignments on the base schedule are shown in the pages for the
schedule, read-only.

This allows managing things like breaks and misc sessions separately
from the regular WG sessions.

Base schedules are not allowed to be the base of other base schedules
(the hierarchy can only be one level deep) to simplify the mental
model and the code.

Add link for creating new schedules instead of relying on copying
Empty-Schedule and change the meeting creation code to no longer
create the special Empty-Schedule. Instead a "base" schedule is
created and a first schedule with the name and permissions of the user
creating the meeting, using "base" as base.

Speed up a couple of the Secretariat/AD agenda views by adding
prefetches.
 - Legacy-Id: 18355
2020-08-11 17:34:32 +00:00
Henrik Levkowetz c5729d5c5d Set version info and settings back to development mode
- Legacy-Id: 18350
2020-08-07 15:28:40 +00:00
Henrik Levkowetz dee064674e Set version info to release version 7.13.0 before branching.
- Legacy-Id: 18348
2020-08-07 15:28:05 +00:00
Henrik Levkowetz 6e0426d0ef Added a migration corresponding to the new /api/notify/meeting/bluesheet endpoint selection for personal API keys.
- Legacy-Id: 18345
2020-08-07 14:53:32 +00:00
Henrik Levkowetz fcfc22bafd Changed to using a template to generate bluesheets and added a count of participants at the top.
- Legacy-Id: 18344
2020-08-07 09:58:46 +00:00
Ole Laursen 923cb35755 Add support for swapping days in the meeting schedule editor. Since
days may not be entirely the same, the algorithm will try to find the
best matches between the timeslots and then unschedule any unmatched
sessions for manual fixup.

Clean up initial data fed to the schedule editor from the Python view.
 - Legacy-Id: 18343
2020-08-06 16:32:56 +00:00
Henrik Levkowetz 2bf7481cef Changed a list of tuples so as to always make them sortable. Fixes an issue with the session video URL API. This is the equivalent of [18340] for this API endpoint.
- Legacy-Id: 18341
Note: SVN reference [18340] has been migrated to Git commit 27eab28a31
2020-08-06 12:47:05 +00:00
Henrik Levkowetz 27eab28a31 Changed a list of tuples so as to always make them sortable. Fixes an issue with bluesheet uploads for 'groups' like 'ietf' that could have multiple sessions starting at the same time.
- Legacy-Id: 18340
2020-08-06 11:32:46 +00:00
Henrik Levkowetz 57938b039d Converted many cases of plain-text 403 messages to use a properly styled page instead, with a login link when appropriate. Also changed some API endpoint 400 responses to a more correct 403.
- Legacy-Id: 18339
2020-08-06 10:59:52 +00:00
Ole Laursen 8496c7938a Set Schedule.origin when copying schedule
- Legacy-Id: 18338
2020-08-05 09:50:25 +00:00
Ole Laursen 824b1b627b Add Schedule.origin to enable tracking where a schedule was copied
from. Add utility function and view for diff'ing two arbitrary
schedules, and modify the schedule list page to show the number of
differences between the origin of a schedule, linking to the diff, to
make it easy to see what's changed between work-in-progress schedules.
 - Legacy-Id: 18337
2020-08-04 17:26:50 +00:00
Ole Laursen 1476c1c346 Make it possible to edit the notes when copying a schedule
- Legacy-Id: 18336
2020-08-04 10:20:09 +00:00
Henrik Levkowetz ab7abb5975 Added a missing 404 response
- Legacy-Id: 18334
2020-07-31 12:59:20 +00:00
Henrik Levkowetz 0c4d58a9f7 Based on feedback from the Secretariat, changed the 404 for IPR declarations in other states than 'posted' to a 403 with a login link.
- Legacy-Id: 18333
2020-07-31 12:36:50 +00:00
Henrik Levkowetz 35c7f0fd9d Added a utility function around the PermissionDenied exception, in order to easily be able to provide relevant information to the 403 template.
- Legacy-Id: 18332
2020-07-31 12:35:00 +00:00
Henrik Levkowetz 9c38f1a670 Added a custom 403 page, extending the datatracker base.html template.
- Legacy-Id: 18331
2020-07-31 12:32:06 +00:00
Robert Sparks cb58810705 Send extra mail to yangdoctors chairs when a draft with yang checks goes into IETF LC. Fixes #2419. Commit ready to merge.
- Legacy-Id: 18324
2020-07-30 21:44:02 +00:00
Henrik Levkowetz ffc541af20 Simplified some recent code a little bit.
- Legacy-Id: 18323
2020-07-30 18:36:50 +00:00
Henrik Levkowetz 1dedffb550 Provide a local environment path for pyang, which is installed with pip and may not be available globally. Fixes issue #3018.
- Legacy-Id: 18322
2020-07-30 15:33:24 +00:00
Henrik Levkowetz a693b9fe97 Improved the handling of the meeting materials page if unknown upload names without revision numbers are given.
- Legacy-Id: 18321
2020-07-30 14:30:46 +00:00
Henrik Levkowetz e4bc508abc Merged in [18298] from rjsparks@nostrum.com:
Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027.
 - Legacy-Id: 18320
Note: SVN reference [18298] has been migrated to Git commit 2b10465aa7
2020-07-30 14:27:17 +00:00
Henrik Levkowetz e4379f02ad Fixed a bug in determining if the agenda page being rendered belongs to the current meeting (which affects caching time).
- Legacy-Id: 18319
2020-07-30 13:57:34 +00:00
Henrik Levkowetz 3bc0cb4c35 Changed a list of group types in all_meeting_sessions_for_group() to instead use group.features.
- Legacy-Id: 18318
2020-07-30 13:55:21 +00:00
Henrik Levkowetz f445e1a94b Set version info and settings back to development mode
- Legacy-Id: 18315
2020-07-29 20:52:41 +00:00
Henrik Levkowetz 11a848a700 Set version info to release version 7.12.0 before branching.
- Legacy-Id: 18313
2020-07-29 20:52:22 +00:00
Henrik Levkowetz 5f8a1d4b6c Added 'text/x-markdown' as an accepted MIME type for agenda and minutes uploads.
- Legacy-Id: 18310
2020-07-29 18:34:53 +00:00
Henrik Levkowetz 0ac92d3ae4 Merged in [18299] from rjsparks@nostrum.com:
Missing migrations from 18298.
 - Legacy-Id: 18309
Note: SVN reference [18299] has been migrated to Git commit e7e1cc2a8e
2020-07-29 14:37:51 +00:00
Henrik Levkowetz 9dbdbd5078 Merged in [18296] from rjsparks@nostrum.com:
Show RSOC from the Group menu. Fixes #3024.
 - Legacy-Id: 18308
Note: SVN reference [18296] has been migrated to Git commit 328c92f395
2020-07-29 14:18:29 +00:00
Henrik Levkowetz a4a89b1134 Merged in [18282] from mark@painless-security.com:
Add IETF sessions to the types that emit parent group name in the session assignment slug, so that the parent group name will be present on the HTML row ID in the agenda for IAB sessions.  Also update the wording on special sessions.  Fixes #3034.
 - Legacy-Id: 18307
Note: SVN reference [18282] has been migrated to Git commit b6c3a8f1f8
2020-07-29 13:29:45 +00:00
Henrik Levkowetz 57f6fba930 Merged in [18276] from housley@vigilsec.com:
Send email to AD when an IETF Last Call expires that contains downrefs. Fixes #2472
 - Legacy-Id: 18306
Note: SVN reference [18276] has been migrated to Git commit e0ca07e65d
2020-07-29 13:08:10 +00:00
Henrik Levkowetz dbd4202065 Merged in [18275] from fenton@bluepopcorn.net:
Adds programs to concluded groups page. Fixes #3023.
 - Legacy-Id: 18305
Note: SVN reference [18275] has been migrated to Git commit 1cacc6715b
2020-07-29 11:53:16 +00:00
Henrik Levkowetz 7af17420ae Merged in [18272] from fenton@bluepopcorn.net:
Interim change to prevent chairs from editing milestone description. Fixes #3036.
 - Legacy-Id: 18304
Note: SVN reference [18272] has been migrated to Git commit 65c7080b1f
2020-07-29 11:16:28 +00:00
Henrik Levkowetz 8ac37a3f51 Added some normalisation of the reg_type and ticket_type entries in the OIDC registration scope.
- Legacy-Id: 18301
2020-07-28 21:04:28 +00:00
Robert Sparks e7e1cc2a8e Missing migrations from 18298. Commit ready for merge.
- Legacy-Id: 18299
2020-07-28 18:55:43 +00:00
Robert Sparks 2b10465aa7 Convert IRTF area groups into their own group type rather than attempting to overload AG. Fixes #3027. Commit ready for merge.
- Legacy-Id: 18298
2020-07-28 18:54:44 +00:00
Robert Sparks 44d19f0533 Let MyPy know a decoration is on purpose. Commit ready for merge.
- Legacy-Id: 18297
2020-07-28 16:49:08 +00:00
Robert Sparks 328c92f395 Show RSOC from the Group menu. Fixes #3024. Commit ready for merge.
- Legacy-Id: 18296
2020-07-28 16:10:42 +00:00
Henrik Levkowetz 5d296775ca Changed the error logging propagation setting for some errors.
- Legacy-Id: 18295
2020-07-28 15:24:41 +00:00
Henrik Levkowetz 3ba391d11b Set version info and settings back to development mode
- Legacy-Id: 18292
2020-07-28 14:53:13 +00:00
Henrik Levkowetz f7143b47e2 Set version info to release version 7.11.0 before branching.
- Legacy-Id: 18290
2020-07-28 14:52:52 +00:00
Henrik Levkowetz 072b35c6af Merged in [18285] from rjsparks@nostrum.com:
Better handle materials with names that end with a string that looks like a version (-nn). May address #3040.
 - Legacy-Id: 18287
Note: SVN reference [18285] has been migrated to Git commit a98e00508c
2020-07-28 14:23:36 +00:00
Henrik Levkowetz ae6513f1c9 Improved the handling in the OpenID Connect userinfo response of multiple meeting registrations with different email addresses for the same person.
- Legacy-Id: 18286
2020-07-28 14:01:20 +00:00
Robert Sparks a98e00508c Better handle materials with names that end with a string that looks like a version (-nn). May address #3040. Commit ready for merge.
- Legacy-Id: 18285
2020-07-27 20:41:59 +00:00
Henrik Levkowetz fb78f9add7 Added a workaround to display text/markdown as text in agenda popups. More work is needed to convert markdown to HTML for this view. See issue #3039.
- Legacy-Id: 18284
2020-07-27 14:14:36 +00:00
Mark J. Donnelly b6c3a8f1f8 Add IETF sessions to the types that emit parent group name in the session assignment slug, so that the parent group name will be present on the HTML row ID in the agenda for IAB sessions. Also update the wording on special sessions. Fixes #3034. Commit ready for merge.
- Legacy-Id: 18282
2020-07-27 04:31:50 +00:00
Henrik Levkowetz f10255e0e2 Merged in [18270] from valery@smyslov.net:
Added display of verified errata in red, not verified in orange in document lists.

    #2997
 - Legacy-Id: 18280
Note: SVN reference [18270] has been migrated to Git commit 126d32b37f
2020-07-26 14:46:35 +00:00
Henrik Levkowetz c9e99e3436 Refined the code in ietf.sync.rfceditor that deals with errata to distinguish between rejected errata and other errata.
- Legacy-Id: 18279
2020-07-26 14:11:04 +00:00
Henrik Levkowetz 83a74c8f92 Tweaked the messages from bin/rfc-editor-index-updates to be slightly more informative.
- Legacy-Id: 18278
2020-07-26 14:09:43 +00:00
Henrik Levkowetz 0a0df995e6 Merged in [18250] from jennifer@painless-security.com:
Reject or require manual processing for submissions when inconsistent SubmissionDocEvent revs exist. Fixes #2909.
 - Legacy-Id: 18277
Note: SVN reference [18250] has been migrated to Git commit b61bdc289b
2020-07-26 11:15:49 +00:00
Russ Housley e0ca07e65d Send email to AD when an IETF Last Call expires that contains downrefs. Fixes #2472
- Legacy-Id: 18276
2020-07-25 21:09:50 +00:00