Commit graph

224 commits

Author SHA1 Message Date
Henrik Levkowetz d9a40f8ef4 Renamed some view funtions for consistency. Almost all .json enpoints were named *_json(), but not all. Fixed in this commit, together with the equivalent renaiming for one .ical endpoint.
- Legacy-Id: 17855
2020-05-20 14:19:37 +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 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
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 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 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 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 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 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
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 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
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 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
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
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
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
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
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
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
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
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 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
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 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
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
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
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 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 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
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 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 f8d4c3c9a6 More assertContains() and BytesIO() related changes.
- Legacy-Id: 16411
2019-07-07 12:45:57 +00:00