Commit graph

10258 commits

Author SHA1 Message Date
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
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
Jennifer Richards ea3882034a Use querystring instead of URL hash for agenda filters
- Legacy-Id: 18353
2020-08-11 13:45:41 +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