Commit graph

25396 commits

Author SHA1 Message Date
Nextcloud bot
e1c308d038
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-20 00:13:39 +00:00
Nextcloud bot
b56ceefcee
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-19 00:13:56 +00:00
Marcel Klehr
62e63730df fix(TaskProcessing): Cache task types by user language
fixes https://github.com/nextcloud/assistant/issues/357

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-18 09:36:19 +02:00
Nextcloud bot
2fa1bf0306
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-17 00:13:43 +00:00
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
Andy Scherzinger
96c599638b
Merge pull request #54944 from nextcloud/backport/54941/stable31
[stable31] fix(cache): Set default Redis port to `0` for UNIX sockets
2025-09-15 08:45:29 +02:00
Nextcloud bot
616d72ff8b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-15 00:13:29 +00: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
Nextcloud bot
d3c492baaf
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-14 00:13:29 +00: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
Nextcloud bot
cc46ca1f28
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-10 19:34:49 +00:00
Nextcloud bot
5f4eb6b493
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-10 00:14:09 +00:00
Nextcloud bot
ceb65eb1ff
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-09 00:15:41 +00:00
Nextcloud bot
c864273219
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-08 00:13:48 +00:00
Nextcloud bot
6505dfc796
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-07 00:14:54 +00:00
Nextcloud bot
4b0655a255
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:47 +00:00
Nextcloud bot
50c4c82562
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-05 00:14:02 +00:00
Nextcloud bot
55f3eceec6
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-04 00:13:07 +00: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
Andy Scherzinger
785f50941d
Merge pull request #54824 from nextcloud/backport/50391/stable31
[stable31] fix(dav): Mark removal of dav object properties as expensive
2025-09-03 09:03:52 +02:00
Nextcloud bot
4ec5aa8702
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-03 00:12:46 +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
Côme Chilliet
dc49dbc4bb
chore: Add comment to make it clear the bail out for status.php should
not be moved above ini_set calls.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-02 12:07:38 +02:00
Côme Chilliet
317044a68b
fix(status.php): Fix samesite cookies
This skips less calls for status.php so that ini vars are correctly set
 and the code to set samesite cookies has the correct information when
 Nextcloud is installed in a subpath.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-02 12:07:38 +02:00
Nextcloud bot
bb0f8e9e47
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-02 00:12:22 +00:00
Andy Scherzinger
07a849f2e9
Merge pull request #54744 from nextcloud/getMountsForFileId-cast-fileid
[stable31] fix: cast fileid to string in getMountsForFileId
2025-09-01 09:13:47 +02:00
Nextcloud bot
2be23570de
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-30 00:12:18 +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
Nextcloud bot
1215a0b045
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-29 00:12:46 +00:00
Marcel Klehr
561f0133fe
Merge pull request #54686 from nextcloud/backport/54620/stable31
[stable31] fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
2025-08-28 09:17:27 +02:00
Nextcloud bot
dd5e343f52
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-28 00:12:29 +00: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
yemkareems
5c281401a6
Merge pull request #54641 from nextcloud/backport/52880/stable31
[stable31] Add commands to set/get/delete/clear the distributed memcache
2025-08-27 19:30:38 +05:30
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
yemkareems
25976e3a0c
Merge branch 'stable31' into backport/52880/stable31 2025-08-26 18:05:15 +05:30
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
Robin Appelman
32e201e540 feat: add command to clear memcache
Signed-off-by: Robin Appelman <robin@icewind.nl>

[skip ci]
2025-08-26 03:54:33 +00:00
Robin Appelman
a8428cad01 feat: add command to delete memcache key
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 03:54:33 +00:00
Robin Appelman
38faa7af70 feat: add commands to get and set memcache values
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 03:54:33 +00:00
Robin Appelman
642a81a8d4 refactor: split off value casting out of config:system:set command
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-26 03:54:32 +00:00
Nextcloud bot
9ba1aae362
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-26 00:13:57 +00:00
Nextcloud bot
e6c6033911
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-25 00:12:23 +00:00