Commit graph

897 commits

Author SHA1 Message Date
Henrik Levkowetz 40fb7b3588 Added a missing import.
- Legacy-Id: 16407
2019-07-06 19:22:37 +00:00
Henrik Levkowetz 40ab3c949f Added missing code to skip coverage measurement for skippable tests.
- Legacy-Id: 16406
2019-07-06 17:27:49 +00:00
Henrik Levkowetz db12f2b948 Fixed some name versus pk issues lingering after the Document/DocAlias primary key refactoring. Fixes issue #2729.
- Legacy-Id: 16288
2019-06-19 12:57:52 +00:00
Henrik Levkowetz 7270d5f67a Added the option to order API resource lists by primary key, for stable ordering when paging through a list.
- Legacy-Id: 16284
2019-06-18 12:40:19 +00:00
Henrik Levkowetz 426870b766 Merged in the Document and DocAlias primary key change and m2m work in ^/personal/henrik/6.96.1-docalias.
- Legacy-Id: 16261
2019-06-15 12:00:48 +00:00
Henrik Levkowetz a2cafded25 Changed DocAlias to be many-to-many, in order to be able to handle STD aliases referring to multiple RFCs.
- Legacy-Id: 16249
2019-06-14 20:38:14 +00:00
Henrik Levkowetz 815602351f This is a series of 50 migrations that changes the Document and DocAlias
primary keys from character strings to integers, and makes corresponding code
changes.

This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.

Changing the primary keys to integers should also improve efficiency.  

Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time.  The total set of migrations are expected to have
a runtime on the order of 2 hours.
 - Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
Henrik Levkowetz 3502a49cab Fixed a problem in 3 views that were accessible through URLs without meeting numbers (e.g., .../meeting/proceedings/overview/) but gave 500 errors when accessed.
- Legacy-Id: 16185
2019-05-02 20:00:07 +00:00
Henrik Levkowetz beb631c8d6 New country info from updated pytz timezone library
- Legacy-Id: 16166
2019-04-26 10:06:48 +00:00
Henrik Levkowetz 8b44e43168 Added a missing test directory cleanup action.
- Legacy-Id: 16157
2019-04-25 13:13:03 +00:00
Henrik Levkowetz 6892a55db0 Fixed a migrations conflict
- Legacy-Id: 16128
2019-04-03 10:28:49 +00:00
Henrik Levkowetz c52bec1ea7 Merged in [16103] from rjsparks@nostrum.com:
Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets.
 - Legacy-Id: 16119
Note: SVN reference [16103] has been migrated to Git commit 0b3cf0a1af
2019-03-28 13:03:30 +00:00
Henrik Levkowetz d565375028 Merged in [16102] from rjsparks@nostrum.com:
Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403.
 - Legacy-Id: 16118
Note: SVN reference [16102] has been migrated to Git commit becad91b0b
2019-03-28 13:02:29 +00:00
Robert Sparks 0b3cf0a1af Modified the admin model for SlideSubmission to use a couple of raw_id_field widgets. Commit ready for merge.
- Legacy-Id: 16103
2019-03-26 09:34:17 +00:00
Robert Sparks becad91b0b Allow logged in users to propose slides for meeting sessions. Fixes #2547 and #2403. Commit ready for merge.
- Legacy-Id: 16102
2019-03-25 16:10:00 +00:00
Henrik Levkowetz f635b2f973 Merged in [16085] from rcross@amsl.com:
Fix issue where cancelling one break session causes other breaks to get cancelled.  Fixes #2699.
 - Legacy-Id: 16090
Note: SVN reference [16085] has been migrated to Git commit 2842ad12bb
2019-03-23 16:31:17 +00:00
Henrik Levkowetz bde205b4ab Added filtering by meeting for the UrlResource admin.
- Legacy-Id: 16086
2019-03-23 15:05:05 +00:00
Ryan Cross 2842ad12bb Fix issue where cancelling one break session causes other breaks to get cancelled. Fixes #2699. Commit ready for merge.
- Legacy-Id: 16085
2019-03-23 14:49:33 +00:00
Henrik Levkowetz b610f0b099 Added a skipIf() decorator for a test which should not be run unless the ghostscript binary is available in the test environment.
- Legacy-Id: 16076
2019-03-23 08:38:22 +00:00
Henrik Levkowetz 682ddee8e4 Reverted earlier application of on_behalf_of() at mail sending call points, and instead did all on_behalf_of processing in condition_message(). Added insertion of Reply-To header fields in this case. Changed all use of the mail-sending 'extra' parameters to use value lists. Updated a bunch of tests accordingly.
- Legacy-Id: 16020
2019-03-11 17:01:33 +00:00
Henrik Levkowetz 435a0da12d Added on_behalf_of() calls for from addresses needing it throughout the code.
- Legacy-Id: 15992
2019-03-04 20:14:19 +00:00
Henrik Levkowetz bbb873c9d4 Merged in [15982] from rjsparks@nostrum.com:
Add session.short to the output from meeting/agenda.json when it is available.
 - Legacy-Id: 15983
Note: SVN reference [15982] has been migrated to Git commit ca8c3031ea
2019-02-26 21:07:12 +00:00
Robert Sparks ca8c3031ea Add session.short to the output from meeting/agenda.json when it is available. Commit ready for merge.
- Legacy-Id: 15982
2019-02-26 19:04:55 +00:00
Henrik Levkowetz 57a4c9f41f Added 9 new group features, and changed list-like char fields to json fields, to get better support for using the values as lists. Modified code to use the group features instead of explicit lists of group types in many places in the code.
- Legacy-Id: 15908
2019-01-22 18:11:46 +00:00
Henrik Levkowetz c4707119f4 Updated the timezone information to match the latest timezone database release (2018i)
- Legacy-Id: 15878
2019-01-14 13:54:28 +00:00
Robert Sparks 25cc00f925 Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge.
- Legacy-Id: 15864
2019-01-02 22:55:00 +00:00
Robert Sparks 590e20c00f Provide a correct link to jabber logs for plenaries in past agendas. Fixes #2641. Commit ready for merge.
- Legacy-Id: 15816
2018-12-13 19:51:18 +00:00
Henrik Levkowetz 8180716efa Added a couple of assertion to help understand test coverage percentage variations
- Legacy-Id: 15751
2018-11-11 12:19:29 +00:00
Henrik Levkowetz ddf3385f11 Merged in [15694] from rjsparks@nostrum.com:
Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619.
 - Legacy-Id: 15726
Note: SVN reference [15694] has been migrated to Git commit 5db8831b81
2018-11-06 04:52:46 +00:00
Henrik Levkowetz 07dd66e2e6 Added a guard against getting the attribute of None in api_set_session_video_url(). Fixes a server 500 for some hackathon sessions.
- Legacy-Id: 15716
2018-11-05 04:33:25 +00:00
Robert Sparks 5db8831b81 Clearly label cancelled sessions on the week-view on the agenda page. Fixes #2619. Commit ready for merge.
- Legacy-Id: 15694
2018-11-03 06:57:59 +00:00
Henrik Levkowetz 6befbfd149 Merged in [15648] from rjsparks@nostrum.com:
Use only ietf meetings for testing editing timeslots.
 - Legacy-Id: 15649
Note: SVN reference [15648] has been migrated to Git commit e981e8c7b8f0bf80c9c536c4c7288e38d0b48f95
2018-11-02 02:02:26 +00:00
Henrik Levkowetz 3508f59f52 Merged in [15596] from rjsparks@nostrum.com:
improved coverage for several tests.
 - Legacy-Id: 15600
Note: SVN reference [15596] has been migrated to Git commit 6f18ae882532433ba86322b33c34f5f1b0350cb9
2018-10-19 14:27:13 +00:00
Henrik Levkowetz 30c72d3978 Tweaked the migration order.
- Legacy-Id: 15572
2018-10-15 05:24:25 +00:00
Robert Sparks 87bda66740 Converted several secr apps to use factories for tests. Commit ready for merge.
- Legacy-Id: 15568
2018-10-12 22:08:31 +00:00
Robert Sparks d179db39d4 Added meeting.agenda_info_note. Commit ready for merge.
- Legacy-Id: 15550
2018-10-09 22:08:45 +00:00
Robert Sparks c9e1474076 Renamed meeting.agenda_note to meeting.agenda_warning_note. Commit ready for merge.
- Legacy-Id: 15549
2018-10-09 20:52:04 +00:00
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