Flask-mwoauth changelog
======================================== - Fix mwoauth.request (Martin Urbanec)
======================================== - Add get_user_identity returning full identity object for current user (Martin Urbanec) - Add get_user_identity_from_token returning full identity object for token-identified user (Martin Urbanec)
- Fix content type in description to allow pypi upload
- [backwards incompatible] use url_for to resolve target URL in logout sequence (Martin Urbanec)
- Return to main page instead of showing a blank 'logged out' page (Martin Urbanec)
- Make sure small requests are also sent authenticated (Martin Urbanec)
- Allow retrieving JSON from a request directly instead of returning text (Martin Urbanec)
- Full rewrite of backend to use the mwoauth library directly (Aaron Halfaker)
- Improvements of demo scripts to use credentials JSON file (Aaron Halfaker)
- Changed documentation from rst to markdown
- Updated documentation of OAuth registration URL (Robin Krahl)
- Use POST form data instead of GET parameters (Cristian Consonni)
- Python 3.3+ support (thanks, Jan Lebert)
- This required a switch to flask-oauthlib
- Doc fixes
- Feature: allow user to specify App name, which is also used for naming
session variables.
Bugfix: Added README.rst to source package to fix pip install. General: Added several other files to the source package too (license, contributors, demo.py, etc.)
- New feature:
- /logout will now also accept a 'next' parameter to forward the user to a nicer 'You have been logged out' page.
- New features:
- Allow MWOAuth.request to take an optional url parameter. This allows requests to a different wiki than the one where the OAuth authorization was performed, as long as the same OAuth headers are accepted (e.g. wikimedia foundation wikis)
- New features:
- handling of login?next=.... via cookies (by Cristian Consonni)
- more efficient handling of big POST requests using the Requests library (by Cristian Consonni)
- Bugfixes:
- demo app now has correct index url
- demo app now warns for using a random (thanks, again, Cristian!)
- Also thanks to:
- Kunal Mehta for a minor PEP8 fix