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
Henrik Levkowetz
900174ae57
Added log.unreachable() calls to some functions believed to be unused.
...
- Legacy-Id: 13818
2017-07-09 15:01:21 +00:00
Henrik Levkowetz
c5b52ae91e
Merged in [13775] from rcross@amsl.com:
...
Refactor session edit page. Add button to cancel a session, which sets the status. Fixes #2296 .
- Legacy-Id: 13776
Note: SVN reference [13775] has been migrated to Git commit 9ac9493a70
2017-07-05 21:35:59 +00:00
Ryan Cross
9ac9493a70
Refactor session edit page. Add button to cancel a session, which sets the status. Fixes #2296 . Commit ready for merge.
...
- Legacy-Id: 13775
2017-07-05 20:23:10 +00:00
Henrik Levkowetz
9415d65341
Merged in [13727] from rcross@amsl.com:
...
Remove legacy external interim meeting listing. Install redirect to /meeting/past. Fixes #2166 .
- Legacy-Id: 13742
Note: SVN reference [13727] has been migrated to Git commit 7d244c9a38
2017-06-30 18:36:10 +00:00
Henrik Levkowetz
ad3701e457
Fixed an issue with the test_edit_replace_user() test
...
- Legacy-Id: 13740
2017-06-30 11:49:18 +00:00
Henrik Levkowetz
ade8973015
Merged in [13726] from rcross@amsl.com:
...
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 .
- Legacy-Id: 13735
Note: SVN reference [13726] has been migrated to Git commit a251076903
2017-06-29 20:39:52 +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
Ryan Cross
a251076903
Update secr.rolodex app to deactivate old Users when replaced on edit. Fixes #2001 . Commit ready for merge.
...
- Legacy-Id: 13726
2017-06-28 20:43:28 +00:00
Henrik Levkowetz
2070bbfed6
Merged in [13722] and [13712] from rcross@amsl.com:
...
Remove all use of request.session from secretariat apps. Add tests for affected views. Fixes #1455 .
- Legacy-Id: 13724
Note: SVN reference [13712] has been migrated to Git commit 915b445bcffcd4687fb1677230b98282d22dd9a0
Note: SVN reference [13722] has been migrated to Git commit 3a2cb9d3d846168f75d9796b4e5383bdf10b1f60
2017-06-28 14:55:10 +00:00
Henrik Levkowetz
b42f1cbeb5
Replaced the use of unaccent.asciify(), which has similar functionality to unidecode.unidecode(). Changed the draft parser to work exclusively with unicode text, which both makes the removal of unaccent easier, and takes us closer to Py35 compatibility. Adjusted callers of the draft parser to send in unicode.
...
- Legacy-Id: 13673
2017-06-18 18:23:18 +00:00
Henrik Levkowetz
7ecf7dfa44
Merged in [13615] and [13627]from rcross@amsl.com:
...
Changed views that use GET requests to delete objects to use POST.
Fixes #1796 .
- Legacy-Id: 13654
Note: SVN reference [13615] has been migrated to Git commit 3ccb550888
Note: SVN reference [13627] has been migrated to Git commit b908caf95c
2017-06-16 14:20:01 +00:00
Ryan Cross
b908caf95c
Add missing confirm_delete.html. Commit ready for merge.
...
- Legacy-Id: 13627
2017-06-14 16:27:46 +00:00
Ryan Cross
3ccb550888
Change views that use GET requests to delete objects to use POST. Fixes #1796 . Commit ready for merge.
...
- Legacy-Id: 13615
2017-06-13 23:33:31 +00:00
Henrik Levkowetz
bd0a772f17
Added a guard against trying to get the room ID from a timeslot without location in the secretariat schedule view.
...
- Legacy-Id: 13592
2017-06-13 09:59:05 +00:00
Henrik Levkowetz
6bf0e558ea
Merged in [13588] from rcross@amsl.com:
...
Initialize Empty-Schedule with special sessions from previous meeting on creation. Fixes #1500 .
- Legacy-Id: 13591
Note: SVN reference [13588] has been migrated to Git commit 8a98ba2516
2017-06-12 22:27:04 +00:00
Ryan Cross
8a98ba2516
Initialize Empty-Schedule with special sessions from previous meeting on creation. Fixes #1500 . Commit ready for merge.
...
- Legacy-Id: 13588
2017-06-12 21:39:52 +00:00
Henrik Levkowetz
47b88e052e
Merged in [13554] from rcross@amsl.com:
...
Several widgets in session request form require javascript. Prevent usage of page without javascript. Fixes #1767 .
- Legacy-Id: 13578
Note: SVN reference [13554] has been migrated to Git commit 5188bdff6c
2017-06-10 07:15:38 +00:00