Skip to content

Commit ab1b833

Browse files
author
Sebastian Kippe
authored
Merge pull request #59 from 5apps/chore/project_name
Switch from codename to official project name
2 parents 993d198 + 2efb484 commit ab1b833

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

app/components/topbar/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Component from '@glimmer/component';
22
import { inject as service } from '@ember/service';
33
import { action } from '@ember/object'
4-
import config from 'storage-frontend/config/environment';
4+
import config from 'stashboard/config/environment';
55

66
export default class TopbarComponent extends Component {
77

app/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{content-for "head"}}
1313

1414
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
15-
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/storage-frontend.css">
15+
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/stashboard.css">
1616

1717
{{content-for "head-footer"}}
1818
</head>
@@ -39,7 +39,7 @@
3939

4040
{{content-for "body"}}
4141
<script src="{{rootURL}}assets/vendor.js"></script>
42-
<script src="{{rootURL}}assets/storage-frontend.js"></script>
42+
<script src="{{rootURL}}assets/stashboard.js"></script>
4343
{{content-for "body-footer"}}
4444
</body>
4545
</html>

app/services/session.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export default SessionService.extend({
99
userTriggeredSignout: false,
1010

1111
authenticateWithImplicitGrant () {
12-
const clientId = 'storage-frontend';
12+
const clientId = 'stashboard';
1313
const redirectURI = `${window.location.origin}${config.rootURL}callback`;
1414
const responseType = 'token';
15-
const scope = 'storage-frontend';
15+
const scope = 'rs-account';
1616

1717
const oauthURL = `https://${config.baseDomain}/oauth/authorize?`
1818
+ `client_id=${clientId}`

config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ require('dotenv').config();
1515
module.exports = function(environment) {
1616

1717
let ENV = {
18-
modulePrefix: 'storage-frontend',
18+
modulePrefix: 'stashboard',
1919
environment,
2020
rootURL: '/',
2121
locationType: 'auto',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "storage-frontend",
2+
"name": "stashboard",
33
"version": "0.9.1",
44
"private": true,
55
"description": "5apps Storage Dashboard",
66
"repository": "",
77
"license": "MIT",
8-
"author": "AppCache Ltd.",
8+
"author": "5apps",
99
"directories": {
1010
"doc": "doc",
1111
"test": "tests"

tests/acceptance/authentication-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module('Acceptance | authentication', function (hooks) {
2121
test('visiting /apps while not authenticated redirects to OAuth provider', async function (assert) {
2222
await visit('/apps');
2323

24-
let expectedRedirectURL = 'https://example.com/oauth/authorize?client_id=storage-frontend&redirect_uri=http://localhost:7357/callback&response_type=token&scope=storage-frontend';
24+
let expectedRedirectURL = 'https://example.com/oauth/authorize?client_id=stashboard&redirect_uri=http://localhost:7357/callback&response_type=token&scope=rs-account';
2525

2626
assert.equal(window.location.href, expectedRedirectURL);
2727
});

tests/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{content-for "test-head"}}
1212

1313
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
14-
<link rel="stylesheet" href="{{rootURL}}assets/storage-frontend.css">
14+
<link rel="stylesheet" href="{{rootURL}}assets/stashboard.css">
1515
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
1616

1717
{{content-for "head-footer"}}
@@ -24,7 +24,7 @@
2424
<script src="/testem.js" integrity=""></script>
2525
<script src="{{rootURL}}assets/vendor.js"></script>
2626
<script src="{{rootURL}}assets/test-support.js"></script>
27-
<script src="{{rootURL}}assets/storage-frontend.js"></script>
27+
<script src="{{rootURL}}assets/stashboard.js"></script>
2828
<script src="{{rootURL}}assets/tests.js"></script>
2929

3030
{{content-for "body-footer"}}

0 commit comments

Comments
 (0)