0.11.0
版本发布时间: 2015-06-01 15:15:04
sahat/satellizer最新发布版本:0.15.5(2016-08-30 17:25:12)
:exclamation: Note 1: Base64.js polyfill is no longer bundled with Satellizer. All major browsers except IE9 support window.btoa
and window.atob
functions which are used for encoding/decoding a JWT string. If you still have to support IE9 then add the following before any other scripts in HTML:
<!--[if lte IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/Base64/0.3.0/base64.min.js"></script>
<![endif]-->
:exclamation: Note 2: The vendor/satellizer.js and a second copy of client folder in the PHP example is no longer kept in Git repository to avoid unnecessary file duplication. As a side effect, to run server-side examples you will now have to run npm install
when you download/clone this repository, which will in turn run gulp copy
and gulp php
tasks after all dev dependencies are installed. These two gulp tasks will copy satellizer.js
from root directory to examples/client/vendor, examples/ionic/www/lib and copy the entire client directory to examples/server/php/public/. This was necessary so that when I make a change to satellizer.js
I don't have to commit 3 other (duplicate) files along with it.
- :warning: : Twitter authentication (and OAuth 1.0 in general) refactoring. 50a31109f969dcca18c7513c99c290f08d6b2bed https://github.com/sahat/satellizer/issues/329#issuecomment-99708453
- Added an ability to toggle storage type (
localStorage
vssessionStorage
). 28ab484768a5643464075a68e7500536358e0e40 -
unlinkUrl
is now correctly concatenated with `baseUrl string. f440efb0b89a2375996739f11f9043486bf0a5b7 - Fixed an issue with
joinUrl
absolute url concatenation. bb9573e97bccdd423a48461ca082d764d6c2c140 - Added Windows Live link/unlink account functionality. https://github.com/sahat/satellizer/pull/424
- Check if
isAuthenticated()
istrue
before sending the Authorization header. bb8518b46111d143aac32114ce7e4c9d52bf16e8 - :warning:
isAuthenticated()
now returnsfalse
if token does not match a valid JWT structure. c875f6d46fba62f5dc8acade667b6332b9b1a7a9 - Fixed encoding of non-english characters. https://github.com/sahat/satellizer/pull/405
- Fixed
documentOrigin
andpopupWindowOrigin
host/port issue. c3655d25401b2ca8412d8a9ca2a06d56f0fa565c - Fixed an issue with popup query params in IE11. 011298550ec353160bd0acf67e1b9c571921614b 4b630fb897a48e68586b7ef855313fc575b93c06
-
Ionic: The
satellizer.js
is now copied directly to lib directory insead of lib/satellizer. 93b8e6ef549e0e7fc51c776ef75b969bbbb871fd - Go: Added go-lang server example. Currently only supports Facebook, Google and Twitter authentication.
- Node: Added an error message if unable to connect to MongoDB during server.js startup. 901c13cf90bcd5b39deb0d40bb63d9635111487f
-
Node: Handle JWT decode errors via
try/catch
. 30799e53a239dc35147bb2b6e4e009cf06abe6a2 - PHP: Updated Twitter example to use the new POST method for OAuth 1.0 authentication to be a little more consistent with OAuth 2.0 implementations. eb386527ec3f50129dffd4a2a09e6da8af84752f
- Ruby: Fixed Ruby on Rails example. Some files were not committed during the initial pull request due to being ignore by the .gitignore file.