Henrik Levkowetz
a1c79a075d
Merged in ^/personal/henrik/6.76.1-meetecho-api/ which provides new API endpoint to let video urls be associated with sessions. Also added some more checks to the test_api_set_session_video_url() test.
...
- Legacy-Id: 14969
2018-03-29 15:25:36 +00:00
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
4e5050a6e1
Merged in [14902] from rjsparks@nostrum.com:
...
Test coverage improvements for ietf/secr/telechat/views.
- Legacy-Id: 14916
Note: SVN reference [14902] has been migrated to Git commit 1386a90de8
2018-03-25 00:18:44 +00:00
Henrik Levkowetz
70b2cb5841
Merged in [14900] from rjsparks@nostrum.com:
...
Improvements to test coverage for ietf/secr/drafts/views.py.
- Legacy-Id: 14915
Note: SVN reference [14900] has been migrated to Git commit 79f2f5869f
2018-03-24 22:06:39 +00:00
Robert Sparks
1386a90de8
Test coverage improvements for ietf/secr/telechat/views. Commit ready for merge.
...
- Legacy-Id: 14902
2018-03-22 18:44:38 +00:00
Robert Sparks
79f2f5869f
Improvements to test coverage for ietf/secr/drafts/views.py. Commit ready for merge.
...
- Legacy-Id: 14900
2018-03-22 15:34:50 +00:00
Henrik Levkowetz
c8ebcf1f88
Merged in [14879] from kivinen@iki.fi:
...
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents.
- Legacy-Id: 14898
Note: SVN reference [14879] has been migrated to Git commit 75dbe017a6
2018-03-22 00:01:57 +00:00
Tero Kivinen
75dbe017a6
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents. Commit ready for merge.
...
- Legacy-Id: 14879
2018-03-20 17:28:48 +00:00
Henrik Levkowetz
1ece5f1f3b
Removed premature save of upload document state (doing it after verifying that the save to file worked instead). Tweaked materials documents revision extraction regexes. Added a test on no change of materials rev after failed upload. Corrected the naming of materials in make_meeting_test_data. Refined the test crawl of meeting materials pages.
...
- Legacy-Id: 14865
2018-03-19 01:05:52 +00:00
Henrik Levkowetz
a7b9c4b733
Merged in [14845] from rcross@amsl.com:
...
Remove unused roles/forms.py.
- Legacy-Id: 14859
Note: SVN reference [14845] has been migrated to Git commit 01bfbff170
2018-03-18 14:09:14 +00:00
Ryan Cross
01bfbff170
Remove unused roles/forms.py. Commit ready for merge
...
- Legacy-Id: 14845
2018-03-17 15:49:02 +00:00
Robert Sparks
e630793802
Simple coverage tests for ietf/secr/drafts/reports.py. Commit ready for merge.
...
- Legacy-Id: 14830
2018-03-15 23:11:43 +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
ad2139dc8f
Fixed a settings typo.
...
- Legacy-Id: 14725
2018-03-03 18:30:19 +00:00
Henrik Levkowetz
4c6aa091b1
Added date information to the 'scheduled session' emails, and also a link to an ical file for the group sessions. Fixes issue #2461 .
...
- Legacy-Id: 14722
2018-03-02 16:43:56 +00:00
Henrik Levkowetz
de0c60884f
Added a missing pyflakes pragma.
...
- Legacy-Id: 14713
2018-02-28 16:58:35 +00:00
Henrik Levkowetz
28bd9eadda
Make sure that sessions listed in session scheduling notification emails are listed in time order. Fixes issue #2460 .
...
- Legacy-Id: 14712
2018-02-28 13:28:51 +00:00
Henrik Levkowetz
28d64fe593
Removed unused imports
...
- Legacy-Id: 14675
2018-02-22 00:14:03 +00:00
Henrik Levkowetz
19980de327
Fixed a bug in the queryset argument of a form field declaration.
...
- Legacy-Id: 14669
2018-02-22 00:05:46 +00:00
Henrik Levkowetz
26bf387356
Replaced direct assignment to m2m fields with .clear() and .set()
...
- Legacy-Id: 14666
2018-02-21 23:58:25 +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
Robert Sparks
dfc1d2aa9a
Warn when putting a draft on a telechat that is so close that directorates will probably not have time to complete a review. Fixes #2381 . Commit ready for merge.
...
- Legacy-Id: 14539
2018-01-18 22:14:30 +00:00
Henrik Levkowetz
edcfcd11f1
Added more logging during draft resurrection. Added a guard agains draft status changes while the draft expiration loop is running.
...
- Legacy-Id: 14488
2018-01-06 16:01:21 +00:00
Henrik Levkowetz
92db803bac
Removed code that has been marked unreachable for more than 5 months.
...
- Legacy-Id: 14472
2017-12-29 19:48:18 +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
1f976da5c1
Third part of document read refactoring, after [14406] and [14410]. This replaces all usage of the non-unicode-aware get_document_content() function with unicode-aware Document.text() or Document.text_or_error() methods. This was triggered by yet another report of unicode content not being shown properly, and should fix all instances of document (drafts, agendas, minutes, etc.) display in the datatracker not handling unicode characters properly.
...
- Legacy-Id: 14411
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
Note: SVN reference [14410] has been migrated to Git commit 660c81c272
2017-12-11 16:23:51 +00:00
Henrik Levkowetz
660c81c272
Tweaked the file content read refactoring in [14406] to try latin-1 conversion if unicode doesn't work.
...
- Legacy-Id: 14410
Note: SVN reference [14406] has been migrated to Git commit 967ece7e7d
2017-12-10 17:48:09 +00:00
Henrik Levkowetz
967ece7e7d
Started refactoring of reading text from document files (drafts, charters, etc.) in order to normalise on one way of doing this, and making that return unicode rather than undecoded bytes. This is the first step of two, in order to gauge the possible issues and report on discrepancies.
...
- Legacy-Id: 14406
2017-12-08 21:51:11 +00:00
Henrik Levkowetz
98d234cd86
Refactored the handling of BallotDocEvent in tests, only creating them as needed, in preparation for stricter checks on state transitions to avoid mismatches between state and ballot.
...
- Legacy-Id: 14380
2017-11-30 16:02:31 +00:00
Ryan Cross
bf3a49466f
Improve test coverage for ietf.secr.sreq. Commit ready for merge
...
- Legacy-Id: 14362
2017-11-11 09:33:27 +00:00
Henrik Levkowetz
4f83548b49
Added a new field Meeting.days to capture the length of a meeting. This is necessary now that we have previous meetings officially starting Sunday, lasting to Friday, and future meetings starting Saturday, Lasting to Friday. We use Meeting.days to calculate Meeting.end_date(). Meeting.get_ietf_monday() and two cut_off() methods have also been updated to be instance methods instead of class methods, and to not assume that a meeting starts on Sunday.
...
- Legacy-Id: 14225
2017-10-25 13:38:15 +00:00
Ryan Cross
b9bf77b543
Changed to not check timeslot type on delete because other types now have this option. Commit ready for merge
...
- Legacy-Id: 14211
2017-10-16 20:37:15 +00:00
Ryan Cross
4a71c1476f
Fix issue creating new timeslots in secretariat scheduling tool caused by changing the meeting start date to a Saturday. Commit ready for merge.
...
- Legacy-Id: 14189
2017-10-05 20:28:39 +00:00
Henrik Levkowetz
cbda2679a9
Removed some unreachable code.
...
- Legacy-Id: 14150
2017-09-22 14:45:21 +00:00
Ryan Cross
a85a76247a
Change announcement tool access function to use data from AnnouncementFrom objects. Fixes #2362 . Commit ready for merge
...
- Legacy-Id: 14103
2017-09-06 21:29:59 +00:00
Henrik Levkowetz
868427a645
Merged in [13996] from rcross@amsl.com:
...
Move Announcement app From addresses out of code and into database table. Fixes #1681 .
- Legacy-Id: 14006
Note: SVN reference [13996] has been migrated to Git commit d49787a0f6060e7db64f5a0e684bf1d980f85290
2017-07-29 18:12:45 +00:00
Henrik Levkowetz
0d1feacb42
Merged in [13957] from rjsparks@nostrum.com:
...
Moves Important Dates into the datatracker. Fixes #2338 .
- Legacy-Id: 13962
Note: SVN reference [13957] has been migrated to Git commit 2e6f26af23
2017-07-21 16:30:04 +00:00
Robert Sparks
2e6f26af23
Moves Important Dates into the datatracker. Fixes #2338 . Commit ready for merge.
...
- Legacy-Id: 13957
2017-07-21 10:29:56 +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
Jean Mahoney
8bb332d8e8
Made email subject 'I-D ACTION:<draft>' consistent with other 'I-D Action: <draft>' email subjects. Fixes #1519 . Commit ready for merge.
...
- Legacy-Id: 13892
2017-07-15 11:05:29 +00:00
Henrik Levkowetz
ccf170bb5f
Modified a test to make it less sensitive to timing vagaries causing arbitrary failures.
...
- Legacy-Id: 13846
2017-07-12 15:24:39 +00:00
Henrik Levkowetz
d2395f9521
Merged in [13832] from rjsparks@nostrum.com:
...
Treat Area Groups similar to Working Groups and Research Groups where it makes sense to do so.
- Legacy-Id: 13836
Note: SVN reference [13832] has been migrated to Git commit 2c92aa213d
2017-07-11 21:57:01 +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