[Python-modules-commits] [python-django-registration] 05/11: change version to 2.1.2-1 [ Ondřej Nový ] [ Stephan Sürken ] new upstream version

Stephan Suerken absurd at moszumanska.debian.org
Fri Jul 29 19:18:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

absurd pushed a commit to branch master
in repository python-django-registration.

commit fd749c773bd54272d77dfed176887cdb33b8da53
Merge: c9541c3 a005f97
Author: Stephan Sürken <absurd at debian.org>
Date:   Fri Jul 29 16:52:42 2016 +0000

    change version to 2.1.2-1
    [ Ondřej Nový ]
    [ Stephan Sürken ]
    new upstream version

 LICENSE                                            |   2 +-
 PKG-INFO                                           |   6 +-
 README.rst                                         |   4 +-
 debian/.git-dpm                                    |   6 +-
 debian/changelog                                   |   8 +-
 ...end_signal_only_once_when_activating_user.patch |  18 +-
 django_registration.egg-info/PKG-INFO              |   6 +-
 django_registration.egg-info/SOURCES.txt           |   2 +
 docs/conf.py                                       |   4 +-
 docs/custom-user.rst                               | 198 ++++++++++++---------
 docs/faq.rst                                       |  28 +--
 docs/forms.rst                                     |  10 ++
 docs/hmac.rst                                      |  10 +-
 docs/index.rst                                     |   1 +
 docs/install.rst                                   |  28 ++-
 docs/model-workflow.rst                            |  29 ++-
 docs/quickstart.rst                                |  30 ++--
 docs/settings.rst                                  |   4 +-
 docs/signals.rst                                   |  13 ++
 docs/upgrade.rst                                   |  18 +-
 docs/validators.rst                                | 130 ++++++++++++++
 docs/views.rst                                     |  15 +-
 registration/__init__.py                           |   2 +-
 registration/admin.py                              |  11 +-
 registration/auth_urls.py                          |  16 +-
 registration/backends/hmac/urls.py                 |   6 +-
 registration/backends/hmac/views.py                |   7 +-
 registration/backends/model_activation/urls.py     |   6 +-
 registration/backends/simple/urls.py               |   4 +-
 registration/forms.py                              |  58 ++++--
 .../management/commands/cleanupregistration.py     |   6 +-
 registration/models.py                             |  50 ++++--
 registration/tests/test_forms.py                   |  62 ++++++-
 registration/tests/test_hmac_workflow.py           |   9 +-
 registration/tests/test_models.py                  |  89 +++++++++
 registration/tests/test_simple_workflow.py         |   3 +-
 registration/validators.py                         | 182 +++++++++++++++++++
 registration/views.py                              |  21 +++
 setup.py                                           |   4 +-
 39 files changed, 874 insertions(+), 232 deletions(-)

diff --cc debian/.git-dpm
index eeadcef,0000000..9c7abfa
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
 +# see git-dpm(1) from git-dpm package
- 6644af9b57c248b8e2d8cc62f231fc34a9409b6d
- 6644af9b57c248b8e2d8cc62f231fc34a9409b6d
- db92d6a4c598e11a5bf7cd4be51aab2acd149d4c
++a005f974538796ec396ef36fdbf01ac1399a48ad
++a005f974538796ec396ef36fdbf01ac1399a48ad
++4041fb4895e19e0a0e4a84086c011ee87e9a5a54
 +4041fb4895e19e0a0e4a84086c011ee87e9a5a54
 +python-django-registration_2.1.2.orig.tar.gz
 +7e705ed300c81d4ba0fc10615481457e4e78f365
 +70068
 +debianTag="debian/%e%v"
 +patchedTag="patched/%e%v"
 +upstreamTag="upstream/%e%u"
diff --cc debian/changelog
index 3dd352b,0000000..c10368c
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,287 -1,0 +1,291 @@@
- python-django-registration (2.0.4-2) UNRELEASED; urgency=medium
++python-django-registration (2.1.2-1) UNRELEASED; urgency=medium
 +
++  [ Ondřej Nový ]
 +  * Fixed VCS URL (https)
 +
-  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:59:55 +0200
++  [ Stephan Sürken ]
++  * new upstream version
++
++ -- Stephan Sürken <absurd at debian.org>  Fri, 29 Jul 2016 16:52:43 +0000
 +
 +python-django-registration (2.0.4-1) unstable; urgency=medium
 +
 +  [ Stephan Sürken ]
 +  * Bug fix: "Uses wrong uid encoding (uidb36 vs. uidb64) in auth_url.py
 +    for django >= 1.6 (breaks reset password URLs)" (Closes: #775363).
 +    [This is actually fixed by upstream 2.0.4 now, patch is dropped]
 +
 +  [ Raphaël Hertzog ]
 +  * Drop myself from Uploaders.
 +
 +  [ Stephan Sürken ]
 +  * Re-order patches.
 +  * Removed patches (obsoleted by 2.0.4):
 +     fix-test-suite.patch
 +     django-1.7-compat.patch
 +     more-django-1.7-fixes.patch
 +     django-1.6-uid-encoding.patch
 +
 +  * New upstream: 2.0.4  (Closes: #797208, #806182).
 +  * [d8b6d77] rules: Update testsuite calling for 2.0.4.
 +  * [5849911] copyright: Update: Upstream URL, copyright years/authors.
 +  * [e880ef4] control: Update homepage URL.
 +  * [0953a11] control: Hardening django deps >= 1.7 (2.0.4 upstream
 +    officially supports 1.7+).
 +  * [7b458f1] control: Standards-Version: 3.9.5 -> 3.9.6 (no changes
 +    needed).
 +  * [0a279b2] control: Remove 'upstream unmaintained' warning.
 +  * [168b32d] fixup! rules: Update testsuite calling for 2.0.4.
 +  * [0d22a76] control: Update depends syntax to one depends per line.
 +  * [8b3f6f8] control: Add missing b-d-indep: python-setuptools.
 +  * [eaa00e5] control: Add missing b-d-indep: python-sphinx-rtd-theme
 +    (primarily needed for backports: older sphinx versions do not have
 +    this dependency)
 +
 + -- Stephan Sürken <absurd at debian.org>  Mon, 11 Jan 2016 14:50:31 +0000
 +
 +python-django-registration (1.0+dfsg-2) unstable; urgency=medium
 +
 +  * Fix and enable the test suite with fix-testsuite.patch. Ensure
 +    it works with Django 1.6.
 +  * Apply two patches for Django 1.7 compatibility:
 +    - django-1.7-compat.patch grabbed in an upstream pull request
 +    - more-django-1.7-fixes.patch authored by myself
 +    Closes: #755653
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Wed, 06 Aug 2014 23:46:28 +0200
 +
 +python-django-registration (1.0+dfsg-1) unstable; urgency=medium
 +
 +  * Drop David Spreen from Uploaders. Closes: #738931
 +  * Add send_signal_only_once_when_activating_user.patch submitted
 +    by Mark Caglienzi <mark.caglienzi at gmail.com>. Closes: #745756
 +  * Update debian/copyright to follow new copyright format.
 +  * Repack upstream tarball to drop docs/_build/ containing javascript
 +    files without sources.
 +  * Update Standards-Version to 3.9.5
 +  * Update debhelper compat level to 9.
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Tue, 27 May 2014 14:23:29 +0200
 +
 +python-django-registration (1.0-1) unstable; urgency=low
 +
 +  * New stable upstream.
 +  * Update to Std.-Ver. 3.9.4 (no changes needed).
 +
 + -- Stephan Sürken <absurd at debian.org>  Mon, 01 Jul 2013 14:36:29 +0200
 +
 +python-django-registration (0.9~b0+hg440+ab1-2) unstable; urgency=low
 +
 +  * control: django dependency must now be >= 1.4.
 +
 + -- Stephan Sürken <absurd at debian.org>  Tue, 04 Jun 2013 14:09:47 +0200
 +
 +python-django-registration (0.9~b0+hg440+ab1-1) unstable; urgency=low
 +
 +  * New self-created upstream from hg tip 440:
 +    - Make setup also work with django 1.4.
 +  * Upload to unstable.
 +
 + -- Stephan Sürken <absurd at debian.org>  Sun, 02 Jun 2013 14:26:51 +0200
 +
 +python-django-registration (0.9~b0+hg440-1~exp1) experimental; urgency=low
 +
 +  [ Jakub Wilk ]
 +  * Use canonical URIs for Vcs-* fields.
 +
 +  [ Stephan Sürken ]
 +  * New self-created upstream from hg tip 440:
 +    - Updates for django 1.5 (Closes: #709622).
 +  * control: Add myself to Uploaders.
 +  * No feedback from upstream yet, hence experimental for now.
 +
 + -- Stephan Sürken <absurd at debian.org>  Fri, 31 May 2013 16:32:44 +0200
 +
 +python-django-registration (0.8-2) unstable; urgency=low
 +
 +  * Drop docs/_build entirely on clean so that we don't keep around
 +    docs/_build/doctrees which might not work with python3-sphinx.
 +    Closes: #697721
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Thu, 10 Jan 2013 09:44:11 +0100
 +
 +python-django-registration (0.8-1) unstable; urgency=low
 +
 +  * New upstream release.
 +    - Now fully compatible with Django 1.4 which is in Debian Wheezy.
 +    - No longer use the deprecated "sha" module. Closes: #581721
 +  * Update Standards-Version to 3.9.3.
 +  * Replace python-docutil build-dependency by one on python-sphinx to be able
 +    to generate the HTML documentation with the new upstream makefile.
 +  * Update the dh_auto_build override to include the "make html" call
 +    that generates the documentation and create
 +    debian/python-django-registration.docs to install the generated
 +    documentation.
 +  * Create a dh_auto_clean override to remove the (upstream provided and)
 +    generated documentation in docs/_build/html.
 +  * Use dh_sphinxdoc to get rid of embedded javascript files that sphinx-build
 +    generates. Add accordingly ${sphinxdoc:Depends} to Depends.
 +  * Update the doc-base registration to use the new path for the HTML
 +    documentation.
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Tue, 10 Jul 2012 16:04:20 +0200
 +
 +python-django-registration (0.7-3) unstable; urgency=low
 +
 +  * Provide README.Debian in place of upstream's README.txt. Closes: #646589
 +  * Switch to dh_python2 instead of python-support.
 +  * Bump debhelper compat level to 8
 +  * Bump Standards-Version to 3.9.2 (no change needed)
 +  * Update URL in copyright file.
 +  * Drop the article in the description (lintian warning).
 +  * Update Vcs-Browser URL to point to the new location at anonscm.debian.org
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Wed, 02 Nov 2011 11:43:40 +0100
 +
 +python-django-registration (0.7-2) unstable; urgency=low
 +
 +  * Add accent on my name in debian/control.
 +  * Change build-depends on python-dev to python.
 +  * Switch to source format "3.0 (quilt)".
 +  * Switch to debhelper 7 tiny rules file and compat mode 7.
 +  * Upgrade Standards-Version to 3.8.3.
 +  * Dropped useless debian/pycompat.
 +  * Add missing ${misc:Depends} on Depends line.
 +  * Register documentation with doc-base.
 +
 + -- Raphaël Hertzog <hertzog at debian.org>  Wed, 27 Jan 2010 16:09:24 +0100
 +
 +python-django-registration (0.7-1) unstable; urgency=low
 +
 +  [ Sandro Tosi ]
 +  * debian/control
 +    - switch Vcs-Browser field to viewsvn
 +  
 +  [ Stephan Peijnik ]
 +  * New upstream release.
 +  * Updated debian/watch to use pypi.python.org as source of new upstream 
 +    tarballs.
 +
 +  [ Raphael Hertzog ]
 +  * Update URL in Homepage field to match new upstream site (it moved to
 +    Bitbucket).
 +  * Drop 02_overview_rst_fix.patch and 01_validators_removed.patch as they got
 +    merged upstream.
 +  * delete_expired_users.py does no more exist. It has been replaced with a
 +    manage.py sub-command (manage.py cleanupregistration) that you can invoke
 +    within any project using django-registration.
 +  * Drop .po files from binary package.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Wed, 12 Nov 2008 10:06:06 +0100
 +
 +python-django-registration (0.6-3) unstable; urgency=low
 +
 +  * Modified package to use quilt patchsys (requested by Raphael Hertzog).
 +  * Added myself to Uploaders.
 +  * Moved package to unstable, as it is compatible with the version of
 +    python-django in unstable.
 +  * debian/control:
 +    - Updated dependency on python-django (>= 1.0).
 +    - Removed Prority: optional from binary package.
 +  * debian/rules:
 +    - Removed simple-patchsys.mk from includes.
 +    - Added patchsys-quilt.mk to includes.
 +    - Made clean target depend on unpatch.
 +  * debian/patches/01_validators_removed.patch:
 +    - Pulled in bugfixes in revisions 167 and 168 from upstream SVN.
 +      This patch fixes the bug introduced by the removal of
 +      django.core.validators in python-django 1.0-1. (Closes: #498086)
 +  * debian/patches/02_overview_rst_fix.patch:
 +    - Fixes a typo in overview.txt causing rst2html to return an error.
 +  * Moved delete_expired_users.py script out of site-packages into
 +    /usr/share/doc/python-django-registration/examples.
 +  * Added debian/python-django-registration.README.Debian to document
 +    the delete_expired_users.py change.
 +  * Documented patches in debian/patches.
 +
 + -- Stephan Peijnik <debian at sp.or.at>  Tue, 16 Sep 2008 12:06:09 +0200
 +
 +python-django-registration (0.6-2) experimental; urgency=low
 +
 +  * debian/control:
 +    - added dependency on python-django (>= 1.0~beta1) (Thanks to Raphael
 +      Hertzog).
 +  * debian/rules:
 +    - added call to new compile-messages interface through django-admin.
 +    - remove ._django.po during clean.
 +
 + -- David Spreen <netzwurm at debian.org>  Fri, 22 Aug 2008 12:32:04 -0700
 +
 +python-django-registration (0.6-1) experimental; urgency=low
 +
 +  [ Sandro Tosi ]
 +  * debian/watch
 +    - fixed to work with code.google.com
 +
 +  [ David Spreen ]
 +  * New upstream SVN snapshot to ensure compatibility with upcoming 1.0
 +    release of python-django. 
 +  * debian/rules 
 +    - Removed the call to compile-messages since it requires
 +      experimental django version. This will be added again once 
 +      Django 1.0 enters sid.
 +  * debian/control: 
 +    - Removed build-dependency on python-django. See above.
 +    - Depend on python-django (>= 1.0~beta1).
 +    - Updated policy version.
 +
 + -- David Spreen <netzwurm at debian.org>  Thu, 21 Aug 2008 17:39:12 -0700
 +
 +python-django-registration (0.4p2-1) experimental; urgency=low
 +
 +  * New upstream release.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Sun, 02 Mar 2008 12:26:25 +0100
 +
 +python-django-registration (0.4p1-1) experimental; urgency=low
 +
 +  [ Sandro Tosi ]
 +  * debian/control
 +    - uniforming Vcs-Browser field
 +
 +  [ Raphael Hertzog ]
 +  * New upstream release.
 +  * Updated Standards-Version to 3.7.3 (no change).
 +  * Fix dependency on python-django to really require the experimental
 +    version. Closes: #460413
 +  * Move python-django, python-docutils and python-support from Build-Depends
 +    to Build-Depends-Indep as they are not needed during cleanup.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Sat, 12 Jan 2008 15:58:38 +0100
 +
 +python-django-registration (0.3p5-1) experimental; urgency=low
 +
 +  * New upstream release.
 +  * Drop debian/patches/01_fix_setup_py.patch which got integrated upstream.
 +  * Generate HTML for new (rst) documentation files.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Mon, 08 Oct 2007 16:43:19 +0200
 +
 +python-django-registration (0.3p3-1) experimental; urgency=low
 +
 +  [ Piotr Ożarowski ]
 +  * XS-Vcs-Browser and Homepage fields added
 +
 +  [ Raphael Hertzog ]
 +  * New upstream release.
 +  * Renamed XS-Vcs* to Vcs-* since they are supported by dpkg now.
 +  * debian/patches/01_fix_setup_py.patch: Make sure that non *.py files
 +    like translations are also included. (patch forwarded upstream)
 +  * Compile translations into *.mo files with the django's make-messages.py.
 +    Build-Depends on python-django for this.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Thu, 04 Oct 2007 18:23:37 +0200
 +
 +python-django-registration (0.2-1) experimental; urgency=low
 +
 +  * Initial release.
 +  * Upload to experimental because it requires the development version
 +    of python-django.
 +
 + -- Raphael Hertzog <hertzog at debian.org>  Tue, 31 Jul 2007 15:10:52 +0200
diff --cc debian/patches/send_signal_only_once_when_activating_user.patch
index 8caa833,0000000..b434347
mode 100644,000000..100644
--- a/debian/patches/send_signal_only_once_when_activating_user.patch
+++ b/debian/patches/send_signal_only_once_when_activating_user.patch
@@@ -1,38 -1,0 +1,40 @@@
- From 6644af9b57c248b8e2d8cc62f231fc34a9409b6d Mon Sep 17 00:00:00 2001
++From a005f974538796ec396ef36fdbf01ac1399a48ad Mon Sep 17 00:00:00 2001
 +From: Tomaz Muraus <Tomaz Muraus>
 +Date: Thu, 8 Oct 2015 11:50:26 -0700
 +Subject: Fixes double signal sending when activating user.
 +
 + The patch can't be submitted upstream as there's no clear upstream
 + maintainer currently.
 +Origin: other, https://bitbucket.org/kami/django-registration/commits/6a0aff33bcf2cc24190916c74bc1b6822622d45a
 +Bug-Debian: http://bugs.debian.org/745756
 +Last-Update: 2014-05-27
 +
 +Patch-Name: send_signal_only_once_when_activating_user.patch
 +---
-  registration/views.py | 4 ----
-  1 file changed, 4 deletions(-)
++ registration/views.py | 6 ------
++ 1 file changed, 6 deletions(-)
 +
 +diff --git a/registration/views.py b/registration/views.py
- index d738021..9910bcc 100644
++index 0f4e6e3..e969045 100644
 +--- a/registration/views.py
 ++++ b/registration/views.py
 +@@ -8,7 +8,6 @@ from django.shortcuts import redirect
 + from django.views.generic.base import TemplateView
 + from django.views.generic.edit import FormView
 + 
 +-from registration import signals
 + from registration.forms import RegistrationForm
 + 
 + 
- @@ -78,9 +77,6 @@ class ActivationView(TemplateView):
++@@ -99,11 +98,6 @@ class ActivationView(TemplateView):
 +         """
 +         activated_user = self.activate(*args, **kwargs)
 +         if activated_user:
- -            signals.user_activated.send(sender=self.__class__,
- -                                        user=activated_user,
- -                                        request=self.request)
++-            signals.user_activated.send(
++-                sender=self.__class__,
++-                user=activated_user,
++-                request=self.request
++-            )
 +             success_url = self.get_success_url(activated_user)
 +             try:
 +                 to, args, kwargs = success_url

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-registration.git



More information about the Python-modules-commits mailing list