Commit graph

25934 commits

Author SHA1 Message Date
Côme Chilliet
feef3cfa7d fix(encryption): Correctly set encrypted to 0 when copying
If encryption got disabled, copying should set encrypted to 0 for the
 new unencrypted copy. For instance when using encryption:decrypt-all

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-11 21:18:37 +02:00
Côme Chilliet
419711cd85 chore(encryption): Cleanup typing in EncryptAll/DecryptAll
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-11 21:18:37 +02:00
Côme Chilliet
3c818c8f92 fix(encryption): Do not depend upon user in session unless really necessary
Should fix a bunch of stuff when encryption listener is triggered by events from occ commands or background jobs

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-11 21:18:37 +02:00
Nextcloud bot
297817a18c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-10 19:34:43 +00:00
Nextcloud bot
2e9e5f696d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-10 00:14:02 +00:00
Louis Chemineau
bc0cdcf496 feat: Support limit argument in getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-09 08:26:56 +00:00
Andy Scherzinger
1c972dd81d
Merge pull request #54861 from nextcloud/backport/54842/stable32
[stable32] feat(migration-attributes): add DataCleansing
2025-09-09 09:15:43 +02:00
Andy Scherzinger
e5d1b9b983
Merge pull request #54945 from nextcloud/backport/54941/stable32
[stable32] fix(cache): Set default Redis port to `0` for UNIX sockets
2025-09-09 07:49:00 +02:00
Nextcloud bot
824fb2eb3c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-09 00:15:34 +00:00
Andy Scherzinger
dfaad9845f
Merge pull request #54906 from nextcloud/backport/54870/stable32
[stable32] fix: remove executable flag from source files
2025-09-08 22:46:22 +02:00
Robin Appelman
a8ee28ba62 fix: ensure all object store configuration have distict bucket names
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-08 13:23:47 +00:00
Josh
7993190bc6 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-08 09:12:07 +00:00
Nextcloud bot
c6623752c3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-08 00:13:41 +00:00
Nextcloud bot
2bb6609fb2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-07 00:14:48 +00:00
Nextcloud bot
77389f2900
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:40 +00:00
Julien Veyssier
856bb1e162 feat(taskprocessing): add manager method to get the list of available task type IDs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-09-05 10:10:39 +00:00
Nextcloud bot
0b1bc1171a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-05 00:13:55 +00:00
Ferdinand Thiessen
1538fa9e49
fix: remove executable flag from source files
(exceptions for real scripts, but source files never should be executable)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-05 01:20:07 +02:00
Marcel Klehr
c7b5031656 feat(SystemTag): Add typed events for tag mapper events
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-04 09:21:13 +00:00
Maxence Lange
80656e5ebc feat(migration-attributes): set as Consumable
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-04 09:02:00 +00:00
Maxence Lange
e6b9c575ad feat(migration-attributes): add DataCleansing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-04 09:02:00 +00:00
Nextcloud bot
ee82266210
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-04 00:12:58 +00:00
Andy Scherzinger
18abc8c09b
Merge pull request #54839 from nextcloud/carl/perf-seen-users
perf(users): Create lazy users in IUserManager::getSeenUsers
2025-09-03 18:49:44 +02:00
Ferdinand Thiessen
bc2321db94
Merge pull request #54821 from nextcloud/fix/use-filename-validator-for-filesyste
fix(Filesystem): use FilenameValidator for `Filesystem::isFileBlacklisted`
2025-09-03 16:24:27 +02:00
Carl Schwan
5215954ee4 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 15:24:02 +02:00
Nextcloud bot
74ff2c03cd
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-03 00:12:39 +00:00
Daniel
478b0123b8
Merge pull request #50391 from nextcloud/fix/dav/remove-object-properties-expensive
fix(dav): Mark removal of dav object properties as expensive
2025-09-02 21:36:04 +02:00
Kate
a3183f7a12
Merge pull request #54739 from nextcloud/fix/noid/limit-spam-on-strictness 2025-09-02 20:12:35 +02:00
Ferdinand Thiessen
a31e520019
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-02 19:02:25 +02:00
Carl Schwan
d73537dd60
Merge pull request #54664 from nextcloud/carl/port-away-execute-lib
Port away from IQueryBuilder::execute in lib/ and tests/ and fix invalid usage of UniqueConstraintViolationException
2025-09-02 14:38:11 +02:00
max-nextcloud
4927a283bd
Merge pull request #54798 from nextcloud/enh/different-color-for-guest-with-same-name
enh(avatars): use different colors for guests for the same name
2025-09-02 14:04:21 +02:00
Maxence Lange
46ced9df22 fix(lexicon): send single notice/warning when using unknown config key
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-02 10:51:44 -01:00
Christoph Wurst
9a0892ca30
Merge pull request #53831 from nextcloud/feat/meeting-proposals
feat: Meeting Proposals
2025-09-02 13:16:33 +02:00
Andy Scherzinger
88ba65bcd4
Merge pull request #54800 from nextcloud/artonge/fix/remove_intro_from_presets
fix: Remove intro from presets
2025-09-02 12:36:04 +02:00
Carl Schwan
996be0f441 fix(comments): Don's catch invalid DriverException
These are nowadays also OCP\DB\Exception and if the id is not a numeric
deleting by id is also non working.

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:58 +02:00
Carl Schwan
c4e6fbdae7 fix(query-builder): Don't catch UniqueConstraintViolationException
UniqueConstraintViolationException is no longer throw directly but
instead is now wrapped inside a \OCP\DB\Exception. So check the
exception reason.

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:58 +02:00
Carl Schwan
c21b8169ff refactor(querybuilder): Port away from qb::execute() in lib/
Replace by either executeStatement or executeQuery

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-09-02 11:55:56 +02:00
Louis Chemineau
a9d450285f
fix: Remove intro from presets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-02 11:37:37 +02:00
Max
78022f5447
feat(avatars): use different colors for guests for the same name
Make it harder to impersonate users who have not set their avatar.

Signed-off-by: Max <max@nextcloud.com>
2025-09-02 11:31:14 +02:00
Christoph Wurst
ffd2b3bde0
fix(dav): Mark removal of dav object properties as expensive
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-02 10:49:13 +02:00
SebastianKrupinski
ff4fdf1af8
feat: meeting proposals
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-09-02 10:34:19 +02:00
Marcel Klehr
a38cb61d4d fix(RepairMimeTypes): Fix psalm issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-02 10:21:39 +02:00
Nextcloud bot
2f2049cbeb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-02 00:12:15 +00:00
Kate
1d50cf3b51
Merge pull request #54742 from nextcloud/carl/ParamNameMismatch 2025-09-01 21:00:06 +02:00
Marcel Klehr
61bb2dca40
Merge pull request #54737 from nextcloud/feat/text-ext
feat: Add text/plain MIME type mapping for 'text' extension
2025-09-01 13:36:25 +02:00
Marcel Klehr
8c93c00fd7 feat: Add text/plain MIME type mapping for 'text' extension
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-01 13:13:56 +02:00
Carl Schwan
6ee28229d5
Merge pull request #54775 from nextcloud/carl/delete-lostpassword-token
fix(lostpassord): Delete lost password token on password change
2025-09-01 12:05:24 +02:00
Andy Scherzinger
03f22074d9
Merge pull request #54713 from nextcloud/fix/fix-status.php-cookies
fix(status.php): Fix samesite cookies
2025-09-01 11:48:27 +02:00
Carl Schwan
1d3c3cfb80 fix(lostpassword): Delete lost password token on password change
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-01 11:36:15 +02:00
Côme Chilliet
22160b9d2b
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-01 10:52:31 +02:00