Commit graph

783 commits

Author SHA1 Message Date
Henrik Levkowetz 47e45c532b Merged in [14634] from rjsparks@nostrum.com:
Simplified the view that lets the secretariat see and change timeslot types. Fixes #2313.
 - Legacy-Id: 14635
Note: SVN reference [14634] has been migrated to Git commit 012d51b63c
2018-02-09 18:15:01 +00:00
Robert Sparks 012d51b63c Simplified the view that lets the secretariat see and change timeslot types. Fixes #2313. Commit ready for merge.
- Legacy-Id: 14634
2018-02-09 17:05:11 +00:00
Henrik Levkowetz f3d94abefe Re-worked create_proceedings_templates() so it does not blow up if it's run a second time for a given meeting.
- Legacy-Id: 14621
2018-02-07 11:59:46 +00:00
Henrik Levkowetz 2687c8d839 Added a workaround for libmagic mislabelling plain text content with a line beginning with 'virtual' as text/x-c++.
- Legacy-Id: 14586
2018-01-30 08:29:21 +00:00
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