Commit graph

1135 commits

Author SHA1 Message Date
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
Ole Laursen 6c48575042 Swap the axes in the meeting schedule editor and rework it to allow
flowing the days.

Add JS workaround for missing position sticky support, instead of the
CSS workaround which added an annoying padding for everyone.
 - Legacy-Id: 17616
2020-04-09 18:16:56 +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 0df0a87a48 Added a workaround for the current libmagic which quite easily can mischaracterise text/plain documents as text/x-Algol68. Fixes issues #2941 and #2956.
- Legacy-Id: 17594
2020-04-07 18:33:24 +00:00
Henrik Levkowetz f10ddadc0e Merged in changes from trunk up to r17584.
- Legacy-Id: 17593
2020-04-07 16:02:52 +00:00
Henrik Levkowetz 5cecc0bee2 Added validation of the duration in interim meeting requests, with settings for min and max duration in settings.
- Legacy-Id: 17591
2020-04-07 10:40:14 +00:00
Henrik Levkowetz 47e33a39f4 Added 'Remote instructions' at the top of interim sesssion pages, and made the 'Meeting Details' button available to the group chairs, not only secretariat.
- Legacy-Id: 17586
2020-04-03 13:36:36 +00:00
Henrik Levkowetz b74ce877f8 Added links to agenda/materials pop-up, materials download, etherpad, jabber room, and webex call-in session for interims on the upcoming meetings page. With the earlier changes from [17555], this fixes issue #2937.
- Legacy-Id: 17576
Note: SVN reference [17555] has been migrated to Git commit e9756d8987
2020-04-03 09:19:34 +00:00
Henrik Levkowetz d266a8b02d Added verification of response data to IphoneAppJsonTests
- Legacy-Id: 17572
2020-04-01 15:14:16 +00:00
Henrik Levkowetz 05cd2b9e09 Merged in [17564] from pusateri@bangj.com:
Added interim meetings to agenda.json API. Fixes #2946.
 - Legacy-Id: 17571
Note: SVN reference [17564] has been migrated to Git commit c2b40c3da8
2020-04-01 14:21:34 +00:00
Tom Pusateri c2b40c3da8 Add interim meetings to agenda.json API. Fixes #2946. Commit ready for merge.
- Legacy-Id: 17564
2020-03-31 04:39:00 +00:00
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
Robert Sparks e9756d8987 Remove the not-quite-working customization widgets from /meeting/upcoming and /meeting/past. Simplify those views. Correct the list of sessions on those pages when one interim has more than one session. Fixes #2938. Partially addresses #2937. Commit ready for merge.
- Legacy-Id: 17555
2020-03-27 22:47:38 +00:00
Robert Sparks 8e9d65e7e0 Repair construction of group_hierarchy used for the customisation controls at /meeting/upcoming. Fixes #2940. Commit ready for merge.
- Legacy-Id: 17543
2020-03-26 19:07:10 +00:00
Robert Sparks 35759c2580 Allow an out-of-area AD assigned as the AD for a WG to approve interim requests for that WG. Fixes #2930. Commit ready for merge.
- Legacy-Id: 17538
2020-03-25 18:58:17 +00:00
Henrik Levkowetz ec6f0aed8d Changed the page for upcoming meetings to show the current IETF meeting for 7 days from its start date, while interims are shown for today and forward. Also changed the upcoming.ics calendar to show future sessions, even if the meeting to which they belong started in the past. This improves on [17518].
- Legacy-Id: 17520
Note: SVN reference [17518] has been migrated to Git commit 0de5a4912a
2020-03-23 18:39:45 +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
Henrik Levkowetz 0de5a4912a Changed the starting point of display of upcoming meetings to be 7 days before today, rather than today, to let meetings linger a bit in the listing and iCalendar file after the meeting has started. Triggered by an observation from resnick@episteme.net about IETF 107 sessions disappearing from 'upcoming.ics' on meeting week Monday.
- Legacy-Id: 17518
2020-03-23 12:03:00 +00:00
Henrik Levkowetz d2eedb4a94 Merged in [17487] from rjsparks@nostrum.com:
Let chairs know what to do after material submission uploads have been cut off. Fixes #2887.
 - Legacy-Id: 17507
Note: SVN reference [17487] has been migrated to Git commit ebdadf38f2
2020-03-22 18:13:11 +00:00
Henrik Levkowetz f7cf2f5090 Merged in [17466] from rcross@amsl.com:
Add migration to cancel 107 sessions
 - Legacy-Id: 17501
Note: SVN reference [17466] has been migrated to Git commit 931c5ce6cd
2020-03-22 11:41:26 +00:00
Robert Sparks ebdadf38f2 Let chairs know what to do after material submission uploads have been cut off. Fixes #2887. Commit ready for merge.
- Legacy-Id: 17487
2020-03-21 19:40:17 +00:00
Henrik Levkowetz 1de0c2ac19 Merged in [17480] from rjsparks@nostrum.com:
Show UTC times in interim announcements if the interim has a non-UTC timzone. Fixes #2922.
 - Legacy-Id: 17482
Note: SVN reference [17480] has been migrated to Git commit 091ac7e37f
2020-03-21 16:36:20 +00:00
Robert Sparks 091ac7e37f Show UTC times in interim announcements if the interim has a non-UTC timzone. Fixes #2922. Commit ready for merge.
- Legacy-Id: 17480
2020-03-20 20:47:35 +00:00
Ryan Cross 931c5ce6cd Add migration to cancel 107 sessions
- Legacy-Id: 17466
2020-03-19 17:48:03 +00:00
Henrik Levkowetz 9acd467e75 Merged in [17442] from rjsparks@nostrum.com:
Allow area groups to request interim meetings. Fixed #2919.
 - Legacy-Id: 17443
Note: SVN reference [17442] has been migrated to Git commit 1664438c52
2020-03-16 18:22:41 +00:00
Robert Sparks 1664438c52 Allow area groups to request interim meetings. Fixed #2919. Commit ready for merge.
- Legacy-Id: 17442
2020-03-16 16:45:01 +00:00
Henrik Levkowetz 170271d97d Added WebEx room resource name, query method and template logic to show WebEx room resources.
- Legacy-Id: 17437
2020-03-14 12:45:22 +00:00
Henrik Levkowetz c6b2e8e479 Merged in [17425] from rjsparks@nostrum.com:
Make required AD approval of virtual interims configurable. Fixes #2912.
 - Legacy-Id: 17426
Note: SVN reference [17425] has been migrated to Git commit 6248706959
2020-03-12 21:13:22 +00:00
Robert Sparks 6248706959 Make required AD approval of virtual interims configurable. Fixes #2912. Commit ready for merge.
- Legacy-Id: 17425
2020-03-12 19:12:57 +00:00
Henrik Levkowetz 84dca63df7 Merged in [17418] from rjsparks@nostrum.com:
Correctly represent cancelled sessions in ics files. Fixes #2905.
 - Legacy-Id: 17421
Note: SVN reference [17418] has been migrated to Git commit 51327d0767
2020-03-11 19:45:26 +00:00
Robert Sparks 51327d0767 Correctly represent cancelled sessions in ics files. Fixes #2905. Commit ready for merge.
- Legacy-Id: 17418
2020-03-11 15:28:15 +00:00
Henrik Levkowetz 60e302ab5a Avoid trying to open meeting documents with empty .uploaded_filename.
- Legacy-Id: 17417
2020-03-10 17:59:56 +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
Sasha Romijn 56d73e4b82 Added a management command to create a dummy IETF 999 meeting.
- Legacy-Id: 17395
2020-03-06 13:24:23 +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
Sasha Romijn ac5c57faa0 Fix accidentally committed typo from [17289]
- Legacy-Id: 17393
Note: SVN reference [17289] has been migrated to Git commit a227813dc5
2020-03-06 12:21:20 +00:00
Henrik Levkowetz 726fcbf27d Removed all __future__ imports.
- Legacy-Id: 17391
2020-03-05 23:53:42 +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 566971a6ae Removed further six usage.
- Legacy-Id: 17386
2020-03-05 15:10:33 +00:00
Henrik Levkowetz e9a37d8ac8 Removed six.text_type(), changed six.moves.urllib to plain urllib, and removed now unused six imports.
- Legacy-Id: 17385
2020-03-05 14:41:41 +00:00
Henrik Levkowetz a14e38a1a1 Replaced most cases of using of urlopen(), instead using the higher-level 'requests' module where it simplifies the code.
- Legacy-Id: 17380
2020-03-03 17:34:42 +00:00
Sasha Romijn 4decb23022 Add 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.
 - Legacy-Id: 17378
2020-03-03 15:16:58 +00:00
Sasha Romijn 825a054d19 Add 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.
 - Legacy-Id: 17321
Note: SVN reference [17289] has been migrated to Git commit a227813dc5
2020-02-21 13:27:11 +00:00
Henrik Levkowetz 2aa948a17b Changed some remaining cases of open() to io.open().
- Legacy-Id: 17319
2020-02-20 22:35:49 +00:00
Henrik Levkowetz ab99478913 Fixed a bug in the resource description for SchedulingEvent that prevented it from being accessed under /api/v1/meeting/schedulingevent/.
- Legacy-Id: 17303
2020-02-17 12:20:14 +00:00
Henrik Levkowetz d902aa0b1b Added search fields to the admin index for SchedulingEvent.
- Legacy-Id: 17302
2020-02-17 12:17:37 +00:00
Henrik Levkowetz c04cbd5692 Added missin test directory creation and removal in setUp() and tearDown() in MeetingTests.
- Legacy-Id: 17295
2020-02-16 15:43:32 +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
Robert Sparks 8a5f960569 Set a meaningful state in a test fixture. Tests surprisingly were not broken by this though. Commit ready for merge.
- Legacy-Id: 17268
2020-01-30 22:15:00 +00:00
Robert Sparks a5dab5385c Improve the tests for session draft bundles to exercise the code that extracts draftnames from agendas. Commit ready for merge.
- Legacy-Id: 17266
2020-01-30 21:50:36 +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
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 63f0896644 Changed tobinary file mode for pdf file. Fixed a str/num comparison.
- Legacy-Id: 16417
2019-07-07 12:59:26 +00:00
Henrik Levkowetz f8d4c3c9a6 More assertContains() and BytesIO() related changes.
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00
Henrik Levkowetz 40fb7b3588 Added a missing import.
- Legacy-Id: 16407
2019-07-06 19:22:37 +00:00
Henrik Levkowetz 40ab3c949f Added missing code to skip coverage measurement for skippable tests.
- Legacy-Id: 16406
2019-07-06 17:27:49 +00:00
Henrik Levkowetz 77e055264e Fixed an incorrect test that compared the meeting number string with an integer.
- Legacy-Id: 16395
2019-07-04 20:56:35 +00:00
Henrik Levkowetz f33ecaa1a4 Fixed a test that compared an int with a meeting number string. Changed meeting test data to use meeting number 72 instead of 42, because proceedings code gives 404 for meetings before 65. Changed a number of StringIO() to BytesIO().
- Legacy-Id: 16378
2019-07-04 16:01:32 +00:00
Henrik Levkowetz 97a555936d Changed a large number of test assertions to use assertContains() and removed separate, now unnecessary,status_code checks. Also changed many assertTrue(... in ...) to use assertIn().
- Legacy-Id: 16346
2019-06-30 21:03:34 +00:00
Henrik Levkowetz 36cac48063 Fixed a bunch of str/bytes issues.
- Legacy-Id: 16341
2019-06-30 20:54:09 +00:00
Henrik Levkowetz 05f275a3af Changed instances of json.loads(r.content) to r.json(). Changed some instances of assert* to assertContains.
- Legacy-Id: 16338
2019-06-30 20:44:45 +00:00
Henrik Levkowetz 15e74e89cb Converted instances of assertTrue(text in response.content) to the recommended assertContains(response, text), and similar for assertFalse(... in ...)
- Legacy-Id: 16336
2019-06-29 13:43:31 +00:00
Henrik Levkowetz 484dcece5f Changed all model __unicode__() methods to __str__()
- Legacy-Id: 16330
2019-06-28 21:07:08 +00:00
Henrik Levkowetz 318bd0d5ea Changed regex strings to r strings.
- Legacy-Id: 16320
2019-06-28 13:32:50 +00:00
Henrik Levkowetz 2fdaa7f9c4 Changed sort() argument to use key=
- Legacy-Id: 16314
2019-06-27 18:10:13 +00:00
Henrik Levkowetz 06daf6ac65 Changed regex strings to raw strings.
- Legacy-Id: 16312
2019-06-27 18:08:02 +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 db12f2b948 Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729.
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz 7270d5f67a Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
- Legacy-Id: 16284
2019-06-18 12:40:19 +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 a2cafded25 Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
- Legacy-Id: 16249
2019-06-14 20:38:14 +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 3502a49cab Fixed a problem in 3 views that were accessible through URLs without meeting numbers (e.g., .../meeting/proceedings/overview/) but gave 500 errors when accessed.
- Legacy-Id: 16185
2019-05-02 20:00:07 +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 8b44e43168 Added a missing test directory cleanup action.
- Legacy-Id: 16157
2019-04-25 13:13:03 +00:00
Henrik Levkowetz 6892a55db0 Fixed a migrations conflict
- Legacy-Id: 16128
2019-04-03 10:28:49 +00:00
Henrik Levkowetz c52bec1ea7 Merged in [16103] from rjsparks@nostrum.com:
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets.
 - Legacy-Id: 16119
Note: SVN reference [16103] has been migrated to Git commit 0b3cf0a1af
2019-03-28 13:03:30 +00:00