Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESA 1.0 #602

Merged
merged 311 commits into from
Oct 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
311 commits
Select commit Hold shift + click to select a range
4920f02
Fix yuidoc options
fsmanuel Jul 7, 2015
ffe77d6
Remove Standard AMD requireModule examples
fsmanuel Jul 7, 2015
70976e1
Fix Travis builds
fsmanuel Jul 7, 2015
cb78d95
Update ember-cli-yuidoc
fsmanuel Jul 9, 2015
8a1d7fd
remove the need of docs environment
fsmanuel Jul 15, 2015
d6a831b
removed automatic session injection
marcoow Jul 21, 2015
9934b64
removed Configuration.sessionPropertyName
marcoow Jul 21, 2015
086560e
moved session restoration into initializer
marcoow Jul 21, 2015
bb087d4
moved ajax prefilter setup to instance initializer
marcoow Jul 21, 2015
695606d
fixed mock server file name
marcoow Jul 21, 2015
cbe5be8
use an authorizer in the sample app
marcoow Jul 21, 2015
82d6a19
don't inject session service in mixins
marcoow Jul 23, 2015
c9e076b
test cleanup
marcoow Jul 23, 2015
1ef1741
added TODO for setting Configuration,applicationRootUrl
marcoow Jul 23, 2015
22fcf09
test cleanup
marcoow Jul 23, 2015
6f03785
added todo for UnauthenticatedRouteMixin
marcoow Jul 23, 2015
1442a1e
test cleanup
marcoow Jul 23, 2015
6a750b2
test cleanup
marcoow Jul 23, 2015
0114dc1
use catch(… instead of then(null, …
marcoow Jul 23, 2015
cfccc17
Issue #503 - Add optional client_id to OAuth2
bbooth Jul 14, 2015
411d7e8
Switch base64 encoding to use a new ember-cli addon
bbooth Jul 16, 2015
44faf9d
Issue #503 - Add optional client_id to OAuth2
bbooth Jul 14, 2015
435accb
Switch base64 encoding to use a new ember-cli addon
bbooth Jul 16, 2015
745d448
ES2015 template string fix
bbooth Jul 29, 2015
9157787
removed empty file
marcoow Jul 29, 2015
4fdc464
better module name for oauth 2.0 authenticator
marcoow Aug 5, 2015
acf4810
better module name for oauth 2.0 authorizer
marcoow Aug 5, 2015
8447183
update dummy app to use final ESA 1.0 API
marcoow Aug 5, 2015
d06469e
update ember cli and libraries
marcoow Aug 5, 2015
aef0b0c
fixed test
marcoow Aug 5, 2015
3114eb5
updated handlebars dependency
marcoow Aug 5, 2015
08484c4
glob and morgan are actually needed
marcoow Aug 5, 2015
c62d7aa
use new ember data store api
marcoow Aug 5, 2015
05c6b1a
don't auto-merge authorizers and stores into app tree
marcoow Aug 5, 2015
d51e841
removed unused utility function
marcoow Aug 5, 2015
ef58f07
better default for applicationRootUrl
marcoow Aug 5, 2015
125050f
removed unnecessary config value
marcoow Aug 5, 2015
901cb81
handle auth errors in dummy app
marcoow Aug 5, 2015
f5658c4
added outdated notice to README
marcoow Aug 5, 2015
55cb44e
don't declare unused vars
marcoow Aug 5, 2015
0a34caa
simply window.location.reload on logout
marcoow Aug 5, 2015
818b0a6
added TODO
marcoow Aug 5, 2015
0e6967f
bind session events to route methods instead of actions
marcoow Aug 5, 2015
bae2150
transition to ember-cli-build.js
Aug 6, 2015
8e364fa
allow failures in beta for now
marcoow Aug 7, 2015
70e5dd6
clean up ember-cli-build.js
marcoow Aug 7, 2015
5956652
removed duplicate LICENSE file
marcoow Aug 7, 2015
dc236f4
Removed asynchronous call of this._super (fixes #608)
mdehoog Aug 11, 2015
5a43ec9
Simplified return value
mdehoog Aug 11, 2015
d203bef
renamed session service content property to data, close #598
marcoow Aug 11, 2015
07e70f8
made default ephemeral session store work again
marcoow Aug 11, 2015
d00ac4a
remove old store config value from the dummy app
marcoow Aug 11, 2015
6b08747
login should be an unauthenticated route
marcoow Aug 11, 2015
215a2da
bind the session to store events on init
marcoow Aug 11, 2015
013bdc4
removed authorizationFailed session event
marcoow Aug 13, 2015
0ba5ab5
better name for authenticator in dummy app
marcoow Aug 13, 2015
6a4ce4c
cleaned up session events
marcoow Aug 13, 2015
91acbc6
improved authorizer api
marcoow Aug 15, 2015
55614be
removed ajax prefilter
marcoow Aug 15, 2015
b7c80c2
updated ember-mocha
marcoow Aug 16, 2015
f4facaf
don't allow CI failures with ember-beta anymore
marcoow Aug 16, 2015
ffdcc66
added DataAdapterMixin
marcoow Aug 17, 2015
69d87a3
need to use ember-data#beta with ember#release
marcoow Aug 17, 2015
8fed755
use #beta of ember end ember-data in beta scenario
marcoow Aug 17, 2015
9e4a221
removed test that doesn't work with ember#beta
marcoow Aug 17, 2015
557cb65
removed crossOriginWhitelist setting
marcoow Aug 17, 2015
4ba161f
removed authorizer config setting
marcoow Aug 17, 2015
129d261
cleaned up localStorage config
marcoow Aug 17, 2015
6517278
don't require a session-store/application.js
marcoow Aug 17, 2015
57c4c7f
added missing test for setupAuthorizers
marcoow Aug 17, 2015
65375c2
register the session as "session:main"
marcoow Aug 17, 2015
a9b6fed
just use the session service in the mixins
marcoow Aug 17, 2015
37a0ff8
test against ember 1.13/ember-data 1.13 on CI
marcoow Aug 17, 2015
b1aa922
Update DataAdapterMixin documentation
romulomachado Aug 18, 2015
7287085
Use defaults.base.store to set default base store
romulomachado Aug 18, 2015
f733456
Attempt session restoration before running application route's `befor…
mdehoog Aug 19, 2015
2a93f08
Fix typo
romulomachado Aug 19, 2015
e97c7e1
Move `app/service/session` to `addon`
seanpdoyle Aug 18, 2015
c58c8e9
added test for setupSessionRestoration
marcoow Aug 19, 2015
5820545
call the original beforeModel, not _super
marcoow Aug 19, 2015
a7248dc
fixed binding and specs
marcoow Aug 19, 2015
05393ee
use bind polyfill in test env
marcoow Aug 19, 2015
5b58132
removed the need for es5-shim
marcoow Aug 21, 2015
30c3974
Add torii
Aug 24, 2015
99037b0
rename session.secure to session.authenticated
ssendev Aug 24, 2015
e2ecac5
remove devise and oauth2 config
ssendev Aug 25, 2015
50283be
allow devise and oauth2 properties to be computed
ssendev Aug 25, 2015
546e245
fixed wording in the dummy app
marcoow Aug 25, 2015
46e541b
fixed dummy app
marcoow Aug 25, 2015
a1c4814
fixed mock server
marcoow Aug 25, 2015
f0eac1c
don't use Ember.$.when
marcoow Aug 25, 2015
acb9e6b
remove legacy examples
marcoow Aug 25, 2015
8e179ad
fixed names of initializers and config section
marcoow Aug 25, 2015
5ea38dc
simplified dummy app structure
marcoow Aug 25, 2015
8c12525
[WIP] updating README to reflect new API
marcoow Aug 25, 2015
8874098
cleanup
marcoow Aug 25, 2015
9cabe64
cleaned up tests
marcoow Aug 27, 2015
92a858f
fixed test name
marcoow Aug 27, 2015
71f955f
fixed test name
marcoow Aug 27, 2015
87a2432
make sure constant name is uppercase
marcoow Aug 27, 2015
8caa097
fixed test name
marcoow Aug 27, 2015
d6c8b25
added test for loadConfig function
marcoow Aug 27, 2015
80ae599
renamed loadConfig to applyConfig
marcoow Aug 27, 2015
f960d37
removed unused application session-store
marcoow Aug 27, 2015
ad40cf7
added test for session service
marcoow Aug 27, 2015
5e7d810
allow config to be empty, close #646
marcoow Sep 1, 2015
cb7fdf7
added torii authenticator to dummy app
marcoow Sep 4, 2015
0e60e88
only display session account when it's known
marcoow Sep 4, 2015
fbfb5a4
fixed csp warning in dummy app
marcoow Sep 4, 2015
59a0b87
use torii as a service instead of injecting it
marcoow Sep 4, 2015
2cdb6d7
log something when session restoration is rejected
marcoow Sep 4, 2015
10551d4
better name for test helpers file
marcoow Sep 4, 2015
bc86b3d
WIP: acceptance testing
marcoow Sep 4, 2015
aed5da0
handle the case when the app doesn't define an application route
marcoow Sep 7, 2015
ba3beea
fixed acceptance tests
marcoow Sep 7, 2015
99528e6
test cleanup
marcoow Sep 7, 2015
a33ab94
register the test authenticator lazily
marcoow Sep 7, 2015
0f5a5c9
updated libraries
marcoow Sep 7, 2015
39da67b
fixed jshint error
marcoow Sep 7, 2015
7cce084
Revert "register the test authenticator lazily"
marcoow Sep 7, 2015
93a17d4
fixed test
marcoow Sep 7, 2015
6d1d223
register the test authenticator via the app
marcoow Sep 7, 2015
48a502e
ember data 2.0 has finally been released…
marcoow Sep 7, 2015
79d7a80
fixed bower library version
marcoow Sep 7, 2015
beab747
fixed initializer name
marcoow Sep 7, 2015
3ae4718
fixed instance initializer name
marcoow Sep 7, 2015
6b46e26
remove unused arg
marcoow Sep 7, 2015
91ef3e1
added missing repository field to package.json
marcoow Sep 7, 2015
eb6ffb5
allow CI errors for ember-beta for now
marcoow Sep 7, 2015
2bf1e26
register ESA as a library
marcoow Sep 7, 2015
61e0607
Revert "handle the case when the app doesn't define an application ro…
marcoow Sep 7, 2015
2322b8e
make sure the application route exists
marcoow Sep 7, 2015
01d70e8
set up travis/slack integration
marcoow Sep 8, 2015
3562df1
make the initializers work with Ember 2.1
marcoow Sep 8, 2015
f047d88
use the latest torii beta
marcoow Sep 8, 2015
da3f37f
added utility method for injections
marcoow Sep 8, 2015
a0d003f
Assert that authorizer is set when using DataAdapterMixin
ivanvanderbyl Sep 4, 2015
23f3d3b
Cleaned up code and tests
ivanvanderbyl Sep 5, 2015
0dc00ee
write session data correctly from the service
marcoow Sep 9, 2015
b03a5db
fixed session restoration
marcoow Sep 9, 2015
2b43697
don't lose non-authenticated session data on restoration
marcoow Sep 9, 2015
d0e0591
Updates ember-load-initializers to 0.1.7.
epicmonkey Sep 11, 2015
f367f34
fixed dummy app sample app title
marcoow Sep 14, 2015
1a3582a
cleanup of dummy app
marcoow Sep 14, 2015
c384d19
WIP: update readme
marcoow Sep 15, 2015
5397e49
Update README.md
kevinansfield Sep 15, 2015
b4d51b1
fixed facebook auth in dummy app
marcoow Sep 16, 2015
95c6b8d
Warn when torii-authenticator is used but torii is not installed
quaertym Sep 17, 2015
38b0d07
updated torii
marcoow Sep 18, 2015
1d275cd
Update cookie.js
bttf Sep 18, 2015
57b6507
updated torii dependency
marcoow Sep 20, 2015
eb483fd
fixed .travis.yml
marcoow Sep 20, 2015
25567ed
no need to rely on this.app
marcoow Sep 21, 2015
5f04176
go to base url on logout
marcoow Sep 21, 2015
210ad4a
Correct README.md
bortevik Sep 22, 2015
5bc444a
Update README - correct config key in example
nerdyworm Sep 23, 2015
61a6e3e
fix detection of page visibility state
marcoow Sep 25, 2015
fedc45b
simply query page visibility state from the document
marcoow Sep 25, 2015
1e15952
simplified configuration
marcoow Sep 28, 2015
6a8a0a1
renamed internal session class to InternalSession
marcoow Sep 28, 2015
76cb667
Resolve test authenticator restore with passed in data
andrei1089 Sep 28, 2015
3987b03
Updated acceptance test to check authentication data
andrei1089 Sep 28, 2015
8c65ee9
use const instead of let where possible
marcoow Sep 28, 2015
dbc1c59
return upstream response value from UnauthenticatedRouteMixin
marcoow Sep 28, 2015
d9fd113
only return upstream promise when authentication check succeeds in Au…
marcoow Sep 28, 2015
26f9895
pass authenticated session data to the authorizers
marcoow Sep 29, 2015
fd964e8
build the docs with the production build
marcoow Sep 8, 2015
51c4900
WIP: better docs generation process
marcoow Sep 8, 2015
81ab363
updated docs for authenticators
marcoow Sep 17, 2015
73e4634
use plain yuidoc for now
marcoow Sep 17, 2015
d19215b
API docs for authorizers
marcoow Sep 21, 2015
09d4e0a
API docs for the ApplicationRouteMixin
marcoow Sep 21, 2015
bb72cde
use custom logo
marcoow Sep 19, 2015
fa25f57
don't list modules in sidebar
marcoow Sep 21, 2015
f2774c2
fixed authorizer callback docs
marcoow Sep 21, 2015
f1db6cb
set project name and version correctly
marcoow Sep 21, 2015
edd54a3
added docs for mixins
marcoow Sep 21, 2015
43480a6
removed broccoli-handlebars
marcoow Sep 21, 2015
2ca9d98
use simply theme, implement custom one based on that
marcoow Sep 21, 2015
eac5f2a
WIP: custom docs theme
marcoow Sep 21, 2015
2ef11a5
point source links to github
marcoow Sep 21, 2015
f6c1e9f
use a partial for the source links
marcoow Sep 22, 2015
4574afd
removed unused file
marcoow Sep 22, 2015
8132d97
WIP: use updated broccoli-yuidoc
marcoow Sep 23, 2015
63cccab
use new plugin API
marcoow Sep 23, 2015
e3faeea
WIP: custom docs theme
marcoow Sep 24, 2015
51bd775
fixed private member names and docs
marcoow Sep 25, 2015
928d732
fixed tests
marcoow Sep 25, 2015
ada48cd
fixed whitespace handling in code blocks
marcoow Sep 25, 2015
bb9fd81
WIP: API docs template
marcoow Sep 25, 2015
a0e9366
added bootstrap js
marcoow Sep 25, 2015
131a189
some smaller fixes
marcoow Sep 25, 2015
76380f7
show project name on index page
marcoow Sep 25, 2015
591a00e
split docs for configuration up into individual classes
marcoow Sep 25, 2015
dcef388
make sidebar display nicer
marcoow Sep 25, 2015
320a215
DEFAULTS.base doesn't exist anymore
marcoow Sep 28, 2015
1c43562
CSS tweaks for docs
marcoow Sep 28, 2015
f5f5372
link to the README for the correct version from the API docs
marcoow Sep 28, 2015
8d17921
moved the README link to the main page of the docs
marcoow Sep 28, 2015
cb1c659
document multiple arguments correctly
marcoow Sep 28, 2015
a0da13d
finalized authenticator docs
marcoow Sep 28, 2015
584b763
Fix typo
MaksimAbramchuk Sep 29, 2015
17c1a66
WIP: docs for base authorizer
marcoow Sep 29, 2015
32196a8
finalized docs for authorizers
marcoow Sep 29, 2015
b01fa5b
finalized docs for Configuration
marcoow Sep 29, 2015
6c900d0
CSS fix
marcoow Sep 29, 2015
1500cf3
whitespace fix
marcoow Sep 29, 2015
be25540
Update session-account.js
Sep 29, 2015
5919e6a
Remove useless comma
MaksimAbramchuk Sep 29, 2015
e68bec4
finalized docs for ApplicationRouteMixin
marcoow Sep 30, 2015
7d8f41b
finalized docs for the AuthenticatedRouteMixin
marcoow Sep 30, 2015
9bf753d
finalized docs for the UnauthenticatedRouteMixin
marcoow Sep 30, 2015
164ac34
finalized docs for DataAdapterMixin
marcoow Sep 30, 2015
51cdf5e
finalized API docs for the stores
marcoow Oct 1, 2015
0d3e4b7
finalized docs and API for the session service
marcoow Oct 1, 2015
f58fc62
WIP: reviewing the API docs
marcoow Oct 2, 2015
4760f14
WIP: reviewing docs
marcoow Oct 2, 2015
48e3bc3
updated LICENSE
marcoow Oct 2, 2015
b972991
finished API docs
marcoow Oct 2, 2015
ed4b115
Fix initializer deprecation for Ember 2.1
dschmidt Oct 5, 2015
c1c569a
add note about localStorage not being available in Safari private mode
marcoow Oct 6, 2015
b9cff09
expose the sessin stores by merging them into the app
marcoow Oct 6, 2015
9b2e5de
make sure using mixins won't break route unit tests
marcoow Oct 6, 2015
7be29fc
use closure actions in dummy app
marcoow Oct 6, 2015
e901ca5
update ember/ember-data to 2.1
marcoow Oct 6, 2015
9dfffa9
fixed tests
marcoow Oct 6, 2015
357bb25
WIP: finalizing README
marcoow Oct 7, 2015
cd6cb17
fixed auth example in README
marcoow Oct 8, 2015
dbd6894
fix authorizer example
Oct 8, 2015
970f53d
final README wording
marcoow Oct 8, 2015
6e2df74
restore local-storage as the default store
marcoow Oct 8, 2015
c2b0c46
added session service section
marcoow Oct 8, 2015
602c42b
README tweaks
marcoow Oct 8, 2015
58c75a2
fixed module of session stores
marcoow Oct 8, 2015
bbce213
README: add API docs links, fix formatting
marcoow Oct 8, 2015
dcf2d6b
README: wording fix
marcoow Oct 8, 2015
a8723a0
simplified session store handling
marcoow Oct 9, 2015
f1139d5
add new adaptive session store
marcoow Oct 9, 2015
86d2bc8
make the adaptive session store the new default
marcoow Oct 9, 2015
c262e24
docs fix
marcoow Oct 9, 2015
ca75479
readme fix s/authentication/authorizer
Oct 11, 2015
c84112f
Update Readme, fix authenticators path
Oct 12, 2015
b244a22
don't wrap lines in code blocks in the API docs
marcoow Oct 13, 2015
db2c83e
updated changelog
marcoow Oct 14, 2015
1f6f05f
support Ember 1.12 and up
marcoow Oct 15, 2015
e47adf3
added note on supported versions
marcoow Oct 15, 2015
2f60d97
make makeRequest methods protected
marcoow Oct 16, 2015
3290d08
cleaned up tests
marcoow Oct 16, 2015
9044fa9
reomved Brocfile
marcoow Oct 16, 2015
dba8ff5
removed unnecessary test
marcoow Oct 16, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"directory": "bower_components",
"analytics": false
}
34 changes: 34 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true


[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2

[*.html]
indent_style = space
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false
9 changes: 9 additions & 0 deletions .ember-cli
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
/**
Ember CLI sends analytics information by default. The data is completely
anonymous, but there are times when you might want to disable this behavior.

Setting `disableAnalytics` to true will prevent any data from being sent.
*/
"disableAnalytics": false
}
23 changes: 18 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

.DS_Store
dist
tmp
docs/build
.ruby-version
node_modules

# compiled output
/dist
/tmp

# dependencies
/node_modules
/bower_components

# misc
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
testem.log
3 changes: 3 additions & 0 deletions .jscsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"requireCommentsToIncludeAccess": false
}
31 changes: 29 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
{
"esnext": true,
"predef": [
"document",
"window",
"-Promise"
],
"browser": true,
"boss": true,
"debug": true
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"esnext": true,
"unused": true
}
15 changes: 15 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
bower_components/
tests/
tmp/
dist/

.bowerrc
.editorconfig
.ember-cli
.travis.yml
.npmignore
**/.gitkeep
bower.json
ember-cli-build.js
Brocfile.js
testem.json
51 changes: 28 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
language: node_js

node_js:
- '0.10'
- "0.12"

sudo: false

Expand All @@ -10,28 +10,33 @@ cache:
- node_modules

env:
global:
- REPORTER=Dot
matrix:
- BUNDLE="ember=1.2.2&jQuery=1.10.2&handlebars=1.3.0"
- BUNDLE="ember=1.2.2&jQuery=2.0.3&handlebars=1.3.0"
- BUNDLE="ember=1.3.2&jQuery=1.10.2&handlebars=1.3.0"
- BUNDLE="ember=1.3.2&jQuery=2.0.3&handlebars=1.3.0"
- BUNDLE="ember=1.4.0&jQuery=1.11.2&handlebars=1.3.0"
- BUNDLE="ember=1.4.0&jQuery=2.1.3&handlebars=1.3.0"
- BUNDLE="ember=1.5.1&jQuery=1.11.2&handlebars=1.3.0"
- BUNDLE="ember=1.5.1&jQuery=2.1.3&handlebars=1.3.0"
- BUNDLE="ember=1.6.1&jQuery=1.11.2&handlebars=1.3.0"
- BUNDLE="ember=1.6.1&jQuery=2.1.3&handlebars=1.3.0"
- BUNDLE="ember=1.7.1&jQuery=1.11.2&handlebars=1.3.0"
- BUNDLE="ember=1.7.1&jQuery=2.1.3&handlebars=1.3.0"
- BUNDLE="ember=1.8.1&jQuery=1.11.2&handlebars=1.3.0"
- BUNDLE="ember=1.8.1&jQuery=2.1.3&handlebars=1.3.0"
- BUNDLE="ember=1.9.1&jQuery=1.11.2&handlebars=2.0.0"
- BUNDLE="ember=1.9.1&jQuery=2.1.3&handlebars=2.0.0"
- BUNDLE="ember=1.10.0&jQuery=1.11.2&handlebars=2.0.0"
- BUNDLE="ember=1.10.0&jQuery=2.1.3&handlebars=2.0.0"
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-earliest
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary

matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- "npm config set spin false"
- "npm install -g npm@^2"

install:
- npm install -g bower
- npm install
- bower install

script:
- ember try $EMBER_TRY_SCENARIO test

notifications:
email:
on_success: never
slack:
rooms:
secure: OOKD4ZksqzEBW/A3WRuOToODIxnDITqx+Esu7tdmmYPuQlMYgx4SUHv8j9OM9/ScFJiseeVGSkl45vJrHLLIITX9XSjO1RgiGZgw2heVujmGpF6CZNqvT6GsQuKIvMzmwF7IxuHdfV45Csr9Ou/Fg74TszR/4S2h4SOI4zhLg7A=
on_success: never
3 changes: 3 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore_dirs": ["tmp"]
}
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# 1.0.0

__Ember Simple Auth 1.0.0 changes a lot of external API, a large part of these
changes being breaking changes.__ Because of that this changelog entry does not
mark these breaking changes individually but merely offers an overview of what
has changed.

* Ember Simple Auth is __now compatible with all Ember version starting with
1.12.0__.
* Ember Simple Auth is __only available as an Ember CLI Addon__ - the
globalized and bower distributions are no longer maintained.
* The __session is no longer injected__ into routes and controllers but instead
__exposed as a service__. The service has most of the methods that the
session had before. The session can also no longer be extended. Instead
either extend the session service or add another service that uses the
session service to provide additional functionality.
* __Auto-authorization of all AJAX request has been dropped__. All
authorization now has to be initiated explicitly via the session service's
`authorize` method. There is the new `DataAdapterMixin` that can be used to
simply authorize all Ember Data requests.
* All authenticators and authorizers the application uses now have to be
defined in `app/authenticators` and `app/authorizers` respectively while in
most cases they will simply inherit one of the predefined authenticators/
authorizers. Also configuration of authenticators and authorizers is no
longer done via `config/environment.js` but instead by overriding properties
in the extended authenticators/authorizers.
* The `ApplicationRouteMixin` now maps the session events to the
`sessionAuthenticated` and `sessionInvalidated` methods instead of the
actions from previous versions.
* The default session store is now the adaptive store that will use
`localStorage` if available and a cookie otherwise. When testing, Ember
Simple Auth will always use the ephemeral store.
* The test helpers now take the application instance as the first argument and
must be imported explicitly in the respective test.
* The session is now restored in the application route's `beforeModel` method
instead of in an initializer.

# 0.8.0

* Correctly initialize the session's `content`, see #556.
Expand Down
Loading