Commit graph

15612 commits

Author SHA1 Message Date
SebastianKrupinski
e25d0dbf2d fix: aliases and capitalization of emails
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-09-16 22:05:47 +02:00
Louis Chemineau
ffe4696192 fix(Updater): Lower deadlock log level from warning to info
If this is safe to ignore, then it does not make sense to keep warning the admins.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-16 16:19:03 +00:00
Andy Scherzinger
26f455b178
Merge pull request #55126 from nextcloud/backport/55122/stable31
[stable31] fix: Dispatch favorite event with an actual path
2025-09-15 18:46:43 +02:00
Louis Chemineau
d7775cba6a
fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix https://github.com/nextcloud/activity/issues/2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 16:52:28 +02:00
Carl Schwan
47ce9c4c7b fix(auth): Fix invalid unique constraint violation catch
UniqueConstraintViolationException is no longer throw but instead a
OCP\DB\Exception is.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-15 13:37:35 +02:00
Louis
a9daf61e09
Merge pull request #53026 from nextcloud/backport/52825/stable31 2025-09-15 09:51:05 +02:00
Josh
6b9fea9d09 fix(cache): Set default Redis port to 0 for UNIX sockets
When using phpredis with a UNIX socket, the port should either not be specified at all or be `<1`. 

https://github.com/phpredis/phpredis?tab=readme-ov-file#connect-open

d0b0c5cfdd/library.c (L3332-L3334)

Fixes #54813

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-14 21:31:23 +02:00
Ferdinand Thiessen
9c365d00b6 fix: use mb_substr
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 10:50:37 +00:00
Ferdinand Thiessen
fb8f85f30f fix(ownCloud): ensure that accounts.display_name fits into users.displayname
`user.displayname` only allows 64 characters but old `accounts.display_name` allowed 255 characters.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 10:50:36 +00:00
Louis Chemineau
7948e23441 feat: Support limit argument in getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-11 16:10:25 +02:00
Carl Schwan
dd12e949e3 perf(users): Create lazy users in IUserManager::getSeenUsers
Particularly relevant in occ commands/background jobs like the trashbin
expiration which only needs the user ids and not the full information.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-03 16:50:21 +00:00
Ferdinand Thiessen
6860d92bf4 fix(Filesystem): use FilenameValidator for Filesystem::isFileBlacklisted
This fixes the issue that some methods will not allow uploading files
because they still require the deprecated config option to be used.
So instead we need to use the validator introduced in v30.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-03 14:24:48 +00:00
Christoph Wurst
e08dfab30f fix(dav): Mark removal of dav object properties as expensive
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-02 19:36:26 +00:00
Robin Appelman
f38be0a169
fix: cast fileid to string in getMountsForFileId
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-29 17:59:16 +02:00
Marcel Klehr
4621a1cf4c fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-08-27 21:31:35 +00:00
Joas Schilling
7c485aee3e fix(2fa): Fix 2FA session setup when ephemeral session is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-26 13:46:57 +00:00
Côme Chilliet
f1fb150055 fix(encryption): Fix TypeError when trying to decrypt unencrypted file
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-26 08:42:58 +02:00
Thomas Citharel
bfd0458e86 fix(sharing): fix json decoding the list of groups excluded from sharing
json_decode() returns stdclass by default instead of an associative object, which can't be used for
array_diff or array_intersect later

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-08-24 19:38:55 +00:00
zak39
13b33ae8a1 fix(route): Change "core.ProfilePage.index" to lowercase
Signed-off-by: zak39 <fotia.baptiste@hotmail.com>
2025-08-24 18:42:11 +02:00
Kate
5864b3c5ef
Merge pull request #54544 from nextcloud/backport/54385/stable31-54385 2025-08-22 20:49:34 +02:00
Git'Fellow
ee84379662 fix(AppManager): Argument must be of type array|object
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-20 18:13:08 +00:00
Maxence Lange
58f7fabaa7 feat(ocm): split ocm discovery and capabilities
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-20 14:47:31 -01:00
Ferdinand Thiessen
4b1fa4569d fix(installer): ensure valid tempFile & extractDir
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-19 22:37:22 +02:00
Andy Scherzinger
9e754ca54e
Merge pull request #54412 from nextcloud/backport/54401/stable31
[stable31] fix(ZipFolderPlugin): set mtime of directories in archive
2025-08-19 07:09:50 +02:00
Andy Scherzinger
4236d0c0c5
Merge pull request #54423 from nextcloud/backport/54120/stable31
[stable31] fix(search): Fix SearchComposer.php filtering logic
2025-08-19 00:10:18 +02:00
Misha M.-Kupriyanov
91d4437a84 fix(search): Fix SearchComposer.php filtering logic
keep the $this->providers types

Test via ./occ config:app:set --value '["files","settings"]' --type array core unified_search.providers_allowed

should be part of 8e570041

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-08-14 13:03:12 +00:00
Ferdinand Thiessen
e7cc19966e fix(ZipFolderPlugin): set mtime of directories in archive
Directories should also have the correct mtime set and not the current
time. For this the `Streamer` class needs to support passing a time
attribute for creating folders, the underlying library already supports
this.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-14 12:06:39 +02:00
Robin Appelman
30b36efc33 fix: increase how long we cache display names
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-11 14:25:18 +02:00
John Molakvoæ
7cc52f0b14
Merge pull request #54190 from nextcloud/backport/54121/stable31
[stable31] fix: add missing color select to tags usage query
2025-08-07 17:01:34 +02:00
Benjamin Gaussorgues
50fc614bcd
Merge pull request #54297 from nextcloud/backport/54125/stable31 2025-08-07 17:00:12 +02:00
Benjamin Gaussorgues
50d982ebc8
Merge pull request #54322 from nextcloud/backport/54238/stable31 2025-08-07 16:50:49 +02:00
Benjamin Gaussorgues
04e3943ff3
Merge pull request #54204 from nextcloud/backport/54182/stable31 2025-08-07 16:46:41 +02:00
Stephan Orbaugh
b09dfb03b7
Merge pull request #54252 from nextcloud/backport/54203/stable31
[stable31] fix: fix oci string length with empty strings
2025-08-07 15:21:33 +02:00
Robin Appelman
e057ecbbe7 feat: allow admins to configure additional sensitive config values
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:09:23 +00:00
Robin Appelman
05e64418a7
fix: better object store write error propagation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:48:43 +02:00
Robin Appelman
d1af0f34a2
fix: always do stream counting for object store upload
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:48:42 +02:00
Robin Appelman
902cb3dbb9
fix: validate written size for s3 multipart uploads
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:48:42 +02:00
Robin Appelman
e483387189
feat: more generic way of passing metadata to object storage backends for new objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:48:37 +02:00
Daniel Calviño Sánchez
e694f3c120 fix: Fix button alignment for email templates in Outlook
The button group generated in email templates is expected to show the
two buttons side by side in a single row, but in Outlook both buttons
took the full width of the wrapper row and each button was shown in
its own row. To solve that the buttons are wrapped in an additional
table that shows each button in its own cell, limiting their width and
showing them in a single row; this is done conditionally and only
applied in Outlook, so it should not affect other clients.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-08-06 17:43:33 +00:00
Robin Appelman
78f976dc0b fix: add missing color select to tags usage query
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-06 13:04:01 +02:00
skjnldsv
612e06466a fix(core): ensure unique vcategory
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-06 09:00:50 +02:00
Marcel Müller
5e6532d467 feat: Cache user keys
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-08-05 19:05:14 +02:00
Joas Schilling
98fb18f5fa
Merge pull request #54254 from nextcloud/backport/54230/stable31
[stable31] fix(logging): Fix query logging with DateTimeImmutable parameters
2025-08-05 16:18:09 +02:00
John Molakvoæ
2792cd8c60
Merge pull request #54130 from nextcloud/backport/51602/stable31 2025-08-05 15:05:17 +02:00
Joas Schilling
0dce6c2453 fix(logging): Fix query logging with DateTimeImmutable parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-05 10:29:24 +00:00
Robin Appelman
4560a512b8 fix: fix oci string length with empty strings
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-05 10:19:00 +00:00
Côme Chilliet
2da5f0b6e8
chore: Adapt ProviderFactory to change in DefaultShareProvider constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-05 11:59:34 +02:00
Robin Appelman
034cf48da3 fix: don't update cached mountpoints if the request doesn't have filesystem access
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-01 16:04:20 +00:00
Christoph Wurst
1c004d6b07 fix(session): log when ephemeral sessions are closed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-08-01 10:49:57 +02:00
John Molakvoæ
d642bf4aa3
Merge pull request #54053 from nextcloud/backport/54016/stable31 2025-08-01 09:53:09 +02:00