Henrik Levkowetz
19d585255a
Django 1.10 does not permit the view argument to url() to be a string any more. Changed all cases view arguments to url() which were strings to instead reference the actual imported function.
...
- Legacy-Id: 12815
2017-02-10 14:49:16 +00:00
Henrik Levkowetz
49a899fe66
Added support for management of trac wikis for explicitly named groups, such as the IESG and IAOC. Tweaked the dummy-run handling of the create_group_wikis management command.
...
- Legacy-Id: 12789
2017-02-08 16:37:31 +00:00
Henrik Levkowetz
de3976bec0
Merged in Django 1.9 upgrade work from ^/personal/henrik/6.41.1-django-1.9
...
- Legacy-Id: 12764
2017-01-31 15:13:01 +00:00
Henrik Levkowetz
55b430b525
Merged in [12748] from rcross@amsl.com:
...
Fixes #2172 . Add Requested Resources and People who must be there, to email notifications of session requests.
- Legacy-Id: 12757
Note: SVN reference [12748] has been migrated to Git commit eeb35e997d
2017-01-30 23:22:45 +00:00
Henrik Levkowetz
40e8380751
Merged django 1.9 work forward to copy of trunk @6.41.0
...
- Legacy-Id: 12756
2017-01-30 23:13:02 +00:00
Ryan Cross
eeb35e997d
Fixes #2172 . Add Requested Resources and People who must be there, to email notifications of session requests. Commit ready for merge.
...
- Legacy-Id: 12748
2017-01-27 23:32:52 +00:00
Henrik Levkowetz
79c44d25ea
Changed settings_sqlitetest so that local developer additions to context processors and middleware classes are avoided.
...
- Legacy-Id: 12723
2017-01-24 20:42:51 +00:00
Henrik Levkowetz
6f5c0fdd23
Added a trac-admin role name, for help in assigning trac-admin rights to trac instances. Extended the create_group_wikis management command to create and update wikis for groups of type 'team','ag' and 'dir', in addition to 'wg','rg' and 'area'; and also add people with role trac-admin in the group or in the secretariat to those given TRAC_ADMIN permissions in a Trac instance.
...
- Legacy-Id: 12721
2017-01-24 17:21:11 +00:00
Henrik Levkowetz
a5d1aca525
Save database object before using it.
...
- Legacy-Id: 12716
2017-01-23 19:42:03 +00:00
Henrik Levkowetz
613f0c8233
Pyflakes fixes.
...
- Legacy-Id: 12714
2017-01-23 18:35:58 +00:00
Henrik Levkowetz
bdbddc8efd
Rewrote a test to provide on-disk files instead of StringIO files to argparse (it seems optparse could handle this, but argparse can't).
...
- Legacy-Id: 12713
2017-01-23 18:23:05 +00:00
Henrik Levkowetz
450c39af23
Changed the failure leeway of the code coverage test percentage from 0.005% back to 0.02%.
...
- Legacy-Id: 12707
2017-01-19 20:01:19 +00:00
Henrik Levkowetz
6eec4c2648
Converted all management commands which set up additional command-line switches to use the argparse approach instead of the deprecated optparse approach.
...
- Legacy-Id: 12645
2017-01-11 18:42:38 +00:00
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