Added client registration caps to OAuth plugin
authorJoar Wandborg <git@wandborg.com>
Fri, 21 Sep 2012 11:02:35 +0000 (13:02 +0200)
committerJoar Wandborg <git@wandborg.com>
Fri, 21 Sep 2012 11:09:42 +0000 (13:09 +0200)
commit88a9662be4f97da5b04a3842c8d0caa2652be355
tree1924afd6d94f4aa6932bb88feed150e9eae9fbe3
parentd4c066abf017bc7af8fa30a25248dbae9e40355d
Added client registration caps to OAuth plugin

THE MIGRATIONS SUPPLIED WITH THIS COMMIT WILL DROP AND RE-CREATE YOUR
oauth__tokens AND oauth__codes TABLES. ALL YOUR OAUTH CODES AND TOKENS
WILL BE LOST.

- Fixed pylint issues in db/sql/migrations.
- Added __repr__ to the User model.
- Added _disable_cors option to json_response.
- Added crude error handling to the api.tools.api_auth decorator
- Updated the OAuth README.
- Added client registration, client overview, connection overview,
  client authorization views and templates.
- Added error handling to the OAuthAuth Auth object.
- Added AuthorizationForm, ClientRegistrationForm in oauth/forms.
- Added migrations for OAuth, added client registration migration.
- Added OAuthClient, OAuthUserClient models.
- Added oauth/tools with require_client_auth decorator method.
14 files changed:
mediagoblin/db/sql/migrations.py
mediagoblin/db/sql/models.py
mediagoblin/plugins/api/tools.py
mediagoblin/plugins/oauth/README.rst
mediagoblin/plugins/oauth/__init__.py
mediagoblin/plugins/oauth/forms.py [new file with mode: 0644]
mediagoblin/plugins/oauth/migrations.py [new file with mode: 0644]
mediagoblin/plugins/oauth/models.py
mediagoblin/plugins/oauth/templates/oauth/authorize.html [new file with mode: 0644]
mediagoblin/plugins/oauth/templates/oauth/client/connections.html [new file with mode: 0644]
mediagoblin/plugins/oauth/templates/oauth/client/list.html [new file with mode: 0644]
mediagoblin/plugins/oauth/templates/oauth/client/register.html [new file with mode: 0644]
mediagoblin/plugins/oauth/tools.py [new file with mode: 0644]
mediagoblin/plugins/oauth/views.py