Commit graph

12053 commits

Author SHA1 Message Date
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
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 3b31ed9ad1 Update the constraint name fixtures.
- Legacy-Id: 18034
2020-06-22 17:40:06 +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 ab178173f4 Fix bug in showing the time of other sessions of the same group in the
new meeting schedule editor
 - Legacy-Id: 18022
2020-06-22 12:31:39 +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 8bd9e5de6e Round the debug time sum
- Legacy-Id: 17998
2020-06-16 16:48:29 +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 d357723a54 Style BoFs differently in the meeting schedule editor
- Legacy-Id: 17888
2020-05-26 16:38:18 +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 65e5245626 Fix mypy warning when overriding DEV_TEMPLATE_CONTEXT_PROCESSORS by
turning it into a list (can't override a tuple without the type
changing)
 - Legacy-Id: 17886
2020-05-26 15:46:05 +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 92eee9ebdc Merged in [17804] from rcross@amsl.com:
Fix typo in custom template filter
 - Legacy-Id: 17830
Note: SVN reference [17804] has been migrated to Git commit db6ce662f5
2020-05-19 12:34:38 +00:00
Henrik Levkowetz d986c5b227 Merged in [17803] from rcross@amsl.com:
Made various changes to session request form, mostly removal of fields, to support virtual session requests. Also added settings.SECR_VIRTUAL_MEETINGS list.
 - Legacy-Id: 17829
Note: SVN reference [17803] has been migrated to Git commit d90d97d8cc
2020-05-19 12:13:37 +00:00
Henrik Levkowetz f36f850642 Added some merge-ready commits
- Legacy-Id: 17828
2020-05-19 10:50:26 +00:00
Henrik Levkowetz 0a885bfbb7 Fixed a test that incorrectly lookdef or author.name instead of author.plain_name()
- Legacy-Id: 17827
2020-05-19 09:13:00 +00:00
Henrik Levkowetz eaa3b9797d Updated minimum requirement for django-widget-tweaks.
- Legacy-Id: 17825
2020-05-19 04:18:09 +00:00
Henrik Levkowetz 986b43b234 Updated minimum requirement for Tastypie.
- Legacy-Id: 17824
2020-05-19 03:28:37 +00:00
Henrik Levkowetz 3a963eaf29 Removed a future import
- Legacy-Id: 17818
2020-05-18 10:59:59 +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 a44a80b068 Set version info and settings back to development mode
- Legacy-Id: 17815
2020-05-18 04:46:57 +00:00
Henrik Levkowetz 0f8eddff1a Set version info to release version 6.130.1 before branching.
- Legacy-Id: 17813
2020-05-18 04:46:34 +00:00
Henrik Levkowetz e48b19a5a5 Changelog entry for 6.130.1
- Legacy-Id: 17812
2020-05-18 04:46:22 +00:00
Henrik Levkowetz b29488e049 Code coverage data for release 6.130.1
- Legacy-Id: 17811
2020-05-18 04:45:59 +00:00
Henrik Levkowetz d36d717fe5 Removed some debug code.
- Legacy-Id: 17810
2020-05-17 19:46:14 +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 2d3910f0d0 Updated release coverage
- Legacy-Id: 17808
2020-05-17 11:41:55 +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
Henrik Levkowetz 0bc19f0c7c Added group chair/secretary role information to the personal meetecho key API.
- Legacy-Id: 17806
2020-05-16 15:58:40 +00:00
Henrik Levkowetz 690fb3a370 Added a bunch of drafts for which we don't have text files to the test-crawler exclusion list.
- Legacy-Id: 17805
2020-05-16 13:50:45 +00:00
Ryan Cross db6ce662f5 Fix typo in custom template filter
- Legacy-Id: 17804
2020-05-16 00:19:33 +00:00
Ryan Cross d90d97d8cc Made various changes to session request form, mostly removal of fields, to support virtual session requests. Also added settings.SECR_VIRTUAL_MEETINGS list.
- Legacy-Id: 17803
2020-05-15 23:48:06 +00:00
Henrik Levkowetz 6bb0a33a8d Fleshed out a review test slightly, and did some refactoring.
- Legacy-Id: 17801
2020-05-15 14:51:25 +00:00
Henrik Levkowetz 6318d49b40 Added an utility function to get email payload as unicode text.
- Legacy-Id: 17800
2020-05-15 14:50:22 +00:00
Henrik Levkowetz 2b68095b82 Merged in [17794] from mark@painless-security.com:
Add the 'msg' variable for interpolation on reviewer availability change emails, and reformat the add-a-period email.  Fixes #2891.
 - Legacy-Id: 17799
Note: SVN reference [17794] has been migrated to Git commit 96bc71f51f150cec7043aca60d0156d35847019b
2020-05-15 11:33:03 +00:00
Henrik Levkowetz 3b99992083 Merged in [17722] from mark@painless-security.com:
Remove the 'experimental' verbiage from the references / referenced by pages.  Fixes #2857.
 - Legacy-Id: 17798
Note: SVN reference [17722] has been migrated to Git commit 52c7d13f2aff6e8e92eec821e3123da6e5277c84
2020-05-15 08:33:16 +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