aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* fix: update request token on two-factor pagesfix/two-factor-request-tokenRichard Steinmetz12 days1-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>
* feat: Adapt providers `disabled` property to match user applied filtersnfebe2025-01-131-6/+19
| | | | | | | | | | Some filters are only available for certain providers, the UI should give the user a hint to what providers such filters are available in. Currently, if a filter (date or person) is not support by an a provider, the provider is blurred out in the places dropdown. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* feat(contacts-menu): implement custom javascript hook actionfeat/contacts-menu/js-hook-actionRichard Steinmetz2025-01-091-2/+25
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: Redirect user to login if session is terminatedFerdinand Thiessen2024-12-191-6/+53
| | | | | | | | | | | | | | If a session timed out or was closed in another tab, then currently the user gets random error messages. This intercepts 401 responses (should only happen if logged out, or the users does something wrong). If we get a 401, we make sure its because of the session, by checking if the user can access the files app. If that is also the case we forward the user to the login page and set the redirect URL to the last used URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(recommended-apps): Typo "screen sharing" vs "screensharing"Ferdinand Thiessen2024-11-191-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(core): Do not use `v-html` for translation outputFerdinand Thiessen2024-11-191-1/+1
| | | | | | | | | | The content that can be renderered does *not* include HTML (see `recommended` object). But `v-html` was used, this is potentially dangerous, even though we sanitize the translation values, so no urgent harm but better safe than sorry. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(styles): Adjust code style in SCSS sources to match our stylelint ↵Ferdinand Thiessen2024-11-197-82/+100
| | | | | | config Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(profile): move profile app from core to appsskjnldsv2024-11-143-541/+0
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Fix(core): fix app menu alignment in RTL mode.Faisal Alghamdi2024-11-091-0/+6
| | | | Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
* feat(core): offer clipboard fallback for non-secure environmentsskjnldsv2024-11-082-0/+49
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(unified-search): Close on second ctrl+fFerdinand Thiessen2024-10-231-4/+7
| | | | | | Also only add the event listener if short-cuts are not disabled for accessibility reasons. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>