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
Henrik Levkowetz
27cd21155c
Fixed a bug in testing for directory existence in the test setup.
...
- Legacy-Id: 12185
2016-10-19 22:38:28 +00:00
Henrik Levkowetz
c22842a7c4
Made the wiki glue test skippable, in case the python subversion bindings are unavailable. Added creation of temporary directories also for the svn repositores created for wikis during testing.
...
- Legacy-Id: 12183
2016-10-19 21:14:20 +00:00
Henrik Levkowetz
ba5c17ecfd
Merged in a management command which provides glue code for creation and maintenance of Trac issue tracker and wiki installations per group. New groups of type wg, rg, and area will autmatically receive a Trac instance.
...
- Legacy-Id: 12182
2016-10-19 18:08:05 +00:00
Henrik Levkowetz
f9b4955880
Tweaked the settings a bit, to avoid problems if changing TRAC_WIKI_DIR_ROOT after TRAC_WIKI_DIR_PATTERN has been set. Added a --wiki-dir-pattern switch to the management command.
...
- Legacy-Id: 12181
2016-10-19 14:56:57 +00:00
Henrik Levkowetz
d400b88239
Added a test for the create_group_wikis management command.
...
- Legacy-Id: 12180
2016-10-19 14:53:58 +00:00
Henrik Levkowetz
41945d5525
Reverted unintended commit
...
- Legacy-Id: 12179
2016-10-19 14:47:17 +00:00
Henrik Levkowetz
b2aae7dc35
Ignore the virtualenv-created directories under env/
...
- Legacy-Id: 12178
2016-10-19 14:44:44 +00:00
Henrik Levkowetz
887455c1d5
Make sure to not include draft name in the title extracted from draft text.
...
- Legacy-Id: 12176
2016-10-19 12:18:59 +00:00
Ole Laursen
4b987436c0
Fix a missing HttpResponseForbidden in review statistics, make the
...
review test code use a separate reviewer and reviewsecretary user to
avoid confounding things - also let these use Unicode in their names
to check for Unicode trouble.
- Legacy-Id: 12175
2016-10-19 11:58:49 +00:00
Henrik Levkowetz
f33eab6770
Install custom wiki pages before default pages, as we refuse to overwrite an existing page.
...
- Legacy-Id: 12174
2016-10-18 19:32:19 +00:00
Henrik Levkowetz
4cd3c484be
New management command create_group_wikis. Work in progress.
...
- Legacy-Id: 12149
2016-10-14 15:03:13 +00:00
Ole Laursen
958ba5ba95
Make new branch from trunk and merge in review-tracker-r11921
...
- Legacy-Id: 12129
2016-10-13 16:38:47 +00:00
Henrik Levkowetz
e7b76917ae
Added a missing string format parmameter.
...
- Legacy-Id: 12116
2016-10-11 12:53:14 +00:00
Ole Laursen
227fdd7953
Add reviews to search results and IESG agenda. Support restricting
...
review types so that teams will only have those review types
listed and suggested that they are configured to have.
Fix a couple of things in the importer after having tested it on all
the databases. Set unavailable end date >= 2020 to indefinite.
Fix a couple of bugs.
- Legacy-Id: 12095
2016-10-06 14:47:41 +00:00
Henrik Levkowetz
a842e19452
Moved some code and tweaked settings to ignore sql debug functions when calculating code coverage.
...
- Legacy-Id: 12070
2016-09-30 21:30:04 +00:00
Henrik Levkowetz
3854c832a0
Change things so that the reorder_by setting has an effect on the test ordering. It didn't before, as CoverageTest was a subclass of the earlier entries in the reorder_by setting.
...
- Legacy-Id: 12039
2016-09-26 17:48:26 +00:00
Henrik Levkowetz
7f772641d4
Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur.
...
- Legacy-Id: 12035
2016-09-25 13:53:22 +00:00
Ole Laursen
99beb58291
Implement a round-robin rotation scheme for reviewers instead of
...
relying on when they last reviewed. In-order assignments automatically
move the rotation forwards while out-of-order assignments increment
the skip next of the assigned reviewer. Include rotation in open
review assignments email. Fix a couple of issues in the importer.
- Legacy-Id: 12015
2016-09-21 16:52:50 +00:00
Ole Laursen
6da25e6bd9
Add personal review overview page for reviewers, add page for editing
...
reviewer availability settings, emailing the reviewer/secretary as
necessary, add tests for these pages. Fix a bunch of bugs.
- Legacy-Id: 11998
2016-09-19 16:05:32 +00:00