Commit graph

6898 commits

Author SHA1 Message Date
Henrik Levkowetz 9b23816a22 Stabilized a number of nomcom tests by enforcing queryset ordering.
- Legacy-Id: 12832
2017-02-13 20:58:28 +00:00
Henrik Levkowetz f6a1fcdaf8 Added more information about submission errors and a full idnits run to the manual post email sent to the secretariat.
- Legacy-Id: 12831
2017-02-13 20:37:47 +00:00
Henrik Levkowetz 60da61b540 First attempt at some API documentation.
- Legacy-Id: 12830
2017-02-13 17:41:55 +00:00
Henrik Levkowetz e5f889764c Fixed a problem with stability of test_accept_reject_nomination_edges(), and made some changes to make debugging this easier.
- Legacy-Id: 12829
2017-02-13 15:55:55 +00:00
Henrik Levkowetz 5556e87a07 Removed some filterwarnings which were overtaken by events.
- Legacy-Id: 12828
2017-02-13 15:40:50 +00:00
Henrik Levkowetz 40c73cd483 Tweaked the password strength indicator, and added indication of offline cracking time for throughput 10e4 attempts per second.
- Legacy-Id: 12827
2017-02-12 17:12:03 +00:00
Henrik Levkowetz 350ea9efcf Removed all use of timedeltafield by converting old migrations to reference compatible types.
- Legacy-Id: 12825
2017-02-12 17:10:06 +00:00
Henrik Levkowetz 7f607c51d2 Changed from old-style to new-style middleware.
- Legacy-Id: 12824
2017-02-12 17:07:48 +00:00
Henrik Levkowetz a1606e8f7d Added a 'htmlfilters' tag library containing 'removetags'
- Legacy-Id: 12823
2017-02-12 17:05:55 +00:00
Henrik Levkowetz aeede944d1 Added Django and Python version information to the page footer.
- Legacy-Id: 12822
2017-02-11 23:43:18 +00:00
Henrik Levkowetz 104d4c7b1a Added Django and Python version information to the page footer.
- Legacy-Id: 12821
2017-02-11 23:42:51 +00:00
Henrik Levkowetz 553338fe9a Added some updates to /release/about
- Legacy-Id: 12820
2017-02-11 23:40:55 +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 761ed8a723 Extended name_parts to consider military rank prefixes.
- Legacy-Id: 12816
2017-02-10 21:58:39 +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 2d8963cde7 Fixed an import issue
- Legacy-Id: 12814
2017-02-10 14:44:23 +00:00
Henrik Levkowetz 088e2ca7f4 Removed dead code which used to work around a now fixed bug (and also used a now removed django function)
- Legacy-Id: 12813
2017-02-10 14:43:37 +00:00
Henrik Levkowetz 2b4f4b0302 Merged django-1.10 work forward to 6.43.0
- Legacy-Id: 12812
2017-02-10 11:05:43 +00:00
Henrik Levkowetz deb8ab6dba Changed the nomcom __getattr__ mixin manager so as to not interfere with django 1.10 internals.
- Legacy-Id: 12811
2017-02-10 11:02:06 +00:00
Henrik Levkowetz b762273400 Removed some old warning filters (OBE)
- Legacy-Id: 12810
2017-02-10 11:00:38 +00:00
Henrik Levkowetz 77f1a25f0a Set version info and settings back to development mode
- Legacy-Id: 12807
2017-02-10 10:52:24 +00:00
Henrik Levkowetz 102bffc700 Set version info to release version 6.43.0 before branching.
- Legacy-Id: 12805
2017-02-10 10:52:16 +00:00
Henrik Levkowetz c7ec188d3f Added a migration to capture the ordering option on Nominee.
- Legacy-Id: 12801
2017-02-10 10:29:07 +00:00
Henrik Levkowetz 0c784f9976 Added an ordering for Nominee objects.
- Legacy-Id: 12800
2017-02-09 21:07:22 +00:00
Henrik Levkowetz 996f78135d Expanded the nominee __unicode__() method to provide unique results by including the nomcom year.
- Legacy-Id: 12799
2017-02-09 21:02:43 +00:00
Henrik Levkowetz 7dea44e626 Added a change password page, and linked to it from the account profile page and user menu. Added zxcvbn-based browser-side password strength estimation on the various password setting, re-setting, and changing forms. Added a change password test. Changed ietfauth/urls.py to not use the deprecated string form for views in urlpatterns.
- Legacy-Id: 12798
2017-02-09 17:03:44 +00:00
Henrik Levkowetz 93efc4470a Re-styled some auth-related forms to use a narrower form body on large screens, for aesthethic reasons.
- Legacy-Id: 12797
2017-02-09 16:58:11 +00:00
Henrik Levkowetz b1bbf9850f Added an explicit setting for the password hashers to use, in order to place the bcrypt hasher first. This makes BCrypt the default hasher. Added the django_password_strength app to installed apps.
- Legacy-Id: 12796
2017-02-09 16:53:08 +00:00
Henrik Levkowetz cbd958e16a Added the zxcvbn bower component, for use in client-side password strength estimation.
- Legacy-Id: 12795
2017-02-09 16:50:51 +00:00
Henrik Levkowetz 6c3a4015c5 Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
- Legacy-Id: 12793
2017-02-08 18:04:34 +00:00
Henrik Levkowetz db1cc15f1f Undid last commit
- Legacy-Id: 12792
2017-02-08 18:03:29 +00:00
Henrik Levkowetz 15628c698f Tweaked the IPR Details page to show the possible a), b), and c) choices under section 'V' when licensing declaration to be provided later has been chosen.
- Legacy-Id: 12791
2017-02-08 18:02:03 +00:00
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 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 8a8283f537 Fixed a pyflakes issue.
- Legacy-Id: 12788
2017-02-07 17:50:06 +00:00
Henrik Levkowetz ee7ac81351 Updated bower-managed static web assets.
- Legacy-Id: 12783
2017-02-02 18:15:17 +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 dca5c9c4d4 Fixed a bug in a queryset argument in all_id_text(); __in was not used, but the value given was a multi-row queryset.
- Legacy-Id: 12780
2017-02-02 12:24:27 +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 2d02ec9237 Set version info and settings back to development mode
- Legacy-Id: 12775
2017-02-01 18:12:27 +00:00
Henrik Levkowetz 900964824c Set version info to release version 6.42.0 before branching.
- Legacy-Id: 12773
2017-02-01 18:12:19 +00:00
Henrik Levkowetz 30b2abeaf1 New migration for django 1.9 country- and time_zone choices.
- Legacy-Id: 12769
2017-02-01 17:01:50 +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 70d4ef3e36 Set version info and settings back to development mode
- Legacy-Id: 12762
2017-01-31 14:09:11 +00:00
Henrik Levkowetz ade8ea25b7 Set version info to release version 6.41.1 before branching.
- Legacy-Id: 12760
2017-01-31 14:09:04 +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 fa47517fed Added our own copy of the old django admin css, to keep the admin look-and-feel (the new admin lacks table cell borders and is much harder on the eyes -- also takes up more space).
- Legacy-Id: 12747
2017-01-27 18:14:00 +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 2cd7ebd636 Set version info and settings back to development mode
- Legacy-Id: 12737
2017-01-26 12:19:34 +00:00
Henrik Levkowetz be8e50c7ec Set version info to release version 6.41.0 before branching.
- Legacy-Id: 12735
2017-01-26 12:19:26 +00:00
Henrik Levkowetz 08058d5270 Changed the title of Section 7 of the IESG agenda as requested. Fixes issue #2167.
- Legacy-Id: 12732
2017-01-25 21:49:29 +00:00
Henrik Levkowetz c86c6e5d4e Fixed up the div tree to bring back the section navigation on the IESG agenda, and fixed the div level and width for the footer.
- Legacy-Id: 12731
2017-01-25 21:41:03 +00:00
Henrik Levkowetz 1d7b081dd9 Fixed a migration reference issue.
- Legacy-Id: 12728
2017-01-24 22:02:00 +00:00
Henrik Levkowetz 419c7f2ad9 Fixed a migration number collision.
- Legacy-Id: 12727
2017-01-24 22:00:25 +00:00
Henrik Levkowetz e9f2357ae3 Merged in [12724] from rcross@amsl.com:
Fixes #2141.  Resolve issue with merge_person_records caused by Django 1.8 upgrade.
 - Legacy-Id: 12726
Note: SVN reference [12724] has been migrated to Git commit 68bd38d22d
2017-01-24 21:57:18 +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
Ryan Cross 68bd38d22d Fixes #2141. Resolve issue with merge_person_records caused by Django 1.8 upgrade. Commit ready for merge.
- Legacy-Id: 12724
2017-01-24 20:47:41 +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
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 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 1fef6fb1d3 Deprecation fix: removed additional cases of using instance_context in render*()
- Legacy-Id: 12720
2017-01-23 22:56:34 +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 435b109673 Added needed fixtures to RedirectsTests
- Legacy-Id: 12717
2017-01-23 20:10:36 +00:00
Henrik Levkowetz a5d1aca525 Save database object before using it.
- Legacy-Id: 12716
2017-01-23 19:42:03 +00:00
Henrik Levkowetz 650ffe3c15 Fixed some additional cases of template if statements not using '=='.
- Legacy-Id: 12715
2017-01-23 18:56:44 +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 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 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
Henrik Levkowetz 67c5ccd1f8 Changed executable mode
- Legacy-Id: 12709
2017-01-20 20:59:48 +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 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
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 93b1ba1e8f Set version info and settings back to development mode
- Legacy-Id: 12684
2017-01-19 17:41:11 +00:00
Henrik Levkowetz 2cd92a9f50 Set version info to release version 6.40.4 before branching.
- Legacy-Id: 12682
2017-01-19 17:41:04 +00:00
Henrik Levkowetz 4c86cfc63d Fixed two cases of templates using '=' in tests instead of '=='.
- Legacy-Id: 12679
2017-01-19 17:30:27 +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 2414b932e2 Deprecation fix: removed 'load firstof from future'.
- Legacy-Id: 12674
2017-01-19 16:16:52 +00:00
Henrik Levkowetz 7d71a24358 Added a save for a session presentation object before adding a reference to it.
- Legacy-Id: 12673
2017-01-19 16:11:37 +00:00
Henrik Levkowetz 82760fb21f Deprecation fix: Changed all instances of the old syntax for the 'cycle' template tag to use the new syntax.
- Legacy-Id: 12672
2017-01-19 16:10:13 +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 7d25922e9b Enabled correct time sorting and reporting for interim meetings on /group/{{acronym}}/meetings/, and tweaked the date format. Fixes issue #2145.
- Legacy-Id: 12669
2017-01-18 19:24:14 +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 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
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 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 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