Commit graph

860 commits

Author SHA1 Message Date
Robert Sparks e351d321a6 Include area groups in the request for minutes. Do not include sessions that have been canceled. Commit ready for merge. Fixes #2568.
- Legacy-Id: 15435
2018-08-14 21:52:43 +00:00
Henrik Levkowetz fcbbe08eba Removed video url import from youtube, which is not needed any more given the /api/meeting/session/video/url API endpoint. This also prevents duplicate video URLs.
- Legacy-Id: 15424
2018-08-10 12:54:27 +00:00
Henrik Levkowetz 803b239674 Limited the document name for uploaded slides to use 128 slugified characters from the slideset title as part of the name. Fixes a possible server 500 issue.
- Legacy-Id: 15381
2018-07-18 16:10:47 +00:00
Henrik Levkowetz 7abece146c Merged in [15344] from mahoney@nostrum.com:
email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522.
 - Legacy-Id: 15378
Note: SVN reference [15344] has been migrated to Git commit 3c478e5c52
2018-07-18 13:16:02 +00:00
Henrik Levkowetz ef80b072d4 Fixed api_set_session_video_url() to update the external video url if given a new value.
- Legacy-Id: 15376
2018-07-17 21:12:49 +00:00
Henrik Levkowetz 7d1e21f629 Adjusted some timezones in test code to use permitted time zones after the previous changes in listed timezones. Added a migration for the changed timezone list.
- Legacy-Id: 15372
2018-07-17 14:28:42 +00:00
Henrik Levkowetz 17c509b19b Modified the list of timezones available when setting a meeting timezone so as to not show timezones that are links. (Also edited the 102 meeting timezone in the database to avoid this). Fixes issues #2531 and #2534.
- Legacy-Id: 15368
2018-07-16 18:38:25 +00:00
Henrik Levkowetz b5eb2bf776 Updated a test to give predictable results (no future meeting dates) for commit [15361].
- Legacy-Id: 15362
Note: SVN reference [15361] has been migrated to Git commit 7c6f139cc8
2018-07-15 19:38:41 +00:00
Henrik Levkowetz 7c6f139cc8 Fixed an issue where /meeting/ showed the materials page of an earlier meeting, rather than the current.
- Legacy-Id: 15361
2018-07-15 19:02:34 +00:00
Jean Mahoney 3c478e5c52 email confirming interim meeting request now says 'the Area Director of the <area>' instead of '<area> Area Director'. Fixes issue #2522. Commit ready to merge.
- Legacy-Id: 15344
2018-07-14 18:52:38 +00:00
Henrik Levkowetz 2daef52bea This commit replaces the code defined group features with features held
in a database table:

- Added a GroupFeatures model to the group models, and removed the old 
  features.py
- Added a agenda type for future use in showing different group types on
  different agendas.
- Renamed the group feature has_materials to has_nonsession_materials.
- Added API resources and admin support for the new tables.
- Added a Directorate (with reviews) group type as complement to
  Directorate, to distinguish between directorates with and without reviews.
- Adjusted tests as needed.
- Updated the fixtures, and fixed the generate_fixtures script to include
  the new AgendaTypeName objects.

There still exists about 70 instances of code comparing the group type
with a list of types; most of these should probably be replaced with new
features, instead, to make it possible to add new group types through the
database table, rather than having to edit the code.  That was the purpose
of this refactoring from the start, but the presence of this large number
of comparisons of group type against lists of types defeats the goal until
we add appropriate features and replace the group type list comparisons.
 - Legacy-Id: 15316
2018-07-12 10:51:48 +00:00
Henrik Levkowetz 6307e1c224 Added a test for update_important_dates()
- Legacy-Id: 15162
2018-05-24 13:41:07 +00:00
Henrik Levkowetz 700bcf31f4 Fixed some pyflakes issues.
- Legacy-Id: 15161
2018-05-24 12:04:42 +00:00
Henrik Levkowetz 4aa987488d Added a meeting helper function update_important_dates(), and a management command update_important_dates to update the important dates for a meeting if the offsets in the MeetingDateName table has been changed.
- Legacy-Id: 15160
2018-05-24 10:54:44 +00:00
Robert Sparks 345bff8850 Added a view that generates the "send minutes" email for the secretariat. Fixes #2493. Commit ready for merge.
- Legacy-Id: 15125
2018-05-04 21:44:46 +00:00
Robert Sparks 4f99fef377 Provide a __unicode__ member for ImportantDate. Commit ready for merge.
- Legacy-Id: 15124
2018-05-04 18:16:28 +00:00
Robert Sparks c75b5e9386 Use importantdates for material submisssion cutoff and revision if they exist. Fixes #2514. Commit ready for merge.
- Legacy-Id: 15123
2018-05-04 18:01:49 +00:00
Robert Sparks 2e395bde5d Missed a constraint on creating a test meeting. Commit ready for merge.
- Legacy-Id: 15077
2018-04-24 20:12:31 +00:00
Robert Sparks e6a122c9cb Added a test for meeting/requests.
- Legacy-Id: 15076
2018-04-24 19:57:31 +00:00
Henrik Levkowetz 3b3c44dae7 Merged in [15047] from rcross@amsl.com:
Reduce get_meeting buffer to handle earlier shceduling requests date.
 - Legacy-Id: 15057
Note: SVN reference [15047] has been migrated to Git commit 0a07c655e0
2018-04-19 13:15:34 +00:00
Henrik Levkowetz 21969ed9d0 Added IETF to past meetings filter pane, in order to be able to filter out interims.
- Legacy-Id: 15052
2018-04-18 13:14:00 +00:00
Ryan Cross 0a07c655e0 Reduce get_meeting buffer to handle earlier shceduling requests date. Commit ready for merge
- Legacy-Id: 15047
2018-04-17 00:06:17 +00:00
Henrik Levkowetz a9fbea113b Changed incorrect use of 404 status code in api to 400. Fixes issue #2498.
- Legacy-Id: 15044
2018-04-13 11:11:48 +00:00
Henrik Levkowetz 68cea6d523 Replaced an inline model method caching with a @memoize decorator.
- Legacy-Id: 14993
2018-04-02 11:18:55 +00:00
Henrik Levkowetz 4da044e2db Pyflakes fixes.
- Legacy-Id: 14989
2018-04-01 19:06:02 +00:00
Henrik Levkowetz 8e97669dff Added a get_active_ads() utility function that uses the cache to reduce database access. Moved some utility functions so as to reduce import loops.
- Legacy-Id: 14986
2018-04-01 18:36:36 +00:00
Henrik Levkowetz a1c79a075d Merged in ^/personal/henrik/6.76.1-meetecho-api/ which provides new API endpoint to let video urls be associated with sessions. Also added some more checks to the test_api_set_session_video_url() test.
- Legacy-Id: 14969
2018-03-29 15:25:36 +00:00
Henrik Levkowetz e8f999dc07 Added an API endpoint to let Meetech associate recording urls with sessions.
- Legacy-Id: 14967
2018-03-29 11:04:47 +00:00
Henrik Levkowetz db35af87ad Fixed an issue which could result in server 500 errors for paths like /meeting/99/session/plenary.
- Legacy-Id: 14955
2018-03-28 12:58:04 +00:00
Henrik Levkowetz 76404ceb4b Don't show links to individual meeting stats pages when there's no content (meeting 71 and earlier currently has no attendance records).
- Legacy-Id: 14948
2018-03-26 23:05:43 +00:00
Henrik Levkowetz 2b4011c34b Adjusted the meeting attendees migration to match the updated model.
- Legacy-Id: 14932
2018-03-26 13:11:56 +00:00
Henrik Levkowetz 4b05b7b88b Fixed some issues with agenda and proceedings code for meetings numbered 64 and below, actualized by the introduction of meeting records for such meetings.
- Legacy-Id: 14918
2018-03-25 11:01:37 +00:00
Henrik Levkowetz c8ebcf1f88 Merged in [14879] from kivinen@iki.fi:
Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents.
 - Legacy-Id: 14898
Note: SVN reference [14879] has been migrated to Git commit 75dbe017a6
2018-03-22 00:01:57 +00:00
Tero Kivinen 75dbe017a6 Backfilled IETF meetings starting from 1 and backfilled the attendee numbers for them. Modified the overview attendee statistics page to use different colors for different venue continents. Commit ready for merge.
- Legacy-Id: 14879
2018-03-20 17:28:48 +00:00
Henrik Levkowetz 850aaa7a48 Merged in [14864] from rjsparks@nostrum.com:
Improved test coverage for ietf.meeting.views.
 - Legacy-Id: 14878
Note: SVN reference [14864] has been migrated to Git commit 95af79ce7b
2018-03-20 16:31:15 +00:00
Henrik Levkowetz 57741de718 Merged in [14855] from rjsparks@nostrum.com:
Improved test coverage for ietf.meeting.views.
 - Legacy-Id: 14870
Note: SVN reference [14855] has been migrated to Git commit 734072f572
2018-03-20 11:57:32 +00:00
Henrik Levkowetz c8961381ab Merged in [14854] from rjsparks@nostrum.com:
Improved test coverage over meeting.views.
 - Legacy-Id: 14868
Note: SVN reference [14854] has been migrated to Git commit c56cbf624b
2018-03-19 23:04:57 +00:00
Henrik Levkowetz 1744736ed0 Merged in [14850] from rjsparks@nostrum.com:
Improvements to test coverage in ietf.meeting.views
 - Legacy-Id: 14866
Note: SVN reference [14850] has been migrated to Git commit 02d975ab19
2018-03-19 19:04:04 +00:00
Henrik Levkowetz 1ece5f1f3b Removed premature save of upload document state (doing it after verifying that the save to file worked instead). Tweaked materials documents revision extraction regexes. Added a test on no change of materials rev after failed upload. Corrected the naming of materials in make_meeting_test_data. Refined the test crawl of meeting materials pages.
- Legacy-Id: 14865
2018-03-19 01:05:52 +00:00
Henrik Levkowetz 306431319a Added a couple of meeting material crawls to check that internal material links aren't broken.
- Legacy-Id: 14861
2018-03-18 16:10:14 +00:00
Henrik Levkowetz 7f0de265e9 Check attribute isn't None before accessing sub-attributes.
- Legacy-Id: 14860
2018-03-18 15:14:58 +00:00
Henrik Levkowetz 274ba90e2f Merged in [14844] from adam@nostrum.com:
Fixing 'href' field for https://datatracker.ietf.org/meeting/<meeting-num>/json.
 - Legacy-Id: 14858
Note: SVN reference [14844] has been migrated to Git commit 2e8740cca8
2018-03-18 12:49:00 +00:00
Henrik Levkowetz 72e20478a8 Added another materials docname-with-rev regexe.
- Legacy-Id: 14857
2018-03-18 12:17:11 +00:00
Henrik Levkowetz d827f7415e Fixed two materials docname-with-rev regexes that were too narrow.
- Legacy-Id: 14856
2018-03-18 10:58:29 +00:00
Robert Sparks 734072f572 Improved test coverage for ietf.meeting.views. Commit ready for merge.
- Legacy-Id: 14855
2018-03-17 22:12:51 +00:00
Robert Sparks c56cbf624b Improved test coverage over meeting.views. Commit ready for merge.
- Legacy-Id: 14854
2018-03-17 21:43:26 +00:00
Robert Sparks 02d975ab19 Improvements to test coverage in ietf.meeting.views
- Legacy-Id: 14850
2018-03-17 17:27:11 +00:00
Henrik Levkowetz e0ca40bdf2 Merged in [14842] from rcross@amsl.com:
Add check for deleted session when scheduling.  Fixes #2450.
 - Legacy-Id: 14847
Note: SVN reference [14842] has been migrated to Git commit 7211cf399b
2018-03-17 16:01:26 +00:00
Adam Roach 2e8740cca8 Fixing 'href' field for https://datatracker.ietf.org/meeting/<meeting-num>/json. Commit ready for merge.
- Legacy-Id: 14844
2018-03-17 15:21:59 +00:00
Ryan Cross 7211cf399b Add check for deleted session when scheduling. Fixes #2450. Commit ready for merge
- Legacy-Id: 14842
2018-03-17 15:10:20 +00:00