From 53db05a1f67fc974dba904ec158b2d67fa72df95 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma
Date: Sun, 9 Feb 2020 20:06:08 +0100
Subject: Start with webauthn
Signed-off-by: Roeland Jago Douma
Signed-off-by: npmbuildbot[bot]
---
core/src/components/login/LoginButton.vue | 56 ++++++
core/src/components/login/LoginForm.vue | 19 +-
.../src/components/login/PasswordLessLoginForm.vue | 208 +++++++++++++++++++++
3 files changed, 269 insertions(+), 14 deletions(-)
create mode 100644 core/src/components/login/LoginButton.vue
create mode 100644 core/src/components/login/PasswordLessLoginForm.vue
(limited to 'core/src/components')
diff --git a/core/src/components/login/LoginButton.vue b/core/src/components/login/LoginButton.vue
new file mode 100644
index 00000000000..f7d426e6c63
--- /dev/null
+++ b/core/src/components/login/LoginButton.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue
index 687896ceb54..a20ce6dc4c2 100644
--- a/core/src/components/login/LoginForm.vue
+++ b/core/src/components/login/LoginForm.vue
@@ -20,7 +20,8 @@
-->
-
-
+
@@ -135,9 +124,11 @@
+
+
--
cgit v1.2.3
From 531b1288e44380a4987f4e656f17d22822767b47 Mon Sep 17 00:00:00 2001
From: Daniel Kesselberg
Date: Sat, 28 Mar 2020 21:36:16 +0100
Subject: Add fieldset to align arrow
Signed-off-by: Daniel Kesselberg
Signed-off-by: npmbuildbot[bot]
---
core/src/components/login/ResetPassword.vue | 96 +++++++++++++++--------------
1 file changed, 49 insertions(+), 47 deletions(-)
(limited to 'core/src/components')
diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue
index 2d045692285..bf23bbe5aa4 100644
--- a/core/src/components/login/ResetPassword.vue
+++ b/core/src/components/login/ResetPassword.vue
@@ -21,54 +21,56 @@
--
cgit v1.2.3
From d71b93235d92ffa1c9b0031c4175811071140dd2 Mon Sep 17 00:00:00 2001
From: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
Date: Sat, 18 Apr 2020 18:21:08 +0200
Subject: Fix #20551 - Disable autocapitalize for username field on login /
reset password pages
Signed-off-by: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
Signed-off-by: npmbuildbot[bot]
---
core/src/components/login/LoginForm.vue | 1 +
core/src/components/login/ResetPassword.vue | 1 +
2 files changed, 2 insertions(+)
(limited to 'core/src/components')
diff --git a/core/src/components/login/LoginForm.vue b/core/src/components/login/LoginForm.vue
index a20ce6dc4c2..e37d577b5d5 100644
--- a/core/src/components/login/LoginForm.vue
+++ b/core/src/components/login/LoginForm.vue
@@ -59,6 +59,7 @@
v-model="user"
type="text"
name="user"
+ autocapitalize="off"
:autocomplete="autoCompleteAllowed ? 'on' : 'off'"
:placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')"
diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue
index bf23bbe5aa4..21f545435a7 100644
--- a/core/src/components/login/ResetPassword.vue
+++ b/core/src/components/login/ResetPassword.vue
@@ -27,6 +27,7 @@
v-model="user"
type="text"
name="user"
+ autocapitalize="off"
:placeholder="t('core', 'Username or email')"
:aria-label="t('core', 'Username or email')"
required
--
cgit v1.2.3
From bde5b9577b97234cf80adb3e7bc987913b3189ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julius=20H=C3=A4rtl?=
Date: Mon, 25 May 2020 16:04:54 +0200
Subject: Update hub bundle and add proxy rule to htaccess
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Julius Härtl
---
core/src/components/setup/RecommendedApps.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'core/src/components')
diff --git a/core/src/components/setup/RecommendedApps.vue b/core/src/components/setup/RecommendedApps.vue
index 550c3aaff70..46fac684370 100644
--- a/core/src/components/setup/RecommendedApps.vue
+++ b/core/src/components/setup/RecommendedApps.vue
@@ -82,11 +82,11 @@ const recommended = {
spreed: {
description: t('core', 'Chatting, video calls, screensharing, online meetings and web conferencing – in your browser and with mobile apps.'),
},
- onlyoffice: {
+ richdocuments: {
description: t('core', 'Collaboratively edit office documents.'),
},
- documentserver_community: {
- description: t('core', 'Local document editing back-end used by the OnlyOffice app.'),
+ richdocumentscode: {
+ description: t('core', 'Local document editing back-end used by the Collabora Online app.'),
},
}
const recommendedIds = Object.keys(recommended)
--
cgit v1.2.3
From 94ae04d3032a83a9455c4e2df20942aceea67574 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma
Date: Tue, 2 Jun 2020 14:09:27 +0200
Subject: OC.routing is just a @nextcloud/routing proxy
So lets kill the duplicate code!
Signed-off-by: Roeland Jago Douma
---
core/src/components/login/ResetPassword.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'core/src/components')
diff --git a/core/src/components/login/ResetPassword.vue b/core/src/components/login/ResetPassword.vue
index 21f545435a7..cba7a89fd88 100644
--- a/core/src/components/login/ResetPassword.vue
+++ b/core/src/components/login/ResetPassword.vue
@@ -78,7 +78,7 @@
+
+
diff --git a/core/src/components/UnifiedSearch/SearchResult.vue b/core/src/components/UnifiedSearch/SearchResult.vue
new file mode 100644
index 00000000000..832770c9abe
--- /dev/null
+++ b/core/src/components/UnifiedSearch/SearchResult.vue
@@ -0,0 +1,211 @@
+
+
+
+
+
![]()
+
+
+
+
+
+
+
+ {{ subline }}
+
+
+
+
+
+
+
diff --git a/core/src/components/login/PasswordLessLoginForm.vue b/core/src/components/login/PasswordLessLoginForm.vue
index 0cd7cb81cfe..df774599f92 100644
--- a/core/src/components/login/PasswordLessLoginForm.vue
+++ b/core/src/components/login/PasswordLessLoginForm.vue
@@ -41,7 +41,7 @@
import {
startAuthentication,
finishAuthentication,
-} from '../../service/WebAuthnAuthenticationService'
+} from '../../services/WebAuthnAuthenticationService'
import LoginButton from './LoginButton'
class NoValidCredentials extends Error {
--
cgit v1.2.3
From 71b62c4203a25beefeab73f73668919c813e3a50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?=
Date: Tue, 4 Aug 2020 10:00:27 +0200
Subject: Show mime icon, bump bundles, make the SearchResultEntry class
non-abstract, Fix header search icon, various fixes
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: John Molakvoæ (skjnldsv)
---
core/src/components/UnifiedSearch/SearchResult.vue | 35 +++++++++--
.../UnifiedSearch/SearchResultPlaceholder.vue | 68 ++++++++++++++++++++++
2 files changed, 98 insertions(+), 5 deletions(-)
create mode 100644 core/src/components/UnifiedSearch/SearchResultPlaceholder.vue
(limited to 'core/src/components')
diff --git a/core/src/components/UnifiedSearch/SearchResult.vue b/core/src/components/UnifiedSearch/SearchResult.vue
index 832770c9abe..ffd4e2bf2f2 100644
--- a/core/src/components/UnifiedSearch/SearchResult.vue
+++ b/core/src/components/UnifiedSearch/SearchResult.vue
@@ -2,22 +2,28 @@
+
+
@@ -59,7 +65,7 @@ export default {
type: String,
default: null,
},
- iconClass: {
+ icon: {
type: String,
default: '',
},
@@ -90,6 +96,24 @@ export default {
}
},
+ computed: {
+ isIconUrl() {
+ // If we're facing an absolute url
+ if (this.icon.startsWith('/')) {
+ return true
+ }
+
+ // Otherwise, let's check if this is a valid url
+ try {
+ // eslint-disable-next-line no-new
+ new URL(this.icon)
+ } catch {
+ return false
+ }
+ return true
+ },
+ },
+
watch: {
// Make sure to reset state on change even when vue recycle the component
thumbnailUrl() {
@@ -148,6 +172,7 @@ $margin: 10px;
width: $clickable-area;
height: $clickable-area;
border-radius: var(--border-radius);
+ background-repeat: no-repeat;
background-position: center center;
background-size: 32px;
&--rounded {
@@ -195,7 +220,7 @@ $margin: 10px;
&-line-two {
overflow: hidden;
flex: 1 1 100%;
- margin: 0;
+ margin: 1px 0;
white-space: nowrap;
text-overflow: ellipsis;
// Use the same color as the `a`
diff --git a/core/src/components/UnifiedSearch/SearchResultPlaceholder.vue b/core/src/components/UnifiedSearch/SearchResultPlaceholder.vue
new file mode 100644
index 00000000000..7eb0915b359
--- /dev/null
+++ b/core/src/components/UnifiedSearch/SearchResultPlaceholder.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
--
cgit v1.2.3
From 06f8c54386f5345827cf9af3bdb54f23bef8ff3c Mon Sep 17 00:00:00 2001
From: Christoph Wurst
Date: Tue, 25 Aug 2020 14:57:26 +0200
Subject: Make ellipsized unified search results visible on hover
Signed-off-by: Christoph Wurst
---
core/src/components/UnifiedSearch/SearchResult.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'core/src/components')
diff --git a/core/src/components/UnifiedSearch/SearchResult.vue b/core/src/components/UnifiedSearch/SearchResult.vue
index ffd4e2bf2f2..d5374832da9 100644
--- a/core/src/components/UnifiedSearch/SearchResult.vue
+++ b/core/src/components/UnifiedSearch/SearchResult.vue
@@ -30,10 +30,10 @@
-
+
- {{ subline }}
+ {{ subline }}
--
cgit v1.2.3
From f359529555fbf6fa344869d01f0b3c17ecce46c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?=
Date: Wed, 5 Aug 2020 12:56:11 +0200
Subject: Allow unified search filtering
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: John Molakvoæ (skjnldsv)
---
core/src/components/UnifiedSearch/SearchFilter.vue | 77 ++++++++++++++++++++++
core/src/components/UnifiedSearch/SearchResult.vue | 21 ++++++
2 files changed, 98 insertions(+)
create mode 100644 core/src/components/UnifiedSearch/SearchFilter.vue
(limited to 'core/src/components')
diff --git a/core/src/components/UnifiedSearch/SearchFilter.vue b/core/src/components/UnifiedSearch/SearchFilter.vue
new file mode 100644
index 00000000000..f3c06a24528
--- /dev/null
+++ b/core/src/components/UnifiedSearch/SearchFilter.vue
@@ -0,0 +1,77 @@
+
+
+
+
+ {{ filter }}
+
+
+
+
+
+
+
diff --git a/core/src/components/UnifiedSearch/SearchResult.vue b/core/src/components/UnifiedSearch/SearchResult.vue
index d5374832da9..025ddef86c0 100644
--- a/core/src/components/UnifiedSearch/SearchResult.vue
+++ b/core/src/components/UnifiedSearch/SearchResult.vue
@@ -1,3 +1,24 @@
+
Date: Wed, 5 Aug 2020 14:42:08 +0200
Subject: Fix search placeholder animation & dark theme compatibility
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: John Molakvoæ (skjnldsv)
---
core/src/components/HeaderMenu.vue | 11 ++-
core/src/components/UnifiedSearch/SearchFilter.vue | 77 ----------------
.../UnifiedSearch/SearchResultPlaceholder.vue | 68 --------------
.../UnifiedSearch/SearchResultPlaceholders.vue | 100 +++++++++++++++++++++
4 files changed, 110 insertions(+), 146 deletions(-)
delete mode 100644 core/src/components/UnifiedSearch/SearchFilter.vue
delete mode 100644 core/src/components/UnifiedSearch/SearchResultPlaceholder.vue
create mode 100644 core/src/components/UnifiedSearch/SearchResultPlaceholders.vue
(limited to 'core/src/components')
diff --git a/core/src/components/HeaderMenu.vue b/core/src/components/HeaderMenu.vue
index 2cc5b79d6dd..9848dc45e38 100644
--- a/core/src/components/HeaderMenu.vue
+++ b/core/src/components/HeaderMenu.vue
@@ -20,7 +20,7 @@
-
-->
-