Commit graph

79918 commits

Author SHA1 Message Date
dependabot[bot]
dec37b94de
build(deps-dev): bump cypress-if from 1.12.6 to 1.13.2
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.6 to 1.13.2.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.6...v1.13.2)

---
updated-dependencies:
- dependency-name: cypress-if
  dependency-version: 1.13.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:59:21 +00:00
dependabot[bot]
da00875a43
Merge pull request #52349 from nextcloud/dependabot/npm_and_yarn/stable31/cypress-13.17.0 2025-04-22 19:57:31 +00:00
dependabot[bot]
45c072edea
build(deps-dev): bump cypress from 13.15.2 to 13.17.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.15.2 to 13.17.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.15.2...v13.17.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-version: 13.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:43:58 +00:00
dependabot[bot]
a785269242
Merge pull request #52351 from nextcloud/dependabot/npm_and_yarn/stable31/babel/node-7.26.0 2025-04-22 19:41:48 +00:00
dependabot[bot]
ca0053c74d
build(deps-dev): bump @babel/node from 7.25.9 to 7.26.0
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.9 to 7.26.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-version: 7.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 19:27:52 +00:00
dependabot[bot]
5364c566fd
Merge pull request #52354 from nextcloud/dependabot/npm_and_yarn/stable31/babel/preset-typescript-7.27.0 2025-04-22 19:24:27 +00:00
dependabot[bot]
c763340bb2
Merge pull request #52314 from nextcloud/dependabot/composer/build/integration/stable31/phpunit/phpunit-9.6.22 2025-04-22 16:06:43 +00:00
Julius Knorr
f5325b41f4
Merge pull request #52219 from nextcloud/backport/48738/stable31
[stable31] perf: Log requests using high amount of memory as warning
2025-04-22 17:30:39 +02:00
dependabot[bot]
b4407fcb89
Merge pull request #52326 from nextcloud/dependabot/npm_and_yarn/stable31/jasmine-core-2.99.1 2025-04-22 15:14:22 +00:00
dependabot[bot]
2885d74e96
build(deps-dev): bump @babel/preset-typescript from 7.26.0 to 7.27.0
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.27.0/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.27.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:06:26 +00:00
dependabot[bot]
69276477e1
build(deps-dev): bump jasmine-core from 2.5.2 to 2.99.1
Bumps [jasmine-core](https://github.com/jasmine/jasmine) from 2.5.2 to 2.99.1.
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v2.5.2...v2.99.1)

---
updated-dependencies:
- dependency-name: jasmine-core
  dependency-version: 2.99.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:00:08 +00:00
dependabot[bot]
553c019eaa
build(deps-dev): bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.21 to 9.6.22.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.22/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.21...9.6.22)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.22
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:58:23 +00:00
Kate
a3fcd57b73
Merge pull request #52302 from nextcloud/backport/51491/stable31 2025-04-22 14:52:01 +02:00
Ferdinand Thiessen
d3fe0826b4 fix(dav): allow uploading of files with long filenames
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:53:46 +00:00
Ferdinand Thiessen
15726db205 refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:53:46 +00:00
Arthur Schiwon
9bc3368f97
Merge pull request #52287 from nextcloud/backport/52257/stable31
[stable31] fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
2025-04-22 13:11:07 +02:00
Ferdinand Thiessen
5e819775ed
Merge pull request #52295 from nextcloud/chore/31-update-vue
[stable31] chore(dependencies): update `@nextcloud/vue` to v8.25.1
2025-04-22 12:51:31 +02:00
Ferdinand Thiessen
6c4dce9020
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:37:03 +02:00
Ferdinand Thiessen
78a59a1575
test: update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
Ferdinand Thiessen
0188552dd9
chore(dependencies): update @nextcloud/vue to v8.25.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 12:32:53 +02:00
John Molakvoæ
6d87774e06
Merge pull request #52197 from nextcloud/backport/52072/stable31 2025-04-22 12:27:57 +02:00
nextcloud-command
5a09f0dea0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 09:27:57 +00:00
skjnldsv
f47b72c134
fix(files_sharing): file request pass empty string if password or expiration is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

[skip ci]
2025-04-22 11:17:23 +02:00
skjnldsv
de30163f9a
fix(files_sharing): expireDate null tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-22 11:17:22 +02:00
Arthur Schiwon
fa38ae46f4 fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
fixes corner cases in which an LDAP record might be loaded and used,
where the user is still not mapped - and then this information is
missing though expected.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-22 07:25:02 +00:00
Julius Knorr
4120493856
Merge pull request #52039 from nextcloud/backport/52008/stable31
[stable31] fix: Proper order for checking path prefix for getting file by id from cache
2025-04-22 08:45:04 +02:00
Nextcloud bot
94079a8ba2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 00:23:09 +00:00
Ferdinand Thiessen
1d5d2188ca
Merge pull request #52030 from nextcloud/backport/51946/stable31
[stable31] perf(cloud_federation_api): only provide capabilities if needed
2025-04-21 22:47:44 +02:00
Joas Schilling
9821d3d20a
Merge pull request #52256 from nextcloud/backport/52224/stable31
[stable31] fix(usermanager): Don't throw when checking if a too long user id is an existing user
2025-04-21 14:20:18 +02:00
Nextcloud bot
448ca090f9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-21 00:23:18 +00:00
Nextcloud bot
62326bae8d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-20 00:23:13 +00:00
Nextcloud bot
e5b89e6609
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-19 00:22:55 +00:00
dependabot[bot]
abe7980545
Merge pull request #51963 from nextcloud/dependabot/npm_and_yarn/stable31/mime-4.0.7 2025-04-18 23:00:38 +00:00
dependabot[bot]
0c4fc7d95a build(deps-dev): bump mime from 4.0.6 to 4.0.7
Bumps [mime](https://github.com/broofa/mime) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.6...v4.0.7)

---
updated-dependencies:
- dependency-name: mime
  dependency-version: 4.0.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-18 22:46:57 +00:00
Ferdinand Thiessen
504cb11c5d
Merge pull request #52001 from nextcloud/backport/51937/stable31
[stable31] perf(files_sharing): do not emit second propfind for account filter
2025-04-18 19:53:36 +02:00
Ferdinand Thiessen
f42ca3a383
Merge pull request #52248 from nextcloud/backport/52240/stable31
[stable31] fix(mail): use matching text color for primary elements
2025-04-18 16:23:53 +02:00
Nextcloud bot
287753e099
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-18 00:23:40 +00:00
Arthur Schiwon
aa584f990b
Merge pull request #52254 from nextcloud/backport/52252/stable31
[stable31] fix(Log): revert swich to ?? operator
2025-04-17 19:29:48 +02:00
Joas Schilling
c34a5d2f6e fix(usermanager): Don't throw when checking if a too long user id is an existing user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-17 14:55:12 +00:00
Arthur Schiwon
09e3b93eed fix(Log): revert swich to ?? operator
false is expected, not null. The changed caused "user" in the log files
to be false instead of "--", which is breaking behaviour.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-04-17 13:20:29 +00:00
Ferdinand Thiessen
dada9b5c1c fix(mail): use matching text color for primary elements
when we use the default primary as background color we have to use the
default primary text color as well.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-17 10:43:58 +00:00
Louis
e51e64ea69
Merge pull request #52185 from nextcloud/backport/51020/stable31 2025-04-17 11:38:31 +02:00
Benjamin Gaussorgues
f3ea370852
Merge pull request #52236 from nextcloud/release/31.0.4 2025-04-17 11:06:33 +02:00
Benjamin Gaussorgues
a0bcd9a8f9
build(hub): 31.0.4
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-04-17 09:10:09 +02:00
Nextcloud bot
47387e574d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 00:23:07 +00:00
Julius Knorr
44d6f4390e
perf: Log requests using high amount of memory as warning
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-16 14:40:16 +02:00
Louis Chemineau
27ed921ad5 fix: Transfer ownership with S3 as primary
When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error:

`SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-45b963397aa40d4a0063e0d85e4fe7a1' for key 'fs_storage_path_hash'`

The `--move` option moves the entire home folder from one account to another.
The error means that the move failed because the destination folder already exist in `oc_filecache`.

- With S3 as primary storage, folders only exists as entries in `oc_filecache`.
- With S3 as primary storage, `moveFromStorage(...)` only moves the cache entry, as nothing needs to be moved on disk. This cache move does not delete potentially pre-existing destination folder.
- With Local storage, `moveFromStorage(...)` calls `rename(...)` which delete pre-existing folder.

- `transfer(...)`: 687a4d9ac7/apps/files/lib/Service/OwnershipTransferService.php (L112)
- `oneTimeUserSetup(...)`: 687a4d9ac7/lib/private/Files/SetupManager.php (L261-L262)
- `mkdir(...)`: 687a4d9ac7/lib/private/Files/ObjectStore/ObjectStoreStorage.php (L91-L135)
- `moveFromStorage(...)`: 687a4d9ac7/lib/private/Files/ObjectStore/ObjectStoreStorage.php (L635-L636)

Delete pre-existing folder in `moveFromStorage(...)`

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-04-16 10:19:17 +02:00
Nextcloud bot
82efa591f4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 00:23:26 +00:00
John Molakvoæ
9aaf858a1b
Merge pull request #52202 from nextcloud/release/31.0.4_rc1 2025-04-15 17:35:27 +02:00
F. E Noel Nfebe
4cfb4b440d
Merge pull request #52208 from nextcloud/backport/52121/stable31
[stable31] fix(files_sharing): Apply default password setting in SharingDetailsTab
2025-04-15 14:01:36 +02:00