Commit Graph

724 Commits (315c0ea59c8fe73bc413e5a915d41b768f67e26f)

Author SHA1 Message Date
fenn-cs 811df8d57e Change global search UI text to unified search
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 15:26:05 +07:00
fenn-cs aa25590130 Correct semantics for link opening in global search
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : https://github.com/nextcloud-libraries/nextcloud-vue/pull/4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 16:49:21 +07:00
Ferdinand Thiessen 62006a76aa
fix(UnifiedSearch): Show translated text for filter label
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 11:57:09 +07:00
Ferdinand Thiessen d14b351208
fix: Adjust code to be Vue 2.7 compatible as `key` on `<template>` is Vue3 only
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 23:09:16 +07:00
Ferdinand Thiessen 4983a35e1f
fix(UnifiedSearch): Move headings out of list elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 22:11:47 +07:00
Grigorii K. Shartsev e02db1fb48 fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 10:53:04 +07:00
Andy Scherzinger 82f0619df3
Merge pull request #41771 from nextcloud/always-emit-search-event
Always emit search event
2023-11-29 22:09:48 +07:00
Joas Schilling a5a49ffd80
Merge pull request #41855 from nextcloud/bugfix/41352/fix-settings-app-icons
fix(theming): Fix color inverted icons based on theming and dark mode
2023-11-29 21:10:57 +07:00
fenn-cs e99d7ba6c4 Always emit search event
For BOD, it's better to always emit the search event so
 apps (all of which we don't know) responding to this effect would receive notifications when
the search happens within these apps.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 20:14:42 +07:00
fenn-cs 00bb1bc86e Migrate openResult method to SearchResult component
After moving the `SearchResult` to its own component and leaving
 out the openResult method, the search results do not lead anywhere but
 but error out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 15:55:20 +07:00
Joas Schilling d05a13fc76
Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +07:00
fenn-cs 0d938cc90e
Handle close GlobalSearchModal gracefully
The current close infrastructure modifies a prop which has
 no real effect aside bugs.

In addition, calling the `NcModal.close()` as the primary way to
 close the search modal instead of using the states defined in `GlobalSearch` view
 causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff).

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 15:18:11 +07:00
fenn-cs 1534ba0c65 Fix date filter wording & improve search feedback
- Show loading when actually loading, instead of no content
- Change modified label to `Date` as it applies to a bunch of things.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 12:24:23 +07:00
fenn-cs 1c5ceaff9b
Unbold user names in SearchableList
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 11:35:31 +07:00
fenn-cs 1fe7ba57c8
Improve accesibility for search tags/chips
- Use stand font of filter tags/chips
- No bold
- Use close icon and no close thick

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 11:35:27 +07:00
Julien Veyssier bb3d7288dd fix adding x-requested-with header for relative URLs when the base NC URL is empty
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-24 11:33:08 +07:00
julia.kirschenheuter 58d34f0f60 Remove unneeded links and add `focus-visible` state on a link
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-24 00:51:33 +07:00
Ferdinand Thiessen a9c627cd91
Merge pull request #41687 from nextcloud/fix/unified-search-view
fix(core): Subscribe to navigation changes on mounted for Unified search
2023-11-23 21:27:41 +07:00
fenn-cs 8c6c0d1c85 Focus global search input on open
For better accesibility, the search input in the global search
modal should be focused when the search modal is opened.

Resolves: https://github.com/nextcloud/server/issues/41651

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 17:40:37 +07:00
fenn-cs a67905a8c6 Add app-based filtering to global search
Emit search queries from the global search modal that would trigger
list filtering in various apps that support it.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 13:02:27 +07:00
Ferdinand Thiessen fca05f4613
fix(core): Subscribe to navigation changes on mounted for Unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-23 13:26:42 +07:00
julia.kirschenheuter ab845405df Replace input form with `NcTextField`
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-22 14:14:56 +07:00
fenn-cs 701e626d18 Move search result section to component & hide thumbnail if error
The section that handles the search result list item is big and complex enough
 to have it's own component. Inside this component, a new method is added to hide
the thumbnail preview if the image load errors out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 13:29:03 +07:00
fenn-cs 8dadb09e54 Round avatars when needed and show url-based mime icons
- Pass `results.rounded` property that comes with search result
 data to determine if avatar would be rounded or not.

- Icons loaded via url's now visible.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +07:00
fenn-cs 4964cb838b Improve date-range logic for global search
- Allow future dates in custom date range
- Fix date ranges for example, before now, today range was roughly
 between `now()` to `now() + a few milli seconds`
- Update text in custom date range modal, right align "Search in range"
 button.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +07:00
Valdnet b9473b46ad Correct spelling
Unification of spelling in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-15 19:26:58 +07:00
fenn-cs 987ac1e9c3 Check in-app search availability
Only show in-app serach button if available for specific app
 in question.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 20:07:42 +07:00
fenn-cs 04f2a19375 Improve no content feedback
Show some feedback when there are no search results.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +07:00
fenn-cs 5a4cc8c98a Global search : Fix basic functional issues
- Fixes remove person filter/chip when applied
- Close person searchable filter via workaround
- Person filter has no effect fixed, now uses user property instead of id
- Left align filters
- Reduce avatar size in user chip and make photo non-clickable

Resolves : https://github.com/nextcloud/server/issues/41381

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +07:00
Marco 7799f6701a Close participants filter after click
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 09:20:20 +07:00
fenn-cs 360a372afc Use new SearchableList component for people filter
This commit migrates away from NcSelect which has a couple of
accesibility and display problems currently, hence a new component
`SearchableList` is now used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:32:26 +07:00
Marco 8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +07:00
fenn-cs 20b3338288 Feat: New UI global search
We are introducing a new search UI that providers a lot more space
for users via a large centralized modal and providers various filters
which can by applied by adding various chips on the UI.

For example, users can now filter their search or scope it by limiting the results
to specific apps, time period and people by apply the appropriate filters on the
new UI, previously filters where applied using text in the search box by prefixing
with `::`.

Resolves: #39162

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:27:32 +07:00
Christoph Wurst a5422a3998
fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +07:00
julia.kirschenheuter 7f5f93268c Fix styles for input fields on focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-06 17:24:54 +07:00
Christoph Wurst ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 +07:00
Christopher Ng 5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 +07:00
Christopher Ng 439a6fbbdc fix: Settings nav entries typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 +07:00
Christopher Ng 3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 +07:00
Ferdinand Thiessen a6d137c9a7
Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +07:00
Ferdinand Thiessen 8d907d8089
Merge pull request #40979 from nextcloud/fix/36965-fix-global-search
Fix placement of actions within unified search
2023-10-20 02:49:49 +07:00
Grigorii K. Shartsev 2d6cd78c32
fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +07:00
julia.kirschenheuter 311d5c6275 Fix placement of actions within unified search
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-19 18:49:37 +07:00
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 +07: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 +07: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 +07:00
Ferdinand Thiessen 0414ca35c0
fix(xhr-request): Make sure to also allow strings as url
Our utility to add `X-Requested-With` headers on API calls intercepts
calls to `window.fetch`, so we must ensure we allow all parameters that the default
browser provided `window.fetch` allows.
In this case make sure to allow all stringify-able objects.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 17:41:51 +07:00
julia.kirschenheuter 7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +07:00
Christopher Ng a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 +07: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 +07: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 +07:00
Christoph Wurst 0321bec791
Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
2023-10-16 16:05:25 +07:00
Julien Veyssier d2cc4c4798
only add x-requested-with header if requests point to NC
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:47 +07: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 +07: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 +07: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
Christopher Ng ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 +07:00
Ferdinand Thiessen 93acc47761 fix(dialogs): Use FilePickerBuilder to create the file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +07:00
Ferdinand Thiessen 3d74ed85ff feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.
Still providing the legacy one until the Vue FilePicker is out of beta.
Pin beta releases so we do not get version conflicts.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:55:51 +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 +07:00
Julius Härtl 0904c84319 fix: Set X-Requested-With header on all requests to avoid browser auth dialogs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-18 18:22:14 +07:00
John Molakvoæ 410f58e43e
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +07:00
fenn-cs 77aa4cf7f4 Wrap long productName on login form
Resolves : https://github.com/nextcloud/server/issues/39804

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-13 11:10:26 +07:00
Ferdinand Thiessen 4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +07:00
Christopher Ng b3e5269963 enh(a11y): Add aria-modal to dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-20 17:13:55 +07:00
Ferdinand Thiessen 0fd567a8d3 fix: Remove jQuery from main entry point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:18:11 +07:00
Ferdinand Thiessen a5630abedc fix: Remove deprecation warning for already removed API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-06 17:40:31 +07:00
Marcel Klehr 3036f467a8 Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 09:55:46 +07:00
fenn-cs b83aaed283 Update aria-expanded attribute for sidebar apps-slide-toggles
Some apps which use the machanism provided in `core/src/OC/apps.js`
for toggle slide up/down in the side bar would equally rely on same for
`aria-expanded` state change.

For example : https://github.com/nextcloud/activity/pull/1230

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-30 11:47:21 +07: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 +07:00
John Molakvoæ cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +07:00
John Molakvoæ adff75d559
fix: restore AppsSlideToggle feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-25 15:39:32 +07:00
Simon L 95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +07:00
Simon L 908adb339b fix one more place
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +07:00
Simon L 872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +07:00
Simon L 1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +07:00
Ferdinand Thiessen 7f861980a3
fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-19 09:49:36 +07:00
Ferdinand Thiessen 35da64a51c fix(files): Add border around favorite marker to ensure contrast requirements are met
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +07:00
Ferdinand Thiessen f57cf4706e fix: Adjust color of `icon-starred-yellow` to fulfill A11Y contrast requirements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +07:00
julia.kirschenheuter 1d6121be4d Fix contrast for inactive elements of the main navigation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-05 14:46:48 +07:00
Ferdinand Thiessen dd1f437ad0 chore(OC): Remove deprecated legacy loader from OC (`OC.loadScript` and `OC.loadStyle`)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-31 23:15:36 +07:00
ZetaTom d17fd1910c
Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-31 15:48:28 +07: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 +07:00
Varun Patil 60a7610ca6 webpack: add nonce to unsupported-browser-redirect chunk
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-24 10:38:43 +07:00
Ferdinand Thiessen a08b098476 chore: Remove deprecated OC.appSettings
Was deprecated since NC17 and scheduled for removal on NC18.
No apps use it and neither do core.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-20 15:28:23 +07:00
Varun Patil 98ddb81e82 Make unsupported browser check asynchronous
This check is very expensive, and will pass almost 100% of the time.

Related #36728
Depends on #38329

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 22:00:10 +07:00
Varun Patil db8d0b538e Remove focus-visible polyfill
Supercedes and closes #35384

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 18:21:57 +07:00
Ferdinand Thiessen 687b95519f feat(login): Improve passwordless login box
* Remove wrong background of error message boxes
* Use `NcTextInput` for username or mail to align with login box
* Add a heading for better overview where you (as a user) are currently

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +07: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 +07: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 +07:00
John Molakvoæ 7e51305ae4
fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +07: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 +07: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 +07:00
Ferdinand Thiessen 88f344339d fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 14:42:14 +07:00
julia.kirschenheuter ad7264ee5a Add `aria-hidden` attr to the whole navigation depending on a sidebar state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-03 11:56:48 +07:00
Simon L 4df145a6bc
Merge pull request #37806 from nextcloud/fix/37410
Fix profile view edit button overlapping status text
2023-04-26 17:05:04 +07:00
Christoph Wurst defbd23cbf
Merge pull request #37206 from nextcloud/fix-skip-recommended-apps-wrong-url
fix: wrong redirect when skipping recommended apps
2023-04-26 15:43:35 +07: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 +07:00
Christopher Ng 79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 +07:00
Daniel Kesselberg e025cf067f
fix: wrong redirect when skipping recommended apps
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 22:15:51 +07:00
dependabot[bot] dafda594ec
chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases)
- [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist-useragent-regexp/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: browserslist-useragent-regexp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 12:16:01 +07:00
Jérôme Herbinet 16361bed5e
Merge branch 'master' into patch-20
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:32:01 +07:00
Jérôme Herbinet 461fa9a1da
Following Artonge suggestion
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:15:17 +07: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 +07:00
Josh Richards fb25cd4b0a More honest reset password request response
Addresses request in additional comments of #37408

* Honest but still won't leak information
* Also reminds user to verify the provided user id email address/user

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Refine reset password response copy

Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Wrap honest password reset request response
2023-04-13 17:31:49 +07:00
Julius Härtl 389c6dc30b
fix: Fix filepicker breadcrumbs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +07:00
John Molakvoæ a66cae02ef
fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +07:00
John Molakvoæ 29a7f7f6ef
feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +07:00
Julius Härtl 837622cb87
fix: Adjust filepicker breadcrumb structure to recent a11y changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-05 11:40:40 +07:00
julia.kirschenheuter ccf92975f3 Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-29 10:41:53 +07:00
julia.kirschenheuter db0670f0cb Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-27 10:48:59 +07:00
John Molakvoæ 40f18c6359
chore(eslint): replace node/no-unpublished-import by n/no-unpublished-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07: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 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
Julius Härtl e23aa8883e
feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +07:00
Joas Schilling 188e486bc0
fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:23:22 +07:00
julia.kirschenheuter 0cfbe54a5a Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-07 17:51:19 +07:00
Christopher Ng 864fb3fe63 Add label and switch ocdialog close button to button element
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-06 12:56:12 +07:00
Christopher Ng 9d904b144b Add avatar contact img description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-03 13:22:14 +07:00
Julius Härtl 322dbe8860 feat: Add notes as recommended app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 23:04:43 +07:00
Julius Härtl 1da4fe48cf
feat(filepicker): Allow to pass target for rendering the file picker to different locations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +07:00
John Molakvoæ 0a4bd6db20
fix(unified-search): emptycontent messages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:34:04 +07:00
John Molakvoæ f26961d74a
fix(unified-search): fix code highlighting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +07: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 +07:00
Christopher Ng 0a9ce1ff34 Add name for home breadcrumb in filepicker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-24 10:31:06 +07:00
Christopher Ng e77b0f6693 Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 17:21:04 +07:00
Ferdinand Thiessen cdc3848345 Deprecate OC.L10N functions in favor of translation functions from `@nextcloud/l10n`
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 15:03:21 +07:00
Ferdinand Thiessen 7e3372cd92 Drop `OC.addTranslations` deprecated since NC17 and not used by any NC app
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 12:46:30 +07: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 +07:00
Christopher Ng c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 +07:00
Louis Chemineau a547aff7a4 Restore copy button text on directory fetch error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:54:17 +07:00
Joas Schilling 04e1e2f83e
Remove usages of bootstrap
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 13:48:15 +07: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 +07: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 +07: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 +07: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 +07:00
Vincent Petry 42d9e087fb
Remove unused legacy ajax/list.php in files app
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-09 15:18:37 +07:00
Thomas Citharel 56c5273206
Allow target="_blank" in app navigation items
Which was removed in the Vue rewrite in #33728. This breaks things like https://github.com/nextcloud/external/issues/79

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-05 07:13:50 +07:00
Thomas Citharel ab6e7d33f8 Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.

https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 17:40:40 +07:00
Christopher Ng 9158a7d484 Improve verbosity of search description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 02:05:03 +07:00
Pytal 9e8545edfb
Merge pull request #35222 from nextcloud/fix/a11y-search-heading
Fix contrast of global search headings
2022-12-06 14:45:24 +07:00
Richard Steinmetz fc4dd3041c
Fix default redirect on successful WebAuthn login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-12-05 12:51:53 +07:00
Simon L d8d15c3c2b
Merge pull request #35501 from nextcloud/enh/enh-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Change app menu focused items behavior that neighbor elements (text and border) have no overlapping
2022-11-30 10:32:38 +07:00
julia.kirschenheuter db67670477 Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-30 08:22:49 +07:00
Joas Schilling 24afcda471
Remove old code from comment to not trigger automatic scanners more than needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-29 15:15:58 +07:00
John Molakvoæ a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +07:00
Christopher Ng 29b1748e2c Fix contrast of global search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-25 00:18:14 +07:00
John Molakvoæ b45c62a2cf
Merge pull request #34642 from nextcloud/bug/noid/revert-minimum-lenght-for-tags 2022-11-24 12:17:02 +07:00
Julius Härtl 61ce0ad293
Generate proper URL for unsupported browsers page
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-22 11:57:26 +07:00
Vincent Petry 4083a507e7
Fix warnings on login page
Check for app menu container before mounting.
Fix "isError" in LoginForm being a number when the throttleDelay is
zero. In fact, there is no need for existence check because both
undefined and null are not greater than a number.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 15:20:40 +07:00
Simon L beba3d04e4
Merge pull request #35227 from nextcloud/bugfix/35152/fix-toggle-grid-file-picker
Limit toggle grid view button scope
2022-11-17 17:43:48 +07:00
Vincent Petry 9a948a6b39
Limit toggle grid view button scope
Limit the button action scope to the file picker dialog so that it
doesn't touch the file list present in the page.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-17 14:09:52 +07: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 +07:00
Simon L fe15069c90
Merge pull request #35029 from nextcloud/enh/34969/fix-app-menu-firefox
Fix AppMenu icons for firefox
2022-11-16 02:05:58 +07:00
John Molakvoæ baf74f0aa1
Merge pull request #35014 from nextcloud/fix/login-headline
Fix rendering of login headline
2022-11-15 09:29:32 +07:00
Christopher Ng 6c09155e13 Allow single character search by default
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-11 01:35:02 +07:00
Simon L 2ee7221d4b Fix AppMenu icons for firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 14:21:53 +07:00
Christopher Ng b92a774c47 Fix rendering of login headline
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-08 01:05:43 +07:00
Daniel Kesselberg 3c83b7a9fd
Revert "Add minimumInputLength for tags select"
This reverts commit e1d9b0bae2.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-07 15:14:48 +07: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 +07: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 +07:00
szaimen 88a0e773c0 update browser warning
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +07:00
Christopher Ng c6f3eb954c Fix more icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-21 01:13:11 +07: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 +07:00
John Molakvoæ 2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +07: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 +07:00
Joas Schilling aa31002b03
🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +07:00
Simon L c78bd45c64
Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
Fix regexp for unified searching in apps
2022-10-18 19:44:51 +07:00
Carl Schwan 945edfefcd Fix icon of encrypted folders in filepicker
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 01:04:13 +07: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 +07:00
Christopher Ng dbaf8f3b89 Fix empty password string being submitted to server
- Fix reveal password not working

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:42:21 +07:00
Julius Härtl 27ce4bd1a4
Merge pull request #34322 from nextcloud/bugfix/noid/limit-url-matching-to-https
Only match http(s) URLs for references
2022-09-30 08:07:47 +07:00
John Molakvoæ (skjnldsv) eb6ed7dcfd
Fix starred favourite icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 13:57:22 +07:00
Joas Schilling 474dcf05fd
Only match http(s) URLs for references
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 11:29:23 +07: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 +07:00
Valdnet ac58ba5a90
l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-17 19:34:25 +07:00
Vincent Petry 8880fe3fd1
Merge pull request #34096 from nextcloud/bug/noid/tag-loading
Tag loading
2022-09-16 14:53:12 +07:00
Daniel Kesselberg 383701914c
Set focus to input field
Fix:
- TypeError: this.$refs.user.focus is not a function
- TypeError: this.$refs.password.focus is not a function

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-16 10:51:24 +07: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 +07:00
Daniel Kesselberg 700875d90d
Rewrite OC.SystemTags.getDescriptiveTag to vanilla js
For every tag a deprecation warning is emitted.
With 10k tags the ui becomes unresponsive and inspector crashed occasionally.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:08:04 +07:00
Daniel Kesselberg 1bfac6d094
Improve loading for tags
When opening the tag select and type something the tags are loaded.

If you continue to type but the tags are not finally loaded yet (the first xhr request is still running)
another xhr request is triggered. This happens for every keystroke.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +07:00
Daniel Kesselberg e1d9b0bae2
Add minimumInputLength for tags select
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +07: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 +07:00
Vincent Petry 71eab82117
Adjust recommended apps page
Removed collabora code.
Added description for richdocuments as the name will be "Nextcloud
Office" pulled from the app store.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 18:28:19 +07:00
Carl Schwan 7ea015f0d1
Merge pull request #34042 from nextcloud/profile/section-plugin
Add api to load additional section in profile page
2022-09-14 13:35:31 +07: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 +07:00
Simon L 0846a3f6fe
Merge pull request #34039 from nextcloud/enh/34037/heading-login-form
add a heading to the login form
2022-09-12 21:41:45 +07:00
Simon L 36ada4f6ea
Merge pull request #34031 from nextcloud/enh/33866/ldap-ui-buttons
fix ldap ui buttons
2022-09-12 20:00:56 +07:00
szaimen cf7f6daa88 add a heading to the login form
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 19:02:48 +07:00
szaimen 1a0625ead2 fix ldap ui buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 15:19:39 +07:00
Carl Schwan 2453a8a72a
Make profile page scrollable again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:29:00 +07: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 +07: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 +07: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 +07:00
Vincent Petry b1be4346cd
Merge pull request #33826 from nextcloud/enh/a11y-unified-search
Accessibility and design improvements to unified search
2022-09-02 12:22:46 +07:00
Christopher Ng f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +07:00
Christopher Ng a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +07:00
John Molakvoæ 96bbc1a7a1 Fallback to root if the picker folder doesn't exists
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +07:00