@windward/integrations 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +3 -0
- package/components/Integration/Driver/Disabled.vue +29 -0
- package/config/integration.config.js +11 -0
- package/helpers/Driver/BlackboardUltra.ts +15 -0
- package/helpers/Driver/Canvas.ts +12 -0
- package/helpers/Driver/Desire2Learn.ts +15 -0
- package/helpers/Driver/GoogleClassroom.ts +15 -0
- package/helpers/Driver/Moodle.ts +12 -0
- package/i18n/en-US/components/integration/driver.ts +19 -1
- package/package.json +1 -1
- package/pages/admin/importCourse.vue +4 -4
- package/pages/admin/vendors.vue +2 -2
- package/pages/course/importContent.vue +1 -1
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<h1>
|
|
4
|
+
{{
|
|
5
|
+
$t(
|
|
6
|
+
'windward.integrations.components.integration.driver.disabled'
|
|
7
|
+
)
|
|
8
|
+
}}
|
|
9
|
+
</h1>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
import ManageBaseVue from './ManageBase.vue'
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: 'ManageAtutorDriver',
|
|
18
|
+
components: {},
|
|
19
|
+
extends: ManageBaseVue,
|
|
20
|
+
data() {
|
|
21
|
+
return {
|
|
22
|
+
// formValid: true|false If this form is "complete" and passed validation on THIS component. Defined and watched in ManageBase.vue
|
|
23
|
+
// render: true|false If we should show the form aka when validation has passed. Defined and managed in ManageBase.vue
|
|
24
|
+
// integration: { metadata: {...} } The integration object to write to. Defined and loaded in ManageBase.vue
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
methods: {},
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import Atutor from '../helpers/Driver/Atutor'
|
|
2
|
+
import BlackboardUltra from '../helpers/Driver/BlackboardUltra'
|
|
3
|
+
import Canvas from '../helpers/Driver/Canvas'
|
|
4
|
+
import Desire2Learn from '../helpers/Driver/Desire2Learn'
|
|
5
|
+
import Moodle from '../helpers/Driver/Moodle'
|
|
6
|
+
import GoogleClassroom from '../helpers/Driver/GoogleClassroom'
|
|
2
7
|
|
|
3
8
|
export default {
|
|
4
9
|
/**
|
|
@@ -9,5 +14,11 @@ export default {
|
|
|
9
14
|
*/
|
|
10
15
|
integrationDrivers: {
|
|
11
16
|
atutor: { driver: Atutor },
|
|
17
|
+
atutor_wgu: { driver: Atutor },
|
|
18
|
+
canvas: { driver: Canvas },
|
|
19
|
+
blackboard_ultra: { driver: BlackboardUltra },
|
|
20
|
+
desire2learn: { driver: Desire2Learn },
|
|
21
|
+
moodle: { driver: Moodle },
|
|
22
|
+
google_classroom: { driver: GoogleClassroom },
|
|
12
23
|
},
|
|
13
24
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class BlackboardUltra
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Canvas extends BaseDriver implements DriverInterface {
|
|
7
|
+
public components(): IntegrationComponents {
|
|
8
|
+
return {
|
|
9
|
+
Manage,
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Desire2Learn
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class GoogleClassroom
|
|
7
|
+
extends BaseDriver
|
|
8
|
+
implements DriverInterface
|
|
9
|
+
{
|
|
10
|
+
public components(): IntegrationComponents {
|
|
11
|
+
return {
|
|
12
|
+
Manage,
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import Manage from '../../components/Integration/Driver/Disabled.vue'
|
|
3
|
+
import DriverInterface, { IntegrationComponents } from './DriverInterface'
|
|
4
|
+
import BaseDriver from './BaseDriver'
|
|
5
|
+
|
|
6
|
+
export default class Moodle extends BaseDriver implements DriverInterface {
|
|
7
|
+
public components(): IntegrationComponents {
|
|
8
|
+
return {
|
|
9
|
+
Manage,
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
atutor: {
|
|
3
|
-
manage_dialog_title: 'Manage ATutor
|
|
3
|
+
manage_dialog_title: 'Manage ATutor Integration',
|
|
4
4
|
url: 'ATutor API Url',
|
|
5
5
|
url_hint: 'Eg: https://atutor.mindedgecollege.com',
|
|
6
6
|
username: 'Username',
|
|
@@ -8,6 +8,24 @@ export default {
|
|
|
8
8
|
aws_secure_url: 'AWS CDN Url',
|
|
9
9
|
aws_secure_url_hint: 'Eg: https://cdn-d.mindedgecollege.com',
|
|
10
10
|
},
|
|
11
|
+
atutor_wgu: {
|
|
12
|
+
manage_dialog_title: 'Manage ATutor WGU Integration',
|
|
13
|
+
},
|
|
14
|
+
canvas: {
|
|
15
|
+
manage_dialog_title: 'Manage Canvas Integration',
|
|
16
|
+
},
|
|
17
|
+
blackboard_ultra: {
|
|
18
|
+
manage_dialog_title: 'Manage Blackboard Ultra Integration',
|
|
19
|
+
},
|
|
20
|
+
desire2learn: {
|
|
21
|
+
manage_dialog_title: 'Manage Desire2Learn Integration',
|
|
22
|
+
},
|
|
23
|
+
moodle: {
|
|
24
|
+
manage_dialog_title: 'Manage Moodle Integration',
|
|
25
|
+
},
|
|
26
|
+
google_classroom: {
|
|
27
|
+
manage_dialog_title: 'Manage Google Classroom Integration',
|
|
28
|
+
},
|
|
11
29
|
enabled: 'Integration Enabled',
|
|
12
30
|
disabled: 'Integration Disabled',
|
|
13
31
|
ssl_enabled: 'SSL Enabled (Should be enabled for production)',
|
package/package.json
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
</v-tabs>
|
|
18
18
|
<v-tabs-items v-model="tab">
|
|
19
19
|
<v-tab-item>
|
|
20
|
-
<
|
|
20
|
+
<h2>
|
|
21
21
|
{{ $t('windward.integrations.pages.import_course.title') }}
|
|
22
|
-
</
|
|
22
|
+
</h2>
|
|
23
23
|
|
|
24
24
|
<div v-if="!organizationIntegrations.length">
|
|
25
25
|
{{
|
|
@@ -144,13 +144,13 @@
|
|
|
144
144
|
</div>
|
|
145
145
|
</v-tab-item>
|
|
146
146
|
<v-tab-item>
|
|
147
|
-
<
|
|
147
|
+
<h2>
|
|
148
148
|
{{
|
|
149
149
|
$t(
|
|
150
150
|
'windward.integrations.components.integration.job.recent_jobs_title'
|
|
151
151
|
)
|
|
152
152
|
}}
|
|
153
|
-
</
|
|
153
|
+
</h2>
|
|
154
154
|
<IntegrationJobTable
|
|
155
155
|
ref="integrationJobTable"
|
|
156
156
|
:channel="'integrations.organizations.' + organization.id"
|
package/pages/admin/vendors.vue
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
<v-row justify="center" align="center">
|
|
4
4
|
<v-col cols="12">
|
|
5
5
|
<div class="d-flex mb-5">
|
|
6
|
-
<
|
|
6
|
+
<h2 class="mr-auto flex-grow-1">
|
|
7
7
|
{{
|
|
8
8
|
$t(
|
|
9
9
|
'windward.integrations.components.navigation.integrations.title'
|
|
10
10
|
)
|
|
11
11
|
}}
|
|
12
|
-
</
|
|
12
|
+
</h2>
|
|
13
13
|
</div>
|
|
14
14
|
</v-col>
|
|
15
15
|
</v-row>
|