Commit graph

131 commits

Author SHA1 Message Date
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
Henrik Levkowetz 2b4011c34b Adjusted the meeting attendees migration to match the updated model.
- Legacy-Id: 14932
2018-03-26 13:11:56 +00:00
Henrik Levkowetz c8ebcf1f88 Merged in [14879] from kivinen@iki.fi:
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents.
 - Legacy-Id: 14898
Note: SVN reference [14879] has been migrated to Git commit 75dbe017a6
2018-03-22 00:01:57 +00:00
Tero Kivinen 75dbe017a6 Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents. Commit ready for merge.
- Legacy-Id: 14879
2018-03-20 17:28:48 +00:00
Henrik Levkowetz 91ee536322 Renamed some datetime fields from 'time' to 'modified', to match their semantics, and changed them to use auto_now=True. This should fix an issue with outdated timestamps on some meeting-related objects.
- Legacy-Id: 14724
2018-03-03 14:44:58 +00:00
Henrik Levkowetz 6e1d4d45d8 Added some missing migrations
- Legacy-Id: 14697
2018-02-25 20:08:37 +00:00
Henrik Levkowetz 06362ec046 Got rid of old migrations and created new initial migrations.
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz e29218f947 Bugfix
- Legacy-Id: 14317
2017-11-06 23:04:58 +00:00
Henrik Levkowetz a0d3d0b2c3 Tweaked the show-important-dates flag migration.
- Legacy-Id: 14316
2017-11-06 20:36:44 +00:00
Henrik Levkowetz 9369255764 In order to make it possible to enter meeting important dates and have the IESG see and approve them before they are generally visible, a flag has been added to the Meeting model, and code has been added to show the important dates as appropriate. A menu link to the important dates has also been added.
- Legacy-Id: 14315
2017-11-06 17:20:21 +00:00
Henrik Levkowetz e3b7fb081a Added a migration dependency to improve the ordering within the release.
- Legacy-Id: 14240
2017-10-30 12:27:50 +00:00
Henrik Levkowetz 4f83548b49 Added a new field Meeting.days to capture the length of a meeting. This is necessary now that we have previous meetings officially starting Sunday, lasting to Friday, and future meetings starting Saturday, Lasting to Friday. We use Meeting.days to calculate Meeting.end_date(). Meeting.get_ietf_monday() and two cut_off() methods have also been updated to be instance methods instead of class methods, and to not assume that a meeting starts on Sunday.
- Legacy-Id: 14225
2017-10-25 13:38:15 +00:00
Henrik Levkowetz 6eda346356 Added a data migration to fix recent slides names containing underscores.
- Legacy-Id: 13997
2017-07-28 22:47:34 +00:00
Robert Sparks 2e6f26af23 Moves Important Dates into the datatracker. Fixes #2338. Commit ready for merge.
- Legacy-Id: 13957
2017-07-21 10:29:56 +00:00
Henrik Levkowetz f75ec3622a A first go at adding floor labels to the agenda pages. The placement of the labels are complicated by available whitespace beeing in different horizontal positions for different types of lines. Adding another column will push the session title out of the screen on small devices.
- Legacy-Id: 13587
2017-06-12 21:00:08 +00:00
Henrik Levkowetz 73df0baefb Merged in [13303] from rcross@amsl.com:
Fixes #2211.  Session admin edit fails if no resources selected.
 - Legacy-Id: 13319
Note: SVN reference [13303] has been migrated to Git commit 9ba73e70a2
2017-05-11 12:03:19 +00:00
Henrik Levkowetz d3a20a8694 Added filtering of room resources in the session request form based on the 'used' flag of the room resource name. Tweaked admin to show 'used' for ResourceAssociations. Added Flipchart and U-shape-layout resources through a data migration, and added/modified resource icons.
- Legacy-Id: 13225
2017-04-15 19:13:06 +00:00
Henrik Levkowetz 6dc97b232d A migration to match the latest pytz time zone list.
- Legacy-Id: 13201
2017-04-12 18:20:23 +00:00
Ryan Cross 990493f1c4 Add Country column to meeting/NN/proceedings/attendees. Fixes #2228. Commit ready for merge.
- Legacy-Id: 13113
2017-03-25 19:20:34 +00:00