-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Authmaker/feature/emberCliUpgrade
Feature/ember cli upgrade
- Loading branch information
Showing
68 changed files
with
623 additions
and
403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
app/ | ||
bower_components/ | ||
config/ | ||
node_modules/ | ||
public/ | ||
tests/ | ||
vendor/ | ||
tmp/ | ||
bower.json | ||
testem.json | ||
Brocfile.js | ||
ember-cli-build.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ignore_dirs": ["tmp", "dist"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import DS from 'ember-data'; | ||
|
||
export default DS.RESTAdapter.extend({ | ||
namespace: 'api' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Controller.extend({ | ||
|
||
queryParams: ['response_type', 'display', 'client_id', 'redirect_uri', 'scope', 'state', 'previous_location'], | ||
|
||
response_type: '', | ||
display: '', | ||
client_id: '', | ||
redirect_uri: '', | ||
scope: '', | ||
state: '', | ||
previous_location: '' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Route.extend({ | ||
model: function(){ | ||
return Ember.$.getJSON('/settings/scopes'); | ||
}, | ||
|
||
actions: { | ||
transitionTo: function (route, model) { | ||
this.transitionTo(route, model); | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<div class="c-notification__container"> | ||
{{#each notifications as |notification|}} | ||
{{notification-message notification=notification}} | ||
{{/each}} | ||
</div> | ||
<div class="container"> | ||
<div class="main spacing-bottom4"> | ||
<header class="auth-header text-center pad-y4"> | ||
<h1 class="spacing0"> | ||
<a class="text-hide" href="#">Blooie</a> | ||
<a class="text-hide">Authmaker Scopes App</a> | ||
</h1> | ||
</header> | ||
{{{outlet}}} | ||
{{outlet}} | ||
</div> | ||
<footer class="auth-footer text-center text-small"> | ||
<div class="spacing-bottom4"> | ||
<p>Welcome back | ||
{{#if user.username}} | ||
<strong>{{user.username}}</strong> | ||
{{else}} | ||
<strong>{{user.email}}</strong> | ||
{{/if}} | ||
</p> | ||
<a class="btn hollow small" href="/auth/logout">Sign out</a> | ||
</div> | ||
<ul class="list-inline"> | ||
<li>© Blooie, 2014</li> | ||
<li><a href="//{{urlPrefix}}{{#if urlPrefix}}.{{/if}}bloo.ie/privacy">Privacy</a></li> | ||
<li><a href="//{{urlPrefix}}{{#if urlPrefix}}.{{/if}}bloo.ie/terms">Terms</a></li> | ||
{{#if privacyLink}} | ||
<li><a href={{privacyLink}}>Privacy</a></li> | ||
{{/if}} | ||
|
||
{{#if termsLink}} | ||
<li><a href={{termsLink}}>Terms</a></li> | ||
{{/if}} | ||
</ul> | ||
<a href="http://authmaker.com">Simple authentication powered by AuthMaker</a> | ||
</footer> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Route.extend({ | ||
redirect: function(model, transition) { | ||
this.transitionTo('plans', {queryParams: transition.queryParams}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import DS from 'ember-data'; | ||
import Ember from 'ember'; | ||
|
||
var attr = DS.attr; | ||
|
||
export default DS.Model.extend({ | ||
default: attr('boolean'), | ||
name: attr('string'), | ||
brand: attr('string'), | ||
country: attr('string'), | ||
last4: attr('string'), | ||
exp_month: attr('string'), | ||
exp_year: attr('string'), | ||
logo: Ember.computed('brand', function(){ | ||
return this.get('brand').toLowerCase(); | ||
}) | ||
}); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.