Commit graph

280 commits

Author SHA1 Message Date
Ryan Cross 7ee2a16967 Add import of YouTube session videos using YouTube Data API. Fixes #2249. Commit ready for merge.
- Legacy-Id: 13485
2017-06-01 18:36:46 +00:00
Ryan Cross 264f6f36e2 Allow chairs to upload bluesheets for interim meetings. Fixes #2165. Commit ready for merge.
- Legacy-Id: 13412
2017-05-23 19:56:35 +00:00
Ryan Cross 75a7beb596 Disallow multi-day interim meetings with non-consecutive dates. Fixes #2193. Commit ready for merge.
- Legacy-Id: 13324
2017-05-11 19:30:26 +00:00
Henrik Levkowetz 457f0ee4e3 Fixed a bug in the json_agenda data, calculating room midpoints correctly.
- Legacy-Id: 13180
2017-03-31 18:54:08 +00:00
Henrik Levkowetz 69c9d25022 Merged in [13125] from rcross@amsl.com:
Add REST API endpoint to notify Datatracker that new recording files are available.
 - Legacy-Id: 13158
Note: SVN reference [13125] has been migrated to Git commit a50b09b152
2017-03-27 21:51:55 +00:00
Ryan Cross a50b09b152 Add REST API endpoint to notify Datatracker that new recording files are available. Commit ready for merge.
- Legacy-Id: 13125
2017-03-25 21:52:11 +00:00
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Ryan Cross eb10f54bd6 Fixes interim meeting edit form returning 500 when duration field is empty. Fixes #2206. Commit ready for merge.
- Legacy-Id: 13022
2017-03-17 18:49:33 +00:00
Henrik Levkowetz 4daf66d11c Added DocEvent rev= parameter througout the code.
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz 73a2d86f12 Added an unreachable mark
- Legacy-Id: 12964
2017-03-04 05:19:01 +00:00
Henrik Levkowetz aa5e61d958 Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
in order to autogenerate dotted path url pattern names.  Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.

Changed some imports to prevent import of ietf.urls before django
initialization was complete.


Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.

Started converting old-style middleware classes to new-style middleware
functions (incomplete).

Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.

Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.

Rewrote the filename argument handling in a management command which had
broken with the upgrade.
 - Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz 17a7f59cd6 Deprecation fixes: Use request.GET or request.POST as appropriate, instead of request.REQUEST.
- Legacy-Id: 12533
2016-12-15 13:21:33 +00:00
Henrik Levkowetz 8e56935cfd Undid commit 12527, which contained much too much.
- Legacy-Id: 12528
2016-12-15 10:38:54 +00:00
Henrik Levkowetz e3c6e0ac6b Changed the state shown in all_id.txt for drafts which have entered IESG processing, but then been replaced, to show as 'Replaced' instead of 'In IESG Processing'. This is consistent with how they are shown in all_id2.txt.
- Legacy-Id: 12527
2016-12-15 10:36:15 +00:00
Henrik Levkowetz 05379e2e2d Undid unintended change.
- Legacy-Id: 12399
2016-11-26 20:04:01 +00:00
Henrik Levkowetz a0ed8c7694 Made session minutes available with the same kind of url as session minutes: /meeting//minutes/. (Both of these need to be refined to handle multiple agendas and minutes, for groups having multiple sessions in a meeting.)
- Legacy-Id: 12398
2016-11-25 16:44:31 +00:00
Henrik Levkowetz 216ed80529 Merged in code from rcross@amsl.com to bring back the automatic conversion of slides from powerpoint to pdf.
- Legacy-Id: 12379
2016-11-17 07:30:14 +00:00
Henrik Levkowetz 0a15bf9bb6 Merged in [12326] from housley@vigilsec.com:
Allow WG Chairs to manage the meeting materials when starting from the old WG Chair Dashboard in ietf.secr.proceedings
 - Legacy-Id: 12370
Note: SVN reference [12326] has been migrated to Git commit a37f41823c
2016-11-17 00:26:51 +00:00
Henrik Levkowetz a771e8fad6 Merged in [12352] from rjsparks@nostrum.com:
Add links to session materials pages to the rows on the by-type view of the agenda.
 - Legacy-Id: 12360
Note: SVN reference [12352] has been migrated to Git commit ba60c115fa
2016-11-16 04:22:51 +00:00
Robert Sparks ba60c115fa Add links to session materials pages to the rows on the by-type view of the agenda. Commit ready for merge.
- Legacy-Id: 12352
2016-11-15 06:58:37 +00:00
Henrik Levkowetz 8fcbf7507e Fixed another duplicate entry issue with materials uploads.
- Legacy-Id: 12350
2016-11-15 01:01:50 +00:00
Henrik Levkowetz 7d443357b0 Merged in [12334] from rcross@amsl.com:
Fix parameter validations in meeting.views.ajax_get_utc().  Fixes 2023.  Also fix pyflakes error.
 - Legacy-Id: 12345
Note: SVN reference [12334] has been migrated to Git commit 38a24b57e9
2016-11-14 05:12:34 +00:00
Henrik Levkowetz aa4a46086a Merged in [12330] and [12331] from rcross@amsl.com:
Add the ability for the Secretariat to skip the announcement when scheduling an IRTF interim meeting. Fixes #2015.
 - Legacy-Id: 12344
Note: SVN reference [12330] has been migrated to Git commit d7c1fddb32

Note: SVN reference [12331] has been migrated to Git commit b04d07e5aa
2016-11-14 05:02:10 +00:00
Henrik Levkowetz f9b61202f7 Fixed another case where pre-existing database objects related to meeting materials would cause exceptions when trying to upload updates.
- Legacy-Id: 12343
2016-11-14 04:25:53 +00:00
Ryan Cross 38a24b57e9 Fix parameter validations in meeting.views.ajax_get_utc(). Fixes 2023. Also fix pyflakes error. Commit ready for merge
- Legacy-Id: 12334
2016-11-12 07:59:52 +00:00
Ryan Cross d7c1fddb32 Add the ability for the Secretariat to skip the announcement when scheduling an IRTF interim meeting. Fixes #2015. Commit ready for merge.
- Legacy-Id: 12330
2016-11-12 07:11:59 +00:00
Robert Sparks 467ec82336 Added groups that did not meet to the proceedings. Commit ready for merge.
- Legacy-Id: 12329
2016-11-12 07:09:01 +00:00
Russ Housley a37f41823c Allow WG Chairs to manage the meeting materials when starting from the old WG Chair Dashboard in ietf.secr.proceedings
- Legacy-Id: 12326
2016-11-12 05:40:12 +00:00
Robert Sparks 3c04782559 Guard against sessions that have no timeslot (such as for groups that are not officially not meeting at an IETF meeting) in the materials upload views. Commit ready for merge.
- Legacy-Id: 12316
2016-11-11 07:09:41 +00:00
Robert Sparks e3c3b716cd Add a view of past meetings. Commit ready for merge.
- Legacy-Id: 12315
2016-11-11 06:48:26 +00:00
Henrik Levkowetz 71d5eca6e6 If a session agenda for a meeting exists, but is not bound to the session, the Document.objects.create() in upload_session_agenda() will fail. Using get_or_create() instead.
- Legacy-Id: 12270
2016-11-07 12:19:03 +00:00
Henrik Levkowetz aec77c2385 Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz af584c6a1f Removed caching of the materials page (edit buttons are different for different users), and used select_related() and code re-write to reduce the sql query count from ~1900 to ~600, query time from ~2s to ~0.5s. More can be done, but the page response time is more acceptable now.
- Legacy-Id: 12218
2016-10-26 19:06:06 +00:00
Henrik Levkowetz 80e52ef0a1 Modified a test in upcoming_ical() to not break if a group does not have a parent.
- Legacy-Id: 12153
2016-10-17 17:33:01 +00:00
Henrik Levkowetz 1a92efb77e Merged in ^/branch/proceedings/6.33.1.dev0@12141 from rcross@amsl.com:
Added meeting proceedings introduction pages: Progress Report and Attendees.  Added a data migration to provide proceedings introduction information for IETF 95 and 96.
 - Legacy-Id: 12150
2016-10-14 15:48:10 +00:00
Ryan Cross 743ec4d7ff Refactor Proceedings Introduction pages tests and implementation. Commit ready for merge
- Legacy-Id: 12140
2016-10-13 23:31:03 +00:00
Henrik Levkowetz d27fdb976b Fixed a schedule save-as redirect which could not match any URL, leading to a 500 error.
- Legacy-Id: 12134
2016-10-13 18:42:18 +00:00
Henrik Levkowetz 05c26ba4c9 The db api prefers resource URIs ending in slash -- make it so in json_agenda().
- Legacy-Id: 12121
2016-10-12 18:09:18 +00:00
Ryan Cross c3d4cc1aea Add meeting proceedings introduction pages: Progress Report and Attendees. Commit ready for merge.
- Legacy-Id: 12111
2016-10-10 21:21:02 +00:00
Henrik Levkowetz 87bf9d0ccb Merged in [12038] from rjsparks@nostrum.com:
Change how document names are generated for agendas and slides to allow uploads before meetings are scheduled.
 - Legacy-Id: 12045
Note: SVN reference [12038] has been migrated to Git commit 55febb5432
2016-09-26 19:18:19 +00:00
Robert Sparks 55febb5432 Change how document names are generated for agendas and slides to allow uploads before meetings are scheduled. Commit ready for merge.
- Legacy-Id: 12038
2016-09-26 17:34:29 +00:00
Henrik Levkowetz 8c34e9d78d Merged in ^/branch/proceedings/6.33.1.dev0 from rjsparks@nostrum.com and rcross@amsl.com. This provides new ietf meeting proceedings pages.
- Legacy-Id: 12028
2016-09-23 17:33:43 +00:00
Robert Sparks c7b82bdf1d Open the new proceedings page for anyone to see. Commit ready for merge.
- Legacy-Id: 12019
2016-09-22 21:09:09 +00:00
Robert Sparks 2042f981bd Changed default for apply_to_all for Slide uploads to False.
Added redirect for non-secretariat users from ietf.secr.proceedings.views.select to ietf.meeting.views.materials.
Added a note to the secr upload_footer pointing to where material upload is now done.
Modified the links on the group meetings page to make it less likely to miss the link to the session materials.
Used class anchor target to clean up landing on the right session of multiple sessions on a group's session details page. Modified the materials page to only add a fragment asking for that anchor for non-ag/wg/rg groups.
Only show the link to the (now) secretariat-only proceedings manipulation page if the user is the secretariat. Relabelled the link to better reflect the page's remaining purpose.
Changed the session_details "Artifacts" panel header to "Agenda, Minutes, and Bluesheets". Added a footer to the "Slides" panel calling out drag-and-drop reordering.
Commit ready for merge.
 - Legacy-Id: 12018
2016-09-22 20:15:57 +00:00
Henrik Levkowetz 18b7a2fcdb On request, changed the agenda and minutes links in json_agenda to point at the document text instead of the document API endpoint.
- Legacy-Id: 12011
2016-09-20 20:46:32 +00:00
Henrik Levkowetz c8335f4c59 Set the is_bof flag in json_agenda also when it's false.
- Legacy-Id: 12010
2016-09-20 20:31:39 +00:00
Henrik Levkowetz e553ff80d8 Added an is_bof flag to json_agenda. Also added group state information. Changed the group information to use historic information instead of current.
- Legacy-Id: 12009
2016-09-20 20:28:22 +00:00
Henrik Levkowetz fe0bc55632 Added a link to the minutes api to json_agenda(). Changed the output json to use sorted keys.
- Legacy-Id: 12008
2016-09-20 20:04:27 +00:00
Henrik Levkowetz e917c5a0df Added made group a json object in the json_agenda, and added session.group.type information.
- Legacy-Id: 12005
2016-09-20 18:24:08 +00:00
Robert Sparks efa3228314 Added the ability to remove documents from a session to session_details. Made slide upload code more robust against removing a set of slides from a session and then revising them. Commit ready for merge.
- Legacy-Id: 12004
2016-09-19 22:05:59 +00:00