Commit graph

1057 commits

Author SHA1 Message Date
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
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
Ole Laursen badcc57c0a Redirect back to the same page when editing schedule properties from
the schedule list.
 - Legacy-Id: 18128
2020-07-01 17:22:28 +00:00
Ole Laursen ae515e6a27 Add notes field to Schedule.
Rearrange schedules in schedule list and be more consistent in the
naming. Add edit properties link to the meeting schedule editor.

Reword the Schedule.visible and .public help texts to try to better
explain what setting the fields results in.
 - Legacy-Id: 18111
2020-07-01 10:14:14 +00:00
Ole Laursen 45ed2c5a2c Add support in the new meeting schedule editor for making a tombstone
session when rescheduling a session after the schedule is made the
official meeting schedule.

Show both cancelled and rescheduled sessions as tombstones in the new
meeting schedule editor.

Add support for showing rescheduled tombstones in the meeting agenda
views.

Adjust the Secretariat session tool so that it's not possible to
(re)cancel cancelled or rescheduled tombstones.
 - Legacy-Id: 18108
2020-06-30 16:55:24 +00:00
Ole Laursen 4678f0b799 Commit file missing from previous commit (fix a double prefetch).
- Legacy-Id: 18104
2020-06-30 12:58:40 +00:00
Ole Laursen a373f1d55c 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: 18103
2020-06-30 12:46:36 +00:00
Ole Laursen 15de8ef380 Remove the responsible AD at the top of the session info in the new
meeting editor as the information is now redundant - the AD appears as
an AD constraint.
 - Legacy-Id: 18048
2020-06-24 15:50:28 +00:00
Ole Laursen 44cbfca7bd Add support for detecting and displaying AD conflicts.
- Legacy-Id: 18046
2020-06-24 12:42:00 +00:00
Ole Laursen 49d4be8d17 Rework the new meeting editor label formatting to store the icon
references directly in the database as HTML.

Rework the label update migration to take this into account (can be
rerun by running "ietf/manage.py migrate name 0011 --fake" first).

Add a little bit of support for the recently added constraints types -
the JS does not hint about them, but they do show up without looking
silly.
 - Legacy-Id: 18033
2020-06-22 17:33:54 +00:00
Ole Laursen a70ece9a34 Hint when a timeslot is unsuitable because the room is too small.
Expand test to cover the timeslot hints too.
 - Legacy-Id: 18019
2020-06-19 17:50:55 +00:00
Ole Laursen 770341f122 Add information about other sessions of the same group to the session
info in the new meeting schedule editor.
 - Legacy-Id: 18018
2020-06-19 16:57:08 +00:00
Ole Laursen 674dae22c7 Fix a bunch of meeting schedule editor test bugs introduced by the
changes in the previous commit.
 - Legacy-Id: 18013
2020-06-17 17:59:06 +00:00
Ole Laursen b60939a26c Change new meeting schedule editor to not layout the time slots on a
linear scale, instead lay them out horizontally per day in
chronological order with a small amount of size hinting by
interpolating the width depending on the duration of the
timeslot/session.

Solve the problem of labeling time slots that don't necessarily align
by simply labeling each slot separately.

Add scheduled time slot information to the session info in the bottom
right corner.

Add selector for hiding timeslots to make it possible to hide special
morning sessions.

Add requested duration to the sessions in the grid.

Use a smaller font size for the grid and switch to a non-serif, more
condensed font. Tweak the margins. The grid is now slightly smaller
than the old editor.

Fix a couple of bugs.
 - Legacy-Id: 18012
2020-06-17 16:16:57 +00:00
Ole Laursen 27384a1935 Make constraint hints more obvious. Show constraints in the session
information panel.
 - Legacy-Id: 17971
2020-06-11 17:22:36 +00:00
Ole Laursen c9394ae6a2 Make the selection more obvious in the meeting schedule editor
- Legacy-Id: 17887
2020-05-26 15:51:01 +00:00
Ole Laursen 27ebc639f4 Fix bug in hex conversion (missing digit) in meetings schedule editor
by switching to rgb() notation instead - fixes problem with art area
not having a color
 - Legacy-Id: 17885
2020-05-26 15:20:13 +00:00
Henrik Levkowetz 488ff08352 Merged in ^/personal/henrik/6.129.2-django2.0 which contains an upgrade of Django from 1.11 to 2.0, with the code changes needed.
- Legacy-Id: 17817
2020-05-18 06:50:50 +00:00
Henrik Levkowetz e87dd6b599 Merged in [17797] from rjsparks@nostrum.com:
Better use of group type in interim announcement tools. Fixes #2989.
 - Legacy-Id: 17809
Note: SVN reference [17797] has been migrated to Git commit 9ba71bebac
2020-05-17 19:44:39 +00:00
Henrik Levkowetz bc05e7a8d0 Refactored many instances of msg.get_payload(decode=True).decode('utf-8') and similar to get_payload_text(msg), which uses msg.get_charset() to get the actual charset to do the decoding, in a consistent manner. Also removed some instances of force_str, but more remain.
- Legacy-Id: 17807
2020-05-16 20:20:05 +00:00
Robert Sparks 9ba71bebac Better use of group type in interim announcement tools. Fixes #2989. Commit ready for merge.
- Legacy-Id: 17797
2020-05-14 22:38:02 +00:00
Henrik Levkowetz aa9db4995a Disabled a test that is unreliable under Django 2.
- Legacy-Id: 17795
2020-05-14 15:57:21 +00:00
Henrik Levkowetz c9f69f1869 Fixed a bug in upcoming()
- Legacy-Id: 17791
2020-05-13 12:57:58 +00:00
Henrik Levkowetz 154876a12a Merged in ^/trunk@17782 (just ahead of release 6.130.0)
- Legacy-Id: 17783
2020-05-12 15:54:46 +00:00
Henrik Levkowetz 4f4c3fd980 Based on [17694] from mark@painless-security.com, this merges in a set of changes that provides agenda-like details on session meeting view, and fixes issue #2751. It also aligns the styling of materials and resources link lists on the upcoming meetings and ietf agenda pages, and adds calendar symbols with links and recordings symbols with links to interim meeting pages.
- Legacy-Id: 17782
Note: SVN reference [17694] has been migrated to Git commit 4df7e5531f8273892c71a363cf328bb324585204
2020-05-12 13:35:57 +00:00
Henrik Levkowetz aa4bee7a19 Added set-up and tear-down of test directores for HasMeetingsTests
- Legacy-Id: 17776
2020-05-11 14:41:42 +00:00
Henrik Levkowetz a26ace5bfa Merged in [17764] from rjsparks@nostrum.com:
Allow IAB programs to use normal meeting mechanics. Fixes #2970.
 - Legacy-Id: 17773
Note: SVN reference [17764] has been migrated to Git commit fb8e5c6842
2020-05-11 11:41:22 +00:00
Henrik Levkowetz b04171b526 Added guards against using attributes of None in a couple of places.
- Legacy-Id: 17772
2020-05-10 15:47:24 +00:00
Robert Sparks fb8e5c6842 Allow IAB programs to use normal meeting mechanics. Fixes #2970. Commit ready for merge.
- Legacy-Id: 17764
2020-05-08 21:11:25 +00:00
Henrik Levkowetz 6d7c5b52ee Django 2.0 conversion. Test suite passes, except for javascript tests.
- Legacy-Id: 17762
2020-05-08 13:07:07 +00:00
Henrik Levkowetz dcd2b69b4f Merged in [17724] from rjsparks@nostrum.com:
Use normal material management permissions for uploading bluesheets. Fixes #2975.
 - Legacy-Id: 17740
Note: SVN reference [17724] has been migrated to Git commit 139bcc1b7d
2020-05-05 14:23:26 +00:00
Henrik Levkowetz 6f1186672f Merged in code from mark@painless-security.com in [17694] which provides historic_group information in the session_details() view, and a test case for same. Added 'now' information in the template dictionary, for use when rendering old (vs. upcoming) session details. Commit ready for merge.
- Legacy-Id: 17738
Note: SVN reference [17694] has been migrated to Git commit 4df7e5531f8273892c71a363cf328bb324585204
2020-05-05 13:04:11 +00:00
Henrik Levkowetz 280c356e5d Fixed a problem with SchedTimeSessAssignment.slug() for sessions without historic_group information. Commit ready to merge.
- Legacy-Id: 17737
2020-05-05 12:59:14 +00:00
Henrik Levkowetz 4b4894b32c Merged in [17712] from rjsparks@nostrum.com:
Add a webcal link to /meetings/upcoming. Partially addresses #2971. Adding this to the main agenda page will require some js juggling, and I think getting some runtime with it first to make sure it is what we want makes sense.
 - Legacy-Id: 17734
Note: SVN reference [17712] has been migrated to Git commit 88b3ae87da
2020-05-05 12:37:42 +00:00
Henrik Levkowetz 7444388949 Fixed a pyflakes issue
- Legacy-Id: 17728
2020-05-04 18:56:04 +00:00
Henrik Levkowetz f53f667f75 Added a first iteration of /meeting/upcoming.json for Meetecho use, with the expectation that buildout and tweaks may be required.
- Legacy-Id: 17727
2020-05-04 18:47:14 +00:00
Robert Sparks 139bcc1b7d Use normal material management permissions for uploading bluesheets. Fixes #2975. Commit ready for merge.
- Legacy-Id: 17724
2020-05-01 19:11:45 +00:00
Henrik Levkowetz b3733de346 Added a migration for updated timezone names and added validation for sechedule names.
- Legacy-Id: 17713
2020-05-01 08:45:43 +00:00
Robert Sparks 88b3ae87da Add a webcal link to /meetings/upcoming. Partially addresses #2971. Adding this to the main agenda page will require some js juggling, and I think getting some runtime with it first to make sure it is what we want makes sense.
- Legacy-Id: 17712
2020-04-30 22:06:09 +00:00
Henrik Levkowetz 42995fadea Merged in ^/branch/iola/meeting-improvement-r17214@17617, which provides a new meeting schedule editor.
- Legacy-Id: 17701
2020-04-28 14:34:34 +00:00
Henrik Levkowetz c556820f5f Fixed a server 500 on missing flooplan image file, which should have returned a 404.
- Legacy-Id: 17689
2020-04-25 19:10:06 +00:00
Henrik Levkowetz 8a7f4ce96e Enhanced [17687] slightly, adding rendering of other status settings than cancelled, and adding warning background for cancelled. See issue #2963.
- Legacy-Id: 17688
Note: SVN reference [17687] has been migrated to Git commit 48562d131b
2020-04-25 14:34:56 +00:00
Henrik Levkowetz 48562d131b Changed the date/datetime at the top of meeting session pages to indicate timezone, and be given in UTC for virtual interim meetings, but meeting timezone with UTC in parentheses for in-person meetings. Fixes issue #2963.
- Legacy-Id: 17687
2020-04-25 12:02:05 +00:00
Henrik Levkowetz 788321dbf3 Added two new methods to TimeSlot: local_start_time() and local_end_time().
- Legacy-Id: 17682
2020-04-24 15:13:39 +00:00
Henrik Levkowetz 9aeda11a29 Removed some Py2 compatibility decorators.
- Legacy-Id: 17673
2020-04-21 13:54:31 +00:00
Robert Sparks d981076432 Refactor disqualifying roles into one place. Commit ready for merge.
- Legacy-Id: 17650
2020-04-15 22:34:44 +00:00
Robert Sparks b387599dac Follow RFC8713 section 4.15 for roles that disqualify for nomcom. Fixes #2944. Commit ready for merge.
- Legacy-Id: 17649
2020-04-15 21:39:58 +00:00
Henrik Levkowetz f2b883d2bb Merged in ^/trunk@17617.
- Legacy-Id: 17618
2020-04-14 17:11:51 +00:00