Commit graph

79167 commits

Author SHA1 Message Date
dependabot[bot]
8041ac09cd
chore(deps-dev): bump vitest and @vitest/coverage-v8
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) and [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8). These dependencies needed to be updated together.

Updates `vitest` from 2.1.8 to 2.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest)

Updates `@vitest/coverage-v8` from 2.1.8 to 2.1.9
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-05 13:32:54 +01:00
John Molakvoæ
a2e05eeca3
Merge pull request #50645 from nextcloud/fix/refresh-convert-list 2025-02-04 17:45:49 +01:00
Ferdinand Thiessen
c82bc0a5a3
Merge pull request #50642 from nextcloud/fix/proper-download-check
fix(sharing): better handle file share attributes
2025-02-04 16:48:50 +01:00
skjnldsv
af405f6e1c chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-04 16:41:01 +01:00
skjnldsv
85ba80b8ce fix(files): properly update store on files conversions success
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-04 16:38:34 +01:00
Ferdinand Thiessen
73dc0f0f19
fix(sharing): Ensure download restrictions are not dropped
When a user receives a share with share-permissions but also with
download restrictions (hide download or the modern download permission attribute),
then re-shares of that share must always also include those restrictions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-04 15:39:14 +01:00
Pytal
83e35b6991
Merge pull request #50635 from nextcloud/fix/files-wording
chore(files): Adjust wording
2025-02-04 05:16:49 -08:00
Marcel Klehr
1da3c25997
Merge pull request #50640 from nextcloud/fix/taskprocessing-cache
fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
2025-02-04 13:35:27 +01:00
Marcel Klehr
319a4d2df8 fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-04 13:04:43 +01:00
Marcel Klehr
f127ab10da
fix: lib/private/TaskProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-04 13:03:59 +01:00
Marcel Klehr
49a52126ab fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-04 12:54:13 +01:00
nextcloud-command
dca40e7766 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-04 11:26:39 +00:00
Christopher Ng
235671de0b chore(cypress): Finish comment
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 12:22:16 +01:00
Christopher Ng
a447b21805 fix(files): Fix casing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 12:22:16 +01:00
Christopher Ng
ad9b07d85e chore(files): Change "filename" to "file name"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-02-04 12:22:16 +01:00
Nextcloud bot
9223794d49
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-04 00:21:18 +00:00
F. E Noel Nfebe
a53b431d1d
Merge pull request #50592 from nextcloud/fix/noid/in-folder-search
fix(unified-search): filteredProviders now inherits all provider props
2025-02-03 17:03:46 +01:00
nextcloud-command
61e4cb5d4b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 15:28:27 +00:00
F. E Noel Nfebe
444401480d
Merge branch 'master' into fix/noid/in-folder-search 2025-02-03 16:23:37 +01:00
Côme Chilliet
639d2f7664
Merge pull request #50604 from nextcloud/dependabot/github_actions/github-actions-96894264d4
chore(deps): bump the github-actions group with 2 updates
2025-02-03 14:22:49 +01:00
dependabot[bot]
d5d8aed463
chore(deps): bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/setup-node](https://github.com/actions/setup-node) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/setup-node` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](39370e3970...1d0ff469b7)

Updates `peter-evans/create-pull-request` from 7.0.5 to 7.0.6
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v7.0.5...67ccf781d68cd99b580ae25a5c18a1cc84ffff1f)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 12:20:18 +00:00
Stephan Orbaugh
8aad48c6f9
Merge pull request #49016 from Keeper-of-the-Keys/occ-groups-list-single-group
Add the option to provide a groupname and only see its' members in occ group:list
2025-02-03 13:10:00 +01:00
nfebe
d2fc45acbd fix(unified-search): filteredProviders now inherits all provider props
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>
2025-02-03 12:48:00 +01:00
F. E Noel Nfebe
e9cb6140de
Merge pull request #50260 from nextcloud/enhancements/files-sharing-tests
chore : Comprehensive e2e testing for public sharing
2025-02-03 12:47:27 +01:00
nextcloud-command
6d37e16e3c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 12:38:06 +01:00
nfebe
667fb8b89f fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 12:38:06 +01:00
nfebe
d0a018b94f test(files_sharing): add e2e tests for public link sharing
This commit introduces end-to-end tests for various public link sharing scenarios in the `files_sharing` app. It validates the behavior under multiple configurations:

- Password and expiration date enforced
- Password enforced with a default expiration date
- Expiration date enforced with optional password
- Default password and expiration date without enforcement
- Password enforced, expiration date set but not enforced
- Both password and expiration date not enforced, but defaults set
- Password not enforced, expiration date enforced
- Password not enforced, default expiration date set
- Password and expiration date not enforced with no defaults

The tests ensure proper validation and functionality of the configurations, leveraging the `setupData` and `createShare` utilities.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 12:38:06 +01:00
nfebe
c0db548954 refactor: Modularize setup-public-share.ts
This update enhances the testing framework for public sharing by
improving the setup and management of share contexts.
It refactors the code to make the `createShare` function reusable externally,
ensuring better testability and flexibility.
Additionally, the update optimizes share permission adjustments and
improves state management, making public share setups more efficient and maintainable.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 12:38:06 +01:00
Côme Chilliet
5e97a46f4c
fix: Clearly document that the argument is a search string
It is not an exact match on the group id

Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2025-02-03 11:07:41 +01:00
Kate
c38aa33db9
Merge pull request #50576 from nextcloud/fix/files/favorites-widget-folder-preview 2025-02-03 10:56:00 +01:00
Joas Schilling
8be4ad75b3
Merge pull request #50069 from michielbdejong/fix-36340
Fix OCM implementation has wrong parameter names
2025-02-03 10:45:46 +01:00
provokateurin
6ada9dda01
fix(files): Fix folder preview for favorites widget
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 10:25:15 +01:00
Nextcloud bot
87fd982a2d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:00 +00:00
Nextcloud bot
b4bf4dc6af
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-02 00:22:22 +00:00
dependabot[bot]
aef367f6d0
Merge pull request #50613 from nextcloud/dependabot/npm_and_yarn/cypress-split-1.24.7 2025-02-01 15:45:09 +00:00
dependabot[bot]
34c57d0b86
Merge pull request #50610 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-14.6.1 2025-02-01 08:56:36 +00:00
dependabot[bot]
3f5cfee3b4
chore(deps-dev): bump cypress-split from 1.24.0 to 1.24.7
Bumps [cypress-split](https://github.com/bahmutov/cypress-split) from 1.24.0 to 1.24.7.
- [Release notes](https://github.com/bahmutov/cypress-split/releases)
- [Commits](https://github.com/bahmutov/cypress-split/compare/v1.24.0...v1.24.7)

---
updated-dependencies:
- dependency-name: cypress-split
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 02:35:25 +00:00
dependabot[bot]
9f5456acfa
chore(deps-dev): bump @testing-library/user-event from 14.5.2 to 14.6.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.5.2 to 14.6.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.2...v14.6.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 02:33:20 +00:00
Nextcloud bot
3a4f6b80fe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:21:47 +00:00
Ferdinand Thiessen
6907b62d02
Merge pull request #50424 from nextcloud/fix/encryption-text
fix(settings): Clarify peculiarities of enabling encryption
2025-01-31 17:16:49 +01:00
Ferdinand Thiessen
78bec6f49e
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 16:44:11 +01:00
Ferdinand Thiessen
cdaeb63862
fix(settings): Clarify peculiarities of enabling encryption
- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 16:33:36 +01:00
F. E Noel Nfebe
8bc5ec1879
Merge pull request #50550 from nextcloud/fix/noid/fix-unified-search-provider-id
fix: unified search provider id
2025-01-31 12:33:30 +01:00
Nextcloud bot
566cecbcc4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:18 +00:00
nfebe
8863b85420 fix: Use searchFrom property for client side plugins
The client-side plugin `in-folder` uses the `files` provider, this makes it
overlap with the main files provider itself.

This change follows eecda06f1a 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>
2025-01-30 17:35:00 +00:00
SebastianKrupinski
bf5a54d132 fix: unified search provider id
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-30 16:36:50 +01:00
Kate
b6f9356ccf
Merge pull request #50292 from nextcloud/fix/federated-share-opening 2025-01-30 15:21:31 +01:00
provokateurin
f1631c05ec
chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 13:55:24 +01:00
provokateurin
51f52f5889
fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 13:53:53 +01:00
provokateurin
4aede1b43d
fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 13:53:53 +01:00