Commit graph

169 commits

Author SHA1 Message Date
Grigorii K. Shartsev
776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Andrii Ilkiv
952760fd14 Shortcut Ctrl+F for different keyboard layouts
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2023-10-19 11:51:09 +02:00
julia.kirschenheuter
f7609276b5 Fix width of input on contacts menu
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-18 09:35:41 +02:00
Christopher Ng
f2f1e9c8d6 enh(a11y): Add avatar description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng
6c5a10fea3 enh(a11y): Add accessible user menu semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst
b914916bdb
Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vue
refactor: Contacts menu to Vue
2023-10-16 18:12:39 +02:00
Christoph Wurst
6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christoph Wurst
7d13e9563b fix(search): Close unified search at the second ctrl+f
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-16 00:30:31 +02:00
Richard Steinmetz
9a5a392bf9
fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-19 21:57:01 +02:00
Christopher Ng
861183154b enh(a11y): Add search contacts label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-07 16:23:01 -07:00
Jérôme Herbinet
c35c78aaf6 Remove padding for longer wordings
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-24 11:11:36 +02:00
Ferdinand Thiessen
4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Ferdinand Thiessen
b74f0dcfe0 fix(core): Migrate from deprecated excludeClickOutsideClasses to excludeClickOutsideSelectors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-27 21:38:06 +02:00
Simon L
8424b2a6eb adjust active element visibility in the usermenu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 18:16:55 +00:00
Ferdinand Thiessen
57e50e04bf feat(login): Use tertiary button for "back to login"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Ferdinand Thiessen
8d0fd6fa9d fix(login): Make login form and footer look like a dashboard panel
Also adjust border radius to match new main content box.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02:00
John Molakvoæ
7e51305ae4
fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +02:00
Simon L
f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
John Molakvoæ
68abba8d73
fix: prevent malicious url in unsupported browser redirect
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-11 08:56:15 +02:00
Ferdinand Thiessen
f79131aea3 fix(core): Fix profile view edit button overlapping status text
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-26 13:01:33 +02:00
Simon L
c4ab4018cf l10n: Change to a capital letter
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 16:03:25 +00:00
John Molakvoæ
ad6dcea779
chore(eslint): replace node/no-extraneous-import by n/no-extraneous-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ
0a4bd6db20
fix(unified-search): emptycontent messages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:34:04 +01:00
John Molakvoæ
f26961d74a
fix(unified-search): fix code highlighting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
John Molakvoæ
47c64dadf4
fix(unified-search): remove conflicting trigger color
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
Simon L
2d93864cf5 fix too long entries in contacts-menu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-16 00:26:19 +00:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Christopher Ng
f6f4c62936 Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-25 17:02:51 -08:00
Christopher Ng
966872f23b Port global search menu to focus trapped NcHeaderMenu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-18 11:04:25 -08:00
Christopher Ng
f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +00:00
zorn-v
2bcf94a88a Remove js navigation on alternative login click
Signed-off-by: zorn-v <zorn7@yandex.ru>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-10 12:52:10 +00:00
Christopher Ng
9158a7d484 Improve verbosity of search description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 02:05:03 +00:00
Christopher Ng
29b1748e2c Fix contrast of global search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-25 00:18:14 +00:00
Christopher Ng
d7c4bdc46e
Close global search menu when focus leaves
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-17 11:51:41 +01:00
John Molakvoæ
a8e8a89ade
Only check unsupported browsers on user rendering
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-28 12:23:02 +02:00
Simon L
d26c390631 Address review
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
szaimen
88a0e773c0 update browser warning
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
Christopher Ng
58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
John Molakvoæ (skjnldsv)
bd303388e3
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02:51 +02:00
Vincent Petry
331c890e4f
Fix regexp for unified searching in apps
Use the correct match for operators.

Prevent the dropdown to close itself when selecting an app to filter by.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 17:43:16 +02:00
Carl Schwan
f0cd60b21b Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-19 18:28:40 +02:00
Christopher Ng
a7c7d84f59 Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 18:55:00 +00:00
Joas Schilling
5267ea2624
Add an OCP method to check the shortcut state and use it for global search and menu control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:20:08 +02:00
Carl Schwan
66a7a89898 Add api to load additional section in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Carl Schwan
2453a8a72a
Make profile page scrollable again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:29:00 +02:00
Carl Schwan
9e045447f7
Fix UnifiedSearch
- Fix too big margins
- Fix horizontal scrolbar (caused by margin in text field)
- Add some spacing between the items (4px)
- Center items (I love flex)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:07:09 +02:00
Carl Schwan
43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +02:00
Carl Schwan
df40fc9172
Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +02:00
Christopher Ng
a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +00:00
Julius Härtl
b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl
7cc814093e
Fix profile page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
Carl Schwan
253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +02:00
Joas Schilling
def9e25967
Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +02:00
John Molakvoæ
264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ
d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ (skjnldsv)
a1aaaaa0c8
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +02:00
John Molakvoæ (skjnldsv)
738fcba51a
Update search icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:05 +02:00
Julius Härtl
93eb584199
Make typeahead and search limit/length configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:05:55 +02:00
Julius Härtl
de7280114a
Increase debounce timeout to be more realistic with real typing behavior
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:03:01 +02:00
John Molakvoæ
3192b3e2f2
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Valdnet
7c6f41ba7f l10n: Spelling unification in Transifex.
There should be no abbreviations in official sentences.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 10:14:37 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Louis Chemineau
b312db382d
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Julius Härtl
8eab1fedfe
Properly apply the username prefill
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:28 +01:00
Christopher Ng
02979809a6 Fix profile actions menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01 01:06:11 +00:00
Christopher Ng
408e4a1983 Set profile page title
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 20:46:34 +00:00
Christopher Ng
3aea0f2c19 Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 19:05:27 +00:00
Christopher Ng
7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +00:00
Christopher Ng
a3bf35f277 Adjust margin of status on profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-25 04:45:40 +00:00
szaimen
4d92f42f19 make profile page usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 09:18:50 +00:00
Christopher Ng
6a8b2d86fe Fix wording on profile page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:23:56 +00:00
Christopher Ng
3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
kavita.sonawane@t-systems.com
d2aed25dd2 Search function strong tag for user input
Signed-off-by: Kavita Sonawane <kavita.sonawane@t-systems.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-01 09:31:33 +00:00
Jan C. Borchardt
310cec4057
Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 17:21:02 +02:00
John Molakvoæ (skjnldsv)
717636fd28
Fix Login & Users settings page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 14:27:39 +02:00
John Molakvoæ (skjnldsv)
7ca81f360f
Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:21:25 +02:00
Morris Jobke
86080e68b2 Allow WebAuthn on localhost as well
* browsers typically whiteliste this as well - https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API
* for developing purposes see https://developer.chrome.com/docs/devtools/webauthn/

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-17 16:05:45 +02:00
Joas Schilling
da043e52c8
Merge pull request #26586 from nextcloud/bugfix/noid/handle-device-login-like-an-alternative-login
Handle device login like an alternative login
2021-04-22 15:27:58 +02:00
Joas Schilling
69290781ff Handle device login like an alternative login
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 09:11:33 +02:00
Jan C. Borchardt
34396091e8
Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Jan C. Borchardt
bdd5667ff6
Fix 'Log in with a device' link focusability
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 15:01:01 +02:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
Roeland Jago Douma
4076dfb019 Allow admins to disable the login form
In case they want to not allow this because they use SSO (and do not
want the users to enter their credentials there by accident).

?direct=1 still works.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 15:36:47 +01:00
Arthur Schiwon
da327ebf08
do not lower case search provider names on web ui
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-25 12:03:20 +01:00
GretaD
bfe87e501d Add default font size
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-11-03 13:58:04 +01:00
Jacob Neplokh
b04368c9a8
Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-10-31 11:29:15 -07:00
Joas Schilling
e3e56df727
Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:37:42 +02:00
John Molakvoæ (skjnldsv)
23a913892f
Prevent empty search placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 10:00:59 +02:00
John Molakvoæ (skjnldsv)
301006af20
Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:54 +02:00
John Molakvoæ (skjnldsv)
7991ed6cf3
Properly show loading state if there are still pending requests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
283e66b300
Properly use form role=search and unify reset button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
6120496e54
Fix loading error catch
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:46 +02:00
John Molakvoæ (skjnldsv)
58b19efd74
Add users and apps inner search and add HeaderMenu cancel
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-14 16:05:37 +02:00
Joas Schilling
fea294bb29
Move unified search to OCS api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 11:06:46 +02:00
Daniel Calviño Sánchez
96821945fb
Adjust acceptance tests to changes in @nextcloud/vue 2.6.3
The menu button and the menu of a share are no longer direct childs of
the actions of the share row. The menu button is now a child of a
".trigger" element, while the menu is a direct child of the body and has
an id defined in the "aria-describedby" attribute of the ".trigger"
element.

In XPath 1.0 it does not seem possible to "backreference" a value or
create variables, so when the share menu or one of its item is needed
now the ".trigger" element is first found and then its XPath expression
is used to compose its "aria-describedby" attribute in the XPath
expression for the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 09:09:26 +02:00