------------------------------------
There are two South migrations included with this release. To upgrade you should run::
python manage.py migrate allaccess
If you are not using South, you will not need to change your database schema because
the underlying field type did not change. However, you should re-save all existing
``AccountAccess`` instances to ensure that their access tokens go through the encryption step
.. code-block:: python
from allaccess.models import AccountAccess
for access in AccountAccess.objects.all():
access.save()
Features
_________________
- ``OAuthRedirect`` view can now specify a callback URL
- ``OAuthRedirect`` view can now specify additional permissions
- Context processor for adding enabled providers to the template context
- User access tokens are stored with AES encryption
- Documentation on customizing the view workflow behaviors
- Travis CI integration
Bug Fixes
_________________
- Fixed OAuth2Client to include ``grant_type`` paramater when requesting access token
- Fixed OAuth2Client to match current OAuth draft for access token response as well as legacy response from Facebook
Backwards Incompatible Changes
__________________________________
- Moving the construction on the callback from the client to the view changed the signature of the client ``get_redirect_url``, ``get_redirect_args``, ``get_request_token`` (OAuth 1.0 only) and ``get_access_token`` to include the callback. These are largely internal functions and likely will not impact existing applications.
- The ``AccountAccess.access_token`` field was changed from a plain text field to an encrypted field. See previous note on migrating this data.