aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* fix(code-style): Adjust JS code to our code styleFerdinand Thiessen2024-10-165-10/+14
| | | | | | This resolves 68 ESLint warnings about invalid code style. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(sass): migrate from deprecated mixed declsGrigorii K. Shartsev2024-10-141-3/+4
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore: Add text file icon classChristopher Ng2024-10-091-0/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Vue app namesLouis Chemineau2024-10-092-0/+2
| | | | | | This improves the debugging experience in the vue dev tool. Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Move legacy dialogs template from files to core until we can remove itFerdinand Thiessen2024-09-201-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: fix usage of deprecated functions and adjust code styleFerdinand Thiessen2024-09-208-14/+19
| | | | | | | | This solves 57 ESLint warnings by replacing deprecated code with `@nextcloud/` libraries, as well as adding missing type information, importing jQuery instead of relying on global one, and the same with Moment.js. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(core): profile design and pronouns supportfieat/profile-pronouncesJohn Molakvoæ (skjnldsv)2024-09-181-6/+19
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* feat: add profile pronounsJohn Molakvoæ (skjnldsv)2024-09-171-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: Fix inaccessible content on public pages due to overlapping footerChristopher Ng2024-09-051-0/+26
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Implement Vue UI for public page menuFerdinand Thiessen2024-09-037-0/+408
| | | | | | | | | This adds a Vue implementation of the public page menu, that is the menu that can be added using `PublicTemplateResponse::setHeaderActions`. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(UnifiedSearch): Restore normal dialog sizefenn-cs2024-08-301-1/+3
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-298-18/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Adjust some minor styles issuesFerdinand Thiessen2024-08-292-36/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix: float and clearMostafa Ahangarha2024-08-291-1/+1
| | | | | | | | Fix other background-positions Minor fix in link button icon position Update header left and right to start and end Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* Fix: shorthand paddings and marginsMostafa Ahangarha2024-08-291-1/+2
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-2912-20/+58
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-263-21/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(UnifiedSearch): Focus search input on openfenn-cs2024-08-191-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>