Commit graph

83 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
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +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 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 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 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 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
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
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 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
Ryan Cross c8f3760dbe refactor code dealing with interim materials path
- Legacy-Id: 11229
2016-05-23 22:58:45 +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 d17564d695 Preserve the assumptions in the secr/proceedings code by isolating it from drafts now appearing in sessionpresentations. Commit ready for merge.
- Legacy-Id: 10857
2016-02-24 22:18:38 +00:00
Henrik Levkowetz bc9a85a075 Merged [10721] and [10724] from rcross@amsl.com:
Removed Test watermark from interim meeting index background.  Rewrote merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute.  Fixes #1627.
 - Legacy-Id: 10740
Note: SVN reference [10721] has been migrated to Git commit e97cd64bbb

Note: SVN reference [10724] has been migrated to Git commit 8efb9229f6
2016-01-26 21:31:46 +00:00
Ryan Cross 8efb9229f6 Remove Test watermark from interim meeting index background. Commit ready for merge
- Legacy-Id: 10724
2016-01-22 20:52:43 +00:00
Ryan Cross e97cd64bbb Rewrite merge-person-records utility script to handle all related objects in a generic manner, remove old User records and handle email primary attribute. Fixes #1627. Commit ready for merge
- Legacy-Id: 10721
2016-01-22 20:37:29 +00:00
Henrik Levkowetz 8aafb65743 Merged in [10383] from rcross@amsl.com:
Update proceedings permissions.
 - Legacy-Id: 10410
Note: SVN reference [10383] has been migrated to Git commit 788748d7e7
2015-11-03 14:43:47 +00:00
Ryan Cross 8c82fef683 Add more information to Secretariat session recordings view. Commit ready for merge
- Legacy-Id: 10348
2015-10-31 09:00:15 +00:00
Henrik Levkowetz 71dec7a692 Moved forward to 6.7.2.dev0 the changes to rename class ScheduledSession to the more correct (but unfortunately also cumbersome) SchedTimeSessAssignment, and rename reverse relationships involving this class appropriately. Accompanying changes in javascript and templates. Migrations to match.
- Legacy-Id: 10297
2015-10-26 22:45:26 +00:00
Ole Laursen e91c97e7ff Summary: Save doc state in history in delete_material
- Legacy-Id: 10106
2015-09-29 12:55:54 +00:00
Ole Laursen e1f0917659 Summary: Add new document saving API, Document.save_with_history(events).
The new API requires at least one event and will automatically save a
snapshot of the document and related state. Document.save() will now
throw an exception if called directly, as the new API is intended to
ensure that documents are saved with both an appropriate snapsnot and
relevant history log, both of which are easily defeated by just
calling .save() directly.

To simplify things, the snapshot is generated after the changes to a
document have been made (in anticipation of coming changes), instead
of before as was usual.

While revising the existing code to work with this API, a couple of
missing events was discovered:

- In draft expiry, a "Document has expired" event was only generated
  in case an IESG process had started on the document - now it's
  always generated, as the document changes its state in any case

- Synchronization updates like title and abstract amendmends from the
  RFC Editor were silently (except for RFC publication) applied and
  not accompanied by a descriptive event - they now are

- do_replace in the Secretariat tools now adds an event

- Proceedings post_process in the Secretariat tools now adds an event

- do_withdraw in the Secretariat tools now adds an event

A migration is needed for snapshotting all documents, takes a while to
run. It turns out that a single document had a bad foreign key so the
migration fixes that too.
 - Legacy-Id: 10101
2015-09-28 14:01:03 +00:00
Henrik Levkowetz c1a9ec325f Merged in [9774] from lars@netapp.com:
More HTML fixes.
 - Legacy-Id: 9790
Note: SVN reference [9774] has been migrated to Git commit d9f291d7e75bb33260e986b6eddf7d15b28da305
2015-07-18 13:02:53 +00:00
Ryan Cross 9b5a69219e Remove unused javascript reference. Fixes #1752. Commit ready for merge.
- Legacy-Id: 9773
2015-07-18 10:02:12 +00:00
Henrik Levkowetz 494af99d9a Merged in [9701] from rcross@amsl.com:
Fix settings CORRECTION_DAYS variable name.
 - Legacy-Id: 9707
Note: SVN reference [9701] has been migrated to Git commit dade901827
2015-07-09 13:05:34 +00:00
Ryan Cross dade901827 Fix settings CORRECTION_DAYS variable name. Commit ready for merge.
- Legacy-Id: 9701
2015-07-08 16:03:07 +00:00
Henrik Levkowetz b44141a655 Merged in [9671] from rcross@amsl.com:
Fixes #1724.  Convert PPT materials to PDF.
 - Legacy-Id: 9682
Note: SVN reference [9671] has been migrated to Git commit 8bf84a7e0e
2015-06-23 19:02:57 +00:00
Henrik Levkowetz d0cdc45fe8 Merged in [9666] from rcross@amsl.com:
Fixes #1723.  Area names hardcoded in Proceedings app.
 - Legacy-Id: 9680
Note: SVN reference [9666] has been migrated to Git commit 7b34252d29
2015-06-23 18:40:39 +00:00
Ryan Cross 8bf84a7e0e Fixes #1724. Convert PPT materials to PDF. Commit ready for merge.
- Legacy-Id: 9671
2015-06-19 22:43:14 +00:00
Ryan Cross 7b34252d29 Fixes #1723. Area names hardcoded in Proceedings app. Commit ready for merge.
- Legacy-Id: 9666
2015-06-12 17:54:00 +00:00
Henrik Levkowetz 8a32ffbc05 Merged in [9618] from rcross@amsl.com:
Make proceedings generation more robust.
 - Legacy-Id: 9621
Note: SVN reference [9618] has been migrated to Git commit e99af9319c
2015-05-12 04:56:16 +00:00
Ryan Cross e99af9319c Make proceedings generation more robust. Commit ready for merge.
- Legacy-Id: 9618
2015-05-11 23:03:29 +00:00
Robert Sparks 1e30120710 checkpoint. Model changes done and UI tweaked to match.
- Legacy-Id: 9588
2015-04-30 15:57:48 +00:00
Ryan Cross 5ece489701 Fixes #1680. Can't add minutes / agenda after deleting them. Commit ready for merge.
- Legacy-Id: 9527
2015-04-20 21:49:10 +00:00
Robert Sparks d46035003e Put old style slides directly into archived. Migrate IETF92 materials to match. Commit ready for merge.
- Legacy-Id: 9375
2015-04-03 20:53:13 +00:00
Robert Sparks a6c64d2b12 Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views. Commit ready for merge.
- Legacy-Id: 9351
2015-04-01 16:00:05 +00:00
Ryan Cross 096bd5e83e Add AG Secretary to Proceedings authorized roles. Commit ready to merge.
- Legacy-Id: 9143
2015-03-02 23:40:17 +00:00
Henrik Levkowetz ff3603b979 Merged in [9005] from rcross@amsl.com:
Fixed the group link on the standalone Interim Meeting Proceedings
      directory page.

    Also removed some dead code.
 - Legacy-Id: 9015
Note: SVN reference [9005] has been migrated to Git commit 9fed6d8774
2015-02-06 15:25:28 +00:00
Henrik Levkowetz d9e202c4a5 Merged in [8879] from rcross@amsl.com:
Fixes #1580.  grants IRTF Chair access to proceedings.
 - Legacy-Id: 8895
Note: SVN reference [8879] has been migrated to Git commit bfeb650e0e
2015-01-21 21:25:51 +00:00