Commit graph

4630 commits

Author SHA1 Message Date
Robert Sparks 5fb3198368 Add pre-ads to .ad aliases. Keep draft aliases for drafts that have become RFCs for some time. Commit ready to merge.
- Legacy-Id: 9306
2015-03-21 20:23:09 +00:00
Willem Toorop 65c052a2f7 Callback API test code paths
- Legacy-Id: 9305
2015-03-21 19:47:50 +00:00
Henrik Levkowetz a9e249e678 Merged in [9303] from rjsparks@nostrum.com:
Cache the wg-charter*txt pages for a time since they are very heavy to generate.
 - Legacy-Id: 9304
Note: SVN reference [9303] has been migrated to Git commit 33c9483749
2015-03-21 19:32:32 +00:00
Robert Sparks 33c9483749 Cache the wg-charter*txt pages for a time since they are very heavy to generate. Commit ready for merge.
- Legacy-Id: 9303
2015-03-21 18:20:12 +00:00
Henrik Levkowetz 4d5e881c18 See to it that TEST_CODE_COVERAGE_CHECKER exists also for production builds.
- Legacy-Id: 9268
2015-03-20 00:06:39 +00:00
Henrik Levkowetz a1a85d4401 Set version info and settings back to development mode
- Legacy-Id: 9266
2015-03-19 23:55:58 +00:00
Henrik Levkowetz bbf43e6fe9 Set version info to release version 5.12.3 before branching.
- Legacy-Id: 9264
2015-03-19 23:55:50 +00:00
Henrik Levkowetz f8ce949f4c Merged in [9242] from rjsparks@nostrum.com:
Restores add-to-community-list functionality to several pages. Fixes #1601.
 - Legacy-Id: 9251
Note: SVN reference [9242] has been migrated to Git commit 02d807581a
2015-03-19 19:45:14 +00:00
Henrik Levkowetz 6044944b00 Removed a cut-and-paste error.
- Legacy-Id: 9249
2015-03-19 17:54:06 +00:00
Henrik Levkowetz ddbb8c18a5 Updated the nomcom tests to use temporary test directories for data, instead of the regular values in settings.py
- Legacy-Id: 9248
2015-03-19 17:52:31 +00:00
Henrik Levkowetz 09c08a99a1 More correct implementation of the workaround to skip migrations during test, which also points at the code that makes this work at the moment.
- Legacy-Id: 9246
2015-03-19 14:15:34 +00:00
Henrik Levkowetz 3d35c4f3a3 Tweaked sqlitetest config to avoid a minutes-long stepping through migrations for each test run.
- Legacy-Id: 9245
2015-03-19 13:14:41 +00:00
Robert Sparks 02d807581a Restores add-to-community-list functionality to several pages. Fixes #1601. Commit ready for merge.
- Legacy-Id: 9242
2015-03-17 20:24:42 +00:00
buildbot 70396be450 Updated test
- Legacy-Id: 9241
2015-03-17 17:38:15 +00:00
buildbot cedb115038 Added exception capture and error message when the --release switch to coverage_changes specify a release for which there aren't any data. Also tweaked the diff output for code coverage changes.
- Legacy-Id: 9239
2015-03-17 16:15:04 +00:00
Henrik Levkowetz 0584ccc47e Set version info and settings back to development mode
- Legacy-Id: 9208
2015-03-15 22:04:25 +00:00
Henrik Levkowetz 0f45170a74 Set version info to release version 5.12.2 before branching.
- Legacy-Id: 9206
2015-03-15 22:04:19 +00:00
Henrik Levkowetz 6f285a12f4 Changed the handling of some test directory creation and removal code, to be more consistent. Fixed a problem where a test didn't create and remove a test directory it used.
- Legacy-Id: 9203
2015-03-15 16:01:15 +00:00
Henrik Levkowetz 0b971f635d Added test coverage data to the release pages if available for the release. Added saving of html pages for the code coverage to a directory in the static files area. If a code coverage report is available, a link to it will be shown on the release page of the current release. Renamed some setting variables related to test coverage to be more explicit and precise.
- Legacy-Id: 9201
2015-03-14 19:08:37 +00:00
Henrik Levkowetz 085e7d2bc3 Added a separate urls.py file for ietf/release/.
- Legacy-Id: 9200
2015-03-14 16:20:30 +00:00
Henrik Levkowetz f7cef368dc Fixed a syntax error.
- Legacy-Id: 9198
2015-03-14 16:19:39 +00:00
Henrik Levkowetz 4b80218548 Merged in [9185] from rcross@amsl.com:
Add DocEvent and SubmissionEvent to merge-person-records.
 - Legacy-Id: 9197
Note: SVN reference [9185] has been migrated to Git commit cadf07fab3
2015-03-14 15:47:24 +00:00
Henrik Levkowetz 0169cd67e7 Make sure we don't start coverage twice.
- Legacy-Id: 9192
2015-03-13 17:32:06 +00:00
Henrik Levkowetz b56580b847 Added tests for the presence of a VTIMEZONE section in generated agenda iCalendar files.
- Legacy-Id: 9191
2015-03-13 16:06:16 +00:00
Henrik Levkowetz 3343c57673 Corrected the dev version number.
- Legacy-Id: 9190
2015-03-13 16:05:19 +00:00
Henrik Levkowetz d4f0ad4955 Fixed a pyflakes nit.
- Legacy-Id: 9189
2015-03-13 16:04:40 +00:00
Henrik Levkowetz f499ba8096 Started the code coverage measurements earlier, in order to make the apparent code coverage of model files less confusing.
- Legacy-Id: 9188
2015-03-13 16:02:31 +00:00
Henrik Levkowetz f15e515baf Added a fudge factor to the coverage test, in order to make it easier to do minor code changes.
- Legacy-Id: 9187
2015-03-13 15:56:13 +00:00
Henrik Levkowetz 1d28ec8f5b Made the test runner try multiple port numbers for the SMTP server, in order to handle the case where multiple test suites are in progress on the same host (which can happen when multiple buildbot slaves are running tests at the same time).
- Legacy-Id: 9186
2015-03-13 15:47:12 +00:00
Ryan Cross cadf07fab3 Add DocEvent and SubmissionEvent to merge-person-records. Commit ready for merge.
- Legacy-Id: 9185
2015-03-11 22:38:12 +00:00
Henrik Levkowetz c7c89a6250 Fixed a small issue with the filter expression to select ADs for active groups.
- Legacy-Id: 9181
2015-03-11 12:05:20 +00:00
Henrik Levkowetz e81ac58549 Set version info and settings back to development mode
- Legacy-Id: 9179
2015-03-10 20:32:30 +00:00
Henrik Levkowetz 70830b6eca Set version info to release version 5.12.1 before branching.
- Legacy-Id: 9177
2015-03-10 20:32:25 +00:00
Henrik Levkowetz fb4bd964e4 Tweaked the email activation migration slightly.
- Legacy-Id: 9172
2015-03-10 20:24:31 +00:00
Henrik Levkowetz 5f86b73d0e Tweaked the email activation migration to not send email when there's no active email address; it's not meaningful as the best we can do then is simply to activate the draft-related address.
- Legacy-Id: 9171
2015-03-10 20:13:49 +00:00
Henrik Levkowetz cb70eb6a88 Removed a superfluous import.
- Legacy-Id: 9169
2015-03-08 14:33:50 +00:00
Henrik Levkowetz d7f44d6e86 Tweaked test to match earlier coverage_changes output format tweak.
- Legacy-Id: 9168
2015-03-08 14:32:14 +00:00
Henrik Levkowetz 58810b327d Don't set email addresses created for submitted drafts to active any more.
- Legacy-Id: 9167
2015-03-08 13:22:29 +00:00
Henrik Levkowetz f71e6166f3 Added a migration which changes the active bit from False to True to all email addresses associated with active drafts, and sends out notification emails about this.
- Legacy-Id: 9166
2015-03-08 13:21:02 +00:00
Henrik Levkowetz e4c15de834 Tweaked the coverage_changes output slightly.
- Legacy-Id: 9165
2015-03-08 13:19:46 +00:00
Henrik Levkowetz 29c674ca59 Captured the change in ScheduledSession sort order in a migration.
- Legacy-Id: 9164
2015-03-08 11:49:03 +00:00
Henrik Levkowetz 5ee64000c3 Changed the test runner to read json files as utf-8.
- Legacy-Id: 9163
2015-03-07 22:28:21 +00:00
Henrik Levkowetz b7095b573f Added a managment command to show the difference in coverage data between the latest release and the latest test run, and a test for the same.
- Legacy-Id: 9162
2015-03-07 22:27:02 +00:00
Henrik Levkowetz 381d37986c Python's pathlib is now available for both 2.x and 3.x, and is well established. Removed the ietf/utils/path.py fallback, and added pathlib to requirements.txt
- Legacy-Id: 9161
2015-03-07 17:17:50 +00:00
Henrik Levkowetz 9ee16e778e Added a login requirement for the full document and group email alias pages, but kept the individual group and document email-alias pages visible without login. Added testing of login redirects for the full email alias lists, and reordered the test sequence within the test methods appropriately.
- Legacy-Id: 9160
2015-03-07 15:55:18 +00:00
Henrik Levkowetz 7258dc6eff Made sure that Email.__unicode__() will return a string even if address is None. Fixes an exception on deleting an email address for a Person object in the admin interface.
- Legacy-Id: 9159
2015-03-07 15:42:34 +00:00
Henrik Levkowetz a4e0287b94 Reordering of the INSTALLED_APPS list orderto be alphabetic within each group; no intentional code change.
- Legacy-Id: 9158
2015-03-06 23:24:35 +00:00
Henrik Levkowetz 0be1ad9a2d Fixed a bug in the template coverage expression. Tweaked the informative text prefacing app coverage figures.
- Legacy-Id: 9157
2015-03-06 23:22:54 +00:00
Henrik Levkowetz e94ac990fc Added per-app coverage measurements, to make the numbers shown when not running the full tests suite a bit more meaningful.
- Legacy-Id: 9156
2015-03-06 20:42:20 +00:00
Henrik Levkowetz 37ed58055f A slight reordering of top url patterns (closer to alphabetic).
- Legacy-Id: 9155
2015-03-06 20:20:56 +00:00
Henrik Levkowetz 45761e5c7f Changed the nomcom.forms.FullFeedbackFormSet to use modelformsets_factory() instead of direct subclassing, in order to avoid a crash when using the form, caused by a missing instance attribute.
- Legacy-Id: 9154
2015-03-06 18:16:33 +00:00
Henrik Levkowetz c37bf9a6a7 Clarified the meaning of checked/unchecked boxes in front of the email addresses on the account profile management page.
- Legacy-Id: 9153
2015-03-04 19:42:24 +00:00
Henrik Levkowetz 9e0c178e79 Merged in [9143] from rcross@amsl.com:
Add AG Secretary to Proceedings authorized roles.
 - Legacy-Id: 9152
Note: SVN reference [9143] has been migrated to Git commit 096bd5e83e
2015-03-04 19:39:46 +00:00
Henrik Levkowetz 2263c87f81 Merged in [9142] from rjsparks@nostrum.com:
Avoid creating blank line before headers on IPR notification email. Fixes #1609.
 - Legacy-Id: 9151
Note: SVN reference [9142] has been migrated to Git commit c307b1f734
2015-03-04 19:25:51 +00:00
Henrik Levkowetz 4dbdf475fa Merged in [9141] from rjsparks@nostrum.com:
Fix ordering issue on agenda.html.
 - Legacy-Id: 9150
Note: SVN reference [9141] has been migrated to Git commit 29ac6363a1
2015-03-04 19:16:21 +00:00
Henrik Levkowetz a64961977b Added a new field 'primary' to the Email model, added a matching migration, and a data migration to set primary fields to match the way a primary address is chosen today.
- Legacy-Id: 9149
2015-03-04 17:53:48 +00:00
Henrik Levkowetz 7619186e6a Added a field capturing changed information for the idsubmission-cutoff-related fields of Meeting.
- Legacy-Id: 9148
2015-03-04 17:51:46 +00:00
Henrik Levkowetz e379df0053 Removed the obsolete field Group._ad, and added a migration for the change.
- Legacy-Id: 9147
2015-03-04 17:50:18 +00:00
Henrik Levkowetz e9fcce9cdc Added a couple of missing __init__.py files.
- Legacy-Id: 9146
2015-03-04 16:19:07 +00:00
Henrik Levkowetz 86997e1e95 Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Ryan Cross 096bd5e83e Add AG Secretary to Proceedings authorized roles. Commit ready to merge.
- Legacy-Id: 9143
2015-03-02 23:40:17 +00:00
Robert Sparks c307b1f734 Avoid creating blank line before headers on IPR notification email. Fixes #1609. Commit ready for merge.
- Legacy-Id: 9142
2015-03-02 20:38:55 +00:00
Robert Sparks 29ac6363a1 Fix ordering issue on agenda.html. Commit ready for merge
- Legacy-Id: 9141
2015-03-01 16:08:02 +00:00
Henrik Levkowetz 198c16b9aa Set version info and settings back to development mode
- Legacy-Id: 9136
2015-02-26 10:08:24 +00:00
Henrik Levkowetz fd921c4dd9 Set version info to release version 5.12.0 before branching.
- Legacy-Id: 9134
2015-02-26 10:08:18 +00:00
Henrik Levkowetz c0797bccb7 Changed the setting for the default cutoff days so that both are 13, matching the current policy.
- Legacy-Id: 9131
2015-02-25 20:57:37 +00:00
Henrik Levkowetz acff585098 Added submission tool cutoff text and logic for the case when there is only one cutoff date (in other words, the -00 and -01 cutoffs are the same).
- Legacy-Id: 9130
2015-02-25 20:54:39 +00:00
Henrik Levkowetz 5bb83f03b5 Merged in personal/henrik/v5.11.1-dev0@9103, which provides code coverage measurements for the test suite using coverage.py, integrated as a test in the test suite. This test compares the current code coverage of tests with that saved for the latest release. Also converted the URL and template coverage measurements into tests, comparing current with the latest release. The result of this is that the coverage tests will fail if new code is added without sufficient test coverage to at least match that of the latest release. Over time, this should encourage gradually improved test coverage as seen for both code, templates, and urls. Coverage data is also saved to file, and can be read by the 'coverage' shell command to produce html or text reports.
- Legacy-Id: 9129
2015-02-25 19:14:19 +00:00
Henrik Levkowetz 524359a30f Set version info and settings back to development mode
- Legacy-Id: 9127
2015-02-25 09:06:53 +00:00
Henrik Levkowetz 1d0cb9cc6a Set version info to release version 5.11.2 before branching.
- Legacy-Id: 9125
2015-02-25 09:06:47 +00:00
Henrik Levkowetz 99233abff5 Merged in [9121] from rcross@amsl.com:
resolve issues with proceedings progress repport.
 - Legacy-Id: 9123
Note: SVN reference [9121] has been migrated to Git commit a77c81cdd5
2015-02-24 20:29:42 +00:00
Henrik Levkowetz ebb00e5ac4 Merged in [9099] from rcross@amsl.com:
Add ietf/bin script merge-person-records.
 - Legacy-Id: 9122
Note: SVN reference [9099] has been migrated to Git commit 877e683270
2015-02-24 20:20:15 +00:00
Ryan Cross a77c81cdd5 resolve issues with proceedings progress repport. Commit ready for merge
- Legacy-Id: 9121
2015-02-24 19:11:31 +00:00
Henrik Levkowetz 048319edbc Merged in [9097] from rcross@amsl.com:
Fixes #1605.  Editing session request causes KeyError.
 - Legacy-Id: 9120
Note: SVN reference [9097] has been migrated to Git commit a660c433bb
2015-02-24 18:44:00 +00:00
Henrik Levkowetz 219a2ea204 Changed the handling of the group edit form so as to generate a ChangeStateGroupEvent for state changes, instead of a generic GroupEvent of type 'info_changed'.
- Legacy-Id: 9119
2015-02-24 18:36:02 +00:00
Henrik Levkowetz ca8d554b78 Undid previous commit -- it contained too much.
- Legacy-Id: 9118
2015-02-24 18:31:53 +00:00
Henrik Levkowetz 2b73f24c94 Merged in [9097] from rcross@amsl.com:
Fixes #1605.  Editing session request causes KeyError.
 - Legacy-Id: 9117
Note: SVN reference [9097] has been migrated to Git commit a660c433bb
2015-02-24 18:29:45 +00:00
Henrik Levkowetz f8385208e3 Set version info and settings back to development mode
- Legacy-Id: 9114
2015-02-23 20:49:20 +00:00
Henrik Levkowetz 2797f8a4f3 Set version info to release version 5.11.1 before branching.
- Legacy-Id: 9112
2015-02-23 20:49:14 +00:00
Henrik Levkowetz fed0e17ac1 Made the selector for Agenda.groups() match that of Agenda.area_list() by adding parent__isnull=False. Without this, the two won't match if split by area. Fixes issue #1607.
- Legacy-Id: 9108
2015-02-23 12:21:00 +00:00
Henrik Levkowetz 298adf3e20 Added 4 new fields to the meeting class, to hold draft submission cutoff information for the meeting. On request, changed the presentation of the cutoff times to show the last submission time, rather than the beginning of the cutoff time. Changed the cutoff hour format to support full timedelta information, not just a given hour (this was necessary in order to be able to set the requested 23:59:59 submission stop time).
- Legacy-Id: 9107
2015-02-21 20:48:29 +00:00
Henrik Levkowetz 01ade795d3 Merged in [9083] from rjsparks@nostrum.com:
Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views.
 - Legacy-Id: 9106
Note: SVN reference [9083] has been migrated to Git commit a208803e82
2015-02-20 22:53:46 +00:00
Henrik Levkowetz e7007a6c3c Merged in [9070] from rjsparks@nostrum.com:
Adds pages to view the draft and group email aliases, either as a whole, or per document or group.
 - Legacy-Id: 9105
Note: SVN reference [9070] has been migrated to Git commit 79dda88337
2015-02-20 22:38:20 +00:00
Henrik Levkowetz b880779aeb Reverted unintended changes to test_runner.py in [9069].
- Legacy-Id: 9104
Note: SVN reference [9069] has been migrated to Git commit f3b22aa300
2015-02-20 22:00:54 +00:00
Henrik Levkowetz dba3db444c Added test code coverage measurements using coverage.py, integrated as a test in the test suite. This test compares the current code coverage of tests with that saved for the latest release. Also converted the URL and template coverage measurements into tests, comparing current with the latest release. The result of this is that the coverage tests will fail if new code is added without sufficient test coverage to at least match that of the latest release. Over time, this should encourage gradually improved test coverage as seen for both code, templates, and urls. Coverage data is also saved to file, and can be read by the 'coverage' shell command to produce html or text reports.
- Legacy-Id: 9103
2015-02-19 23:42:34 +00:00
Ryan Cross 877e683270 Add ietf/bin script merge-person-records. Commit ready for merge.
- Legacy-Id: 9099
2015-02-17 23:24:11 +00:00
Henrik Levkowetz addfd0951a Removed unused app directory 'contrib'.
- Legacy-Id: 9098
2015-02-17 21:22:59 +00:00
Ryan Cross a660c433bb Fixes #1605. Editing session request causes KeyError. Commit ready for merge.
- Legacy-Id: 9097
2015-02-17 19:55:54 +00:00
Henrik Levkowetz 7bd647c0d6 Don't create empty Alias records. Fixes issue #1603.
- Legacy-Id: 9086
2015-02-13 13:04:42 +00:00
Henrik Levkowetz a85725e146 Added a guard against crashing because of missing timeslot location or time in check_audio_files(), which is called by create_proceedings() after changes to meeting materials. Fixes issue 1604.
- Legacy-Id: 9085
2015-02-13 12:09:56 +00:00
Henrik Levkowetz 9209be4656 Added back a functioning get_fieldsets() method, which was removed instead of corrected in the Django 1.7 upgrade.
- Legacy-Id: 9084
2015-02-13 12:03:32 +00:00
Robert Sparks a208803e82 Added dealing with /wg/foo/email-aliases, /wg/email-aliases, and similar for /rg. Added an initial test suite for all invocations of the email_alias views. Commit ready for merge.
- Legacy-Id: 9083
2015-02-13 04:18:47 +00:00
Henrik Levkowetz 071dfc6f8e Cleanup after Django 1.7 migration
- Legacy-Id: 9082
2015-02-12 16:38:01 +00:00
Henrik Levkowetz 5cafa08542 Added a missing table column to the WG document page for the case when the user isn't logged in. Addresses issue #1601 (but add links in the column are still missing).
- Legacy-Id: 9081
2015-02-12 16:31:41 +00:00
Henrik Levkowetz 8b4be00d2c Cleanup after Django 1.7 migration
- Legacy-Id: 9078
2015-02-12 16:06:44 +00:00
Robert Sparks 79dda88337 Adds pages to view the draft and group email aliases, either as a whole, or per document or group. Commit ready for merge.
- Legacy-Id: 9070
2015-02-11 21:50:34 +00:00
Henrik Levkowetz f3b22aa300 Added django.setup() to some additional scripts, as required under Django 1.7.
- Legacy-Id: 9069
2015-02-11 06:52:07 +00:00
Henrik Levkowetz cebffd36d8 Added django.setup() to some additional scripts, as required under Django 1.7.
- Legacy-Id: 9068
2015-02-10 22:09:22 +00:00
Henrik Levkowetz 73e920739a Added title annotations to major release entries in the changelog back to 2010, and changelog parsing and release page support for the same.
- Legacy-Id: 9067
2015-02-10 10:59:55 +00:00
Henrik Levkowetz 278313829c Set version info and settings back to development mode
- Legacy-Id: 9033
2015-02-09 20:17:16 +00:00