Commit graph

4789 commits

Author SHA1 Message Date
Henrik Levkowetz 9bf8082b6c Reverted some unwanted changes to the release list page.
- Legacy-Id: 9378
2015-04-03 21:16:41 +00:00
Robert Sparks d46035003e Put old style slides directly into archived. Migrate IETF92 materials to match. Commit ready for merge.
- Legacy-Id: 9375
2015-04-03 20:53:13 +00:00
Robert Sparks 284f78e137 Add missing migration. Commit ready for merge
- Legacy-Id: 9373
2015-04-03 19:28:06 +00:00
Henrik Levkowetz 70b4ecf7b8 Reverted the shortcut icon. Revised the apple touch icon. Changed top menubar colour to match current look. Added top menubar logotype to match current look.
- Legacy-Id: 9371
2015-04-03 13:35:33 +00:00
Henrik Levkowetz 3f33c7033d Added a missing <td/> and removed dead template code.
- Legacy-Id: 9370
2015-04-03 13:32:49 +00:00
Henrik Levkowetz 5eda3f9238 Adjusted the 'full doc text' button text
- Legacy-Id: 9369
2015-04-03 13:31:46 +00:00
Henrik Levkowetz 04e1da6148 Display of email addresses other than very short ones at the top of the lefthand menubar will fold the email address. Using 'Account' instead.
- Legacy-Id: 9368
2015-04-03 13:30:11 +00:00
Henrik Levkowetz d9e07c7585 Added support for correct tracked document display on group document list pages.
- Legacy-Id: 9367
2015-04-03 13:28:30 +00:00
Henrik Levkowetz b1662da4f6 Factored out the doc_is_tracked logic, for use on group document list pages.
- Legacy-Id: 9366
2015-04-03 13:27:29 +00:00
Henrik Levkowetz f1af264210 Changed 2 remaining instances of inheritance from base.html to instead inherit from ietf.html. More changes may be needed, and when that's done ietf.html should be renamed back to base.html
- Legacy-Id: 9365
2015-04-02 20:28:04 +00:00
Henrik Levkowetz 3740c036c2 Fixed a merge error in community_tags.
- Legacy-Id: 9364
2015-04-02 19:52:04 +00:00
Henrik Levkowetz 9fe5976b33 Changed the cookie test suite to use PyQuery instead of regex matches against page content, which broke with the facelift changes.
- Legacy-Id: 9363
2015-04-02 19:51:16 +00:00
Henrik Levkowetz 2c4785adf6 Updated an IPR test to account for facelift changes.
- Legacy-Id: 9362
2015-04-02 19:50:00 +00:00
Henrik Levkowetz 85f9eee27b Updated a set of nomcom tests to account for new facelift DOM attributes.
- Legacy-Id: 9361
2015-04-02 19:49:11 +00:00
Henrik Levkowetz ca728d9b48 Updated a set of doc tests to account for changed 'show full text' wording in the facelift document page.
- Legacy-Id: 9360
2015-04-02 19:47:55 +00:00
Henrik Levkowetz f0dad527ee Updated a group test to match the facelift DOM.
- Legacy-Id: 9359
2015-04-02 19:46:43 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz caee795ddd The styling specified here conflicted with the general .errorlist styling,
and resulted in red text on red background, with no padding.  Zapping parts.
 - Legacy-Id: 9352
2015-04-01 16:53:36 +00:00
Robert Sparks a6c64d2b12 Remove sessonly, replacing the idea with a separate State. Add tests checking how materials show on agenda views. Commit ready for merge.
- Legacy-Id: 9351
2015-04-01 16:00:05 +00:00
Robert Sparks 16662f6448 Cleanup: remove transition methods for group.ad. Commit ready for merge.
- Legacy-Id: 9349
2015-03-27 05:00:56 +00:00
Henrik Levkowetz 2f54511763 Changed all explicitly set HttpResponse content_types to specify charset.
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).  
Fixes issue #1647.
 - Legacy-Id: 9348
2015-03-26 21:35:21 +00:00
Henrik Levkowetz 73664a484b Reverted to [9345], the fixed fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9347
Note: SVN reference [9345] has been migrated to Git commit 249bcf6e33
2015-03-26 19:35:14 +00:00
Henrik Levkowetz d7a28fe146 Alternative fix from rcross@amsl.com for a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9346
2015-03-26 17:56:40 +00:00
Henrik Levkowetz 249bcf6e33 Fixed the fix of a typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9345
2015-03-26 17:39:38 +00:00
Henrik Levkowetz c36fc19663 Fixed typo in sort key generation for sort on ipr count in document search results.
- Legacy-Id: 9344
2015-03-26 17:38:00 +00:00
Henrik Levkowetz 1570e91df6 In active_wg(), don't be upset if group.ad_role() returns None, as it can do when the secretariat replaces outgoing ADs with incoming.
- Legacy-Id: 9343
2015-03-26 01:32:50 +00:00
Henrik Levkowetz dbf00fcc57 Updated dev rev
- Legacy-Id: 9341
2015-03-25 23:54:14 +00:00
Henrik Levkowetz 04558234cb Updated release data and mkrelease support, which calculates the release coverage snapshot without invoking tests that developers won't ordinarily be able to run on their laptops/work machines.
- Legacy-Id: 9339
2015-03-25 20:06:12 +00:00
Henrik Levkowetz 01b0ca8efb Set version info and settings back to development mode
- Legacy-Id: 9337
2015-03-25 19:07:27 +00:00
Henrik Levkowetz 1014fcaefd Set version info to release version 5.13.0 before branching.
- Legacy-Id: 9335
2015-03-25 19:07:20 +00:00
Henrik Levkowetz 10f32d850b Merged in [9330] from rcross@amsl.com:
Fixes Ticket #1626.  Cleanup legacy IPR models.
 - Legacy-Id: 9332
Note: SVN reference [9330] has been migrated to Git commit 415d0ad7c7
2015-03-25 17:34:55 +00:00
Henrik Levkowetz 469d69362c Merged in [9326] from rjsparks@nostrum.com:
Test coverage improvement for group material management.
 - Legacy-Id: 9331
Note: SVN reference [9326] has been migrated to Git commit effa1e2b68
2015-03-25 17:25:42 +00:00
Ryan Cross 415d0ad7c7 Fixes Ticket #1626. Cleanup legacy IPR models. Commit ready for merge.
- Legacy-Id: 9330
2015-03-25 16:17:45 +00:00
Henrik Levkowetz edb7a5cb3a Fixed a problem in Document.meeting_related(), and fixed a number of tests which broke when slide objects started to return True to meeting_related() without being related to a session.
- Legacy-Id: 9329
2015-03-25 16:04:57 +00:00
Henrik Levkowetz f833518a03 Workaround for incomplete transition from labelling regular meeting materials as 'active' to labelling as 'sessonly'.
- Legacy-Id: 9328
2015-03-24 21:05:38 +00:00
Robert Sparks effa1e2b68 Test coverage improvement for group material management. Commit ready for merge.
- Legacy-Id: 9326
2015-03-23 17:56:42 +00:00
Henrik Levkowetz ba90fe03ef Merged in [9319] from kivinen@iki.fi:
Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking.
 - Legacy-Id: 9325
Note: SVN reference [9319] has been migrated to Git commit 79b4688f8e
2015-03-22 19:35:04 +00:00
Henrik Levkowetz e58efbb2c2 Merged in [9316] from willem@nlnetlabs.nl:
Test fetching of wg and rg dependency graphs
 - Legacy-Id: 9324
Note: SVN reference [9316] has been migrated to Git commit 5980a35e6c
2015-03-22 18:46:18 +00:00
Henrik Levkowetz 02c8fe1dda Changed the MEDIA_URL to use https instead of http, to be in line with other efforts to move to https in general.
- Legacy-Id: 9323
2015-03-22 17:28:06 +00:00
Henrik Levkowetz 7b94d6086a Merged in [9316] from willem@nlnetlabs.nl:
Test fetching of wg and rg document dependency graphs.

  Also added conditional running of these tests, as they depend on the
  availability of the dot, unflatten and ps2pdf binaries, which may not
  be available on all developers' systems.
 - Legacy-Id: 9322
Note: SVN reference [9316] has been migrated to Git commit 5980a35e6c
2015-03-22 16:57:14 +00:00
Henrik Levkowetz 286ca37ebc Provide full paths to the *coverage.json files.
- Legacy-Id: 9321
2015-03-22 14:54:06 +00:00
Henrik Levkowetz 66bbc97679 Normalized the new filter expression to limit the wg state in the wg selection in community_tags.py
- Legacy-Id: 9320
2015-03-22 14:53:16 +00:00
Tero Kivinen 79b4688f8e Added test cases for cookie code. This will test all the cookie setting code, and also adds test for draft for include_text and full_draft cookie checking. Commit ready for merge.
- Legacy-Id: 9319
2015-03-21 23:06:13 +00:00
Henrik Levkowetz bc9cbb97d0 Merged in [9309] from tjw.ietf@gmail.com:
Fixed #845. Commit read for merge.
 - Legacy-Id: 9318
Note: SVN reference [9309] has been migrated to Git commit 817547cc91
2015-03-21 22:42:52 +00:00
Joel M. Halpern 8cab64c2fe added some nomcom test cases. Commit ready for merge.
- Legacy-Id: 9317
2015-03-21 22:37:43 +00:00
Willem Toorop 5980a35e6c Test fetching of wg and rg dependency graphs
- Legacy-Id: 9316
2015-03-21 22:36:46 +00:00
Henrik Levkowetz 550f69cc37 Merged in [9305] from willem@nlnetlabs.nl:
Callback API test code paths
 - Legacy-Id: 9315
Note: SVN reference [9305] has been migrated to Git commit 65c052a2f7
2015-03-21 22:27:41 +00:00
Henrik Levkowetz 0d4bceb977 Fixed a typo in maketestresources.py
- Legacy-Id: 9314
2015-03-21 22:00:08 +00:00
Henrik Levkowetz c16b7c555f Merged in [9307] from rcross@amsl.com:
Improve test coverage of secr.drafts.
 - Legacy-Id: 9312
Note: SVN reference [9307] has been migrated to Git commit 34a16483fa
2015-03-21 21:45:19 +00:00
Willem Toorop 20123641bf Pyflakes ignore iderectly used variables
They are (potentionally) used in a compile statement where their usage is invisible for pyflakes.
Ready for merge
 - Legacy-Id: 9311
2015-03-21 20:49:49 +00:00
Henrik Levkowetz 31fb872524 Merged in [9306] from rjsparks@nostrum.com:
Add pre-ads to .ad aliases. Keep draft aliases for drafts that have become RFCs for some time.
 - Legacy-Id: 9310
Note: SVN reference [9306] has been migrated to Git commit 5fb3198368
2015-03-21 20:47:24 +00:00
Tim Wicinski 817547cc91 Fixed #845. Commit read for merge.
- Legacy-Id: 9309
2015-03-21 20:46:17 +00:00
Ryan Cross 9c9ac7ea3a Fix pyflakes errors in secr/drafts/tests_views.py. Commit ready for merge
- Legacy-Id: 9308
2015-03-21 20:36:28 +00:00
Ryan Cross 34a16483fa Improve test coverage of secr.drafts. Commit ready for merge.
- Legacy-Id: 9307
2015-03-21 20:26:53 +00:00
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