Skip to content

Commit

Permalink
Released 1.0.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouke committed Jun 1, 2014
1 parent 54f544b commit 79907dc
Show file tree
Hide file tree
Showing 10 changed files with 39 additions and 20 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
include LICENSE.txt
include README.rst
include *.rst LICENSE
prune two_factor/locale
recursive-include two_factor/locale *
recursive-include two_factor/templates *
6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ For Python compatibility, tox_ is used. You can run the full test suite with::

tox


See Also
========
Have a look at django-user-sessions_ for Django sessions with a foreign key to
the user. This package is also included in the online `example app`_.

Also as a note-to-self, for packaging see
`Hynek's Sharing Your Labor of Love: PyPI Quick And Dirty`_.

License
=======
The project is licensed under the MIT license.
Expand All @@ -129,3 +131,5 @@ The project is licensed under the MIT license.
.. _source code: https://github.com/Bouke/django-two-factor-auth
.. _readthedocs.org: http://django-two-factor-auth.readthedocs.org/
.. _Yubikey: https://www.yubico.com/products/yubikey-hardware/
.. _`Hynek's Sharing Your Labor of Love: PyPI Quick And Dirty`:
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
# built documents.
#
# The short X.Y version.
version = '0.6'
version = '1.0'
# The full version, including alpha/beta/rc tags.
release = '0.6.0'
release = '1.0.0-beta1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -271,7 +271,7 @@
# allow autodoc to import some project files, which rely on Django
from django.conf import settings
settings.configure(
DEBUG=False,
DEBUG=False,
INSTALLED_APPS=('django.contrib.auth',),
AUTH_USER_MODEL='auth.User',
)
26 changes: 17 additions & 9 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
Release Notes
=============

0.6.0 (in development)
----------------------
1.0.0-beta1
-----------
* Support for Django 1.7
* Fixed #39 -- Added support for custom user model (Django 1.5+)
* Two new translations: German and Spanish
* New translations: German, Spanish, French, Swedish and Portuguese (Brazil)
* #39 -- Added support for custom user model (Django 1.5+)
* Added management commands
* Added support for YubiKeys
* Fire signal when user is verified
* #44 -- Don't require re-login after setup
* #49 -- Advise to add backup devices after setup
* #52 -- Add URL encoding to otpauth URL
* #54 -- Mitigate voicemail hack
* #55 -- Use two_factor:login instead of LOGIN_URL

0.5.0
-----
* Fixed #32 -- Make the auth method label capitalization more consistent
* Fixed #31 -- Set an error code for phone_number_validator
* Fixed #30 -- Don't transmit token seed through GET parameters
* Fixed #29 -- Generate QR codes locally
* Fixed #27 -- South migrations to support custom user model
* #32 -- Make the auth method label capitalization more consistent
* #31 -- Set an error code for phone_number_validator
* #30 -- Don't transmit token seed through GET parameters
* #29 -- Generate QR codes locally
* #27 -- South migrations to support custom user model

0.4.0
-----
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Python 3.

Python
------
The following Python versions are supported: 2.6, 2.7, 3.2 and 3.3. As support
for older Django versions is dropped, the minimum version might be raised. See
also `What Python version can I use with Django?`_.
The following Python versions are supported: 2.6, 2.7, 3.2, 3.3 and 3.4. As
support for older Django versions is dropped, the minimum version might be
raised. See also `What Python version can I use with Django?`_.

django-otp
----------
Expand Down
4 changes: 4 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ transifex-client

Sphinx
sphinx_rtd_theme

# Build

wheel
5 changes: 4 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[flake8]
exclude=two_factor/migrations,compat.py,two_factor/views/__init__.py
exclude = two_factor/migrations,compat.py,two_factor/views/__init__.py
max-line-length = 100

[wheel]
universal = 1
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='django-two-factor-auth',
version='0.6.0-dev',
version='1.0.0-beta1',
description='Complete Two-Factor Authentication for Django',
long_description=open('README.rst').read(),
author='Bouke Haarsma',
Expand Down Expand Up @@ -31,6 +31,7 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Security',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
Expand Down

0 comments on commit 79907dc

Please sign in to comment.