Releases: sahat/satellizer
Releases · sahat/satellizer
0.7.0
New Feautres
- IE8+ Support (code base even got smaller as a result!). eed28b6
- You can now pass additional data as a second argument to
$auth.authenticate
and$auth.link
. - Demo: UI Router has replaced ngRoute. e557e3c
- Demo: Renamed
/views
folder to/partials
. e8c2bb4 - Demo: Added GitHub Project button to the home page. 6f767f2
- Python: Added Envrionment Variables to the config.py. f603019
- Python: Directory cleanup. 8aae431
- Python: Added Facebook account linking. abaf032
- Readme: Added browser support section.
Bug Fixes
- Replaced
promise.catch()
with `promise.then(null, function) to support IE8. da7c9bc - Check if popup is open and
window.focus
is defined before callingfocus()
. 8253aee - Token Prefix is used only if it is defined to avoid a token name like
_token
if you choose not to have thesatellizer_
prefix in front of name stored in Local Storage. 92f4d82 - Demo: Display server error message if cannot fetch profile information. b2256e0
- Node: Use
moment().unix()
(seconds) instead ofDate.now()
(milliseconds). e0996bb - Python: Code refactoring. 8149028 ee8f262 e32b497 58129ef da1af42 c401336 12e870d
0.6.4
- isAuthenticated compares times now uses seconds instead of milliseconds since the UNIX epoch to check for token expiration. b331209
- Set default Twitter popup width and height. 9f7b060
- Add r_emailladdress as a default scope for LinkedIn provider. 58a7111
- Update LinkedIn people API call to fetch email address. 8bf881e
- Demo: The password-strenth directives now uses
$viewValue
instead of$modelValue
. aa9423d - Node:
iat
andexp
use seconds instead of milliseconds for unix timestamps. c86134c
0.6.3
isAuthenticated()
returns false if token has expired. c2c4063- No longer redirected to home page after linking an account from Profile page. eb6ba61
- Buttons are automatically updated when you link/unlink an account from Profile page. 1c74353 9912f8f 1c74353
- Internal code refactoring. 62e560c b59b6d4
- Updated CDN links to AngularJS 1.3 RC1 c64b97d
0.6.2
0.6.1
0.6.0
This release contains breaking changes.
- No longer store
user
in the token payload. - Lowercase
satellizer
module name. - Removed
isAuthenticated
andcurrentUser
$rootScope. - No longer listen for
$routeChangeSuccess
and useprotected: true
on routes. Use built-inresolve
function of ui-router and ngRoute. - Lots of code refactoring, cleanup and unit tests.
- Demo: Use
isAuthenticated()
method to check log-in status instead ofcurrentUser
. - Demo: Updated email validation on the signup form.
- Node: Return 200 OK when updating user at PUT
/api/me
instead of sending a token. - Added PHP Laravel example.
- Added Java Dropwizard example. (Thanks @chena)
0.5.0
- Handle base64url when decoding token payloads. 4c15da9
- Use
payload.sub
to store user's ID instead of the entire user object. #37 - Backward compatibility for
payload.user
for now. - Use inline annotations instead of relying on ngAnnotate. #47
- The
$routeChangeStart
now redirects tologinRediect
instead of hard-coded/
path. - Store the token in Local Storage as tokenPrefix_tokenName to avoid naming collisions.
tokenName
config property is now used to modify token's name sent from a server, e.g.access_token
instead of previously hardcodedtoken
, especially if you are implementing your own OAuth 2.0 server. #50- Demo: Retrieve profile information via
Account
service and set it on$scope.user
. - Demo: Using
isAuthenticated
to check login state instead ofcurrentUser
. - Demo: Signup form now has
autofocus
attribute on the Name field. #53 - Demo: Removed
http
prefix from CDN urls. - Node.js: Added new JWT claims:
iss
andsub
in addition toexp
andiat
. - Node.js: Redirect to
https
in production mode on Heroku. - Node.js: Check if user exists first before start linking accounts.
- PHP: Refactored routes logic into controllers.
- PHP: Implemented GitHub, Facebook, Google authentication providers.
- PHP: Implemented Local login and signup.
- PHP: Use MySQL instead of SQLite by default.
- PHP: Keep default
views
path, instead useFile::get
to retrieve index.html. - Scala: General fixes, added missing imports. #49
- Rails:
rails-api
scaffold, see progress in pull request #48. - Readme: Table of contents, FAQ.
0.4.1
- Fixed a bug where you could not override options via
$authProvider
. - No longer redirects to
/login
on http interceptorresponseError
. #42 - Added ability to disable page redirect after logging in and logging out when option is set to
null
. #42 - Adding
protected: true
to your routes will redirect users to/login
if they are not authenticated. #36 - Code refactoring.
0.4.0
- Linking and unlinking multiple accounts.
- New profile page instead of the "protected" page.
- OAuth 1.0 error promise now returns
response
instead ofresponse.data
. - Updated button styles.
- Cleaned up HTML templates.
- Node: Updated schema to use
displayName
instead offirstName
andlastName
. - Node: Password field will not be returned by default when querying a user.
- Readme: Updated API documentation.