Commit Graph

791 Commits (3bdb3442242aba93d0fae6181861baeb60b1514d)

Author SHA1 Message Date
skjnldsv 492bdb7010
chore: update `@nextcloud/files` to 4.0.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-12-11 12:44:16 +07:00
nfebe f035ff3d3a fix(unified-search): Separate filtered and unfiltered results
Show results from providers that don't support active content filters
(date/person) in a separate "Additional results" section with a note
explaining that some filters may have been ignored.

Changes:
- Add computed properties to separate filtered/unfiltered results
- Track filter compatibility using baseProvider for searchFrom providers
- Deduplicate results by resourceUrl across sections
- Skip in-folder results when at root to avoid duplicating Files results
- Fix providerIsCompatibleWithFilters to check correct filter properties
- Add styling for the unfiltered results section

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-10 17:30:32 +07:00
nfebe 61ebc6e251 fix(unified-search): prevent provider disabling on content filter apply
When date range or person filters were applied, providers that didn't
support these filters were automatically disabled in the UI. This made
the in-folder filter appear auto-applied and prevented users from
searching non-compatible providers.

Remove automatic provider disabling logic from updateDateFilter(),
applyPersonFilter(), and removeFilter(). Content filters now apply only
to compatible providers via existing compatibility checks while keeping
all providers available for selection.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-12-10 17:30:32 +07:00
Grigorii K. Shartsev 8ca4a7a036 refactor(user_status): migrate to Vue 3
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-11-26 14:09:33 +07:00
Ferdinand Thiessen f1d28332a6 chore: manually adjust event names (`update:checked` to `update:modelValue`)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +07:00
Ferdinand Thiessen 42112c8d30 chore: auto fix ESLint issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +07:00
Côme Chilliet 00349e674d chore: npm run lint:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-21 14:23:58 +07:00
Pauli Järvinen 47f9407127 fix(core): legacy app navigation snapper width on RTL
After ec9e283e there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2025-11-14 15:30:56 +07:00
Côme Chilliet f99ca7dd75 chore(login): Check remember me by default
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-13 13:26:01 +07:00
Côme Chilliet 4e83d20837 feat(login): Add rememberme checkbox
Only present if allowed by configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-11-13 13:25:59 +07:00
Julius Knorr 853b264cc9 fix: Force direct login after password reset
With SSO setups users may otherwise be redirected to the IdP directly
instead of the regular login form that they reset the password for

Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-11-06 13:04:09 +07:00
Ferdinand Thiessen 15e610a63f
chore: remove deprecated `OC.AppConfig` in favor of `OCP.AppConfig`
It was deprecated since Nextcloud 16 and can be replaced with
`OCP.AppConfig`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-03 15:05:45 +07:00
Ferdinand Thiessen cf7ed089e1
chore: remove deprecated hosts functions from OC
- deprecated since Nextcloud 17

- To replace `OC.getHost` use `window.location.host`.
- To replace `OC.getHostName` use `window.location.hostname`.
- To replace `OC.getPort` use `window.location.port`.
- To replace `OC.getProtocol` use `window.location.protocol`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-01 14:40:00 +07:00
Ferdinand Thiessen fd0a7351c3
chore: remove `OC.fileIsBlacklisted`
Its deprecated since Nextcloud 18 and nowadays we have much more complex
logic for this.
So the proper replacement is to use `validateFilename` from
`@nextcloud/files` package.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-01 13:50:14 +07:00
Ferdinand Thiessen 439f825774 chore: remove deprecated `OC.redirect` and `OC.reload`
- Deprecated since Nextcloud 17

To replace `OC.redirect` directly use `window.location`.
To replace `OC.reload` directly use `window.location.reload`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-30 23:14:37 +07:00
Ferdinand Thiessen bea30fcb2b chore: remove `OC.set` and `OC.get`
Both are deprecated since Nextcloud 19.
- For `get`, if really needed, use https://lodash.com/docs#get
- And for `set` https://lodash.com/docs#set

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-30 22:06:11 +07:00
skjnldsv fae59e8569 fix(core): token change logging
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-10-29 08:49:28 +07:00
Ferdinand Thiessen 8519b71bf1 fix(OC\MimeType): use proper webroot if needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-23 15:42:28 +07:00
Ferdinand Thiessen da5e27917f
chore: move icons building from core sources to build helpers
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-22 17:10:28 +07:00
Max b9d3ad6d00
fix(dialogs): migrate buttons to variant prop
In Nextcloud Vue v8 the `type` prop for dialog buttons
was deprecated and replaces with the `variant` prop.

In v9 the deprecated props are removed.
Use the `variant` prop in the deprecated `OC.dialogs`.

This is a follow up for #55726.

Signed-off-by: Max <max@nextcloud.com>
2025-10-18 20:12:49 +07:00
Ferdinand Thiessen b1a7eeaacb
refactor: adjust password confirmation for new `@nextcloud/package-confirmation` package
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-17 15:01:10 +07:00
Ferdinand Thiessen 2b39cb49ab
refactor: adjust code for breaking changes in `@nextcloud/dialogs` v7
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 13:45:12 +07:00
Ferdinand Thiessen 3f6f277dba
refactor(test): migrate component tests in core to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-14 14:30:14 +07:00
Daniel Kesselberg ec1ea3253c
feat(login): hide password on form submit
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-07 19:37:51 +07:00
Ferdinand Thiessen cb1a6f79e7
Merge pull request #55442 from nextcloud/refactor/migrate-cypress-tests
test: migrate `LoginForm` component test to vitest
2025-10-06 17:41:46 +07:00
Ferdinand Thiessen ba01412389
test: migrate `LoginForm` component test to vitest
Cypress has some limitations:
- its vue 2 supported was removed
- it fails with our vue 3 migration due to 2 different vue versions
  being present
- its slow compared to vitest

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-06 15:18:51 +07:00
Ferdinand Thiessen 769ec69bb3 refactor(core): migrate tests of `OCP.Comments` to `vitest`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-06 15:05:31 +07:00
Ferdinand Thiessen 2e11b96537
refactor: move `OC.MimeType` to `src` and add `vitest` unit tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-06 14:16:12 +07:00
Daniel Kesselberg 5475587092
fix(setup): set dbtype value also for single-db
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-10-05 23:33:16 +07:00
Ferdinand Thiessen ca65cf72d8
chore: add missing import of the logger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:43 +07:00
Ferdinand Thiessen 91f3b6b4ee
chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +07:00
Ferdinand Thiessen ec9e283e6f fix: legacy app navigation snapper on RTL layout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-01 11:28:53 +07:00
Ferdinand Thiessen ca5f6d4c1d
chore: remove legacy jQuery contacts menu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-28 18:57:01 +07:00
Carl Schwan e86ca11e0b refactor: Remove OC.SystemTags JS API
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-26 19:25:46 +07:00
Louis ab4592b02b
Merge pull request #55259 from nextcloud/artonge/feat/unified_search_add_min_length_setting 2025-09-25 10:43:55 +07:00
Louis Chemineau fccb13e8ac
feat(unified-search): Use existing min search length config
This setting existed already for the legacy unified search.
This commit expose that setting to the new front-end, and
also ignore non valid requests in the backend.

We also take the opportunity to register the config in the lexicon.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-24 17:29:09 +07:00
Louis Chemineau 65d5bf20ee
fix(unified-search): Add missing `id` prop to `NcHeaderButton`
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-24 17:13:03 +07:00
Ferdinand Thiessen 6543ee22a6 refactor(core): use a11y activation util from `@nextcloud/vue`
* resolves https://github.com/nextcloud-libraries/nextcloud-vue/issues/2844

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-24 12:19:38 +07:00
Richard Steinmetz 4e89f86b57
fix(contactsmenu): adjust padding to new design
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-12 13:45:16 +07:00
Ferdinand Thiessen 6f4414fe4c fix(unified-search): make sure date range option is translated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-10 20:15:51 +07:00
Ferdinand Thiessen b613bb26bd
refactor: remove global md5 and replace other use cases with common depenency
1. By replacing `blueimp-md5` with `crypto-browserify` we reduce the
   dependencies because the latter one is already used by `@nextcloud/upload`.
2. Drop the global `md5` as the changed implementation would need a wrapper,
   but its also not used anymore and deprecated since Nextcloud 20.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-08 17:48:53 +07:00
Kent Delante 9e93e93e11 style(contactsmenu): properly align contacts menu actions
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-09-04 13:14:14 +07:00
skjnldsv 7ef1216392 fix(core): more understandable guest avatar menu notice
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-27 07:52:40 +07:00
Ferdinand Thiessen b3467b433c fix(core): make sure no alpha mask is applied on the account menu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-25 17:15:09 +07:00
Ferdinand Thiessen 82d4d8290b refactor: replace deprecated CSS variables with their replacement
Couple of versions ago:
- `color-text-light` was replaced with `color-main-text`
- `color-text-lighter` was replaced with `color-text-maxcontrast`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-19 15:50:29 +07:00
Ferdinand Thiessen e99ea1a351 fix: adjust server styles for new secondary status colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-19 15:05:01 +07:00
Kent Delante bca451f001
Merge pull request #54474 from nextcloud/leftybournes/feat/contactsmenu_register_actions
feat: provide api to register actions in contacts menu
2025-08-19 15:01:48 +07:00
Kent Delante 9f3da00aac feat: provide api to register actions in contacts menu
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-08-19 09:17:44 +07:00
Grigorii K. Shartsev 501fa4de05
fix(core): unified search is cut off on small window
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-08-15 12:34:37 +07:00
Andrey Borysenko 5c4e84f128
feat(UnifiedSearch): External search providers support
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-08-14 16:37:39 +07:00