Commit graph

962 commits

Author SHA1 Message Date
Ole Laursen fa9b19e3a8 When a schedule is read only, only disable the part of the JS that
actually changes things so that the rest is still working
 - Legacy-Id: 17560
2020-03-30 18:16:37 +00:00
Ole Laursen e5943f814d Add support for displaying constraint hints when scheduling a task and
for displaying violated constraints in the new schedule editor, with
the old of a new field, ConstraintName.editor_label.

Add support for displaying room capacity violations.

Add support for selecting a session and displaying information about
it similar to the existing scheduling editor.

Add support for sorting unassigned sessions.

Clean up markup and styles a bit, and fix some bugs.

Expand HTML-based test and add JS test that exercises the
Javascript-based functionality.

Switch to using Chrome driver instead of PhantomJS since the HTML
engine in PhantomJS is apparently too old to support the constructs in
the new schema editor.

Add a workaround for LiveServerTestCase clashing with IetfTestRunner
fixture loading.
 - Legacy-Id: 17519
2020-03-23 17:55:36 +00:00
Ole Laursen 5faccf5379 Put the time slots in the new meeting schedule editor on a time scale
per day. This opens the possibility of having the slots not match
across the different rooms.

Add colors to session in areas/IRTF. Add support for toggling display
of areas/IRTF.

Show graphical hint when a time slot is overfull.
 - Legacy-Id: 17415
2020-03-09 19:40:31 +00:00
Ole Laursen 393ee64bec Add new view for editing meeting schedules. This is a preliminary
basic version with timeslots in a fixed grid and drag and drop for
assigning and unassigning. Compared to the existing JS based view, it
is missing session details (attendences etc.), conflicts and other
warnings, toggling of sessions in areas, area coloring, extending to
next timeslot and probably more.

Add new auxiliary view to copy a schedule for the new schedule editor.
 - Legacy-Id: 17389
2020-03-05 19:15:44 +00:00
Ole Laursen de99911e38 Add regexp validation of Schedule.name
- Legacy-Id: 17388
2020-03-05 19:02:44 +00:00
Henrik Levkowetz 753ff1e5be Merged in [17181] from olau@iola.dk:
Fix problem with assignments to the same session causing a crash.
 - Legacy-Id: 17192
Note: SVN reference [17181] has been migrated to Git commit b9e5c9b967
2020-01-07 17:06:49 +00:00
Henrik Levkowetz b14cba5f15 Refactored some document methods to align better with Django's get_absolute_url(), and added Person.get_absolute_uri()
- Legacy-Id: 17189
2020-01-07 13:33:02 +00:00
Ole Laursen b9e5c9b967 Fix problem with assignments to the same session causing a crash.
Commit ready for merge
 - Legacy-Id: 17181
2020-01-06 17:40:23 +00:00
Henrik Levkowetz 09557af28d Changed import statements.
- Legacy-Id: 17154
2019-12-18 16:29:11 +00:00
Henrik Levkowetz 06fe583351 Merged /branch/iola/meeting-improvement-r16992@17152 from olau@iola.dk:
* Renamed Meeting.agenda to Meeting.schedule together with a bunch of related
   internal things

* Moved Session.status, .requested, and .requested_by to a new SchedulingEvent.

* Turned sessions into regular sessions and non-sessions into misc.
  sessions in the UI and code to avoid ambiguity.

  This doesn't change the data in the DB except for uses of
  TimeSlotTypeName where 'session' is now 'regular'.
 - Legacy-Id: 17153
2019-12-17 23:43:07 +00:00
Ole Laursen de2b6d4072 Fix use of status still referring to the old attribute in the group
meeting page
 - Legacy-Id: 17142
2019-12-09 18:08:37 +00:00
Ole Laursen 568670c060 Turn sessions into regular sessions and non-sessions into misc.
sessions in the UI and code to avoid ambiguity.

This doesn't change the data in the DB except for uses of
TimeSlotTypeName where 'session' is now 'regular'.
 - Legacy-Id: 17128
2019-12-06 20:02:26 +00:00
Ole Laursen 6920c179cd Fix problem with missing names
- Legacy-Id: 17127
2019-12-06 19:56:03 +00:00
Ole Laursen defc50caf5 Fix bug in materials page introduced in previous commit with non-WG groups
- Legacy-Id: 17124
2019-12-05 18:11:24 +00:00
Ole Laursen 3957743b85 Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
2019-12-05 12:41:09 +00:00
Robert Sparks 61f9fbd8f2 Remove unreachable assertion from slide reordering utility function. Commit ready for merge.
- Legacy-Id: 17097
2019-11-22 17:12:19 +00:00
Henrik Levkowetz e996fa1037 Merged in [17061] and [17024] from rjsparks@nostrum.com:
Allow slides drag-drop between sessions for groups meeting with multiple sessions. Fixes #2700.
 - Legacy-Id: 17068
Note: SVN reference [17024] has been migrated to Git commit 1016b3a514

Note: SVN reference [17061] has been migrated to Git commit fabd2f6ca5
2019-11-20 10:36:16 +00:00
Henrik Levkowetz 19eb5de983 Merged in [17044] from valery@smyslov.net:
Make it clearer that a chair can't revise materials for a meeting once the proceedings deadline has passed

    Fixes issue #2612.
 - Legacy-Id: 17067
Note: SVN reference [17044] has been migrated to Git commit 182dae28a8
2019-11-20 10:10:31 +00:00
Henrik Levkowetz 8d5bd97423 Merged in [17036] from housley@vigilsec.com:
Drop old 'slides' section from agenda.json
 - Legacy-Id: 17064
Note: SVN reference [17036] has been migrated to Git commit 71a569f714
2019-11-20 07:44:01 +00:00
Henrik Levkowetz b6a82218f6 Merged in [17035] from housley@vigilsec.com:
Improve performance for some agenda-related pages
 - Legacy-Id: 17063
Note: SVN reference [17035] has been migrated to Git commit ff653634c8
2019-11-20 07:00:46 +00:00
Robert Sparks fabd2f6ca5 python2->3 adjustments for r17025. Commit ready for merge.
- Legacy-Id: 17061
2019-11-19 18:25:06 +00:00
Ole Laursen 0555879777 Rename Meeting.agenda to Meeting.schedule together with a bunch of
related internal things
 - Legacy-Id: 17051
2019-11-18 17:22:19 +00:00
Valery Smyslov 182dae28a8 Fixes issue #2612. Commit ready for merge.
- Legacy-Id: 17044
2019-11-18 08:48:15 +00:00
Russ Housley 71a569f714 Drop old 'slides' section from agenda.json
- Legacy-Id: 17036
2019-11-16 18:38:50 +00:00
Russ Housley ff653634c8 Improve performance for some agenda-related pages
- Legacy-Id: 17035
2019-11-16 10:28:57 +00:00
Robert Sparks 1016b3a514 Allow slides drag-drop between sessions for groups meeting with multiple sessions. Fixes #2700. Commit ready to merge.
- Legacy-Id: 17024
2019-11-15 20:54:14 +00:00
Henrik Levkowetz 290a98631f Merged in [16564] from pusateri@bangj.com and added tests:
Convert markdown to html if Accept header prioritizes text/html over text/markdown. Fixes #1926.
 - Legacy-Id: 16982
Note: SVN reference [16564] has been migrated to Git commit 65b3f93afe
2019-11-09 17:15:39 +00:00
Henrik Levkowetz cc8263a91c Renamed and fixed up a migration that caused multiple leaf nodes.
- Legacy-Id: 16840
2019-10-08 10:58:46 +00:00
Henrik Levkowetz 058a8c3cf2 Merged in [16762] from rjsparks@nostrum.com:
Use form validation to prevent interim slide titles that end with -nn until we change interims to use the modern HREF schemes. Fixes #2797.
 - Legacy-Id: 16837
Note: SVN reference [16762] has been migrated to Git commit 40b066560cb01191a5f7995a0fd04a32f1abbddd
2019-10-07 19:28:31 +00:00
Henrik Levkowetz 7931b3196d Merged in [16701] from rcross@amsl.com:
Add migration to remove any break / registration sessions that have already been created for future meetings.  Goes with changes for #2713.
 - Legacy-Id: 16816
Note: SVN reference [16701] has been migrated to Git commit 0bbdbca8ac
2019-10-02 20:53:30 +00:00
Henrik Levkowetz 33e8733b91 Fixed up mypy issues or added type:ignore comments as needed for a clean mypy run.
- Legacy-Id: 16772
2019-09-30 15:42:18 +00:00
Henrik Levkowetz 506dcb3472 Merged in [16604] from rjsparks@nostrum.com:
Look at all scheduled sessions for a group when deciding to display a cancelled banner. Fixes #2764.
 - Legacy-Id: 16691
Note: SVN reference [16604] has been migrated to Git commit aea3c1a55b1b14f9da90d0cfb03891e7129f8632
2019-09-03 11:08:59 +00:00
Henrik Levkowetz 7e34b3cd60 Merged in [16599] from rjsparks@nostrum.com:
Correct the uploaded_filename for slides that go through the approve-proposed-slides workflow.
 - Legacy-Id: 16644
Note: SVN reference [16599] has been migrated to Git commit f6b05ae963b9933dc8522f5db86eb33086d8f040
2019-08-10 17:29:51 +00:00
Henrik Levkowetz 8a9e6911cd Merged in [16598] from rjsparks@nostrum.com:
Add the ppt* to pdf conversion to the approve-suggested-slides workflow. Fixes #2762.
 - Legacy-Id: 16643
Note: SVN reference [16598] has been migrated to Git commit c43dcaa8ea707c089fc66f52c361944cef1d4874
2019-08-10 17:00:49 +00:00
Henrik Levkowetz 8e313e4ed5 Adjusted migrations for Python2/3 compatibility.
- Legacy-Id: 16633
2019-08-08 17:11:14 +00:00
Henrik Levkowetz 41c6bbf62e Merged in [16563] from housley@vigilsec.com:
Improve performance for a few pages
 - Legacy-Id: 16613
Note: SVN reference [16563] has been migrated to Git commit 765ce0d0b0
2019-08-04 15:44:06 +00:00
Henrik Levkowetz c27b285c58 Merged in [16593] from rjsparks@nostrum.com:
Sort the documents in the agenda, minutes, bluesheets section of the session_details view. Fixes #2759.
 - Legacy-Id: 16611
Note: SVN reference [16593] has been migrated to Git commit f2dd064afdc77168c12897a630600a17631b390f
2019-08-03 15:41:14 +00:00
Henrik Levkowetz 4e131f1f2e Merged in [16589] from rjsparks@nostrum.com:
Show a calendar of upcoming meetings. Fixes #2719.
 - Legacy-Id: 16602
Note: SVN reference [16589] has been migrated to Git commit d3b70a46b882979fabb82972921a6ad177c06b08
2019-07-31 15:21:20 +00:00
Henrik Levkowetz 4fb9f8ba19 Merged in [16561] from rjsparks@nostrum.com:
Prompt for login for approving slide suggestions instead of just presenting an error. Fixes #2750.
 - Legacy-Id: 16587
Note: SVN reference [16561] has been migrated to Git commit c80d7072104bbc8bb68281a0dcb442e4971c7dad
2019-07-24 22:51:54 +00:00
Henrik Levkowetz 7039520557 Merged in [16557] from pusateri@bangj.com:
Partially addresses issue #1926 still displaying markdown as text. Fixes #2704.
 - Legacy-Id: 16576
Note: SVN reference [16557] has been migrated to Git commit f76c46bef0
2019-07-22 18:09:53 +00:00
Henrik Levkowetz 7b08563edd Added a migration for the slidesubmission.time field
- Legacy-Id: 16571
2019-07-21 21:05:22 +00:00
Henrik Levkowetz 23ac054ad6 Merged in [16554] from rjsparks@nostrum.com:
Rework how SlideSuggestion objects name their files. Improve the UI when there are multiple pending suggestions for updating the same presentation.
 - Legacy-Id: 16570
Note: SVN reference [16554] has been migrated to Git commit 1e8eb0ed6d227e32816c4bc352a7301691eaaaac
2019-07-21 21:03:13 +00:00
Tom Pusateri 65b3f93afe Convert markdown to html if Accept header prioritizes text/html over text/markdown. Fixes #1926. Commit ready for merge.
- Legacy-Id: 16564
2019-07-21 03:14:35 +00:00
Russ Housley 765ce0d0b0 Improve performance for a few pages
- Legacy-Id: 16563
2019-07-20 22:59:26 +00:00
Tom Pusateri f76c46bef0 Partially addresses issue #1926 still displaying markdown as text. Fixes #2704. Commit ready for merge.
- Legacy-Id: 16557
2019-07-20 18:58:34 +00:00
Henrik Levkowetz e3f083e6d3 Merged in [16515] from rjsparks@nostrum.com:
Save files correctly when updates to an existing set of slides are proposed. Fixes #2748.
 - Legacy-Id: 16517
Note: SVN reference [16515] has been migrated to Git commit 41fd67c6847b82d9e9f006f5bb79c03bc5b8b577
2019-07-17 21:25:46 +00:00
Henrik Levkowetz 6ef24e9c4e Changed agenda file reading to read files as binary when looking for draft names listed in the agenda.
- Legacy-Id: 16505
2019-07-17 13:38:46 +00:00
Henrik Levkowetz e03784132d Merged changes from current trunk to Py3 branch.
- Legacy-Id: 16468
2019-07-16 15:36:16 +00:00
Henrik Levkowetz bdc73e771a Python2/3 compatibility: replaced six.ensure_text() with either six.text_type or django's force_text(), depending on the case, and fixed a variable scope issue.
- Legacy-Id: 16461
2019-07-16 13:20:05 +00:00
Henrik Levkowetz 8c6eb3a30a Python2/3 compatibility: Changed the use of open() and StringIO to io.open() etc.
- Legacy-Id: 16458
2019-07-15 19:14:04 +00:00