Commit graph

4873 commits

Author SHA1 Message Date
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
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
Ole Laursen a23d80ea40 Commit patch from Lars Eggert to update the JS/CSS libraries
- Legacy-Id: 9116
2015-02-24 10:25:20 +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
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00
Ole Laursen c72d465438 Summary: Insert anchor-target hack to try to alleviate the problem of
the top menu covering the anchor target, also increase the width at
which content navigation menus disappear
 - Legacy-Id: 9093
2015-02-17 15:17:05 +00:00
Ole Laursen 3fa51363e4 Remove unused IPR base template which somehow managed to survive the trunk merges
- Legacy-Id: 9092
2015-02-17 11:46:52 +00:00
Ole Laursen 13f970e46d Summary: Move user submenu to right-hand side in top menu to prevent
things jumping around when logging in
 - Legacy-Id: 9091
2015-02-17 11:05:55 +00:00
Ole Laursen 1e8647d409 Summary: Move submit button on diff form up so it's next to the diff
format option
 - Legacy-Id: 9090
2015-02-17 10:57:08 +00:00
Ole Laursen 93ee2e669c Summary: Simplify HTML a bit for document errata label, fixes odd
rendering problem spotted by Warren Kumari
 - Legacy-Id: 9089
2015-02-17 09:20:24 +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
Ole Laursen 048a3b732b Merge fix from facelift-r9069 branch
- Legacy-Id: 9080
2015-02-12 16:10:09 +00:00
Ole Laursen eda5eed791 Summary: Don't crash if timeslots with show_location = True don't have
a location
 - Legacy-Id: 9079
2015-02-12 16:08:39 +00:00
Henrik Levkowetz 8b4be00d2c Cleanup after Django 1.7 migration
- Legacy-Id: 9078
2015-02-12 16:06:44 +00:00
Ole Laursen 9760cd9c8e Summary: Load the groups in the group menu with AJAX and delete the
jump to group modal. This cuts page rendering speed in more than half
for simple pages and similarly shrinks them by a factor 3-4, while
keeping the user experience the same. Fallbacks are in place for
non-JS clients.

There's still some overhead in the menu generation compared to just
rendering the page content, but the group menu was definitely a major
culprit.
 - Legacy-Id: 9077
2015-02-12 16:01:05 +00:00
Ole Laursen a92752bbcf Summary: Add a little hack to skip the new Django 1.7 migrations
when running with settings_sqlitetest to speed up the process
 - Legacy-Id: 9076
2015-02-12 15:35:05 +00:00
Ole Laursen b334550d9c Summary: Get rid of FillInRemoteUserIfLoggedInMiddleware, we are not
using Apache/REMOTE_USER to login anymore, and it's forcing a vary:
cookie header even on pages that don't check on the logged in user
(i.e. things not rendering through the base template)
 - Legacy-Id: 9075
2015-02-12 15:16:29 +00:00
Ole Laursen 04219b9d94 Fix two cycle calls that slipped past the merge, and delete file that somehow survived the merge
- Legacy-Id: 9073
2015-02-12 10:51:57 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +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
Henrik Levkowetz 1df82ab941 Set version info to release version 5.11.0 before branching.
- Legacy-Id: 9031
2015-02-09 20:17:08 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Henrik Levkowetz 4a3749a66b Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9026
2015-02-08 19:16:46 +00:00
Henrik Levkowetz 3b21cacecd Set version info and settings back to development mode
- Legacy-Id: 9024
2015-02-08 16:40:13 +00:00
Henrik Levkowetz d257284662 Set version info to release version 5.10.3 before branching.
- Legacy-Id: 9022
2015-02-08 16:40:07 +00:00
Henrik Levkowetz f3fcf1623d Made the cookie handling for the 'expires_soon' cookie insensitive to nonnumeric values.
- Legacy-Id: 9018
2015-02-08 10:05:24 +00:00
Henrik Levkowetz 1210f77604 With django 1.7, standalone scripts need to call django.setup() before doing any operations involving models. Modified all scripts in bin/ and ietf/bin/ which seemed to need it.
- Legacy-Id: 9017
2015-02-07 21:13:38 +00:00
Henrik Levkowetz 9f967aebea Merged in [9007] from rjsparks@nostrum.com:
Add the csrf_token to the form for editing document titles. Fixes #1597.
 - Legacy-Id: 9016
Note: SVN reference [9007] has been migrated to Git commit 0cce59b3ef
2015-02-06 19:25:44 +00:00
Henrik Levkowetz ff3603b979 Merged in [9005] from rcross@amsl.com:
Fixed the group link on the standalone Interim Meeting Proceedings
      directory page.

    Also removed some dead code.
 - Legacy-Id: 9015
Note: SVN reference [9005] has been migrated to Git commit 9fed6d8774
2015-02-06 15:25:28 +00:00
Ole Laursen eccd8d27c4 Make new branch from trunk (r9007) and merge facelift-r8876 into it, fixing a few merge conflicts
- Legacy-Id: 9014
2015-02-06 14:08:34 +00:00
Henrik Levkowetz 375b8d8d95 Added an admin view for the ResourceAssociation class.
- Legacy-Id: 9013
2015-02-06 12:34:11 +00:00
Henrik Levkowetz 970059617e Added back a general setting (removed from the Django framework in 1.7) to avoid base64-encoding of UTF-8 email messages.
- Legacy-Id: 9012
2015-02-06 12:33:24 +00:00
Henrik Levkowetz 24abae6d26 Added back a modified version of get_fieldsets for liaison forms; in this case the parent class doesn't have this method..
- Legacy-Id: 9011
2015-02-06 12:30:51 +00:00
Henrik Levkowetz 342b2d3cb5 Removed the unnecessary get_and_create() of community.model.DisplayConfiguration on community page GET.
- Legacy-Id: 9010
2015-02-06 11:27:50 +00:00
Henrik Levkowetz 05a617d3b2 Made the cookie handling for the 'new_enough' cookie insensitive to nonnumeric values.
- Legacy-Id: 9009
2015-02-06 10:57:17 +00:00
Ole Laursen 0fedf9312b Summary: Simplify with ... include into an include with statement
- Legacy-Id: 9008
2015-02-06 10:17:27 +00:00
Robert Sparks 0cce59b3ef Add the csrf_token to the form for editing document titles. Fixes #1597. Commit ready for merge.
- Legacy-Id: 9007
2015-02-06 04:14:03 +00:00
Ryan Cross 9fed6d8774 Fix group link on Interim Meeting Proceedings directory page. Commit ready for merge.
- Legacy-Id: 9005
2015-02-06 00:02:07 +00:00
Henrik Levkowetz c64570c6c0 Set version info and settings back to development mode
- Legacy-Id: 9001
2015-02-05 18:33:26 +00:00
Henrik Levkowetz b4f71e4e2d Set version info to release version 5.10.2 before branching.
- Legacy-Id: 8999
2015-02-05 18:33:21 +00:00
Ole Laursen a0ff3cfefb Summary: Move some of the morecss statements to ietf.css, as per
instructions in the README
 - Legacy-Id: 8996
2015-02-05 15:49:34 +00:00
Ole Laursen ea33e0e3b7 Summary: Fix a missing hide_menu in agenda edit, also delete some now
unused blocks
 - Legacy-Id: 8995
2015-02-05 15:48:17 +00:00
Henrik Levkowetz 58cc1e431f When draft email aliases are generated, the content of the doc.notify field is used to generate the .notify alias, and is also included in the .all alias. If the notify field contains either the .notify alias or the .all alias, this can create a mail loop. Changed the alias generation code to expand (or ignore, for .notify) aliases found in the notify field, and changed the code which fills in the notify field with a default value to insert the author, ad, and shepherd aliases instead of the .all alias.
- Legacy-Id: 8994
2015-02-05 15:38:01 +00:00
Ole Laursen 0edbca5f76 Summary: Fix bug in document type checkboxes
- Legacy-Id: 8993
2015-02-05 15:33:09 +00:00
Ole Laursen 1d2883a9a2 Summary: Fix some inconsistencies regarding whether to use
{% buttons %} or <div class="buttonlist"> for form buttons
 - Legacy-Id: 8992
2015-02-05 14:44:08 +00:00
Ole Laursen 78e3a620ce Summary: Fix unused import
- Legacy-Id: 8991
2015-02-05 14:14:57 +00:00
Ole Laursen 8eff2f39cf Summary: Make sure the TEMPLATE_LOADERS dev hack produces a tuple,
otherwise the tests barf
 - Legacy-Id: 8989
2015-02-05 14:05:10 +00:00
Ole Laursen 9d71ef3179 Summary: Move select2 field handling to a separate .js file, currently
we only include the select2 things on pages with forms that need it
anyway, and this makes it easier to use it in the Secretariat code
 - Legacy-Id: 8986
2015-02-05 13:48:27 +00:00
Henrik Levkowetz bd2cb8baaa Merged in [8970] from olau@iola.dk:
Summary: Enable support for a custom settings file for the test crawl
- and add a simple settings file that enables caching to speed up the
crawl (shaves ~35% off most pages AFAICT)
 - Legacy-Id: 8984
Note: SVN reference [8970] has been migrated to Git commit 8d4e1a8528
2015-02-04 23:17:58 +00:00
Henrik Levkowetz bf77d1e2a4 Merged in [8961] from rjsparks@nostrum.com:
Avoid an issue with python.email breaking To header field values that it has to encode in bad places. Fixes #1589.
 - Legacy-Id: 8983
Note: SVN reference [8961] has been migrated to Git commit 4988d9378c
2015-02-04 23:12:26 +00:00
Henrik Levkowetz 001ecb4372 Merged in [8949] from rjsparks@nostrum.com:
Improvements to the fix to #1592.
 - Legacy-Id: 8982
Note: SVN reference [8949] has been migrated to Git commit 3de9922d87
2015-02-04 22:44:18 +00:00
Henrik Levkowetz bcfa4aaf1d Merged in [8948] from rjsparks@nostrum.com:
Capture out-of-area ADs in draft and group aliases. Fixes #1592.
 - Legacy-Id: 8980
Note: SVN reference [8948] has been migrated to Git commit 0c4ef8c8f6
2015-02-04 22:39:03 +00:00
Henrik Levkowetz cfb332c28a Merged in [8924] from rjsparks@nostrum.com:
Restrict the gathering of ads for past meetings to groups that are areas.
 - Legacy-Id: 8978
Note: SVN reference [8924] has been migrated to Git commit 82bc8f06e1
2015-02-04 22:27:26 +00:00
Henrik Levkowetz 99e3f6514c Merged in [8923] from rjsparks@nostrum.com:
Improve the approval mail contents concerning IESG contact members. Fixes #1588.
 - Legacy-Id: 8976
Note: SVN reference [8923] has been migrated to Git commit 786fc38235
2015-02-04 22:19:31 +00:00
Henrik Levkowetz 278b30cb12 Merged in [8922] from rjsparks@nostrum.com:
Fix needed-to-pas calculation to use new representation of area directors. Fixes #1587.
 - Legacy-Id: 8974
Note: SVN reference [8922] has been migrated to Git commit 7e188d2d81
2015-02-04 22:04:28 +00:00
Henrik Levkowetz 7bb3744113 Merged in [8903] from rcross@amsl.com:
Fix logging problem in IPR mail handling.
 - Legacy-Id: 8973
Note: SVN reference [8903] has been migrated to Git commit 5a0e381985
2015-02-04 21:58:40 +00:00
Ole Laursen e78637b9fc Remove non-facelift static assets, and move the facelift assets one step up
- Legacy-Id: 8971
2015-02-04 17:03:43 +00:00
Ole Laursen 8d4e1a8528 Summary: Enable support for a custom settings file for the test crawl
- and add a simple settings file that enables caching to speed up the
crawl (shaves ~35% off most pages AFAICT)
 - Legacy-Id: 8970
2015-02-04 14:40:54 +00:00
Ole Laursen 86c6effc55 Summary: Cache template loading (speeds up some pages by 20-50 ms),
but only on production since it is really annoying while developing
 - Legacy-Id: 8969
2015-02-04 14:28:47 +00:00
Ole Laursen 12faa4a2f8 Summary: Rewrite community tags to use the much simpler built-in tag parser
- Legacy-Id: 8968
2015-02-04 14:27:49 +00:00
Ole Laursen 703d9995ea Summary: Fix bugs in implementation of add/remove from community list JS
- Legacy-Id: 8967
2015-02-04 14:25:53 +00:00
Ole Laursen a5aa58e0b2 Summary: Prettify stream links a bit by using a keyword argument
- Legacy-Id: 8966
2015-02-04 12:50:07 +00:00
Ole Laursen d61ed824cd Summary: Replace old-style wordwrap custom tag with {% filter wordwrap %}
- Legacy-Id: 8965
2015-02-04 12:48:47 +00:00
Ole Laursen bf34218806 Summary: Include SQL debug thing again in base template
- Legacy-Id: 8963
2015-02-04 12:47:19 +00:00
Ole Laursen c365f99e20 Summary: Fix bug in link
- Legacy-Id: 8962
2015-02-04 11:10:28 +00:00
Robert Sparks 4988d9378c Avoid an issue with python.email breaking To header field values that it has to encode in bad places. Fixes #1589. Commit ready for merge.
- Legacy-Id: 8961
2015-02-03 20:18:27 +00:00
Ole Laursen b5458c29d3 Summary: Clean up some of the FACELIFT comments
- Legacy-Id: 8959
2015-02-03 16:18:42 +00:00