Skip to content

Releases: sahat/satellizer

0.7.0

25 Sep 06:00
Compare
Choose a tag to compare

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 calling focus(). 8253aee
  • Token Prefix is used only if it is defined to avoid a token name like _token if you choose not to have the satellizer_ 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 of Date.now() (milliseconds). e0996bb
  • Python: Code refactoring. 8149028 ee8f262 e32b497 58129ef da1af42 c401336 12e870d

0.6.4

19 Sep 02:14
Compare
Choose a tag to compare
  • 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 and exp use seconds instead of milliseconds for unix timestamps. c86134c

0.6.3

16 Sep 05:21
Compare
Choose a tag to compare
  • 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

10 Sep 17:05
Compare
Choose a tag to compare
  • Try/Catch in run() block to avoid security cross-origin exceptions. 7789031 (#101)
  • Updated Sign in with Foursquare button. 280e3c1
  • PHP: Retrieve user id using arrow syntax in createToken. 667fa6e
  • Java: Include token in response at /auth/signup to allow login after signup. 0f487a6

0.6.1

03 Sep 05:51
Compare
Choose a tag to compare
  • Feature: Login immediately after signup. Thanks @Foxandxss!
  • Node: /auth/unlink now returns 200 OK instead of responding with a token.
  • Java: General improvements and implemented /auth/unlink endpoint. Thanks @chena!

0.6.0

30 Aug 15:15
Compare
Choose a tag to compare

This release contains breaking changes.

  • No longer store user in the token payload.
  • Lowercase satellizer module name.
  • Removed isAuthenticated and currentUser $rootScope.
  • No longer listen for $routeChangeSuccess and use protected: true on routes. Use built-in resolve function of ui-router and ngRoute.
  • Lots of code refactoring, cleanup and unit tests.
  • Demo: Use isAuthenticated() method to check log-in status instead of currentUser.
  • 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

26 Aug 05:11
Compare
Choose a tag to compare
  • 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 to loginRediect 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 hardcoded token, 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 of currentUser.
  • 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 and sub in addition to exp and iat.
  • 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 use File::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

23 Aug 21:40
Compare
Choose a tag to compare
  • Fixed a bug where you could not override options via $authProvider.
  • No longer redirects to /login on http interceptor responseError. #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

23 Aug 04:21
Compare
Choose a tag to compare
  • Linking and unlinking multiple accounts.
  • New profile page instead of the "protected" page.
  • OAuth 1.0 error promise now returns response instead of response.data.
  • Updated button styles.
  • Cleaned up HTML templates.
  • Node: Updated schema to use displayName instead of firstName and lastName.
  • Node: Password field will not be returned by default when querying a user.
  • Readme: Updated API documentation.

0.3.4

22 Aug 16:40
Compare
Choose a tag to compare
  • FIxed $http inteceptor config variable clobbering.