Commit graph

770 commits

Author SHA1 Message Date
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