Commit graph

929 commits

Author SHA1 Message Date
Henrik Levkowetz ccec044511 Fixed a type issue with [14556]
- Legacy-Id: 14559
Note: SVN reference [14556] has been migrated to Git commit a438ff85e8
2018-01-23 22:27:49 +00:00
Henrik Levkowetz a438ff85e8 Made the MeetingFactory produce ietf meetings with dates appropriate for the numbers. Fixes random failures in test_eligible().
- Legacy-Id: 14556
2018-01-23 21:41:47 +00:00
Henrik Levkowetz 07fd714c88 Refined the URL patterns and handling of alternative meeting material file formats, which were broken by an earlier refactoring (v6.57.0). Fixes issue #2436.
- Legacy-Id: 14521
2018-01-14 21:09:28 +00:00
Henrik Levkowetz c5c4bde5e6 Dead code removal.
- Legacy-Id: 14412
2017-12-11 18:38:56 +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 8a43f7aedf Added better handling for attempted (mistaken) uploads to unscheduled sessions.
- Legacy-Id: 14388
2017-12-04 13:55:16 +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
Henrik Levkowetz e29218f947 Bugfix
- Legacy-Id: 14317
2017-11-06 23:04:58 +00:00
Henrik Levkowetz a0d3d0b2c3 Tweaked the show-important-dates flag migration.
- Legacy-Id: 14316
2017-11-06 20:36:44 +00:00
Henrik Levkowetz 9369255764 In order to make it possible to enter meeting important dates and have the IESG see and approve them before they are generally visible, a flag has been added to the Meeting model, and code has been added to show the important dates as appropriate. A menu link to the important dates has also been added.
- Legacy-Id: 14315
2017-11-06 17:20:21 +00:00
Henrik Levkowetz a9c6dd92b0 Reverted the changes in [14254] and [14255]
- Legacy-Id: 14274
Note: SVN reference [14254] has been migrated to Git commit cf6143cce7

Note: SVN reference [14255] has been migrated to Git commit d4cc828e27
2017-11-02 12:24:10 +00:00
Henrik Levkowetz a146c22f8d Make the API accept ordering and relations for the meeting date field.
- Legacy-Id: 14273
2017-11-02 12:17:17 +00:00
Henrik Levkowetz d4cc828e27 Fixed a typo
- Legacy-Id: 14255
2017-11-01 10:54:50 +00:00
Henrik Levkowetz cf6143cce7 Show 404 for meeting agendas too far in the future.
- Legacy-Id: 14254
2017-11-01 10:52:52 +00:00
Henrik Levkowetz 9bae22859c Tweaked a page cache time.
- Legacy-Id: 14251
2017-10-31 18:44:57 +00:00
Henrik Levkowetz bfce2d5c83 Tweaked the Meeting.days field type.
- Legacy-Id: 14241
2017-10-30 12:28:32 +00:00
Henrik Levkowetz e3b7fb081a Added a migration dependency to improve the ordering within the release.
- Legacy-Id: 14240
2017-10-30 12:27:50 +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
Henrik Levkowetz 9e434edda3 Added bluesheet upload permission for RG Chairs; reformatted some role_required() decorators.
- Legacy-Id: 14187
2017-10-05 10:41:55 +00:00
Henrik Levkowetz cbda2679a9 Removed some unreachable code.
- Legacy-Id: 14150
2017-09-22 14:45:21 +00:00
Henrik Levkowetz 1e7b906535 Fixed another place where updated logic is needed to get the current
meeting when we have multiple future meetings.  Fixes issue #2371.
 - Legacy-Id: 14120
2017-09-15 17:49:22 +00:00
Henrik Levkowetz bc054b8cb2 Updated meeting.helpers.get_meeting() to deal with multiple future meetings the same way get_ietf_meeting() does.
- Legacy-Id: 14119
2017-09-13 09:16:34 +00:00
Henrik Levkowetz dda271bd7e Fixed another issue with the meeting materials urls, related to the href() normalisation work.
- Legacy-Id: 14101
2017-09-06 14:46:49 +00:00
Henrik Levkowetz 8536a7435d Additional change related to the href() work.
- Legacy-Id: 14078
2017-08-25 13:11:14 +00:00
Henrik Levkowetz 0e0fd173a8 Merged in [14035] from rjsparks@nostrum.com:
Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084.
 - Legacy-Id: 14038
Note: SVN reference [14035] has been migrated to Git commit 661bb18f0c
2017-08-10 11:33:26 +00:00
Robert Sparks 661bb18f0c Make it more obvious which sessions are scheduled and which are not when viewing session details and managing materials. Fixes #2084. Commit ready for merge.
- Legacy-Id: 14035
2017-08-09 20:06:36 +00:00
Henrik Levkowetz 2846a2d58d Return 404 if meeting materials not found.
- Legacy-Id: 14019
2017-08-01 10:56:10 +00:00
Henrik Levkowetz 926c197c14 Changed from get_meetings() to get_meeting() for meeting.views.floor_plan(), in order to raise 404 on missing meetings. Fixes a server 500 on /meeting/floor-plan/ for nonexistant meetings.
- Legacy-Id: 13999
2017-07-28 22:50:23 +00:00
Henrik Levkowetz 6eda346356 Added a data migration to fix recent slides names containing underscores.
- Legacy-Id: 13997
2017-07-28 22:47:34 +00:00
Henrik Levkowetz 3c88cf822b Replaced some group-specific agenda and minutes urls with session-specific urls, and more consistently pointed at explicitly named meeting materilas. Related to [13964].
- Legacy-Id: 13968
Note: SVN reference [13964] has been migrated to Git commit a5d8cc85d3
2017-07-24 17:41:49 +00:00
Henrik Levkowetz 2de6855ccd Fixed a time arithmetics issue in meeting cutoff date methods
- Legacy-Id: 13966
2017-07-23 14:47:46 +00:00
Henrik Levkowetz 8e942f44a6 Changed the display of individual item update time on the materials overview page. In practice, having a tooltip on every agenda, minutes, and slides link became intrusive and annoying. Changed to display a bell if the update is within one day of now, and to display the time tooltip when hovering over the bell. Also corrected the colspan numbers for cancelled sessions, for consistency.
- Legacy-Id: 13965
2017-07-22 11:39:11 +00:00
Henrik Levkowetz a5d8cc85d3 Added urls and views for individual meeting documents, in order to be able to serve them directly from the datatracker, instead of taking them from www.ietf.org through CDN. Adjusted the patterns used for href() accordingly. This also avoid different-origin issues. Shifted the url for materials_editable_groups() to an URL more in line to those it links to. Changed the iframe urls for the agenda week view to work for groups with different agendas for different sessions by using href().
- Legacy-Id: 13964
2017-07-21 21:23:53 +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 3b4992d2b7 Fixed a bug in a meeting number comparison.
- Legacy-Id: 13938
2017-07-19 11:42:26 +00:00
Henrik Levkowetz 02ae6aebd3 Merged in [13908] from alireza.mohammadi@icann.org:
Ticket# 1644 : add \'last updated\' timestamps on meeting materials page
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
 - Legacy-Id: 13928
Note: SVN reference [13908] has been migrated to Git commit 5b0555581f
2017-07-17 12:47:26 +00:00
Henrik Levkowetz 29ef660827 Added an 'assignments' m2m field to the API sssion resource
- Legacy-Id: 13927
2017-07-17 11:52:05 +00:00
Henrik Levkowetz 6eb8c03eb5 Added a session status field to the /meeting/agenda.json data, to make cancelled session info available.
- Legacy-Id: 13925
2017-07-17 09:20:47 +00:00
Alireza Mohammadi 5b0555581f Ticket# 1644 : add "last updated" timestamps on meeting materials page
Added UTC time to the tooltip of Agenda and slides and an new column of Updated. Updated column present the latest time stamp for agenda and slides.
 - Legacy-Id: 13908
2017-07-15 15:23:10 +00:00
Robert Sparks 59886b9bbf Use a better timestamp for newrevisiondocevents when uploading agendas, minutes, and slides. Fixes #2039. Commit ready for merge.
- Legacy-Id: 13903
2017-07-15 13:42:25 +00:00
Robert Sparks a235482f8a Include drafts associated with sessions when building session pdf and tarballs. Fixes #2036. Commit ready for merge.
- Legacy-Id: 13902
2017-07-15 13:03:37 +00:00
Robert Sparks 08c7a38fc8 Allow minutes to be uploaded after previous minutes had been uploaded and removed from the session. Fixes #2286. Commit ready for merge.
- Legacy-Id: 13887
2017-07-15 08:39:40 +00:00
Henrik Levkowetz 86b252c90e Some refactoring of the agenda and minutes validation work.
- Legacy-Id: 13850
2017-07-13 10:42:48 +00:00
Henrik Levkowetz 46fc7b77fd Added more validation of extension, mime type, etc. for uploaded meeting agendas and minutes. Added '.md' (markdown) as an accepted file type. Html with frames is now rejected. Factored out validation code into separate functions.
- Legacy-Id: 13849
2017-07-12 22:45:57 +00:00
Henrik Levkowetz fee74d3357 When proceedings have been finalized, redirect meeting/xx/materials to the finalized meeting/xx/proceedings page.
- Legacy-Id: 13848
2017-07-12 20:23:25 +00:00
Henrik Levkowetz 0c573f20fe Fixed a place where doc.save() was called instead of doc.save_with_history().
- Legacy-Id: 13844
2017-07-12 13:02:41 +00:00
Henrik Levkowetz 3b8277d99e Fixed a pyflakes issue.
- Legacy-Id: 13842
2017-07-12 12:40:48 +00:00
Henrik Levkowetz 428038b838 Added a test for interim meeting agenda and minutes urls.
- Legacy-Id: 13841
2017-07-12 12:38:26 +00:00
Henrik Levkowetz 0de5e350c5 A bit of optimization of the /meeting/past/ view.
- Legacy-Id: 13839
2017-07-12 12:33:05 +00:00
Henrik Levkowetz ccf6b516bc Fixed a problem with loosing the outermost html element when massaging html agendas.
- Legacy-Id: 13838
2017-07-12 11:05:53 +00:00
Henrik Levkowetz 2937bb0789 Added back session minutes urlpattern for interim meetings.
- Legacy-Id: 13837
2017-07-12 08:09:49 +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 082528134b Merged in [13830] from rjsparks@nostrum.com:
Show all the sessions for area groups in the proceedings. Fixes #2265.  Should be patched into production.
 - Legacy-Id: 13831
Note: SVN reference [13830] has been migrated to Git commit 68d70aaeb2
2017-07-11 18:33:56 +00:00
Robert Sparks 68d70aaeb2 Show all the sessions for area groups in the proceedings. Fixes #2265. Commit ready for merge. Should be patched into production.
- Legacy-Id: 13830
2017-07-11 18:13:16 +00:00
Henrik Levkowetz fa49287cfa Added a mock of urllib2.urlopen for another test which uses finalize(meeting) in order to prevent external http accesses when running tests.
- Legacy-Id: 13824
2017-07-10 20:30:55 +00:00
Henrik Levkowetz c69d09e29c Reduced the number of non-functional URL patterns for interim meetings. Can easily be expanded as needed.
- Legacy-Id: 13784
2017-07-06 19:11:07 +00:00
Henrik Levkowetz 3fa1addde7 Removed the 'apply to all sessions' checkbox from the agenda/minutes/slides upload pages for non-session timeslots, such as plenaries etc. as it is rarely if ever correct to have it checked then.
- Legacy-Id: 13715
2017-06-26 18:28:34 +00:00
Henrik Levkowetz ce1b655fa2 Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz a18cf20868 Removed code which has been marked as unreachable since February/March 2017 without triggering any usage indications.
- Legacy-Id: 13667
2017-06-17 17:54:40 +00:00
Henrik Levkowetz 7dd596ecd6 Undid the last commit, made in error.
- Legacy-Id: 13666
2017-06-17 17:08:55 +00:00
Henrik Levkowetz db9ceb3f45 Changed mentions of people with roles on the various group pages to link to both their profile page and their email address.
- Legacy-Id: 13665
2017-06-17 17:07:23 +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
Henrik Levkowetz 40181b8eb0 Merged in [13586] from rjsparks@nostrum.com:
Workaround an issue with the schedule editor by ensuring no sessions remain scheduled in a room whose purpose has changed to something other than holding sessions (such as becoming unavailable).
 - Legacy-Id: 13589
Note: SVN reference [13586] has been migrated to Git commit d4acb1cbd9
2017-06-12 22:02:00 +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 f75ec3622a A first go at adding floor labels to the agenda pages. The placement of the labels are complicated by available whitespace beeing in different horizontal positions for different types of lines. Adding another column will push the session title out of the screen on small devices.
- Legacy-Id: 13587
2017-06-12 21:00:08 +00:00
Robert Sparks d4acb1cbd9 Workaround an issue with the schedule editor by ensuring no sessions remain scheduled in a room whose purpose has changed to something other than holding sessions (such as becoming unavailable). Commit ready for merge.
- Legacy-Id: 13586
2017-06-12 20:01:47 +00:00
Henrik Levkowetz 99fa2e4593 Fixed a problem with a formset, they don't have self.cleaned_data, so cannot return it. Fixes issue #2310.
- Legacy-Id: 13568
2017-06-09 11:55:19 +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 fb93a8c293 Added dates to unreachable() calls, to make it easier to decide when to remove marked code.
- Legacy-Id: 13538
2017-06-06 07:27:07 +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 96c5b2b524 Added a test for no-agenda templates being used for future meetings without agenda. Aligned the wording in the txt and html templates.
- Legacy-Id: 13507
2017-06-03 21:46:13 +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 be28c2b2db Fix a date arithmetic bug.
- Legacy-Id: 13484
2017-06-01 17:28:55 +00:00
Henrik Levkowetz ecb0e75e4d Added a guard against trying to list locations which are None in agenda.json (there are socials with a timeslot but no location)
- Legacy-Id: 13482
2017-06-01 07:44:18 +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
Henrik Levkowetz 85a1cd89d0 Merged in [13412] from rcross@amsl.com:
Allow chairs to upload bluesheets for interim meetings.  Fixes #2165.
 - Legacy-Id: 13425
Note: SVN reference [13412] has been migrated to Git commit 264f6f36e2
2017-05-25 14:35:20 +00:00
Henrik Levkowetz d3b4d8c18b Fixed a bug for /meeting/*/agenda.json where multiple entries for a room name could occur, even if only one of them were referenced by sessions.
- Legacy-Id: 13424
2017-05-25 14:13:00 +00:00
Ryan Cross 264f6f36e2 Allow chairs to upload bluesheets for interim meetings. Fixes #2165. Commit ready for merge.
- Legacy-Id: 13412
2017-05-23 19:56:35 +00:00
Henrik Levkowetz a559557284 Added more information about session presentations to the agenda.json output, on request from pusateri@bangj.com.
- Legacy-Id: 13397
2017-05-19 19:55:38 +00:00
Henrik Levkowetz 04e76c9fc9 Added raw_id_fields on DocumentAuthorAdmin to speed up form loading, and added SessionPresentationAdmin to the meeting admin.py
- Legacy-Id: 13395
2017-05-19 14:09:49 +00:00
Henrik Levkowetz a1b48cbc45 Merged in [13337] from rcross@amsl.com:
When editing interim meeting request show duration as HH:MM instead of HH:MM:SS.  Fixes #2226.
 - Legacy-Id: 13362
Note: SVN reference [13337] has been migrated to Git commit 066de1e612
2017-05-15 15:54:46 +00:00
Ryan Cross 066de1e612 When editing interim meeting request show duration as HH:MM instead of HH:MM:SS. Fixes #2226. Commit ready for merge.
- Legacy-Id: 13337
2017-05-12 21:40:20 +00:00
Henrik Levkowetz db40ddc231 Merged in [13324] from rcross@amsl.com:
Disallow multi-day interim meetings with non-consecutive dates.  Fixes #2193.
 - Legacy-Id: 13325
Note: SVN reference [13324] has been migrated to Git commit 75a7beb596
2017-05-11 20:15:49 +00:00
Ryan Cross 75a7beb596 Disallow multi-day interim meetings with non-consecutive dates. Fixes #2193. Commit ready for merge.
- Legacy-Id: 13324
2017-05-11 19:30:26 +00:00
Henrik Levkowetz c0c128d491 Merged in [13308] from rcross@amsl.com:
Add ability for secretariat to skip announcement of regular interim meetings.  Fixes #2210.
 - Legacy-Id: 13321
Note: SVN reference [13308] has been migrated to Git commit 53615b0970
2017-05-11 12:46:44 +00:00
Henrik Levkowetz 73df0baefb Merged in [13303] from rcross@amsl.com:
Fixes #2211.  Session admin edit fails if no resources selected.
 - Legacy-Id: 13319
Note: SVN reference [13303] has been migrated to Git commit 9ba73e70a2
2017-05-11 12:03:19 +00:00
Henrik Levkowetz 3ee897d63b Merged in [13291] from rcross@amsl.com:
Change From address of session request notifications from session_request_developers@ietf.org to session-request@ietf.org.  Fix requester information in session request cancellation email.  Fixes #1621.
 - Legacy-Id: 13314
Note: SVN reference [13291] has been migrated to Git commit 9a9531d9f6
2017-05-11 10:23:20 +00:00
Ryan Cross 53615b0970 Add ability for secretariat to skip announcement of regular interim meetings. Fixes #2210. Commit ready for merge.
- Legacy-Id: 13308
2017-05-10 21:06:15 +00:00
Ryan Cross 9ba73e70a2 Fixes #2211. Session admin edit fails if no resources selected. Commit ready for merge.
- Legacy-Id: 13303
2017-05-10 19:04:11 +00:00
Ryan Cross 9a9531d9f6 Change From address of session request notifications from session_request_developers@ietf.org to session-request@ietf.org. Fix requester information in session request cancellation email. Fixes #1621. Commit ready for merge.
- Legacy-Id: 13291
2017-05-09 21:33:14 +00:00
Henrik Levkowetz a48b785f7e Merged in [13246] from rjsparks@nostrum.com:
Distinguish group that have session requests from those that do not on the materials/editable-groups page. Fixes #2284.
 - Legacy-Id: 13248
Note: SVN reference [13246] has been migrated to Git commit 2e54a5c443
2017-04-19 21:29:32 +00:00
Robert Sparks 2e54a5c443 Distinguish group that have session requests from those that do not on the materials/editable-groups page. Fixes #2284. Commit ready for merge.
- Legacy-Id: 13246
2017-04-19 18:04:48 +00:00
Henrik Levkowetz d3a20a8694 Added filtering of room resources in the session request form based on the 'used' flag of the room resource name. Tweaked admin to show 'used' for ResourceAssociations. Added Flipchart and U-shape-layout resources through a data migration, and added/modified resource icons.
- Legacy-Id: 13225
2017-04-15 19:13:06 +00:00
Henrik Levkowetz 6dc97b232d A migration to match the latest pytz time zone list.
- Legacy-Id: 13201
2017-04-12 18:20:23 +00:00
Henrik Levkowetz 457f0ee4e3 Fixed a bug in the json_agenda data, calculating room midpoints correctly.
- Legacy-Id: 13180
2017-03-31 18:54:08 +00:00
Ole Laursen 5b677dc6ba Merge author stats branch into new branch from trunk
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Henrik Levkowetz 69c9d25022 Merged in [13125] from rcross@amsl.com:
Add REST API endpoint to notify Datatracker that new recording files are available.
 - Legacy-Id: 13158
Note: SVN reference [13125] has been migrated to Git commit a50b09b152
2017-03-27 21:51:55 +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
Henrik Levkowetz 28969462ff Merged in [13113] from rcross@amsl.com:
Add Country column to meeting/NN/proceedings/attendees.  Fixes #2228.
 - Legacy-Id: 13148
Note: SVN reference [13113] has been migrated to Git commit 990493f1c4
2017-03-27 16:20:40 +00:00
Ryan Cross a50b09b152 Add REST API endpoint to notify Datatracker that new recording files are available. Commit ready for merge.
- Legacy-Id: 13125
2017-03-25 21:52:11 +00:00
Ryan Cross 990493f1c4 Add Country column to meeting/NN/proceedings/attendees. Fixes #2228. Commit ready for merge.
- Legacy-Id: 13113
2017-03-25 19:20:34 +00:00
Lars Eggert 8a70e9773d Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Ryan Cross eb10f54bd6 Fixes interim meeting edit form returning 500 when duration field is empty. Fixes #2206. Commit ready for merge.
- Legacy-Id: 13022
2017-03-17 18:49:33 +00:00
Ryan Cross 3cd5bea78b Fix issue where editing interim meeting duration does not update underlying timeslot duration. Fixes #2203. Commit ready for merge.
- Legacy-Id: 13021
2017-03-17 18:28:07 +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 6a5f180fb0 Rename and update shared audio file migration. Commit ready for merge
- Legacy-Id: 12991
2017-03-10 23:12:49 +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 387068f67d Updated unreachable markings.
- Legacy-Id: 12967
2017-03-04 05:38:23 +00:00
Henrik Levkowetz f2c1ca1565 Added unreachable markings.
- Legacy-Id: 12966
2017-03-04 05:31:18 +00:00
Henrik Levkowetz 3c6f00869f Dead code removal: meeting models and test_utils.
- Legacy-Id: 12965
2017-03-04 05:19:39 +00:00
Henrik Levkowetz 73a2d86f12 Added an unreachable mark
- Legacy-Id: 12964
2017-03-04 05:19:01 +00:00
Henrik Levkowetz 0745fac189 Undo commit
- Legacy-Id: 12963
2017-03-04 05:17:41 +00:00
Henrik Levkowetz 49ba774ae3 Updated unreachable() marking.
- Legacy-Id: 12962
2017-03-04 05:14:51 +00:00
Henrik Levkowetz ea70381f29 Merged in [12950] from rcross@amsl.com:
Fixes #2219.  Area Group chairs are denied material management access.
 - Legacy-Id: 12951
Note: SVN reference [12950] has been migrated to Git commit c6d1a59aa4
2017-03-02 21:21:07 +00:00
Ryan Cross c6d1a59aa4 Fixes #2219. Area Group chairs are denied material management access. Commit ready for merge.
- Legacy-Id: 12950
2017-03-02 20:14:39 +00:00
Henrik Levkowetz 5bb5ca727b Created a special function log.unreachable() to mark code unreachable, and changed a function name from log.affirm() to log.assertion().
- Legacy-Id: 12933
2017-02-28 20:16:52 +00:00
Henrik Levkowetz 171a7be029 Removed an incorrect Unreachable Code mark.
- Legacy-Id: 12928
2017-02-28 05:08:03 +00:00
Henrik Levkowetz 10cac86165 Preparation for dead code removal: Marked probable dead code with affirm() statements which will signal if we ever reach that point in the code. If no signals seen, the marked functions/methods will be removed after one release cycle.
- Legacy-Id: 12926
2017-02-27 16:45:21 +00:00
Henrik Levkowetz ac9aa326ef Dead code removal: placement.py and related.
- Legacy-Id: 12924
2017-02-27 13:22:04 +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 a94c33fd6e Added an alert on the login form, to be shown if a user's password has been cleared. Adjusted url reverse strings to match the changed view function.
- Legacy-Id: 12918
2017-02-25 15:50:47 +00:00
Henrik Levkowetz 350ea9efcf Removed all use of timedeltafield by converting old migrations to reference compatible types.
- Legacy-Id: 12825
2017-02-12 17:10:06 +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 30b2abeaf1 New migration for django 1.9 country- and time_zone choices.
- Legacy-Id: 12769
2017-02-01 17:01:50 +00:00
Henrik Levkowetz 40e8380751 Merged django 1.9 work forward to copy of trunk @6.41.0
- Legacy-Id: 12756
2017-01-30 23:13:02 +00:00
Ole Laursen e381dac958 Fix matching pattern in test to be more generic
- Legacy-Id: 12729
2017-01-25 11:29:45 +00:00
Henrik Levkowetz 613f0c8233 Pyflakes fixes.
- Legacy-Id: 12714
2017-01-23 18:35:58 +00:00
Henrik Levkowetz 6de7be6953 Specified strip=False for another bunch of CharField form fields with Textarea widgets.
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Henrik Levkowetz 7d25922e9b Enabled correct time sorting and reporting for interim meetings on /group/{{acronym}}/meetings/, and tweaked the date format. Fixes issue #2145.
- Legacy-Id: 12669
2017-01-18 19:24:14 +00:00
Henrik Levkowetz 6eec4c2648 Converted all management commands which set up additional command-line switches to use the argparse approach instead of the deprecated optparse approach.
- Legacy-Id: 12645
2017-01-11 18:42:38 +00:00
Henrik Levkowetz 5286dfdbc8 Made sure that sessionpresentation objects are saved before adding them to a m2m set.
- Legacy-Id: 12636
2017-01-09 21:23:14 +00:00
Henrik Levkowetz 8e9858379b Fixed some pyflakes and form initialization issues with the upgrade to DurationField.
- Legacy-Id: 12599
2016-12-21 17:03:39 +00:00
Henrik Levkowetz 67b2fc1107 Extended the form fields used for duration to accept additional formats, including formats the secretariat are currently using, in order to avoid trouble with the TimedeltaField --> DurationField transition.
- Legacy-Id: 12598
2016-12-21 15:26:32 +00:00
Henrik Levkowetz 3d6b370c59 Upgraded custom TimedeltaFields to use the builtin DurationField from Django 1.8, and adjusted forms and initialization values accordingly.
- Legacy-Id: 12597
2016-12-20 22:56:34 +00:00
Henrik Levkowetz 481a96c935 Changed the handling of skip tests and messages in order to show which tests will be skipped, and why, at the start of a test run.
- Legacy-Id: 12568
2016-12-17 21:49:53 +00:00
Henrik Levkowetz 17a7f59cd6 Deprecation fixes: Use request.GET or request.POST as appropriate, instead of request.REQUEST.
- Legacy-Id: 12533
2016-12-15 13:21:33 +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 9a3f6b059b Merged Django-1.8 upgrade work to trunk. Adjusted migration names, and added migrations as necessary. Fixed some instances of broken html.
- Legacy-Id: 12507
2016-12-13 05:55:46 +00:00
Henrik Levkowetz 03d90163a5 Merged django-1.8 work forward to copy of 6.39.1
- Legacy-Id: 12504
2016-12-10 19:32:46 +00:00
Henrik Levkowetz 3c956c9896 Added migrations for new timezone data, validation on ReviewerSettings.filter_re, and new docevent types.
- Legacy-Id: 12493
2016-12-09 12:41:38 +00:00
Henrik Levkowetz 19ec458668 Added migrations for the model changes done for the Django 1.8 upgrade.
- Legacy-Id: 12478
2016-12-07 19:41:48 +00:00
Henrik Levkowetz 53f343017e Use models.DurationField from django directly now that it's available, instead of the inlined copy of the 1.8 DurationField code.
- Legacy-Id: 12477
2016-12-07 19:40:18 +00:00
Henrik Levkowetz 14776bae70 Merged django18 work forward to r12447
- Legacy-Id: 12455
2016-12-05 15:03:40 +00:00
Henrik Levkowetz bc683ccc67 Fixed a type issue found by the new django 1.8 query type checks.
- Legacy-Id: 12452
2016-12-05 14:13:00 +00:00
Henrik Levkowetz 0bb7854591 Merged django18 work forward to 6.39
- Legacy-Id: 12449
2016-12-05 14:01:25 +00:00
Henrik Levkowetz cfd898b767 Updated the proceedings_templates fixture to provide the base proceedings template needed by tests, instead of a copy already instantiated for a specific meeting.
- Legacy-Id: 12445
2016-12-05 12:55:20 +00:00
Henrik Levkowetz 5e48d7ec72 Fixed another year's end related test bug.
- Legacy-Id: 12443
2016-12-04 15:46:27 +00:00
Henrik Levkowetz c06e7af08c Fixed an error in the test_interim_request_series() test.
- Legacy-Id: 12431
2016-12-01 13:20:59 +00:00
Henrik Levkowetz 2a9a7afd0b Added a link to the meetecho session recording (not the youtube conversion) on the IETF agenda page.
- Legacy-Id: 12430
2016-11-30 21:02:33 +00:00
Henrik Levkowetz b914f46313 Merged in ^/branch/iola/review-tracker-r12128@12397, bringing in the review tool functionality described in RFC7735. This adds the ability to set up review management pages for review teams such as genart, secdir, opsdir, etc.; letting the review team secretaries manage requested and completed reviews; letting the reviewers keep track of and document their reviews, and more. See the RFC for full specification, and the branch commit log for a full commit history.
- Legacy-Id: 12419
2016-11-29 14:54:19 +00:00
Henrik Levkowetz d589718c37 Fixed some pyflakes issues.
- Legacy-Id: 12405
2016-11-28 18:13:43 +00:00
Henrik Levkowetz 1deadeadc0 Added a migration to fix the mext meeting materials names and external links.
- Legacy-Id: 12404
2016-11-28 18:06:38 +00:00
Henrik Levkowetz 05379e2e2d Undid unintended change.
- Legacy-Id: 12399
2016-11-26 20:04:01 +00:00
Henrik Levkowetz a0ed8c7694 Made session minutes available with the same kind of url as session minutes: /meeting//minutes/. (Both of these need to be refined to handle multiple agendas and minutes, for groups having multiple sessions in a meeting.)
- Legacy-Id: 12398
2016-11-25 16:44:31 +00:00
Henrik Levkowetz 09259ae556 Merged in [12393] from rjsparks@nostrum.com:
Fixed bug where slides from multiple sessions for a group were not all showing. Improved handling of multiple minutes and agendas for groups. Fixes #2058.  Commit should be patched into production.
 - Legacy-Id: 12395
Note: SVN reference [12393] has been migrated to Git commit 2b0ec6df16
2016-11-23 18:31:10 +00:00
Robert Sparks 2b0ec6df16 Fixed bug where slides from multiple sessions for a group were not all showing. Improved handling of multiple minutes and agendas for groups. Fixes #2058. Commit ready for merge. Commit should be patched into production.
- Legacy-Id: 12393
2016-11-23 17:09:53 +00:00
Henrik Levkowetz 89294a558a Order materials on the agenda session materials popup according to the sessionpresentation order. Fixes issue #2049
- Legacy-Id: 12380
2016-11-17 08:45:49 +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
Henrik Levkowetz 0a15bf9bb6 Merged in [12326] from housley@vigilsec.com:
Allow WG Chairs to manage the meeting materials when starting from the old WG Chair Dashboard in ietf.secr.proceedings
 - Legacy-Id: 12370
Note: SVN reference [12326] has been migrated to Git commit a37f41823c
2016-11-17 00:26:51 +00:00
Henrik Levkowetz 1a6fc6dc04 Merged in [12353] from rjsparks@nostrum.com:
A second performance improvement for the proceedings pages.
 - Legacy-Id: 12361
Note: SVN reference [12353] has been migrated to Git commit a3cc9df465
2016-11-16 06:54:00 +00:00
Henrik Levkowetz a771e8fad6 Merged in [12352] from rjsparks@nostrum.com:
Add links to session materials pages to the rows on the by-type view of the agenda.
 - Legacy-Id: 12360
Note: SVN reference [12352] has been migrated to Git commit ba60c115fa
2016-11-16 04:22:51 +00:00
Henrik Levkowetz 18518fe566 Merged in [12348] from rjsparks@nostrum.com:
Performance improvements for the proceedings page.
 - Legacy-Id: 12358
Note: SVN reference [12348] has been migrated to Git commit 224999e948
2016-11-16 03:55:59 +00:00
Henrik Levkowetz b254473258 Merged in [12340] from adam@nostrum.com:
Incorporated Robert's \'swim lane\' code to eliminate
slot overlaps that made weekend effectively unusable.
Reworked animation code to use CSS animations for
smoother performance.
Calendar redraw is now completely event driven rather
than refreshed once per second.
Expanded meetings can now be closed with escape key.
Refactored code to make it more idomatic. Eliminated
many globals.
Reformatted to reflect a more consistent coding style.
 - Legacy-Id: 12355
Note: SVN reference [12340] has been migrated to Git commit e4b2905f16
2016-11-16 02:15:43 +00:00
Robert Sparks a3cc9df465 A second performance improvement for the proceedings pages. Commit ready for merge.
- Legacy-Id: 12353
2016-11-15 07:38:21 +00:00
Robert Sparks ba60c115fa Add links to session materials pages to the rows on the by-type view of the agenda. Commit ready for merge.
- Legacy-Id: 12352
2016-11-15 06:58:37 +00:00
Henrik Levkowetz 8fcbf7507e Fixed another duplicate entry issue with materials uploads.
- Legacy-Id: 12350
2016-11-15 01:01:50 +00:00
Robert Sparks 224999e948 Performance improvements for the proceedings page. Commit ready for merge.
- Legacy-Id: 12348
2016-11-14 12:37:04 +00:00
Henrik Levkowetz 7d443357b0 Merged in [12334] from rcross@amsl.com:
Fix parameter validations in meeting.views.ajax_get_utc().  Fixes 2023.  Also fix pyflakes error.
 - Legacy-Id: 12345
Note: SVN reference [12334] has been migrated to Git commit 38a24b57e9
2016-11-14 05:12:34 +00:00
Henrik Levkowetz aa4a46086a Merged in [12330] and [12331] from rcross@amsl.com:
Add the ability for the Secretariat to skip the announcement when scheduling an IRTF interim meeting. Fixes #2015.
 - Legacy-Id: 12344
Note: SVN reference [12330] has been migrated to Git commit d7c1fddb32

Note: SVN reference [12331] has been migrated to Git commit b04d07e5aa
2016-11-14 05:02:10 +00:00
Henrik Levkowetz f9b61202f7 Fixed another case where pre-existing database objects related to meeting materials would cause exceptions when trying to upload updates.
- Legacy-Id: 12343
2016-11-14 04:25:53 +00:00
Henrik Levkowetz 21f3cd62d4 Merged in [12329] from rjsparks@nostrum.com:
Added groups that did not meet to the proceedings.
 - Legacy-Id: 12342
Note: SVN reference [12329] has been migrated to Git commit 467ec82336
2016-11-14 02:53:41 +00:00
Henrik Levkowetz 2af415cf7c Merged in [12318] from rjsparks@nostrum.com:
Change the edit buttons on the materials page to be links. Move where the link appears.
 - Legacy-Id: 12336
Note: SVN reference [12318] has been migrated to Git commit ca0980a8ea
2016-11-12 08:59:32 +00:00
Ryan Cross 38a24b57e9 Fix parameter validations in meeting.views.ajax_get_utc(). Fixes 2023. Also fix pyflakes error. Commit ready for merge
- Legacy-Id: 12334
2016-11-12 07:59:52 +00:00
Ryan Cross d7c1fddb32 Add the ability for the Secretariat to skip the announcement when scheduling an IRTF interim meeting. Fixes #2015. Commit ready for merge.
- Legacy-Id: 12330
2016-11-12 07:11:59 +00:00
Robert Sparks 467ec82336 Added groups that did not meet to the proceedings. Commit ready for merge.
- Legacy-Id: 12329
2016-11-12 07:09:01 +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
Robert Sparks 3c04782559 Guard against sessions that have no timeslot (such as for groups that are not officially not meeting at an IETF meeting) in the materials upload views. Commit ready for merge.
- Legacy-Id: 12316
2016-11-11 07:09:41 +00:00
Robert Sparks e3c3b716cd Add a view of past meetings. Commit ready for merge.
- Legacy-Id: 12315
2016-11-11 06:48:26 +00:00
Henrik Levkowetz 71d5eca6e6 If a session agenda for a meeting exists, but is not bound to the session, the Document.objects.create() in upload_session_agenda() will fail. Using get_or_create() instead.
- Legacy-Id: 12270
2016-11-07 12:19:03 +00:00
Henrik Levkowetz 4f2eb07fa7 Updated proceedings_templates fixture.
- Legacy-Id: 12258
2016-11-03 20:47:14 +00:00
Henrik Levkowetz 87e1339924 Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense.
- Legacy-Id: 12256
2016-11-03 20:13:44 +00:00
Henrik Levkowetz ca570ae355 Reverted an inadvertent commit of all changes.
- Legacy-Id: 12253
2016-11-03 20:10:09 +00:00
Henrik Levkowetz 276c9c1030 Removed use of the fix_ampersands() function.
- Legacy-Id: 12252
2016-11-03 20:08:44 +00:00
Henrik Levkowetz 2b2abdbc29 Merged in [12213] from rcross@amsl.com:
Fix bug where interim announcement form was initialized with lists instead of strings.
 - Legacy-Id: 12228
Note: SVN reference [12213] has been migrated to Git commit ab945b16e5
2016-10-29 10:56:34 +00:00
Henrik Levkowetz aec77c2385 Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz 534a8d3e12 Reverted last commit as it leads to test failures. Doubtful if these actually can occur in production, but tests will have to be re-written before using the added caching.
- Legacy-Id: 12220
2016-10-26 20:20:37 +00:00
Henrik Levkowetz e1cadcb119 Added caching to avoid calling the meat of each of the Session minutes(), recordings(), bluesheets(), slides(), drafts() methods more than once per session. This removes another 3*#sessions sql queries when the materials are all in place (less when the first invocation reurns nothing).
- Legacy-Id: 12219
2016-10-26 19:17:41 +00:00
Henrik Levkowetz af584c6a1f Removed caching of the materials page (edit buttons are different for different users), and used select_related() and code re-write to reduce the sql query count from ~1900 to ~600, query time from ~2s to ~0.5s. More can be done, but the page response time is more acceptable now.
- Legacy-Id: 12218
2016-10-26 19:06:06 +00:00
Ryan Cross ab945b16e5 Fix bug where interim announcement form was initialized with lists instead of strings. Commit ready for merge
- Legacy-Id: 12213
2016-10-25 20:25:54 +00:00
Henrik Levkowetz 8e2259ebac Added a test for meeting/agenda-utc.
- Legacy-Id: 12195
2016-10-21 14:02:49 +00:00
Henrik Levkowetz a6db502108 Removed some dead code.
- Legacy-Id: 12194
2016-10-21 13:58:36 +00:00
Henrik Levkowetz 31c9defd0e New version of pytz, new choices for the meeting timezone form.
- Legacy-Id: 12154
2016-10-17 18:05:55 +00:00
Henrik Levkowetz 80e52ef0a1 Modified a test in upcoming_ical() to not break if a group does not have a parent.
- Legacy-Id: 12153
2016-10-17 17:33:01 +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