Côme Chilliet
14d6945054
fix(encryption): Take encryption enabled status into account
...
shouldEncrypt now returns false for all paths if encryption is disabled.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:18 +07:00
Côme Chilliet
12532bb535
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-09 11:46:18 +07:00
Côme Chilliet
94254db001
chore(encryption): Cleanup typing in EncryptAll/DecryptAll
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-09 11:46:18 +07:00
Côme Chilliet
b74c7538ac
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-09 11:46:17 +07:00
Louis
c8eeade151
Merge pull request #52825 from nextcloud/artonge/feat/files_trashbin_parallel_expire_job
2025-09-08 15:53:49 +07:00
Kate
af172b3ec3
Merge pull request #54920 from nextcloud/object-store-unique-buckets-names
2025-09-08 15:23:39 +07:00
Louis
bfb5db8f21
Merge pull request #54918 from invario/fix-preview-sparse-file
2025-09-08 11:21:56 +07:00
Josh
3a8b2b843e
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-07 14:30:34 +07:00
Robin Appelman
0c1d5e8c54
fix: ensure all object store configuration have distict bucket names
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:45:32 +07:00
invario
ba51caf5f4
Fix(previews): prevent infinite loop in case of bad video file
...
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 09:32:37 +07:00
Louis Chemineau
1d91e40fe8
feat: Support limit argument in `getSeenUsers`
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-05 12:45:38 +07:00
Julien Veyssier
8c447eaba6
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 11:37:34 +07:00
invario
97a0dde160
feat(previews): previews and tests for large remote videos w/o full download
...
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 10:08:19 +07:00
provokateurin
9473f47c0d
fix(Dispatcher): Catch TypeErrors and turn them into bad request responses
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-05 00:49:23 +07:00
Ferdinand Thiessen
3b8c50e2c7
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-04 11:57:44 +07:00
Marcel Klehr
7bd0b5704d
Merge pull request #54810 from nextcloud/feat/typed-tag-events
...
feat(SystemTag): Add typed events for tag mapper events
2025-09-04 11:19:28 +07: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 +07: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 +07: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 +07:00
Marcel Klehr
2bb2fa50ee
feat(SystemTag): Add typed events for tag mapper events
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-03 09:36:50 +07: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 +07:00
Kate
a3183f7a12
Merge pull request #54739 from nextcloud/fix/noid/limit-spam-on-strictness
2025-09-02 20:12:35 +07: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 +07: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 +07: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 +07: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 +07:00
Christoph Wurst
9a0892ca30
Merge pull request #53831 from nextcloud/feat/meeting-proposals
...
feat: Meeting Proposals
2025-09-02 13:16:33 +07: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 +07: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 +07: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 +07: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 +07:00
Louis Chemineau
a9d450285f
fix: Remove intro from presets
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-02 11:37:37 +07: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 +07: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 +07: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 +07:00
Marcel Klehr
a38cb61d4d
fix(RepairMimeTypes): Fix psalm issue
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-09-02 10:21:39 +07:00
Kate
1d50cf3b51
Merge pull request #54742 from nextcloud/carl/ParamNameMismatch
2025-09-01 21:00:06 +07: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 +07:00
Carl Schwan
76dc41ea18
fix(psalm): Fix ParamNameMismatch with IRepairStep::run
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-08-29 14:31:46 +07:00
Carl Schwan
ef5edb6801
fix(psalm): Fix ParamNameMismatch with Job::run
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-08-29 14:31:39 +07:00
SebastianKrupinski
7e92b157e3
fix: aliases and capitalization of emails
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-08-28 17:40:04 +07:00
Andy Scherzinger
f2de5c79cd
Merge pull request #54721 from nextcloud/bucket-mapper-fixes
...
fix: make bucket mapper work with new multi-object-store config
2025-08-28 19:33:47 +07:00
Robin Appelman
02f4a82088
fix: make bucket mapper work with new multi-object-store config
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-28 17:51:25 +07:00
Joas Schilling
3df6d90a4c
Revert "perf(base): Stop setting up the FS for every basic auth request"
2025-08-28 17:11:31 +07:00
John Molakvoæ
d785bcdc6e
Merge pull request #53920 from nextcloud/revert-53918-revert-53141-perf/files/setup-fs-basic-auth-request
2025-08-28 14:12:57 +07:00
Kate
f383db26eb
Merge pull request #54703 from nextcloud/fix/accounts/v2-scope-migration
2025-08-28 14:07:53 +07:00
Kate
a1709f576e
Merge pull request #54627 from nextcloud/fix/ocs/accept-header
2025-08-28 14:03:23 +07:00
provokateurin
bede81391b
fix(Accounts): Add back v2 scope migration
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 13:30:04 +07:00
provokateurin
e38dfef0dc
chore: Remove unused \OC\Cache\CappedMemoryCache
...
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-28 09:32:51 +07:00
provokateurin
eba11750eb
chore: Remove unused \OC\Cache\File
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-08-28 09:28:11 +07:00