Commit graph

154 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 462fc1a2e5 Refactor to prevent secretariat recordings entry page from timing out. Fixes #2287. Commit ready for merge
- Legacy-Id: 13275
2017-05-08 22:13:50 +00:00
Henrik Levkowetz 14c748df98 Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz 0af1223b3c Merged in [12990] and [12991] from rcross@amsl.com:
Refactor session audio file import.  Add informative email.  Fixes #2164.
 - Legacy-Id: 12998
Note: SVN reference [12990] has been migrated to Git commit 084f8a7495

Note: SVN reference [12991] has been migrated to Git commit 6a5f180fb0
2017-03-12 12:15:37 +00:00
Ryan Cross 084f8a7495 Refactor session audio file import. Add informative email. Fixes #2164. Commit ready for merge
- Legacy-Id: 12990
2017-03-10 23:04:06 +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 5f053ad21a Cleaned up the remaining explicit url names, using dotted-paths to view
functions instead.  In all almost 700 changes.
 - Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz 74af0f5658 Replaced another bunch of explicit url names with dotted-path to the view function.
- Legacy-Id: 12849
2017-02-15 22:11:20 +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 19d585255a Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz 7d71a24358 Added a save for a session presentation object before adding a reference to it.
- Legacy-Id: 12673
2017-01-19 16:11:37 +00:00
Henrik Levkowetz 7b95411f58 The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz c2541ec04b Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Henrik Levkowetz ff9b8a9bdb Deprecation fixes: Explicitly say that redirects are permanent.
- Legacy-Id: 12532
2016-12-15 13:19:51 +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 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
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
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 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 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 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
Robert Sparks 0f6e3f434e Closed off the old paths for materials upload (redirecting some old entry points). Commit ready for merge.
- Legacy-Id: 12000
2016-09-19 19:06:22 +00:00
Ryan Cross c1cc1d639f Fix issue with proceedings for training sessions. Commit ready for merge.
- Legacy-Id: 11988
2016-09-14 17:49:29 +00:00
Henrik Levkowetz ec684e1b4e Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking).
- Legacy-Id: 11941
2016-09-08 14:48:59 +00:00
Henrik Levkowetz e555fe9687 Merged in [11849] from rcross@amsl.com:
Fix bug with main secr/proceedings page and add test.
 - Legacy-Id: 11871
Note: SVN reference [11849] has been migrated to Git commit f5fab30d63
2016-08-25 11:23:47 +00:00
Ryan Cross f5fab30d63 Fix bug with main secr/proceedings page and add test. Commit ready for merge.
- Legacy-Id: 11849
2016-08-23 18:18:09 +00:00
Henrik Levkowetz 4b0a9360f0 Merged in ^/branch/iola/event-saving-refactor-r10291, which refactors document saving to always use doc.save_with_history(events), and requires accompanying events. This branch also provides refactoring of recurring regexes in url patterns into a dictionary. As part of the merge, also refactored new code which didn't use the save_with_history() method.
- Legacy-Id: 11840
2016-08-23 10:52:08 +00:00
Henrik Levkowetz 6f05b23837 Merged in [11778] from rjsparks@nostrum.com:
Enabled and refined document_main view for bluesheets.
Improved migration for 95 and 96 bluesheets, adding DocAlias and DocEvent creation.
Added bluesheet upload to the session details view.
Moved a function out of secr/proceedings/views into its own util.py file to allow reusing it in other modules without introducing circular imports.
 - Legacy-Id: 11811
Note: SVN reference [11778] has been migrated to Git commit 0611444b36bc071e8db068a093cc1ad93bb69659
2016-08-17 18:28:02 +00:00
Robert Sparks 44cd9e0920 Moved the materials start, cutoff, and revision dates into the Meeting object
- Legacy-Id: 11760
2016-08-05 20:44:05 +00:00
Ryan Cross 2e02011725 Changed check_audio_files() to only consider sessions on the official
schedule.  Fixes some 500 errors.  Commit ready to merge.
 - Legacy-Id: 11697
2016-07-17 14:24:01 +00:00
Henrik Levkowetz 61540ac4bb Carry patches to the production back to trunk.
- Legacy-Id: 11673
2016-07-16 13:33:16 +00:00
Henrik Levkowetz 8ca48aac42 Make group acronym regex patterns consistent.
There were multiple different regex patterns in different urlpattern
declarations, with some of them permitting characters which should not
occur in group acronym.  Changed them to consistently use [-a-z0-9]+ .
 - Legacy-Id: 11651
2016-07-13 19:19:15 +00:00
Henrik Levkowetz 37161bbde1 Merged in [11512] from rjsparks@nostrum.com:
Allow RG secretaries to manipulate meeting materials. Fixes #1836.
 - Legacy-Id: 11513
Note: SVN reference [11512] has been migrated to Git commit eb17c03d1d
2016-07-01 21:45:09 +00:00
Robert Sparks eb17c03d1d Allow RG secretaries to manipulate meeting materials. Fixes #1836. Commit ready for merge.
- Legacy-Id: 11512
2016-07-01 20:59:57 +00:00
Ryan Cross 19f9b11032 Remove old interim proceedings location reference. Commit ready for merge.
- Legacy-Id: 11504
2016-06-30 17:02:33 +00:00
Ryan Cross 882fe23828 Fix interim meeting get_proceedings_url() functions. Commit ready for merge.
- Legacy-Id: 11498
2016-06-29 18:53:53 +00:00
Henrik Levkowetz cc6096e190 Merged in [11435] from rcross@amsl.com:
Fix a few things with interim materials management.
 - Legacy-Id: 11438
Note: SVN reference [11435] has been migrated to Git commit f1bb818434c83b4180e9655d062825a5c0016ef8
2016-06-21 12:59:10 +00:00
Henrik Levkowetz 1e50d5dd44 Merged in [11434] from rcross@amsl.com:
Remove legacy secretariat code for adding interim meetings in favor of new ietf.meeting interim features.
 - Legacy-Id: 11437
Note: SVN reference [11434] has been migrated to Git commit 98afcae63a752129c63f0d2e1824bbbb26dbf71f
2016-06-21 12:23:58 +00:00
Henrik Levkowetz e6a005dba6 Added a score of setting save/restores to test setup/teardown actions.
- Legacy-Id: 11436
2016-06-21 07:51:02 +00:00
Henrik Levkowetz ef8da52f27 Refactored the code to not use two different functions to get_next_interim_numbers.
- Legacy-Id: 11425
2016-06-20 18:53:12 +00:00
Henrik Levkowetz d298785fda Merged in ^/branch/amsl/interim@11230, which provides interim meeting management support. Also fixes issues #1961, #1962 and #1964.
- Legacy-Id: 11402
2016-06-17 14:16:27 +00:00
Henrik Levkowetz c83dae57fb Added setting for MEDIA_ROOT, and changed the setting for MEDIA_URL; introduced a setting for the IETF main site URL, for use where MEDIA_URL had been used (incorrectly) earlier.
- Legacy-Id: 11263
2016-06-02 19:17:38 +00:00
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +00:00
Ryan Cross 8fef55dc31 add approval and cancel notifications
- Legacy-Id: 11196
2016-05-16 22:48:43 +00:00
Ryan Cross 523f0d87c4 Fix pyflakes error. Commit ready for merge.
- Legacy-Id: 11074
2016-04-02 19:12:43 +00:00
Ryan Cross 220e2587b8 Add ability to enter recording URLs for non working group sessions. Fixes #1885. Commit ready for merge.
- Legacy-Id: 11072
2016-04-02 18:50:20 +00:00
Robert Sparks ca6512e4fa Capture "Status update" summaries for groups that want to provide them. These updates show on the groups charter (or about) page, and in the group history. The most recent update provided before proceedings corrections closing date is included in the group's page in the meeting proceedings. This addresses the majority of #1773 (a ticket entered on behalf of the IESG). Commit ready for merge.
- Legacy-Id: 10969
2016-03-23 19:42:01 +00:00
Henrik Levkowetz 4cac784522 Renamed a bunch of identically named MainTestCase classes.
- Legacy-Id: 10913
2016-03-06 18:18:38 +00:00