Commit graph

568 commits

Author SHA1 Message Date
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
Ryan Cross 5188bdff6c Several widgets in session request form require javascript. Prevent usage of page without javascript. Fixes #1767. Commit ready for merge.
- Legacy-Id: 13554
2017-06-06 20:52:07 +00:00
Henrik Levkowetz 023a32715d Merged in ^/branch/iola/author-stats-r13145 from olau@iola.com, with additional features from ^/personal/henrik/6.52.1-authorstats.
- Legacy-Id: 13550
2017-06-06 18:36:59 +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 d20e6ce53a Merged in [13499] from rcross@amsl.com:
Add non WG Area choices to Parent field of secretariat groups edit form.  Fixes #1344.
 - Legacy-Id: 13513
Note: SVN reference [13499] has been migrated to Git commit a63d5132b2
2017-06-04 15:34:52 +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
Henrik Levkowetz d3decdcb61 Merged in [13485] from rcross@amsl.com:
Add import of YouTube session videos using YouTube Data API.  Fixes #2249.
 - Legacy-Id: 13509
Note: SVN reference [13485] has been migrated to Git commit 7ee2a16967
2017-06-03 23:58:05 +00:00
Henrik Levkowetz 495169de21 Merged in [13474] from rjsparks@nostrum.com:
Allow the nomcom to collect feedback on arbitrary topics. Fixes #2256 and #1846.
 - Legacy-Id: 13506
Note: SVN reference [13474] has been migrated to Git commit 4813177086
2017-06-03 13:50:44 +00:00
Ryan Cross a63d5132b2 Add non WG Area choices to Parent field of secretariat groups edit form. Fixes #1344. Commit ready for merge.
- Legacy-Id: 13499
2017-06-02 18:50:01 +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
Henrik Levkowetz 76628be3fd Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00