Henrik Levkowetz
0ef66ae9e2
Added optional arguments title and user to create_recording(), to make it possible to affect those attributes.
...
- Legacy-Id: 14966
2018-03-29 11:02:58 +00:00
Henrik Levkowetz
278d868d28
Added handling for when file magic doesn't return a definitive encoding for a file. Added a test case to excercise error cases.
...
- Legacy-Id: 14782
2018-03-13 16:45:50 +00:00
Henrik Levkowetz
8f4f50d5c4
Added a new argument encoding= to handle_upload_file() in order to be able to deal better with various upload encodings.
...
- Legacy-Id: 14780
2018-03-13 13:56:00 +00:00
Henrik Levkowetz
6e9bb00f13
Changed html cleaning to differentiate between fragment cleaning and document cleaning. Added an lxml-based cleaner for document cleaning, also permitting <style> tags (but not external style sheets).
...
- Legacy-Id: 14775
2018-03-13 12:48:22 +00:00
Henrik Levkowetz
2fd344f810
Tweaks to handle text types better and make set operation clearer.
...
- Legacy-Id: 14745
2018-03-07 21:10:47 +00:00
Henrik Levkowetz
802f201d81
Modified the sanitizer and upload handler to strip also the content of some tags, and to produce valid files (if the content is otherwise valid).
...
- Legacy-Id: 14744
2018-03-07 19:00:24 +00:00
Henrik Levkowetz
2828683cee
Replaced html sanitization code that called html5lib directly with calls to bleach, and upgraded the requirements to let us use the latest html5lib and bleach.
...
- Legacy-Id: 14739
2018-03-06 18:35:34 +00:00
Henrik Levkowetz
b92ad2f992
Added sanitization of uploaded html content for session agendas and minutes, and did some refactoring of the upload form classes.
...
- Legacy-Id: 14738
2018-03-06 15:55:30 +00:00
Henrik Levkowetz
28d64fe593
Removed unused imports
...
- Legacy-Id: 14675
2018-02-22 00:14:03 +00:00
Henrik Levkowetz
06362ec046
Got rid of old migrations and created new initial migrations.
...
- Legacy-Id: 14662
2018-02-21 23:46:22 +00:00
Henrik Levkowetz
5638cf3da3
Changed all usage of ForeignKey and OneToOneFiled in model.py files to the compatibility versions from ietf.utils.models.
...
- Legacy-Id: 14661
2018-02-20 15:36:05 +00:00
Henrik Levkowetz
f697d9ecb6
Merged in [14404] from rjsparks@nostrum.com:
...
Include an explicitly set Responsible ADs email addresses in generated aliases when a document has a group.
- Legacy-Id: 14424
Note: SVN reference [14404] has been migrated to Git commit e36cad65ed
2017-12-15 23:57:41 +00:00
Henrik Levkowetz
3d5862a9d4
Changed get_timeslot_for_filename() to not blow up in the presence of duplicate timeslots.
...
- Legacy-Id: 13952
2017-07-20 12:43:38 +00:00
Robert Sparks
2c92aa213d
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so. Commit ready for merge.
...
- Legacy-Id: 13832
2017-07-11 19:12:21 +00:00
Ryan Cross
7d244c9a38
Remove legacy external interim meeting listing. Install redirect to /meeting/past. Fixes #2166 . Commit ready for merge.
...
- Legacy-Id: 13727
2017-06-29 00:09:36 +00:00
Henrik Levkowetz
2e20d9df66
Changed all instances of deprecated self.failUnless() unittest method to self.assertTrue().
...
- Legacy-Id: 13515
2017-06-04 16:24:34 +00:00
Henrik Levkowetz
d23650e382
Merged in [13492] from rcross@amsl.com:
...
Remove old proceedings generation code. Fixes #2234 .
- Legacy-Id: 13510
Note: SVN reference [13492] has been migrated to Git commit 254e35fa56
2017-06-04 13:09:16 +00:00
Ryan Cross
254e35fa56
Remove old proceedings generation code. Fixes #2234 . Commit ready for merge.
...
- Legacy-Id: 13492
2017-06-01 23:59:56 +00:00
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