-
-
-
{{ t('app_api', 'Required') }}
- {{ requiredScopes }}
-
-
-
{{ t('app_api', 'Optional') }}
- {{ optionalScopes }}
+
{{ t('app_api', 'Required scopes') }}
+
+
+ {{ scope }}
-
-
{{ t('app_api', 'All granted scopes') }}
- {{ scopes }}
-
+ {{ t('app_api', 'No scopes granted to this app') }}
@@ -28,30 +21,25 @@ export default {
required: true,
},
},
- computed: {
- requiredScopes() {
- return this.app.releases[0].apiScopes.filter(apiScope => apiScope.optional === false).map(apiScope => apiScope.scopeName).join(', ') || t('app_api', 'No required scopes')
- },
- optionalScopes() {
- return this.app.releases[0].apiScopes.filter(apiScope => apiScope.optional === true).map(apiScope => apiScope.scopeName).join(', ') || t('app_api', 'No optional scopes')
- },
- scopes() {
- return this.app.scopes.length > 0 ? this.app.scopes.join(', ') : t('app_api', 'No scopes granted to this app')
- },
- },
}
diff --git a/src/components/DaemonConfig/RegisterDaemonConfigModal.vue b/src/components/DaemonConfig/RegisterDaemonConfigModal.vue
index f1d57827..8b21e714 100644
--- a/src/components/DaemonConfig/RegisterDaemonConfigModal.vue
+++ b/src/components/DaemonConfig/RegisterDaemonConfigModal.vue
@@ -209,7 +209,7 @@ export default {
acceptsDeployId: 'docker-install',
deployMethods: ['docker-install', 'manual-install'],
httpsEnabled: false,
- host: 'aa-docker-socket-proxy:2375',
+ host: 'nextcloud-appapi-dsp:2375',
// replace last slash with empty string
nextcloud_url: window.location.origin + generateUrl('').slice(0, -1),
deployConfigSettingsOpened: false,
@@ -233,7 +233,7 @@ export default {
if (this.acceptsDeployId === 'manual-install') {
return t('app_api', 'Hostname to access ExApps')
}
- return t('app_api', 'Hostname or path to access Docker daemon (e.g. aa-docker-socket-proxy:2375, /var/run/docker.sock)')
+ return t('app_api', 'Hostname or path to access Docker daemon (e.g. nextcloud-appapi-dsp:2375, /var/run/docker.sock)')
}
return ''
},
diff --git a/src/constants/daemonTemplates.js b/src/constants/daemonTemplates.js
index 2f07608c..e76f439d 100644
--- a/src/constants/daemonTemplates.js
+++ b/src/constants/daemonTemplates.js
@@ -4,7 +4,7 @@ export const DAEMON_TEMPLATES = [
displayName: 'Custom default',
acceptsDeployId: 'docker-install',
httpsEnabled: false,
- host: 'aa-docker-socket-proxy:2375',
+ host: 'nextcloud-appapi-dsp:2375',
nextcloud_url: null,
deployConfig: {
net: 'host',
@@ -19,7 +19,7 @@ export const DAEMON_TEMPLATES = [
displayName: 'Docker Socket Proxy',
acceptsDeployId: 'docker-install',
httpsEnabled: false,
- host: 'aa-docker-socket-proxy:2375',
+ host: 'nextcloud-appapi-dsp:2375',
nextcloud_url: null,
deployConfig: {
net: 'host',