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
Only the Secretariat can see the history for parked IPR statements. Fixes#1922.
- Legacy-Id: 11086
Note: SVN reference [11070] has been migrated to Git commit 570107dbf1
Django sets charset if you don't specify a content_type; if you specify
one you also must add a charset specification (if you want one).
Fixes issue #1647.
- Legacy-Id: 9348
* Brought search results against WGs and document titles into consistency with results from searching for individual documents
* Added the IPR count to the link on the documents main page (when not zero)
* Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument objects.
* Added getting the DocAlias with the same name to Document
* Added getting related IPR disclosures (as described in the first bullet) to Document
* Simplified ipr/related.py
* Removed the use of DraftLikeDocAlias and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias and IprDocAlias directly.
* Removed dead code from ipr/search.py
* Removed the special handling of WG 2000 from ipr/search.py
Fixes bug 1071
- Legacy-Id: 6042
* Move update() to new.py
* Get the update submitter in update() and overwrite the ipr submitter with it when updating.
* Remove ? from trailing slash in about - the addslashes middleware will get there first anyway, and the ? confuses reverse()
- Legacy-Id: 705
* Allow update to pass in an object to be updated.
* Pass initial values to rfclist, draftlist, 3 ContactForms and IprForm if we have an update.
* Pass **kwargs through ipr_detail_form_callback to get the initial values.
* Add a row in IprUpdate if updating
Cleanups in that apply to both new and update:
* Validate licensing_option in the clean function to allow it to be conditionally required.
* Use a regular character field for date_applied, since it is a prose date in the database.
* Fix typo in title setting: s/general/generic/
* Fix typo in 3rd-party title setting: s/submitter/ietf_name/
* Fix IprRfc object creation
* Log the complete set of field errors
* Move the validation of "one of the document fields must be filled in" to the form clean, since clean_data["draftlist"] isn't available in clean_rfclist()
* Render non_field_errors since now we could have one.
* Move the setting of the summary and title to after the form is cleaned, and use the clean version of the document names.
- Legacy-Id: 683