Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
9c095365dd
Commented out debug output from ietf.utils.urls.url(). Tweaked the url() handling of django views.
...
- Legacy-Id: 12634
2017-01-09 16:32:38 +00:00
Henrik Levkowetz
eb5aa9a691
Django 1.9: Refined the autonaming url() replacement.
...
- Legacy-Id: 12622
2016-12-22 18:08:21 +00:00
Henrik Levkowetz
d5460b8f7f
Django 1.9: Merged work forward to copy of latest release.
...
- Legacy-Id: 12621
2016-12-22 17:30:50 +00:00
Henrik Levkowetz
bfc44dea82
Django 1.9: Added an alternative implementation of urls() which derives an url pattern name from the callable, in order to maintain DRY for url patterns.
...
- Legacy-Id: 12617
2016-12-22 17:20:29 +00:00
Henrik Levkowetz
3944ab95cc
Django 1.9: Supplied a required argument to TemplateDoesNotExist()
...
- Legacy-Id: 12616
2016-12-22 17:14:51 +00:00
Henrik Levkowetz
471bbde4d5
Django 1.9: Adjusted import path
...
- Legacy-Id: 12615
2016-12-22 17:13:26 +00:00
Henrik Levkowetz
ec0d6a7e4f
Merged in [12593] from rjsparks@nostrum.com:
...
Send mail to team secretaries when a review is explicitly requested. Change the From and Subject for assignment emails to reviewers to make it clearer what the review is for and who assigned it. Fixes #2053 and #2114 .
- Legacy-Id: 12602
Note: SVN reference [12593] has been migrated to Git commit 10f4892eae
2016-12-21 18:01:00 +00:00
Henrik Levkowetz
7e6baf15b7
Merged in [12588] from rjsparks@nostrum.com:
...
Change how we display review text to follow the tecnique used with other large blocks of pasted or imported text (shepherds writeups for instance). Fixes #2104 .
- Legacy-Id: 12600
Note: SVN reference [12588] has been migrated to Git commit 7c182375af
2016-12-21 17:26:03 +00:00
Henrik Levkowetz
8e9858379b
Fixed some pyflakes and form initialization issues with the upgrade to DurationField.
...
- Legacy-Id: 12599
2016-12-21 17:03:39 +00:00
Henrik Levkowetz
67b2fc1107
Extended the form fields used for duration to accept additional formats, including formats the secretariat are currently using, in order to avoid trouble with the TimedeltaField --> DurationField transition.
...
- Legacy-Id: 12598
2016-12-21 15:26:32 +00:00
Robert Sparks
10f4892eae
Send mail to team secretaries when a review is explicitly requested. Change the From and Subject for assignment emails to reviewers to make it clearer what the review is for and who assigned it. Fixes #2053 and #2114 . Commit ready for merge.
...
- Legacy-Id: 12593
2016-12-19 22:32:03 +00:00
Robert Sparks
7c182375af
Change how we display review text to follow the tecnique used with other large blocks of pasted or imported text (shepherds writeups for instance). Fixes #2104 . Commit ready for merge.
...
- Legacy-Id: 12588
2016-12-19 20:38:51 +00:00
Henrik Levkowetz
481a96c935
Changed the handling of skip tests and messages in order to show which tests will be skipped, and why, at the start of a test run.
...
- Legacy-Id: 12568
2016-12-17 21:49:53 +00:00
Henrik Levkowetz
b14e981e66
Merged in [12520] from rjsparks@nostrum.com:
...
Slight refactor of the review models to capture review team settings. Allows configuring review teams to get automatic suggestions for reviews or not. Provides a better admin for creating/managing review teams. Fixes #2048 and #2072 .
- Legacy-Id: 12544
Note: SVN reference [12520] has been migrated to Git commit b24bdb5bc3
2016-12-15 20:55:40 +00:00
Henrik Levkowetz
65481b5df7
Moved warnings settings from manage.py and test_runner.py to one single place, settings.py. Decreased the verbosity level when invoking 'loaddata' from the test runner.
...
- Legacy-Id: 12535
2016-12-15 13:25:20 +00:00
Henrik Levkowetz
8e56935cfd
Undid commit 12527, which contained much too much.
...
- Legacy-Id: 12528
2016-12-15 10:38:54 +00:00
Henrik Levkowetz
e3c6e0ac6b
Changed the state shown in all_id.txt for drafts which have entered IESG processing, but then been replaced, to show as 'Replaced' instead of 'In IESG Processing'. This is consistent with how they are shown in all_id2.txt.
...
- Legacy-Id: 12527
2016-12-15 10:36:15 +00:00
Robert Sparks
b24bdb5bc3
Slight refactor of the review models to capture review team settings. Allows configuring review teams to get automatic suggestions for reviews or not. Provides a better admin for creating/managing review teams. Fixes #2048 and #2072 . Commit ready for merge.
...
- Legacy-Id: 12520
2016-12-14 23:26:32 +00:00
Henrik Levkowetz
03d90163a5
Merged django-1.8 work forward to copy of 6.39.1
...
- Legacy-Id: 12504
2016-12-10 19:32:46 +00:00
Henrik Levkowetz
2978798f39
Made serialization work for RegexStringValidator
...
- Legacy-Id: 12492
2016-12-09 12:40:21 +00:00
Henrik Levkowetz
57eb5844e5
Merged in [12489] from rjsparks@nostrum.com:
...
Save a new reviewrequest for each team requested in the request form. Fixes #2094 .
- Legacy-Id: 12491
Note: SVN reference [12489] has been migrated to Git commit 4fff1ab101e4f7cd27dc8ded889e09905866076f
2016-12-09 12:01:48 +00:00
Henrik Levkowetz
2c27d5c611
Moved optional text wrapping before html escaping in markup_unicode(), used by get_unicode_document_content(). Fixes a problem with lines being wrapped when they should not be.
...
- Legacy-Id: 12480
2016-12-08 16:27:05 +00:00
Henrik Levkowetz
217b31f109
Made the RegexStringValidator deconstructible so we can generate migrations.
...
- Legacy-Id: 12476
2016-12-07 19:28:01 +00:00
Henrik Levkowetz
6304bfda69
Fixed template_coverage_collection initialisation. Tweaked a message. Updated coverage numbers.
...
- Legacy-Id: 12471
2016-12-07 11:33:33 +00:00
Henrik Levkowetz
db7e554c5e
Changed to using TestCase from ietf.utils, and turned off coverage checking when loading templates in TemplateChecksTestCase.
...
- Legacy-Id: 12470
2016-12-07 11:31:31 +00:00
Henrik Levkowetz
b628a0844b
Changed to using TestCase from ietf.utils in some places, for consistent test-suite failure output.
...
- Legacy-Id: 12467
2016-12-07 11:03:32 +00:00
Henrik Levkowetz
7dfbe51913
Don't count the template loading done in TemplateChecksTestCase towards template coverage numbers.
...
- Legacy-Id: 12464
2016-12-06 15:55:39 +00:00
Henrik Levkowetz
e4ce339235
Merged in [12461] from rjsparks@nostrum.com:
...
Added migration to fetch text from reviews in the mail archives and populate the review documents. Fixes #2064 . Will patch into production.
- Legacy-Id: 12463
Note: SVN reference [12461] has been migrated to Git commit 63a9599bafdcacf49f1bb374b2156d8473da93d1
2016-12-05 21:03:49 +00:00
Henrik Levkowetz
8f6e51839f
Fixed some additional places to use the new settings.TEMPLATES structure.
...
- Legacy-Id: 12459
2016-12-05 19:04:27 +00:00
Henrik Levkowetz
14776bae70
Merged django18 work forward to r12447
...
- Legacy-Id: 12455
2016-12-05 15:03:40 +00:00
Henrik Levkowetz
0bb7854591
Merged django18 work forward to 6.39
...
- Legacy-Id: 12449
2016-12-05 14:01:25 +00:00
Henrik Levkowetz
b897519fff
Changed the test runner to use the verbosity set on the command line when loading fixtures.
...
- Legacy-Id: 12446
2016-12-05 12:56:53 +00:00
Henrik Levkowetz
5959b3a46a
Added a validator for the reviewer settings' Filter Regexp field, to make sure that we don't later hit exceptions when trying to compile and use the regexp entered.
...
- Legacy-Id: 12439
2016-12-01 21:30:39 +00:00
Henrik Levkowetz
b914f46313
Merged in ^/branch/iola/review-tracker-r12128@12397, bringing in the review tool functionality described in RFC7735. This adds the ability to set up review management pages for review teams such as genart, secdir, opsdir, etc.; letting the review team secretaries manage requested and completed reviews; letting the reviewers keep track of and document their reviews, and more. See the RFC for full specification, and the branch commit log for a full commit history.
...
- Legacy-Id: 12419
2016-11-29 14:54:19 +00:00
Henrik Levkowetz
cec0f33817
Removed unused stuff.
...
- Legacy-Id: 12409
2016-11-28 21:20:28 +00:00
Henrik Levkowetz
53d68af9cd
Adapted the utils template tests to the new template handling in Django 1.8.
...
- Legacy-Id: 12407
2016-11-28 21:05:17 +00:00
Henrik Levkowetz
554ec2d78c
Removed an unused import
...
- Legacy-Id: 12406
2016-11-28 21:04:15 +00:00
Henrik Levkowetz
623ce0e1bd
Merged in [12378] from rjsparks@nostrum.com:
...
Change the lines saying that a test has failed to make it easier to cut-paste to run the failed test again.
- Legacy-Id: 12386
Note: SVN reference [12378] has been migrated to Git commit be51bc2e78
2016-11-18 10:45:40 +00:00
Robert Sparks
be51bc2e78
Change the lines saying that a test has failed to make it easier to cut-paste to run the failed test again. Commit ready for merge.
...
- Legacy-Id: 12378
2016-11-17 02:52:45 +00:00
Henrik Levkowetz
964d34282f
Added common patterns for template file names to ignore when testing template parsing and template test coverage.
...
- Legacy-Id: 12354
2016-11-16 02:14:32 +00:00
Henrik Levkowetz
bb7d3b476f
Tweaked the create_group_wiki management command and its test to show more information on failures.
...
- Legacy-Id: 12273
2016-11-07 17:13:09 +00:00
Henrik Levkowetz
888bd44a10
Stash the test results summary in ./.testresults instead of ./testresults, to avoid visual littering.
...
- Legacy-Id: 12272
2016-11-07 17:11:48 +00:00
Henrik Levkowetz
8d1aca19cc
Rewrote the template coverage loader function to a proper template loader class.
...
- Legacy-Id: 12261
2016-11-03 20:51:06 +00:00
Henrik Levkowetz
f7cf00b7ec
Use get_or_create when creating test data, to avoid duplicate key warnings.
...
- Legacy-Id: 12259
2016-11-03 20:48:38 +00:00
Henrik Levkowetz
7b6407dfed
Rewrote the test runner command-line switch declarations to use parser.add_argument() instead of the now unsupported option_list class attribute.
...
- Legacy-Id: 12251
2016-11-03 20:07:22 +00:00
Henrik Levkowetz
1d6853037e
Updated the create_group_wikis management command with additional switches to make it easier to do test deployment of individual wikis.
...
- Legacy-Id: 12240
2016-10-30 18:10:41 +00:00
Henrik Levkowetz
aec77c2385
Rewrote Document.href() to not do database queries when possible, as that has a big performance impact. Fixed a number of tests which relied on href() not doing the right thing for simplified test data. Added caching of canonical_name(), which can be quite heavy. Additional refactoring in a number of places, to use better test data and avoid test failures for good code :-)
...
- Legacy-Id: 12226
2016-10-28 16:59:42 +00:00
Henrik Levkowetz
a1934d1713
Refined the sql debug view at the bottom of each page. Added a column showing the WHERE clause, as that is quite helpful in working out where a given query is coming from. Added an sql_debug template variable to make it easier to switch between the sql debug view and using the django-debug-toolbar.
...
- Legacy-Id: 12225
2016-10-28 16:46:05 +00:00
Henrik Levkowetz
681395ff8e
Added a column to the debug view of sql queries which indicate whether a query originated in view code or template rendering.
...
- Legacy-Id: 12217
2016-10-26 18:49:58 +00:00