Commit graph

149 commits

Author SHA1 Message Date
Robert Sparks b5d264bdc8 Updated timezone choices
- Legacy-Id: 18810
2021-02-01 15:12:41 +00:00
Henrik Levkowetz 088033d843 Added matching indexes to a number of models with ordering by multiple keys.
- Legacy-Id: 18664
2020-11-09 19:41:12 +00:00
Henrik Levkowetz 9b6c5735c9 Change the length of the schedule name field from 16 to 64, to avoid running into lenght issues for schedule names auto-generated from person name or email.
- Legacy-Id: 18566
2020-10-08 11:58:46 +00:00
Henrik Levkowetz 35ee99afa0 Added a missing migration for a change in the Schedule.base field.
- Legacy-Id: 18472
2020-09-08 10:38:00 +00:00
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
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 45eaa18c77 Fixed a broken reverse migration
- Legacy-Id: 18409
2020-08-25 09:45:29 +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
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
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 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
Robert Sparks 715be93f1b Add the migration intended to go with r18206. Commit ready for merge.
- Legacy-Id: 18207
2020-07-20 21:13:39 +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
Sasha Romijn 9dd0035a19 Fix migrations after rebase.
- Legacy-Id: 17994
2020-06-15 20:51:46 +00:00
Sasha Romijn 6e026926f0 Rebase automatic-scheduler-2 onto 7.3.2.dev0
- Legacy-Id: 17990
2020-06-15 12:29:39 +00:00
Sasha Romijn ec1ee89e89 - Increase penalty of timerange and area meeting overlap
- Fix incidental bug in schedule optimiser
- Fix unused import
 - Legacy-Id: 17988
2020-06-15 09:16:48 +00:00
Sasha Romijn c8e0a83b47 Add new model for business logic meeting constraint costs, update existing constraint costs, and small improvements in tests
- Legacy-Id: 17894
2020-05-29 12:03:50 +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
Henrik Levkowetz f2b883d2bb Merged in ^/trunk@17617.
- Legacy-Id: 17618
2020-04-14 17:11:51 +00:00
Henrik Levkowetz b143dd407f Merged in ^/branch/dash/automatic-scheduler@17395, which adds groundwor for
upcoming automatic scheduling assistance:

 . Added a management command to create a dummy IETF 999 meeting.

 . Added display of new constraints and joint sessions to agenda builder
   interface.

 . The new timerange, time_relation and wg_adjacent constraints, along with
   the joint_with_groups option, are now reflected in the special requests
   field.  This allows them to be taken into account while scheduling
   sessions.

 . Clarified the wording in the session request form regarding conflicts with
   BOFs.

 . Added support for structured entry and storage of joint sessions in
   meetings:

   - Also adds additional tests for the SessionForm
   - Fixes a javascript error in session requests for non-WG groups,
     that could cause incorrect form behaviour.
   - Expands the tests added in [17289] a bit.

 . Added support for the timerange, wg_adjacent and time_relation constraints.
   This adds three new constraints to the database and relevant UIs:

   - timerange: "This WG can't meet during these timeframes"
   - wg_adjacent: "Schedule adjacent to another WG (directly following,
     no breaks, same room)"
   - time_relation: schedule the two sessions of one WG on subsequent
     days or with at least one day seperation
 - Legacy-Id: 17605
Note: SVN reference [17289] has been migrated to Git commit a227813dc5
2020-04-08 20:41:29 +00:00
Henrik Levkowetz f10ddadc0e Merged in changes from trunk up to r17584.
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Ryan Cross 931c5ce6cd Add migration to cancel 107 sessions
- Legacy-Id: 17466
2020-03-19 17:48:03 +00:00
Sasha Romijn e0f90fe579 Add missing migration content to existing meeting 0026 migration.
- Legacy-Id: 17394
2020-03-06 12:26:12 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +00:00
Sasha Romijn a227813dc5 Add support for the timerange, wg_adjacent and time_relation constraints.
This adds three new constraints to the database and relevant UIs:
- timerange: "This WG can't meet during these timeframes"
- wg_adjacent: "Schedule adjacent to another WG (directly following,
  no breaks, same room)"
- time_relation: schedule the two sessions of one WG on subsequent
  days or with at least one day seperation
 - Legacy-Id: 17289
2020-02-12 10:42:38 +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 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 3957743b85 Move Session.status, .requested, and .requested_by to a new SchedulingEvent
- Legacy-Id: 17122
2019-12-05 12:41:09 +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
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 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 8e313e4ed5 Adjusted migrations for Python2/3 compatibility.
- Legacy-Id: 16633
2019-08-08 17:11:14 +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 2d7c9629aa Added 'from __future__' imports all over the place, to bring code behaviour into closer alignment between python2 and python3
- Legacy-Id: 16446
2019-07-15 15:40:51 +00:00
Henrik Levkowetz 3ec7e864be Converted leading tabs to spaces in ietf/**/*.py
- Legacy-Id: 16310
2019-06-27 14:51:02 +00:00
Henrik Levkowetz d7f5c84182 Initial 2to3 patch with added copyright statement updates.
- Legacy-Id: 16309
2019-06-27 14:40:54 +00:00
Henrik Levkowetz 426870b766 Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz 815602351f This is a series of 50 migrations that changes the Document and DocAlias
primary keys from character strings to integers, and makes corresponding code
changes.

This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.

Changing the primary keys to integers should also improve efficiency.  

Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time.  The total set of migrations are expected to have
a runtime on the order of 2 hours.
 - Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz beb631c8d6 New country info from updated pytz timezone library
- Legacy-Id: 16166
2019-04-26 10:06:48 +00:00
Henrik Levkowetz 6892a55db0 Fixed a migrations conflict
- Legacy-Id: 16128
2019-04-03 10:28:49 +00:00
Henrik Levkowetz d565375028 Merged in [16102] from rjsparks@nostrum.com:
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403.
 - Legacy-Id: 16118
Note: SVN reference [16102] has been migrated to Git commit becad91b0b
2019-03-28 13:02:29 +00:00
Robert Sparks becad91b0b Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403. Commit ready for merge.
- Legacy-Id: 16102
2019-03-25 16:10:00 +00:00
Henrik Levkowetz f635b2f973 Merged in [16085] from rcross@amsl.com:
Fix issue where cancelling one break session causes other breaks to get cancelled.  Fixes #2699.
 - Legacy-Id: 16090
Note: SVN reference [16085] has been migrated to Git commit 2842ad12bb
2019-03-23 16:31:17 +00:00
Ryan Cross 2842ad12bb Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699. Commit ready for merge.
- Legacy-Id: 16085
2019-03-23 14:49:33 +00:00
Henrik Levkowetz c4707119f4 Updated the timezone information to match the latest timezone database release (2018i)
- Legacy-Id: 15878
2019-01-14 13:54:28 +00:00
Henrik Levkowetz 30c72d3978 Tweaked the migration order.
- Legacy-Id: 15572
2018-10-15 05:24:25 +00:00
Robert Sparks d179db39d4 Added meeting.agenda_info_note. Commit ready for merge.
- Legacy-Id: 15550
2018-10-09 22:08:45 +00:00
Robert Sparks c9e1474076 Renamed meeting.agenda_note to meeting.agenda_warning_note. Commit ready for merge.
- Legacy-Id: 15549
2018-10-09 20:52:04 +00:00
Henrik Levkowetz 7d1e21f629 Adjusted some timezones in test code to use permitted time zones after the previous changes in listed timezones. Added a migration for the changed timezone list.
- Legacy-Id: 15372
2018-07-17 14:28:42 +00:00