Skip to content

Commit b7d0498

Browse files
committed
Merge branch 'release/20.9.0'
2 parents 55e2b30 + fbde352 commit b7d0498

File tree

389 files changed

+5268
-2647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

389 files changed

+5268
-2647
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
/vendor/**
88
/blueprints/*/files/**
99
/blueprints/*/engine-files/**
10+
/config/local.js

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [20.9.0] - 2020-09-01
8+
### Added
9+
- branded registries submission
10+
711
## [20.8.0] - 2020-07-29
812
### Added
913
- `contributor-list` read-only to draft metadata page
@@ -1635,7 +1639,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
16351639
### Added
16361640
- Quick Files
16371641

1638-
[Unreleased]: https://github.com/CenterForOpenScience/ember-osf-web/compare/20.8.0...develop
1642+
[Unreleased]: https://github.com/CenterForOpenScience/ember-osf-web/compare/20.9.0...develop
1643+
[20.9.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/20.9.0
16391644
[20.8.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/20.8.0
16401645
[20.7.1]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/20.7.1
16411646
[20.7.0]: https://github.com/CenterForOpenScience/ember-osf-web/releases/tag/20.7.0

app/adapters/brand.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import OsfAdapter from './osf-adapter';
2+
3+
export default class BrandAdapter extends OsfAdapter {
4+
}
5+
6+
declare module 'ember-data/types/registries/adapter' {
7+
export default interface AdapterRegistry {
8+
brand: BrandAdapter;
9+
} // eslint-disable-line semi
10+
}

app/adapters/registration-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import OsfAdapter from './osf-adapter';
22

33
export default class RegistrationProviderAdapter extends OsfAdapter {
44
pathForType(_: string): string {
5-
return 'providers/registries';
5+
return 'providers/registrations';
66
}
77
}
88

app/app.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Application from '@ember/application';
2+
import defineModifier from 'ember-concurrency-test-waiter/define-modifier';
23
import config from 'ember-get-config';
34
import loadInitializers from 'ember-load-initializers';
45
import Resolver from './resolver';
@@ -106,5 +107,6 @@ const App = Application.extend({
106107
});
107108

108109
loadInitializers(App, modulePrefix);
110+
defineModifier();
109111

110112
export default App;

app/application/-components/verify-email-modal/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default class VerifyEmailModal extends Component {
7171
};
7272
}
7373

74-
@task
74+
@task({ withTestWaiter: true })
7575
loadEmailsTask = task(function *(this: VerifyEmailModal) {
7676
const { user } = this.currentUser;
7777
if (user) {
@@ -85,7 +85,7 @@ export default class VerifyEmailModal extends Component {
8585
}
8686
});
8787

88-
@task({ drop: true })
88+
@task({ withTestWaiter: true, drop: true })
8989
verifyTask = task(function *(this: VerifyEmailModal, emailAction: EmailActions) {
9090
const { userEmail } = this;
9191
if (!userEmail) {

app/dashboard/controller.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class Dashboard extends Controller {
4747
noteworthy!: QueryHasManyResult<Node>;
4848
popular!: QueryHasManyResult<Node>;
4949

50-
@task({ restartable: true })
50+
@task({ withTestWaiter: true, restartable: true })
5151
setupTask = task(function *(this: Dashboard) {
5252
this.set('filter', null);
5353

@@ -63,15 +63,15 @@ export default class Dashboard extends Controller {
6363
this.set('institutions', institutions.toArray());
6464
});
6565

66-
@task({ restartable: true })
66+
@task({ withTestWaiter: true, restartable: true })
6767
filterNodes = task(function *(this: Dashboard, filter: string) {
6868
yield timeout(500);
6969
this.setProperties({ filter });
7070
this.analytics.track('list', 'filter', 'Dashboard - Search projects');
7171
yield this.findNodes.perform();
7272
});
7373

74-
@task({ restartable: true })
74+
@task({ withTestWaiter: true, restartable: true })
7575
findNodes = task(function *(this: Dashboard, more?: boolean) {
7676
const indicatorProperty = more ? 'loadingMore' : 'loading';
7777
this.set(indicatorProperty, true);
@@ -96,7 +96,7 @@ export default class Dashboard extends Controller {
9696
this.set('initialLoad', false);
9797
});
9898

99-
@task
99+
@task({ withTestWaiter: true })
100100
getPopularAndNoteworthy = task(function *(this: Dashboard, id: string, dest: 'noteworthy' | 'popular') {
101101
try {
102102
const node: Node = yield this.store.findRecord('node', id);

app/guid-file/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default class GuidFile extends Controller {
9797
return Boolean(this.file) && this.file.getContents();
9898
}
9999

100-
@task({ restartable: true })
100+
@task({ withTestWaiter: true, restartable: true })
101101
updateFilter = task(function *(this: GuidFile, filter: string) {
102102
yield timeout(250);
103103
this.setProperties({ filter });

app/guid-file/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class GuidFile extends Route {
2323

2424
headTags?: HeadTagDef[];
2525

26-
@task
26+
@task({ withTestWaiter: true })
2727
setHeadTags = task(function *(this: GuidFile, model: any) {
2828
const blocker = this.get('ready').getBlocker();
2929
const dateCreated = model.file.get('dateCreated');

app/guid-node/forks/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
data-analytics-name='close_modal'
1717
aria-label={{t 'general.close'}}
1818
@class='close'
19-
@onClick={{action (mut this.newModal false)}}
19+
@onClick={{action (mut this.newModal) false}}
2020
>
2121
{{fa-icon 'times' size='sm'}}
2222
</OsfButton>

0 commit comments

Comments
 (0)