Commit graph

189 commits

Author SHA1 Message Date
Maksim Sukharev
4a7531ea0f fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 16:59:07 +01:00
Ferdinand Thiessen
2dea20bd4f
fix(unified-search): Close on second ctrl+f
Also only add the event listener if short-cuts are not disabled for accessibility reasons.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 14:43:25 +01:00
Ferdinand Thiessen
b2d053589a
fix(user_status): Adjust AccountMenu entry for user status
fixup: Adjust to design comments

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:52 +02:00
Ferdinand Thiessen
674805c994
fix(core): Migrate UserMenu / AccountMenu to NcListItem
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:48 +02:00
Ferdinand Thiessen
842c21f96b
feat(files): Implement files list filters for name, modified time and type
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:23 +02:00
Ferdinand Thiessen
691f570237
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Ferdinand Thiessen
362c6238fc
fix: Allow to reset unified search using the nextcloud:unified-search:reset event
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen
dd3dcf3703
fix(unified-search): Also show local search on apps management
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen
e9dccef474
fix: Open unified search by pressing ctrl + F
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen
0885245235
refactor(styles): Make padding not a magic value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Marco Ambrosini
6ee965f0d9
feat: Add in-app search
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2024-06-27 12:13:14 +02:00
John Molakvoæ
1a8f0c92ea fix(core): unsupported browser getRootUrl import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-01 10:00:23 +02:00
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 +02: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 +02:00
Richard Steinmetz
f6ac35d15f
fix(contactsmenu): empty content margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-20 09:02:11 +02:00
Andy Scherzinger
1f7e2ba599
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-13 17:41:36 +02: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 +02: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 +02: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 +02: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 +01: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 -05: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 +01: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 +01: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 +01: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 +01:00
Christopher Ng
f060475189 fix(user_status): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:36:10 -08: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 +01: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 +01: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 -06: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 +01: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 -06: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 -06: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 +01: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 +01: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 +01: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 +01: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 +01:00
fenn-cs
bf234f6acc Rephrase unified search helper text
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +01: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 +01:00
Christopher Ng
ad8ae7bfd0 fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 17:43:47 -08: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 +01: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 +01: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 +01: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 +01:00
Andy Scherzinger
82f0619df3
Merge pull request #41771 from nextcloud/always-emit-search-event
Always emit search event
2023-11-29 22:09:48 +01: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 +01: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 +01: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 +00:00
Joas Schilling
d05a13fc76
Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +01: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 +01:00