Commit graph

8313 commits

Author SHA1 Message Date
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 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 0562f86afd Changelog entry for 6.43.0
- Legacy-Id: 12804
2017-02-10 10:52:11 +00:00
Henrik Levkowetz a9c4c3e28b Code coverage data for release 6.43.0
- Legacy-Id: 12803
2017-02-10 10:52:05 +00:00
Henrik Levkowetz d4d86579d2 Changed the required version for tastypie, to avoid deprecation messages with Django 1.9.
- Legacy-Id: 12802
2017-02-10 10:38:22 +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 e1bd75bcc7 Added django-bcrypt (for bcrypt password hashing) and django-password-strength (for browser-side zxcvbn password strength estimation) to the requirements.
- Legacy-Id: 12794
2017-02-09 16:49:46 +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 fed57a629b Added updating of static web assets to the release script.
- Legacy-Id: 12784
2017-02-03 00:03:00 +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 8d8d58b437 Updated requirements. A package which factory-boy before 2.8.1 dependend on has changed name and may not be installable from earlier factory-boy release dependencies.
- Legacy-Id: 12781
2017-02-02 12:34: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 8bfa9a33b0 Updated requirements to Django 1.10
- Legacy-Id: 12778
2017-02-01 18:18:48 +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 125ef57b19 Changelog entry for 6.42.0
- Legacy-Id: 12772
2017-02-01 18:12:14 +00:00
Henrik Levkowetz 0912e5f3cb Code coverage data for release 6.42.0
- Legacy-Id: 12771
2017-02-01 18:12:08 +00:00
Henrik Levkowetz 0a7a4ff213 Ignore annoying collectstatic warnings about duplicate files.
- Legacy-Id: 12770
2017-02-01 17:59:51 +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 7e54d965e9 With Django at 1.9, a new lower limit was needed for django-bootstrap3 in requirements.txt.
- Legacy-Id: 12768
2017-02-01 01:38:14 +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 ff3954271c Changelog entry for 6.41.1
- Legacy-Id: 12759
2017-01-31 14:08:59 +00:00
Henrik Levkowetz f357301728 Code coverage data for release 6.41.1
- Legacy-Id: 12758
2017-01-31 14:08:50 +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
Henrik Levkowetz d433b9864e Updated some PLAN notes on Django 1.9
- Legacy-Id: 12755
2017-01-30 23:03:50 +00:00
Henrik Levkowetz 15f1181c86 Added notes on features of the new django releases we might want to put to use.
- Legacy-Id: 12749
2017-01-28 13:26:54 +00:00