Henrik Levkowetz
ffb029300f
Added a guard to prevent trying to get a document path for a meeting document when the document is not associated with a meeting session.
...
- Legacy-Id: 12790
2017-02-08 17:00:12 +00:00
Henrik Levkowetz
8a8283f537
Fixed a pyflakes issue.
...
- Legacy-Id: 12788
2017-02-07 17:50:06 +00:00
Henrik Levkowetz
0948c4a0f3
Applying format_html() in simple_tag-registered tags as per the suggestions for Django-1.9 upgrade wasn't straightforward. Reverting to earlier code for ballot-icond link.
...
- Legacy-Id: 12782
2017-02-02 14:24:36 +00:00
Henrik Levkowetz
e94129641d
@register.simple_tag now (in Django 1.9) needs explicit mark_safe() (or format_html() which invokes mark_safe()). Fixed one case which needed this.
...
- Legacy-Id: 12779
2017-02-01 20:46:51 +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
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
Henrik Levkowetz
ccfbde8d33
Fixed an issue with building links from URLs which are already part of a link. Fixes issue #2175 .
...
- Legacy-Id: 12742
2017-01-26 20:11:46 +00:00
Henrik Levkowetz
0481d97650
Fixed a place where missing queryargument data could cause a 500 error.
...
- Legacy-Id: 12741
2017-01-26 19:24:34 +00:00
Henrik Levkowetz
2ab4caa90f
Merged in [12722] from rjsparks@nostrum.com:
...
Added programs to the datatracker. Added use of restructuredtext for group about pages. Generalized several places where code handles different group types. Improved testing of group about.
- Legacy-Id: 12725
Note: SVN reference [12722] has been migrated to Git commit e0ea8b0f57
2017-01-24 21:30:10 +00:00
Robert Sparks
e0ea8b0f57
Added programs to the datatracker. Added use of restructuredtext for group about pages. Generalized several places where code handles different group types. Improved testing of group about. Commit ready for merge.
...
- Legacy-Id: 12722
2017-01-24 19:55:49 +00:00
Henrik Levkowetz
e2640f358b
Changed semantics for can_manage_group() to include chairs etc, and changed calls with the old semantics to use can_manage_group_type(). Rewrote can_manage_group() in terms of can_manage_group_type() and additional checks. Fixes issue #2155 .
...
- Legacy-Id: 12719
2017-01-23 22:54:36 +00:00
Henrik Levkowetz
5a5bb1f03f
Removed useless code.
...
- Legacy-Id: 12718
2017-01-23 21:29:36 +00:00
Henrik Levkowetz
613f0c8233
Pyflakes fixes.
...
- Legacy-Id: 12714
2017-01-23 18:35:58 +00:00
Henrik Levkowetz
ef1b404fe3
Removed an extraneous request parameter.
...
- Legacy-Id: 12712
2017-01-23 18:21:15 +00:00
Henrik Levkowetz
6de7be6953
Specified strip=False for another bunch of CharField form fields with Textarea widgets.
...
- Legacy-Id: 12711
2017-01-23 17:38:56 +00:00
Henrik Levkowetz
fa60671148
Fixed another instance of '=' being used for comparison in a template.
...
- Legacy-Id: 12708
2017-01-19 21:21:10 +00:00
Henrik Levkowetz
1dba613197
Merged in [12675] from rjsparks@nostrum.com:
...
Removed some unnecessary randomness in tests introduced in last commit.
- Legacy-Id: 12678
Note: SVN reference [12675] has been migrated to Git commit 4f2f691de6
2017-01-19 17:24:08 +00:00
Henrik Levkowetz
fd2304e446
In Django 1.9, CharField form fields will be whitespace-stripped by default. Added strip=False for the status change review form content. Also removed a superfluous f.close().
...
- Legacy-Id: 12677
2017-01-19 17:15:28 +00:00
Henrik Levkowetz
7c2a161a5f
Removed some remaining instances of render using context_instance. Fixed a case of tuple length of list of tuples passed to a template to be the same for all tuples.
...
- Legacy-Id: 12676
2017-01-19 17:08:27 +00:00
Robert Sparks
4f2f691de6
Removed some unnecessary randomness in tests introduced in last commit. Commit ready for merge.
...
- Legacy-Id: 12675
2017-01-19 16:37:00 +00:00
Henrik Levkowetz
b4480a1625
Merged in [12670] from rjsparks@nostrum.com:
...
Make changing skip_next on a review assignment an explicit decision of the assigner. Fixes #2148 .
- Legacy-Id: 12671
Note: SVN reference [12670] has been migrated to Git commit 8e007ce50b
2017-01-19 15:25:22 +00:00
Robert Sparks
8e007ce50b
Make changing skip_next on a review assignment an explicit decision of the assigner. Commit ready for merge. Fixes #2148 .
...
- Legacy-Id: 12670
2017-01-19 14:23:09 +00:00
Henrik Levkowetz
79dc639f46
Merged in [12665] from rjsparks@nostrum.com:
...
Make it easier to see who's really next in reviewer rotation.
- Legacy-Id: 12668
Note: SVN reference [12665] has been migrated to Git commit 49dcf67fd5
2017-01-18 16:30:29 +00:00
Henrik Levkowetz
dd82df50a1
Merged in [12627] from rjsparks@nostrum.com:
...
Added some convenience navigation for review team secretaries to the menu. Restructured the menu lightly around Documents and Role-related links. Added navigation from a reviewers \'My Reviews\' page back to the review team pages. Fixes #2079 .
- Legacy-Id: 12667
Note: SVN reference [12627] has been migrated to Git commit 41d3bb61b4
2017-01-18 15:55:11 +00:00
Henrik Levkowetz
7a8555599f
Added a link to the group datatracker page to the new group announcement (and review) emails. Fixes issue #2140 .
...
- Legacy-Id: 12666
2017-01-17 22:22:46 +00:00
Robert Sparks
0dd2e460f3
Make it easier to see what reviews need to be closed as "No Response". Fixes #2128 . Commit ready for merge.
...
- Legacy-Id: 12664
2017-01-17 21:04:42 +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
a21812633d
Removed unnecessary leading slash in url pattern, silencing a system check warning.
...
- Legacy-Id: 12632
2017-01-09 16:28:59 +00:00
Robert Sparks
41d3bb61b4
Added some convenience navigation for review team secretaries to the menu. Restructured the menu lightly around Documents and Role-related links. Added navigation from a reviewers "My Reviews" page back to the review team pages. Fixes #2079 . Commit ready for merge.
...
- Legacy-Id: 12627
2016-12-23 21:20:55 +00:00
Henrik Levkowetz
5cc3b6448e
Django 1.9: Removed additional instances of deprecated django.conf.urls.patterns()
...
- Legacy-Id: 12623
2016-12-22 18:14:57 +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
c2541ec04b
Django 1.9: Removed deprecated use of django.conf.urls.patterns() from all urls*.py files.
...
- Legacy-Id: 12618
2016-12-22 17:21:57 +00:00
Robert Sparks
6091d3c6a3
Tweak the docevent description for the event noting that a chartering effort has been abandoned. Fixes #2099 . Commit ready for merge.
...
- Legacy-Id: 12606
2016-12-21 22:14:58 +00:00
Robert Sparks
6ca953ae24
Improve the team review content templates. Related to #2075 . Commit ready for merge.
...
- Legacy-Id: 12595
2016-12-20 05:38:02 +00:00
Robert Sparks
fbd2cd493d
Provide templates for directly entered review contents for those teams/review-types that have them. Fixes #2075 . Commit ready for merge.
...
- Legacy-Id: 12594
2016-12-19 23:21:11 +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
ff3638e365
Merged in [12549] from rjsparks@nostrum.com:
...
allow ads and secretaries to edit the review request comment. Fixes #2096 . (Again).
- Legacy-Id: 12550
Note: SVN reference [12549] has been migrated to Git commit 32b431cf24
2016-12-15 23:10:28 +00:00
Henrik Levkowetz
8dcc1d20a2
Merged in [12545] from rjsparks@nostrum.com:
...
Allow a review request to include a comment to show to the review team secretary at assignment time and the reviewer at review time. Fixes #2096 .
- Legacy-Id: 12548
Note: SVN reference [12545] has been migrated to Git commit 6fcd8b8a16
2016-12-15 22:45:25 +00:00
Henrik Levkowetz
eafa070790
Merged in [12543] from rjsparks@nostrum.com:
...
Provide defaults on the Request review form. Fixes #2108 .
- Legacy-Id: 12547
Note: SVN reference [12543] has been migrated to Git commit 870fa59d0c
2016-12-15 22:10:12 +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
51fedbf483
Merged in [12505] from rjsparks@nostrum.com:
...
Disallow requesting directorate reviews of RFCs (such things would better be done with reviews of status change documents). Fixes #2065 .
- Legacy-Id: 12537
Note: SVN reference [12505] has been migrated to Git commit 1ea983a1c2
2016-12-15 16:31:36 +00:00
Henrik Levkowetz
17a7f59cd6
Deprecation fixes: Use request.GET or request.POST as appropriate, instead of request.REQUEST.
...
- Legacy-Id: 12533
2016-12-15 13:21:33 +00:00
Henrik Levkowetz
ff9b8a9bdb
Deprecation fixes: Explicitly say that redirects are permanent.
...
- Legacy-Id: 12532
2016-12-15 13:19:51 +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
9a3f6b059b
Merged Django-1.8 upgrade work to trunk. Adjusted migration names, and added migrations as necessary. Fixed some instances of broken html.
...
- Legacy-Id: 12507
2016-12-13 05:55:46 +00:00
Robert Sparks
1ea983a1c2
Disallow requesting directorate reviews of RFCs (such things would better be done with reviews of status change documents). Fixes #2065 . Commit ready for merge.
...
- Legacy-Id: 12505
2016-12-12 21:42:53 +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
3c956c9896
Added migrations for new timezone data, validation on ReviewerSettings.filter_re, and new docevent types.
...
- Legacy-Id: 12493
2016-12-09 12:41:38 +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
8c7a400683
Merged in [12486] from rjsparks@nostrum.com:
...
Fill in CC list defaults for review completion mail. Make the mail come from the reviewer instead of the default secretariat address. Fixes #2078 and #2054 .
- Legacy-Id: 12488
Note: SVN reference [12486] has been migrated to Git commit 062707f51b351e1fcd5d682b23af8c7feeb2442d
2016-12-08 23:44:50 +00:00
Henrik Levkowetz
e40afaedf0
Check event type only when an event is available.
...
- Legacy-Id: 12484
2016-12-08 17:57:59 +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
19ec458668
Added migrations for the model changes done for the Django 1.8 upgrade.
...
- Legacy-Id: 12478
2016-12-07 19:41:48 +00:00
Henrik Levkowetz
7fbf2e8609
Changed the deprecated model._meta.get_all_field_names() to a supported construct.
...
- Legacy-Id: 12475
2016-12-07 18:27:57 +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
14776bae70
Merged django18 work forward to r12447
...
- Legacy-Id: 12455
2016-12-05 15:03:40 +00:00
Henrik Levkowetz
1d5a7a692a
Added a DB consistency check, and 2 new doc.statetype values found by the check for consistency.
...
- Legacy-Id: 12451
2016-12-05 14:12:19 +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
486e394cbf
Added more document information to the personal profile pages at /person/<full name>, after a suggestion from Benoit Claise. Fixes issue #2066 .
...
- Legacy-Id: 12447
2016-12-05 13:00:01 +00:00
Henrik Levkowetz
37f9aa06be
Merged in [12438] from rjsparks@nostrum.com:
...
Don't show teams with only 'No response' reviews in the search result rows, using the same logic as used for the document main page. Fixes #2070 .
- Legacy-Id: 12441
Note: SVN reference [12438] has been migrated to Git commit d1c0c053327594c8a594ad2ad779fac9974d8eaa
2016-12-01 22:16:32 +00:00
Henrik Levkowetz
e3ce2a9657
Tweaked the admin for doc.models.Document to capture a comment about changes made, and save those in the document history, using .save_with_history(). This makes the admin useful again for doing document changes. See issue #2067 .
...
- Legacy-Id: 12434
2016-12-01 16:35:23 +00:00
Henrik Levkowetz
c79b40bc88
Changed the handling of DocEvent 'rev' fields in document history. We should give DocEvent a 'rev' field which is always filled in; the current handling is error prone and much to complicated.
...
- Legacy-Id: 12433
2016-12-01 13:49:36 +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
e6121ac0f8
Fixed a bad filter argument found by the Django 1.8 code.
...
- Legacy-Id: 12408
2016-11-28 21:06:42 +00:00
Henrik Levkowetz
671df0492a
Fixed an issue where a queryset filter argument didn't have the right datatype.
...
- Legacy-Id: 12403
2016-11-28 18:05:14 +00:00
Henrik Levkowetz
b00824a6bf
Merged in [12385] from rjsparks@nostrum.com:
...
Added an extra highlight to the ballot_icon box when the viewer holds a blocking position in that ballot. Fixes #2046 .
- Legacy-Id: 12388
Note: SVN reference [12385] has been migrated to Git commit 3c63fdb800
2016-11-18 13:43:28 +00:00
Robert Sparks
3c63fdb800
Added an extra highlight to the ballot_icon box when the viewer holds a blocking position in that ballot. Fixes #2046 . Commit ready for merge.
...
- Legacy-Id: 12385
2016-11-18 04:52:13 +00:00
Robert Sparks
ab96f6c89c
Fix an issue with the agenda linking to group type "other" slides. Will patch production. Commit ready for merge.
...
- Legacy-Id: 12338
2016-11-13 01:58:53 +00:00
Ole Laursen
e171aa657e
Add support for revising a closed review, mostly to allow reviewers to
...
correct historic entries with missing data
- Legacy-Id: 12314
2016-11-09 16:20:58 +00:00
Ole Laursen
cde7cfacd5
Modify the reviewer overview page to display up to 10 historic reviews
...
per person from the past year instead of only 5.
Add basic reviewer stats to the assignment select box.
- Legacy-Id: 12279
2016-11-07 22:32:53 +00:00
Henrik Levkowetz
27abaae2e4
Tweaked and enhanced doc.admin.DocEventAdmin.
...
- Legacy-Id: 12276
2016-11-07 18:38:34 +00:00
Henrik Levkowetz
7f1c1e43f2
Replaced the use of plain DocEvent for submission doc events with a SubmissionDocEvent that carries rev and a FK to submission.
...
- Legacy-Id: 12275
2016-11-07 18:21:34 +00:00
Henrik Levkowetz
7c7e282797
When using select_related, field names are now valiadate. Fixed some invalid names.
...
- Legacy-Id: 12269
2016-11-04 19:03:58 +00:00
Henrik Levkowetz
87e1339924
Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense.
...
- Legacy-Id: 12256
2016-11-03 20:13:44 +00:00
Henrik Levkowetz
cfe4d2f6aa
Removed use of the fix_ampersands() function.
...
- Legacy-Id: 12254
2016-11-03 20:11:49 +00:00
Henrik Levkowetz
ca570ae355
Reverted an inadvertent commit of all changes.
...
- Legacy-Id: 12253
2016-11-03 20:10:09 +00:00
Henrik Levkowetz
276c9c1030
Removed use of the fix_ampersands() function.
...
- Legacy-Id: 12252
2016-11-03 20:08:44 +00:00
Henrik Levkowetz
288d211ca1
Made doc.views_stat.make_title() more robust against inconsistent query arguments.
...
- Legacy-Id: 12242
2016-10-30 18:16:52 +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
Ole Laursen
3835532d71
Insert iconic link to review statistics from the team pages
...
- Legacy-Id: 12215
2016-10-26 13:35:32 +00:00
Henrik Levkowetz
a2c8fa0178
Added a Document.pub_date() method which returns the RFC publication datetime or other documents' new-revision datetime. Changed the generated bibtex entries to use pub_date(). Added tests for bibtext entries. Added 'bibtexparser' to requirements.txt. Fixes issue #2032 .
...
- Legacy-Id: 12212
2016-10-25 18:07:48 +00:00
Henrik Levkowetz
cae4ab0024
Added caching of Document.href() values.
...
- Legacy-Id: 12210
2016-10-25 00:14:21 +00:00
Ole Laursen
2548153894
Fix permission bug, secretaries should be able to request reviews
...
- Legacy-Id: 12191
2016-10-20 19:57:39 +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
Ole Laursen
d0877a0aa9
Change default of ReviewerSettings.min_interval to null - if it's not
...
specified for a reviewer, we don't take it into account
- Legacy-Id: 12168
2016-10-18 10:36:42 +00:00
Ole Laursen
e11a911d86
Include from in the list of messages when completing a review and
...
searching for the review email, redo layout somewhat to accommodate
this and improve the presentation of the message date.
- Legacy-Id: 12163
2016-10-17 21:26:36 +00:00
Ole Laursen
e1f69171b5
xslugify the last name part when constructing a name for the review document
...
- Legacy-Id: 12147
2016-10-14 09:42:34 +00:00
Ole Laursen
e3fbc070f9
Fix bug in reference in resources
...
- Legacy-Id: 12143
2016-10-14 08:43:21 +00:00
Ole Laursen
9de2d49823
Fixup some of the migrations a bit upon the merge with trunk.
...
- Legacy-Id: 12135
2016-10-13 19:20:26 +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
Ole Laursen
5a878981fe
Guard against reviewer name not being filled in properly (still
...
containing a @) on the complete review page
- Legacy-Id: 12127
2016-10-13 15:54:11 +00:00
Henrik Levkowetz
99b22efc96
Merged in [12104] from rjsparks@nostrum.com:
...
Don't show the request publication button for ise,irtf, and iab drafts after publication has already been requested. Fixes #2019 .
- Legacy-Id: 12122
Note: SVN reference [12104] has been migrated to Git commit 933134f4cc
2016-10-12 18:39:22 +00:00
Robert Sparks
933134f4cc
Don't show the request publication button for ise,irtf, and iab drafts after publication has already been requested. Fixes #2019 . Commit ready for merge.
...
- Legacy-Id: 12104
2016-10-07 17:29:05 +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
5f03d70bd7
Added admin support for the DocumentAuthor model.
...
- Legacy-Id: 12089
2016-10-05 15:16:46 +00:00
Ole Laursen
0aa8f8a7cc
Don't automatically open a new review request if there's already
...
another open request in the team
- Legacy-Id: 12086
2016-10-05 13:34:15 +00:00
Ole Laursen
a177dc616b
Fix a couple of bugs, add test for reviewer overview page
...
- Legacy-Id: 12081
2016-10-04 20:22:11 +00:00