aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-05-31 09:57:26 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-06-01 10:00:23 +0200
commit1a8f0c92ea58aceaeb9a0711b22225bf4f78206b (patch)
tree2681147fa4e1d356c07dfdcc96e79afa7b8ecb2b /core/src
parentfc3ee6552627613b87306ba7aa95d30d51b88695 (diff)
downloadnextcloud-server-1a8f0c92ea58aceaeb9a0711b22225bf4f78206b.tar.gz
nextcloud-server-1a8f0c92ea58aceaeb9a0711b22225bf4f78206b.zip
fix(core): unsupported browser `getRootUrl` import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/views/UnsupportedBrowser.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/src/views/UnsupportedBrowser.vue b/core/src/views/UnsupportedBrowser.vue
index c0331cb1f9b..e760ef71a81 100644
--- a/core/src/views/UnsupportedBrowser.vue
+++ b/core/src/views/UnsupportedBrowser.vue
@@ -31,13 +31,14 @@
</template>
<script>
-import { generateUrl } from '@nextcloud/router'
+// eslint-disable-next-line n/no-extraneous-import
+import { agents } from 'caniuse-lite/dist/unpacker/agents.js'
+import { generateUrl, getRootUrl } from '@nextcloud/router'
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
+
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import Web from 'vue-material-design-icons/Web.vue'
-// eslint-disable-next-line n/no-extraneous-import
-import { agents } from 'caniuse-lite/dist/unpacker/agents.js'
import { browserStorageKey } from '../utils/RedirectUnsupportedBrowsers.js'
import { supportedBrowsers } from '../services/BrowsersListService.js'
00; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
<?php

define('NET_SSH2_MSG_DISCONNECT', 1);
define('NET_SSH2_MSG_IGNORE', 2);
define('NET_SSH2_MSG_UNIMPLEMENTED', 3);
define('NET_SSH2_MSG_DEBUG', 4);
define('NET_SSH2_MSG_SERVICE_REQUEST', 5);
define('NET_SSH2_MSG_SERVICE_ACCEPT', 6);
define('NET_SSH2_MSG_KEXINIT', 20);
define('NET_SSH2_MSG_NEWKEYS', 21);
define('NET_SSH2_MSG_KEXDH_INIT', 30);
define('NET_SSH2_MSG_KEXDH_REPLY', 31);
define('NET_SSH2_MSG_USERAUTH_REQUEST', 50);
define('NET_SSH2_MSG_USERAUTH_FAILURE', 51);
define('NET_SSH2_MSG_USERAUTH_SUCCESS', 52);
define('NET_SSH2_MSG_USERAUTH_BANNER', 53);

define('NET_SSH2_MSG_GLOBAL_REQUEST', 80);
define('NET_SSH2_MSG_REQUEST_SUCCESS', 81);
define('NET_SSH2_MSG_REQUEST_FAILURE', 82);
define('NET_SSH2_MSG_CHANNEL_OPEN', 90);
define('NET_SSH2_MSG_CHANNEL_OPEN_CONFIRMATION', 91);
define('NET_SSH2_MSG_CHANNEL_OPEN_FAILURE', 92);
define('NET_SSH2_MSG_CHANNEL_WINDOW_ADJUST', 93);
define('NET_SSH2_MSG_CHANNEL_DATA', 94);
define('NET_SSH2_MSG_CHANNEL_EXTENDED_DATA', 95);
define('NET_SSH2_MSG_CHANNEL_EOF', 96);
define('NET_SSH2_MSG_CHANNEL_CLOSE', 97);
define('NET_SSH2_MSG_CHANNEL_REQUEST', 98);
define('NET_SSH2_MSG_CHANNEL_SUCCESS', 99);
define('NET_SSH2_MSG_CHANNEL_FAILURE', 100);

define('NET_SSH2_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT', 1);
define('NET_SSH2_DISCONNECT_PROTOCOL_ERROR', 2);
define('NET_SSH2_DISCONNECT_KEY_EXCHANGE_FAILED', 3);
define('NET_SSH2_DISCONNECT_RESERVED', 4);
define('NET_SSH2_DISCONNECT_MAC_ERROR', 5);
define('NET_SSH2_DISCONNECT_COMPRESSION_ERROR', 6);
define('NET_SSH2_DISCONNECT_SERVICE_NOT_AVAILABLE', 7);
define('NET_SSH2_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED', 8);
define('NET_SSH2_DISCONNECT_HOST_KEY_NOT_VERIFIABLE', 9);
define('NET_SSH2_DISCONNECT_CONNECTION_LOST', 10);
define('NET_SSH2_DISCONNECT_BY_APPLICATION', 11);
define('NET_SSH2_DISCONNECT_TOO_MANY_CONNECTIONS', 12);
define('NET_SSH2_DISCONNECT_AUTH_CANCELLED_BY_USER', 13);
define('NET_SSH2_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE', 14);
define('NET_SSH2_DISCONNECT_ILLEGAL_USER_NAME', 15);

define('NET_SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED', 1);

define('NET_SSH2_TTY_OP_END', 0);

define('NET_SSH2_EXTENDED_DATA_STDERR', 1);

define('NET_SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ', 60);

define('NET_SSH2_MSG_USERAUTH_PK_OK', 60);

define('NET_SSH2_MSG_USERAUTH_INFO_REQUEST', 60);
define('NET_SSH2_MSG_USERAUTH_INFO_RESPONSE', 61);

define('NET_SSH2_MSG_KEXDH_GEX_REQUEST_OLD', 30);
define('NET_SSH2_MSG_KEXDH_GEX_GROUP', 31);
define('NET_SSH2_MSG_KEXDH_GEX_INIT', 32);
define('NET_SSH2_MSG_KEXDH_GEX_REPLY', 33);
define('NET_SSH2_MSG_KEXDH_GEX_REQUEST', 34);

define('NET_SSH2_MSG_KEX_ECDH_INIT', 30);
define('NET_SSH2_MSG_KEX_ECDH_REPLY', 31);