Henrik Levkowetz
ce1b655fa2
Code reorganization, doing away with multiple urls_* and views_ files in ietf.group. No intentional functionality changes.
...
- Legacy-Id: 13709
2017-06-22 15:18:08 +00:00
Henrik Levkowetz
dcc1bca058
Added assertion logging for found group parent loops to is_decendant_of().
...
- Legacy-Id: 13687
2017-06-20 13:18:33 +00:00
Henrik Levkowetz
e87e3eb661
Added circular parent relationship detection in the Group.is_decendant_of() method and in the group edit form data cleaning.
...
- Legacy-Id: 13686
2017-06-19 23:34:52 +00:00
Henrik Levkowetz
f5298d7bb8
Fixed a bug in which operations were available on the /group/chartering/ 'Chartering or re-chartering' page, so that not only operations on groups in a chartering state is shown, but also the options to start chartering. Fixes issue #2312 .
...
- Legacy-Id: 13584
2017-06-12 19:25:39 +00:00
Henrik Levkowetz
023a32715d
Merged in ^/branch/iola/author-stats-r13145 from olau@iola.com, with additional features from ^/personal/henrik/6.52.1-authorstats.
...
- Legacy-Id: 13550
2017-06-06 18:36:59 +00:00
Henrik Levkowetz
a28940fc1e
Name/email formatting tweaks, to complement [13536].
...
- Legacy-Id: 13540
Note: SVN reference [13536] has been migrated to Git commit 55d36e284d
2017-06-06 08:11:31 +00:00
Henrik Levkowetz
e19290e98d
Merged in [13532] from rjsparks@nostrum.com:
...
Add an expertise field to reviewer settings. Fixes #2308 . ,
- Legacy-Id: 13539
Note: SVN reference [13532] has been migrated to Git commit d845fba8bec765f2f81ae1a4bbca52c9bceb6e02
2017-06-06 07:54:03 +00:00
Henrik Levkowetz
55d36e284d
Changed the '%s <%s>'%(name,email) idiom in several places to use email.utils.formataddr() instead, to avoid future problems with names that would need quotes. Added comments in 2 places where this change would not be appropriate.
...
- Legacy-Id: 13536
2017-06-05 22:40:11 +00:00
Henrik Levkowetz
2bacdd3a00
Merged in [13500] from rjsparks@nostrum.com:
...
Provide assigned dates on review team reviewers page. Fixes #2304 . Related to #2305 .
- Legacy-Id: 13518
Note: SVN reference [13500] has been migrated to Git commit e422717f91eb26a0691347beca9380889d8ee890
2017-06-04 17:31:25 +00:00
Henrik Levkowetz
5b2087f910
Eliminated several variations on word wrapping, keeping only what used to be wrap_text(), but renamed as ietf.utils.text.wordwrap(). This performs better than django.utils.text.wrap() when there are indented text parts. Replaced django's default wordwrap filter with one calling ietf.utils.text.wordwrap in templates. Changed to triggered wrapping in some cases, with the maybewordwrap filter, which triggers on lines longer than 100 characters. This fixes the issue with undesired wrapping of reviews.
...
- Legacy-Id: 13505
2017-06-02 23:13:22 +00:00
Henrik Levkowetz
d82b8bf036
Reverted one of the changes in [13296], and added a comment explaining the relationship between the role list in roles_for_group_type() and the fields in the following GroupForm.
...
- Legacy-Id: 13297
Note: SVN reference [13296] has been migrated to Git commit a59331dd63
2017-05-10 13:22:16 +00:00
Henrik Levkowetz
a59331dd63
Align the roles edit buttons on a group's about page with the roles that the group edit GroupForm will accept. Avoids edit forms without any fields and some server 500 errors.
...
- Legacy-Id: 13296
2017-05-10 13:05:51 +00:00
Robert Sparks
2e54a5c443
Distinguish group that have session requests from those that do not on the materials/editable-groups page. Fixes #2284 . Commit ready for merge.
...
- Legacy-Id: 13246
2017-04-19 18:04:48 +00:00
Henrik Levkowetz
7e3ee06b0b
Adjusted test to match new name fixture.
...
- Legacy-Id: 13209
2017-04-12 21:23:29 +00:00
Henrik Levkowetz
14c748df98
Changed the creation of temporary test dirs to use names which include the test class name, in order to make it possible to run test cases in parallel. Disabled coverage testing when running in parallel (those classes cannot be pickled and distributed to the test runner threads, and also won't pass coverage data back). Tweaked the TestCase.tempdir() method.
...
- Legacy-Id: 13157
2017-03-27 21:41:18 +00:00
Lars Eggert
76a3c8bdc0
Update vnu.jar and fix various HTML5 nits it found during a test crawl.
...
Commit ready for merge.
- Legacy-Id: 13118
2017-03-25 20:21:14 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
483d5f9a2a
Silenced an unnecessary error which could occur when looking for charter documents for groups (such as bofs) without them, by asking the API for a group description.
...
- Legacy-Id: 13025
2017-03-19 19:24:37 +00:00
Henrik Levkowetz
58dae78a43
Modified the REST API to provide group descriptions taken from the group charters if group.description is blank.
...
- Legacy-Id: 12993
2017-03-11 13:46:19 +00:00
Henrik Levkowetz
4daf66d11c
Added DocEvent rev= parameter througout the code.
...
- Legacy-Id: 12978
2017-03-06 15:08:21 +00:00
Henrik Levkowetz
cbc0e72fee
Added a migration which captures the ordering on Role.
...
- Legacy-Id: 12938
2017-03-01 11:33:42 +00:00
Henrik Levkowetz
089f23f011
Added ordering to Role, and a roles section at the top of the personal profile page.
...
- Legacy-Id: 12931
2017-02-28 19:33:28 +00:00
Henrik Levkowetz
5f053ad21a
Cleaned up the remaining explicit url names, using dotted-paths to view
...
functions instead. In all almost 700 changes.
- Legacy-Id: 12923
2017-02-26 23:21:49 +00:00
Henrik Levkowetz
23ebe5d35d
This addresses ease of editing various group attributes, and in particular is
...
intended to make it easier to see that you can edit things like the
external/additional URLs:
- Added the ability to edit individual fields in a group's about page, and
added edit buttons for editable fields on the about page, just as for
documents (the ability to edit all editable fields already was available
from the 'Edit group' button on the /group//about/ page).
- Made the tab label for the group-about tab consistently say 'About',
instead of 'Charter' for some groups.
= Shifted the position of the about tab to the start of the tab line.
- Removed the datatracker account requirement information at the top of the
group edit page for users logged in to their account.
- Tweaked the 'Show update' link on the 'Status Update' line.
- Changed the label for the external URLs from 'More Info' to 'Additional
URLs', which was already in use on the edit form.
- Legacy-Id: 12904
2017-02-23 20:55:38 +00:00
Henrik Levkowetz
fb6e24b6dd
Changed the AD email list results from get_group_ad_emails() to make more sense when the group is an area, not a wg.
...
- Legacy-Id: 12900
2017-02-22 17:33:42 +00:00
Henrik Levkowetz
27351c4349
Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
...
- Legacy-Id: 12897
2017-02-22 11:40:55 +00:00
Henrik Levkowetz
988a2b808f
Added explicit charset setting and consistent encoding to several email paths through the datatracker. After introducing support for non-ascii names in email addresses, using role.formatted_email() to insert names into email content doesn't work any more, since uncode names will now be rfc2047-encoded in formatted_email(). Added another method role.name_and_email() for this case. Replaced another case of '%s <%s>' name-and-email formatting with formataddr(). Fixed some tests which did not send unicode email bodies to the email functions. Fixes issue #2017 .
...
- Legacy-Id: 12896
2017-02-21 19:17:10 +00:00
Henrik Levkowetz
8930d29a8e
Merged in Django-1.10 upgrade work from ^/personal/henrik/6.43.1-django-1.10
...
- Legacy-Id: 12881
2017-02-19 18:18:00 +00:00
Henrik Levkowetz
cf4a4b02a7
Reworked the email address handling in order to be able to support non-ascii names as part of email address fields. Reworked the generation of user names in the test suite to generate names from multiple non-ascii locales. Fixes issue #2080 .
...
- Legacy-Id: 12872
2017-02-18 21:50:18 +00:00
Henrik Levkowetz
3fd890abbd
Fixed a urlreverse kwargs bug.
...
- Legacy-Id: 12819
2017-02-11 14:48:55 +00:00
Henrik Levkowetz
aa5e61d958
Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
...
in order to autogenerate dotted path url pattern names. Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.
Changed some imports to prevent import of ietf.urls before django
initialization was complete.
Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.
Started converting old-style middleware classes to new-style middleware
functions (incomplete).
Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.
Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.
Rewrote the filename argument handling in a management command which had
broken with the upgrade.
- Legacy-Id: 12818
2017-02-11 14:43:01 +00:00
Henrik Levkowetz
0922c6c984
Added ordering by name to group personnel lists in edit and about views. This ordering is by the person's profile name, without attempting to determine which name part is family name or given name. Fixes #2184 .
...
- Legacy-Id: 12817
2017-02-10 22:02:29 +00:00
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
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
1d7b081dd9
Fixed a migration reference issue.
...
- Legacy-Id: 12728
2017-01-24 22:02:00 +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
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
823dd980f1
Merged in [12706] from rjsparks@nostrum.com:
...
Restrict editing ReviewSettings.skip_next to team secretaries and the secretariat. Improve validation of skip_next value. Fixes #2149 .
- Legacy-Id: 12710
Note: SVN reference [12706] has been migrated to Git commit 518f7a1d65
2017-01-23 17:32:37 +00:00
Robert Sparks
518f7a1d65
Restrict editing ReviewSettings.skip_next to team secretaries and the secretariat. Improve validation of skip_next value. Fixes #2149 . Commit ready for merge.
...
- Legacy-Id: 12706
2017-01-19 19:17:29 +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
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
Robert Sparks
49dcf67fd5
Make it easier to see who's really next in reviewer rotation. Commit ready for merge.
...
- Legacy-Id: 12665
2017-01-17 22:04:16 +00:00
Henrik Levkowetz
438195c832
Aligned some Group edit form field limits with those of the Group model. Fixes issue #2137 .
...
- Legacy-Id: 12646
2017-01-12 13:57:26 +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
5cc3b6448e
Django 1.9: Removed additional instances of deprecated django.conf.urls.patterns()
...
- Legacy-Id: 12623
2016-12-22 18:14:57 +00:00