summaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(l10n): remove unnecessary spaceValdnet2025-03-021-1/+1
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* fix: wipe local storages on log outbackport/50956/stable30Maksim Sukharev2025-02-252-7/+22
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* 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>
* feat(core): offer clipboard fallback for non-secure environmentsskjnldsv2025-02-042-0/+49
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* 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 pluginsnfebe2025-01-313-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-311-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 searchbackport/50129/stable30nfebe2025-01-291-1/+6
| | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.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): request data only when opening modalMaksim Sukharev2025-01-181-12/+13
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* feat: Adapt providers `disabled` property to match user applied filtersnfebe2025-01-171-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>
* fix: Redirect user to login if session is terminatedFerdinand Thiessen2025-01-091-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(share): render conflict modal in public sharesMax2024-12-191-1/+10
| | | | | | Handle templates with license comments in `octemplate.js`. Signed-off-by: Max <max@nextcloud.com>
* 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>
* Merge pull request #48652 from nextcloud/backport/48638/stable30Benjamin Gaussorgues2024-10-301-0/+4
|\
| * chore: Add text file icon classChristopher Ng2024-10-101-0/+4
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | fix(unified-search): Close on second ctrl+fFerdinand Thiessen2024-10-281-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>
* fix: Fix inaccessible content on public pages due to overlapping footerChristopher Ng2024-09-061-0/+26
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(UnifiedSearch): Restore normal dialog sizefenn-cs2024-09-021-1/+3
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(UnifiedSearch): Focus search input on openfenn-cs2024-08-201-3/+10
| | | | | | Resolves : https://github.com/nextcloud/server/issues/47056 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(AppMenu): Prevent menu entries from jumping on hoverFerdinand Thiessen2024-08-142-28/+34
| | | | | | Only grow and shrink app menu entry if needed Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where ↵Ferdinand Thiessen2024-08-136-13/+12
| | | | | | possible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Make focussed app menu entry wider to see full nameFerdinand Thiessen2024-08-082-3/+43
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Make app menu overflow entries vertically alignedFix/app-menu-overflowFerdinand Thiessen2024-08-071-2/+3
| | | | | | | The `name` property expects a `text` and just adds basically a "heading" for the text, so lets instead just utilize the default slot. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Ensure app overflow menu is rendered centeredFerdinand Thiessen2024-08-072-43/+46
| | | | | | | | 1. Fix app menu overflow button to be centered 2. Ensure the overflow calculation always just removed one element (incl. refactor to use `@vueuse`) 3. Ensure we use 1.5 line height for app menu, otherwise some languages look squashed under the app icon Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(core): add selection for recommended appsSanskar Soni2024-08-061-17/+30
| | | | Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
* fix(user_status): Adjust AccountMenu entry for user statusFerdinand Thiessen2024-08-062-4/+5
| | | | | | fixup: Adjust to design comments Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(core): Migrate UserMenu / AccountMenu to NcListItemFerdinand Thiessen2024-08-065-337/+307
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(core): app menu notification should be in the top rightskjnldsv2024-08-011-2/+3
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(core): do not show unread notification on app menu hoverskjnldsv2024-07-312-1/+6
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(core): app menu label position and animationskjnldsv2024-07-311-12/+17
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-251-1/+1
| | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Fix some linting issues in frontend codeFerdinand Thiessen2024-07-191-2/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* refactor(core): Split app menu into componentsFerdinand Thiessen2024-07-103-205/+261
| | | | | | | This allows to split one large block of code into three components with each one usecase. Allowing for better readability and maintainablility. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Make active apps initial state consistent with OCS APIFerdinand Thiessen2024-07-101-0/+30
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-0914-29/+30
| | | | | | | | | 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>
* refactor(core): Make AJAX cron script work without jQueryFerdinand Thiessen2024-06-281-0/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Allow to reset unified search using the ↵Ferdinand Thiessen2024-06-271-0/+6
| | | | | | `nextcloud:unified-search:reset` event Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(unified-search): Also show local search on apps managementFerdinand Thiessen2024-06-271-1/+1
| | | | Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Open unified search by pressing `ctrl + F`Ferdinand Thiessen2024-06-271-1/+24
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(styles): Make padding not a magic valueFerdinand Thiessen2024-06-271-2/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(UnifiedSearch): Implement design comments and focus input on openFerdinand Thiessen2024-06-271-18/+54
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add in-app searchMarco Ambrosini2024-06-275-230/+532
| | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-06-231-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Adjust icon generation to bring back themed iconsFerdinand Thiessen2024-06-171-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(login): Prevent submitting the login form multiple timesMarcel Müller2024-06-061-1/+7
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(login): Disable login button when already logging inMarcel Müller2024-06-061-0/+1
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(core): unsupported browser `getRootUrl` importJohn Molakvoæ2024-06-011-3/+4
| | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>