aboutsummaryrefslogtreecommitdiffstats
path: root/core/src
Commit message (Collapse)AuthorAgeFilesLines
* chore: Deprecate `OC.buildQueryString` and `OC.parseQueryString`chore/drop-query-string-dependencyFerdinand Thiessen2025-01-272-1/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Drop `query-string` dependency in favor of native `URLSearchParams`Ferdinand Thiessen2025-01-271-12/+15
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>
* 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>