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
Henrik Levkowetz
e29aa990a6
Tweaked a setting for better readability.
...
- Legacy-Id: 14840
2018-03-17 13:00:56 +00:00
Henrik Levkowetz
9341f96832
Tweaked the document sanitizer to insert a charset meta tag after sanitization.
...
- Legacy-Id: 14832
2018-03-16 11:13:03 +00:00
Henrik Levkowetz
c3e05fd194
Fixed a mistaken change in session urls.
...
- Legacy-Id: 14831
2018-03-16 10:27:19 +00:00
Henrik Levkowetz
e0b33fd9ca
Tweaked a test case to make it easier to get at failures.
...
- Legacy-Id: 14829
2018-03-15 13:47:32 +00:00
Henrik Levkowetz
b439c019a4
Whitespace fix.
...
- Legacy-Id: 14828
2018-03-15 13:46:30 +00:00
Henrik Levkowetz
c2016859a8
Made the materials_document() view function more robust in handling various materials document names.
...
- Legacy-Id: 14827
2018-03-15 13:45:54 +00:00
Henrik Levkowetz
dedf681c2d
Updated the meeting materials document view to handle urls with revisions.
...
- Legacy-Id: 14825
2018-03-14 22:13:27 +00:00
Henrik Levkowetz
278d868d28
Added handling for when file magic doesn't return a definitive encoding for a file. Added a test case to excercise error cases.
...
- Legacy-Id: 14782
2018-03-13 16:45:50 +00:00
Henrik Levkowetz
8cc61e0cf7
Changed the meeting materials uploads to use the upload file encoding found by file-magic when decoding the upload content, and also return errors to the user if decoding the upload fails. Fixes issue #2469 . This will also have the benefit (since we're saving with utf-8 encoding after decoding) of having meeting materials consistently stored with a consistent encoding on the server.
...
- Legacy-Id: 14781
2018-03-13 14:00:51 +00:00
Henrik Levkowetz
c4bb28325a
Feed back encoding information to the FileUploadForm when doing mime type validation, for later use in decoding.
...
- Legacy-Id: 14777
2018-03-13 13:51:00 +00:00