diff --git a/.gitignore b/.gitignore index e44bf00fe..dfdcc1ca7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ /.Python /.settings /.tmp +/.factoryboy_random_state /bin /etc /ghostdriver.log diff --git a/changelog b/changelog index d2ce8a90c..bcfdb2b6d 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,39 @@ +ietfdb (6.63.0) ietf; urgency=medium + + **Support for document-specific URL annotations** + + This release adds support for document-specific URL annotations; look + for 'Additional URLs' on the draft status page. These can be edited + by the group chairs for group drafts and by the authors for individual + drafts. There are also some changes and enhancements related to the + submission automation API. + + Commit log extract: + + * Tweaked the submission search form to accept draft names which include + revision numbers. Fixes issue #2380. + + * Added a cancel button to the submission confirmation page. Fixes issue + #2349. + + * Removed the repeat of the error message in the HTTP reason string. + Fixes issue #2378. + + * Added 'Additional URLs' for documents, the same way we have them for + groups. This could be used to point to a document source repository, to + extracted yang module files, document wikis, and other relevant resources. + + * Added migrations for document url model changes. Updated the name + fixtures. Added ability for individual draft authors to edit document urls. + + * Removed some unreachable code. + + * Another tweak to the draft author extraction code, to handle some name + transliterations using multiple leading grave accents. + + -- Henrik Levkowetz 27 Sep 2017 08:33:16 -0700 + + ietfdb (6.62.1) ietf; urgency=medium This is a bugfix release which also brings in a utility script to add diff --git a/ietf/name/migrations/0027_docurltagname.py b/ietf/name/migrations/0027_docurltagname.py index 31b8d36b5..d29e9684a 100644 --- a/ietf/name/migrations/0027_docurltagname.py +++ b/ietf/name/migrations/0027_docurltagname.py @@ -4,37 +4,6 @@ from __future__ import unicode_literals from django.db import migrations, models -def forwards(apps,schema_editor): - DocUrlTagName = apps.get_model('name','DocUrlTagName') - - DocUrlTagName.objects.create( - slug='wiki', - name='Document wiki', - ) - DocUrlTagName.objects.create( - slug='issues', - name='Document Issue Tracker', - ) - DocUrlTagName.objects.create( - slug='repository', - name='Document Source Repository', - ) - DocUrlTagName.objects.create( - slug='yang-module', - name='Extracted Yang Module', - ) - DocUrlTagName.objects.create( - slug='yang-impact-analysis', - name='Yang Impact Analysis', - ) - DocUrlTagName.objects.create( - slug='yang-module-metadata', - name='Yang module metadata', - ) - -def backwards(apps,schema_editor): - pass - class Migration(migrations.Migration): dependencies = [ @@ -56,7 +25,6 @@ class Migration(migrations.Migration): 'abstract': False, }, ), - migrations.RunPython(forwards, backwards), ] diff --git a/ietf/name/migrations/0028_add_docurltagname_entries.py b/ietf/name/migrations/0028_add_docurltagname_entries.py new file mode 100644 index 000000000..ddf5c783e --- /dev/null +++ b/ietf/name/migrations/0028_add_docurltagname_entries.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.8 on 2017-09-27 10:29 +from __future__ import unicode_literals + +from django.db import migrations + +def forwards(apps,schema_editor): + DocUrlTagName = apps.get_model('name','DocUrlTagName') + + DocUrlTagName.objects.create( + slug='wiki', + name='Document wiki', + ) + DocUrlTagName.objects.create( + slug='issues', + name='Document Issue Tracker', + ) + DocUrlTagName.objects.create( + slug='repository', + name='Document Source Repository', + ) + DocUrlTagName.objects.create( + slug='yang-module', + name='Extracted Yang Module', + ) + DocUrlTagName.objects.create( + slug='yang-impact-analysis', + name='Yang Impact Analysis', + ) + DocUrlTagName.objects.create( + slug='yang-module-metadata', + name='Yang module metadata', + ) + +def backwards(apps,schema_editor): + pass + + +class Migration(migrations.Migration): + + dependencies = [ + ('name', '0027_docurltagname'), + ('doc', '0034_documenturl'), + ] + + operations = [ + migrations.RunPython(forwards, backwards), + ]