aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(unified-search): Smarter load more buttonnfebe5 hours1-12/+5
| | | | | | | | | | | This commit introduces a change to prevent showing the load more button, if the length of existing results is not equal to the requested limit (which implies it is less than because we never expect it to be more) Additionally, there is an enhancment to override provider filders passed to the find method. This would improve speed. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor(UnifiedSearch): use `NcHeaderButton` for proper stylesFerdinand Thiessen2 days1-42/+19
| | | | | | | | Allowing to have the new styles from https://github.com/nextcloud/server/pull/54178 and https://github.com/nextcloud-libraries/nextcloud-vue/pull/7242 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(AppMenu): ensure that aria attributes are set when neededFerdinand Thiessen7 days1-7/+8
| | | | | | | | We hide **if** there is **no** notification. We *do not* hide and *show the label* **if** there are notifications for that application. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(AccountMenu): do not apply alpha mask on the account menuFerdinand Thiessen8 days1-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(AppMenu): add slight opactiy gradient to app iconsFerdinand Thiessen8 days1-0/+1
| | | | | | - resolves https://github.com/nextcloud/server/issues/54141 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(ContactsMenu): use proper icons in the header navigationFerdinand Thiessen8 days1-8/+14
| | | | | | | app icons in the header navigation are excluded from the outlined icons change, so this reverts this change. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(AccountMenu): apply some outline to the user avatarFerdinand Thiessen8 days1-19/+25
| | | | | | - resolves https://github.com/nextcloud/server/issues/54140 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: replace material icons with outline versions (second pass)feat/material-icons-outlineskjnldsv2025-07-241-4/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: replace material icons with outline versionsskjnldsv2025-07-246-8/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Fix clearing unified search when modal is closedDaniel Calviño Sánchez2025-07-161-1/+7
| | | | | | | | | | | | | | | | | | | | | The unified search modal was intended to be cleared when closed. However, "UnifiedSearchModal" did not emit "update:query" when its internal query value ("searchQuery") changed, so "UnifiedSearch.query" was kept as an empty string. When the modal was closed "update:query" was emitted with an empty string, which should have cleared "UnifiedSearch.query" and that, in turn, should have cleared the modal. However as "UnifiedSearch.query" was already an empty string the watcher that updates "UnifiedSearchModal.searchQuery" from "UnifiedSearch.query" was not triggered and the modal was not cleared. As "UnifiedSearch.query" is now updated with the value of "UnifiedSearchModal.searchQuery" the latter can not be trimmed when updated from the former, as that would in turn also trim "UnifiedSearchModal.searchQuery" and prevent to search for anything with spaces at the beginning or end (even if those trailing spaces are just temporary while writing something like "searched value"). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: update request token on two-factor pagesfix/two-factor-request-tokenRichard Steinmetz2025-06-231-0/+25
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: reload login page after password resetSebastianKrupinski2025-06-191-2/+3
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(core): getRequestToken import typoskjnldsv2025-06-171-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(core): fix typo in session heartbeat servicechore/typoFerdinand Thiessen2025-06-161-4/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: the core config is not loaded on error pagesFerdinand Thiessen2025-06-162-6/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(core): migrate session heartbeat testsFerdinand Thiessen2025-06-161-0/+123
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC): restructure session heartbeat code - use types and human ↵Ferdinand Thiessen2025-06-161-109/+98
| | | | | | reading order Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC): migrate session heart beat to TypescriptFerdinand Thiessen2025-06-162-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(OC): validate request token and move logic to one placeFerdinand Thiessen2025-06-166-73/+184
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(OC): migrate request token handling to TypescriptFerdinand Thiessen2025-06-167-6/+6
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): public user menu semanticskjnldsv2025-06-111-7/+10
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): show Account menu on public pagesskjnldsv2025-06-115-6/+163
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(core): bring back Account menu loading indicatorskjnldsv2025-06-111-11/+20
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(core): correctly show displayname when picking a fileFerdinand Thiessen2025-06-051-3/+3
| | | | | | | Ensure that the display name is shown instead of the filename (important for public shares). Fixed in the library but the legacy wrapper still uses it. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: recommended apps button testFerdinand Thiessen2025-05-281-5/+4
| | | | | | | | Regression of https://github.com/nextcloud/server/pull/52703 where the `>` was added by accident and thus the button has a wrong label including the rest of the button HTML. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(unified_search): Reset result limit for new search requestsfix/unified-search-filter-reset-on-load-morenfebe2025-05-161-0/+7
| | | | | | Before now the result limit is never reset until the page is refreshed. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(unified_search): Maintain non-provider filters when loading more resultsnfebe2025-05-161-34/+26
| | | | | | | | | | | | | | Maintain existing non-provider filters (like date and person filters) while loading more results for a specific provider. This now works as the provider data passed to the `newResults` array after search is built dynamically and not manually, the result of a manual build was that the `provider.filters` properpy which is used in the `find` method was being left out in the providers pushed into the results array. Fixes #52081 Signed-off-by: nfebe <fenn25.fn@gmail.com>
* chore(cypress): add setup testsfeat/setup-checksskjnldsv2025-05-091-2/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: migrate types to `@simplewebauthn/browser` (changes package layout)Ferdinand Thiessen2025-04-181-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(login): Improve CSRF error message for better user understandingenh/no-issue/better-error-for-login-csrfnfebe2025-03-251-2/+2
| | | | | | | This commit changes the CSRF error message displayed in the login form to provide more specific information to the user. Instead of the generic less helpful error. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(core): adjust fronend code for changes in webauthn libraryFerdinand Thiessen2025-03-192-5/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(login): simplify code and use consistent layoutFerdinand Thiessen2025-03-184-175/+137
| | | | | | | - Simplify vue code - Use nc buttons for consistent design Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #51418 from nextcloud/fix/unified-search-barFerdinand Thiessen2025-03-181-4/+4
|\ | | | | fix(unified-search): do not overlap search bar with button
| * fix(unified-search): do not overlap search with buttonFerdinand Thiessen2025-03-121-4/+4
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | fix(core): setup fieldset spacingskjnldsv2025-03-131-2/+2
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | feat(core): add setup cypress testsskjnldsv2025-03-134-48/+451
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | feat(core): migrate setup to vueskjnldsv2025-03-133-156/+469
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(l10n): remove unnecessary spaceValdnet2025-02-281-1/+1
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* fix: wipe local storages on log outMaksim Sukharev2025-02-242-7/+22
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* refactor: Migrate nextcloud-vue usage to new import schemaFerdinand Thiessen2025-02-2026-80/+84
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(login): only show error state on login box if user interactedFerdinand Thiessen2025-02-171-0/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(unified-search): filteredProviders now inherits all provider propsnfebe2025-02-031-6/+6
| | | | | | | | | | | | | | | | | The main providers come from both the backend and client side plugins such as `in-folder` search. The main providers may carry callbacks functions and other information that should be passed to the `filteredProviders`. This is important because the current code does not make a distinction between `filteredProviders` and `providers` rightly so, becuase they are the same thing! Without the mentioned distinction above, sooner or later, we try to access a property on the `filteredProviders` which we did not transfer with the manual property copy. ---- This fix prevents in-folder search from searching everywhere when "load more results" is clicked; Essentially ignoring the in-folder search filter. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix: Use `searchFrom` property for client side pluginsfix/noid/fix-unified-search-provider-idnfebe2025-01-303-13/+17
| | | | | | | | | | | The client-side plugin `in-folder` uses the `files` provider, this makes it overlap with the main files provider itself. This change follows eecda06f1ad2832cc2a7b31d646458f730c8412a after it was discovered that some apps/providers like `dav` use providers from another app like `contacts` Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: unified search provider idSebastianKrupinski2025-01-301-1/+1
| | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(unified-search): Prevent multiple file picker triggers in in-folder searchfix/load-more-than-5-items-in-folder-filternfebe2025-01-291-1/+6
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* refactor: Drop deprecated use of defineStorenfebe2025-01-291-3/+1
| | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(unified-search): Use appId for searchingnfebe2025-01-291-2/+8
| | | | | | | | | | | | | | Each provider may search from a particular app so we should use that for searching. Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous approach is that it forces the provider id to be a valid search provider (an app that supports search) limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers) inside the places filter. For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the files provider itself already has id as `files`. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(unifiedsearch): Simplify and correct thumbnail stylesFerdinand Thiessen2025-01-271-61/+48
| | | | | | | Ensure that the if a preview is available the maximum sizes are respected (clickable area). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(UnifiedSearch): request data only when opening modalMaksim Sukharev2025-01-181-12/+13
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* chore: Resolve ESLint warningsFerdinand Thiessen2025-01-161-6/+5
| | | | | | | | | | - Add default value to non-required Vue props - Reformat function to async function if needed - Add some documentation - Allow `any` in places where it makes sense (tests) - Order vue component sections as required Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>