Commit Graph

732 Commits (b9ab00a59e2d906fdb43eaaea37eb7a4a9cc8a13)

Author SHA1 Message Date
John Molakvoæ (skjnldsv) fc3ee65526 fix(core): unsupported browser redirect url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-01 09:34:22 +07:00
Andy Scherzinger e07a190641
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 14:53:40 +07:00
Ferdinand Thiessen 9d2c3c1164
fix: Adjust dashboard and header menu to use new background colors
fix(UnifiedSearch): Adjust to new background color

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +07:00
Pytal 5ae18ee06e
Merge pull request #45406 from nextcloud/fix/contactsmenu/empty-content-margin
fix(contactsmenu): empty content margin
2024-05-21 10:11:32 +07:00
Simon L. 3180779404 feat(login-mask): remove `Login with` from label
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-21 09:22:43 +07:00
Richard Steinmetz f6ac35d15f
fix(contactsmenu): empty content margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-20 09:02:11 +07:00
Christopher Ng 0bd384637a chore(core): Change "username" to "account name"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-17 10:15:46 +07:00
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-13 17:41:36 +07:00
fenn-cs a51ab473da fix(unifiedSearch): Prevent broken avatars for federated users
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-29 01:12:30 +07:00
Ferdinand Thiessen 16eebd3743
fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:06:29 +07:00
Ferdinand Thiessen 3880e4c8d7
fix: Use `@simplewebauthn` for frontend logic
This simplifies the code a lot and fixes errors with the exisiting custom code,
where slightly different base64 values were emitted which are not valid according to the standard.

ref: https://github.com/web-auth/webauthn-framework/issues/510

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:51:03 +07:00
Ferdinand Thiessen 8d5c0135dc
feat: Deprecate `OC.dialogs` and replace generic dialogs with `@nextcloud/dialogs` alternative
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:53:02 +07:00
Ferdinand Thiessen 46e78d1b8b
feat: Deprecate `OC.dialogs.prompt` an replace with Vue implementation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:51:36 +07:00
Ferdinand Thiessen 76dc3787e2
fix: Add deprecation to `OC.dialogs.fileexists`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-09 20:17:24 +07:00
JEEEEEEEEEEEEEEEEEEEEEED 8e136c3f80 fix(oc-dialog): Get rid of the overlay
- Icrement Z-index of oc-dialog-dim
- Increment z-index of oc-dialog- Insert oc-dialog-dim before oc-dialog

Co-authored-by: Co-author RayanBekri <rmt.bekri@gmail.com>"
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
2024-04-08 13:34:25 +07:00
Luka Trovic 945828bf4c fix: csrf check failed on public share with password
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-03-29 09:49:43 +07:00
Luka Trovic c08ab81334 fix: csrf check failed on public share with password
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-03-29 09:49:41 +07:00
Ferdinand Thiessen 3fede00732
feat(login): Clear login form (password) after IDLE timeout
For security reasons it is recommended to stop the login process at a defined time,
this could prevent password leaks by e.g. user forgetting that they entered their password on public devices.

Enforced e.g. by the BSI ORP.4.A13 rule.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 12:22:53 +07:00
Pytal 45efd28db7
Merge pull request #44368 from nextcloud/feat/new-file-menu-icon-svg
feat: Add new mdi New file menu icons
2024-03-21 10:45:50 +07:00
fenn-cs 2792d8b3f5 feat: Limit email input on auth pages to 255 chars
Excessively long emails reported make server unresponsive.

We could at some point, consider adding a configuration for sysadmins to bypass this setting
on their instance if they want.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-21 10:34:55 +07:00
Christopher Ng 4722cbe8f5 feat: Add new icon-filetype-text and icon-add-folder-description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-20 16:27:38 +07:00
Julian-Samuel Gebühr a6ce590ca2
feat: Reword login form disabled warning #37949
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2024-03-17 20:22:00 +07:00
Eduardo Morales 182342decc fix: login page now correctly shows email LDAP settings
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-10 10:32:22 +07:00
fenn-cs 0fd31cdb4c refactor: use TypeScript for unified-search boostrap file
This would allow us to type guard what is sent to`registerFilterAction`
for unified search, so that incompatibilties are caught quickly.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-07 20:19:29 +07:00
Julius Härtl db12159fb6
Merge pull request #44007 from nextcloud/feat/rename-teams
feat: Rename circles to teams
2024-03-06 13:45:34 +07:00
Jonas 782f808228
Merge pull request #43997 from nextcloud/fix/url_regex
fix: Make URL pattern regexes match localhost and URLs with ports
2024-03-06 11:29:28 +07:00
Julius Härtl 5bdc0cc76c feat: Rename circles to teams
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-06 10:40:24 +07:00
Jonas 02694411a8 fix: Make URL pattern regexes match localhost and URLs with ports
E.g. the file reference widget should work with links to Nextcloud on
localhost.

This adjusts the URL pattern regexes in server to be in sync with the
ones in `@nextcloud/vue`. See nextcloud-libraries/nextcloud-vue#5176
for further details.

Signed-off-by: Jonas <jonas@freesources.org>
2024-03-06 09:59:42 +07:00
fenn-cs 647f4bc1c8 refactor: migrate from vuex to pinia
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-06 02:05:51 +07:00
fenn-cs d35a49caba feat(core): create filter-plugin architecture for unified search
This commit introduces the mechanism for apps out of the call,
to add search filters to the unified search "Places" filter selector.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-06 02:05:50 +07:00
fenn-cs 29c37af40c feat(files): restore unified search filtering in files view
The unified search emits, search events that other apps can subscribe to and
 react however they want to search queries, following
 4b55594f55 and prior updates to migrate the Files
app ui to vue.js that feature was broken.

This commit reintroduces the feature using the current `FileList` implementation.

This commit also adds some logging to an empty exception handler.

Resolve : https://github.com/nextcloud/server/issues/43365

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-29 19:54:55 +07:00
Julien Veyssier 5692c9a5ad
stop the auto-logout loop after redirecting to the logout
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-02-20 17:51:16 +07:00
John Molakvoæ 524ed97d62
fix: replace `Account name` by `Login`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +07:00
Vincent Petry 839ddaa354
feat: rename users to account or person
Replace translated text in most locations

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +07:00
Ferdinand Thiessen bae46da85c chore: Remove `jquery-migrate` and jQuery tooltip polyfills from global scope
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-09 12:08:04 +07:00
Ferdinand Thiessen a5891fb2ec
chore!: Remove global `autosize`
It was deprecated for over 4 years and scheduled for removal with Nextcloud 20.
Not used by server or any app anymore.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-08 18:46:57 +07:00
Richard Steinmetz dd4e05773d
chore(perf): prevent unnecessary bundling of caniuse-lite
It does not support tree shaking as they are still building a cjs
bundle. However, they bundle certain futures to separate smaller modules
which we can take advantage of.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-07 11:15:06 +07:00
Ferdinand Thiessen 0f2b9b09ec
fix(theming): The background is the primary color and must not be double inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-03 14:28:34 +07:00
Christopher Ng f060475189 fix(user_status): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:36:10 +07:00
Ferdinand Thiessen ea19bc58c5
fix(core): Do not apply invert-color filter to unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 02:02:12 +07:00
Ferdinand Thiessen b37d4925b7
fix(unified-search): Refactor header menu entry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 02:00:24 +07:00
Eduardo Morales bdb75b2e6f enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 13:47:30 +07:00
Simon L a96a7f0c82 fix header-elements being not shown correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 22:36:20 +07:00
Christoph Wurst 5198c1ce2b
fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-11 15:15:31 +07:00
Jérôme Herbinet 02e2c69bc4 Update UserMenu.vue
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Update UserMenu.vue

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Revert with a higher max-width value

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-01-11 09:19:06 +07:00
Ferdinand Thiessen 949e09ccb7 enh(core): Refactor profile page to use vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:22:27 +07:00
Eduardo Morales 707c1c0b0b enh(core): replaced previous native a element with NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 10:33:00 +07:00
Eduardo Morales d0d5013114 fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 08:17:43 +07:00
Christopher Ng cf0e32ae6b
fix(a11y): Unified search headings the sequel
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-21 18:04:56 +07:00
Ferdinand Thiessen fde6914ae1 fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`,
so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 14:53:17 +07:00
Ferdinand Thiessen ac2182cc77
enh(UnifiedSearch): Keep the searchbar on top of the modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 13:59:09 +07:00
fenn-cs fcef6b10db Use display name instead of 'me' text.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-14 12:40:03 +07:00
Ferdinand Thiessen a4a1dc85a3
fix(UnifiedSearch): Remove title prop from modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 15:20:42 +07:00
fenn-cs c0374c79d7 Add authenicated user to person list for search filtering
As expected, a user does not see themselves in their contact list,
 however, when using the contact list for filtering search, a user,
 might want to limit the search to things that pertain to them.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +07:00
fenn-cs 527c51a18e Unified search: update people select with API calls
On change/input from user which has the effect of filtering,
 we want to send the query to the API to obtained fresh results,
 based on the databased on not just preloaded contacts.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +07:00
fenn-cs bf234f6acc Rephrase unified search helper text
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +07:00
fenn-cs 0b171f6095 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 20:34:37 +07:00
Christopher Ng ad8ae7bfd0 fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 17:43:47 +07:00
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