Louis Chmn
04ac405528
fix(S3): Only append streams if non-seekable
...
Later, when we rewind the stream in `writeMultiPart` during retry, both streams were rewinded, so the resulting stream was bigger than expected.
Inspired by https://github.com/aws/aws-sdk-php/blob/master/src/S3/ObjectUploader.php#L136-L146
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-10-14 18:54:31 +02:00
Marcel Müller
a2c2fdafb6
fix(appstore): Also catch ClientException and ServerException
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-10-01 23:20:34 +02:00
Robin Appelman
bdd96f8124
feat: move primary object store configuration to a single place
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-30 10:38:13 +02:00
Benjamin Gaussorgues
8fbd7633fe
feat(db): add SSL/TLS support for PostgreSQL
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-09-22 15:03:46 +02:00
Louis Chemineau
fed6805c82
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:17 +00:00
Carl Schwan
5b49932b30
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 18:04:18 +02:00
Louis Chemineau
05ffa8dc39
feat: Support limit argument in getSeenUsers
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-11 16:10:28 +02:00
Carl Schwan
2322f28bed
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:33 +00:00
Ferdinand Thiessen
a203129440
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:35 +00:00
Christoph Wurst
6aad2b3cfa
fix(dav): Mark removal of dav object properties as expensive
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-09-03 09:34:44 +02:00
Marcel Klehr
d9bb246968
fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-08-27 22:05:50 +00:00
Joas Schilling
e8cb737c1c
fix(2fa): Fix 2FA session setup when ephemeral session is used
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-26 13:46:41 +00:00
Côme Chilliet
afa85490c9
fix(encryption): Fix TypeError when trying to decrypt unencrypted file
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-26 08:36:15 +02:00
Thomas Citharel
eb4dbdc8b1
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:41 +00:00
Git'Fellow
fd80132638
fix(AppManager): Argument must be of type array|object
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-08-20 18:12:55 +00:00
Ferdinand Thiessen
1a064d867c
fix(installer): ensure valid tempFile & extractDir
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-19 00:29:37 +02:00
Benjamin Gaussorgues
d9d21f95f3
Merge pull request #54323 from nextcloud/backport/54238/stable30
2025-08-07 16:39:20 +02:00
Stephan Orbaugh
d308e61847
Merge pull request #54251 from nextcloud/backport/54203/stable30
...
[stable30] fix: fix oci string length with empty strings
2025-08-07 15:21:44 +02:00
Robin Appelman
1859f03697
feat: allow admins to configure additional sensitive config values
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-07 13:09:37 +00:00
Daniel Calviño Sánchez
775124af5f
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 19:50:55 +02:00
Git'Fellow
94a5e1440e
Merge pull request #54205 from nextcloud/backport/54182/stable30
...
[stable30] fix: don't update cached mountpoints if the request doesn't have filesystem access
2025-08-06 14:18:02 +02:00
John Molakvoæ
3ae3932cbf
Merge pull request #54271 from nextcloud/backport/54270/stable30
...
[stable30] fix(core): ensure unique vcategory
2025-08-06 13:00:44 +02:00
Ferdinand Thiessen
6c4460f3e4
Merge pull request #54267 from nextcloud/backport/54266/stable30
...
[stable30] fix(lib): get fileinfo before locking
2025-08-06 11:26:45 +02:00
skjnldsv
cefe724474
fix(core): ensure unique vcategory
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-06 10:09:58 +02:00
Kate
d4ab8912a6
Merge pull request #54132 from nextcloud/backport/51602/stable30
2025-08-05 22:12:22 +02:00
skjnldsv
55e9491011
fix(lib): get fileinfo before locking
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-05 17:39:47 +00:00
Côme Chilliet
1506b79e54
chore: Adapt ProviderFactory to change in DefaultShareProvider constructor
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-05 15:05:31 +02:00
Joas Schilling
3a5bf443e8
fix(logging): Fix query logging with DateTimeImmutable parameters
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-05 10:29:12 +00:00
Robin Appelman
fead082998
fix: fix oci string length with empty strings
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-05 10:18:47 +00:00
Robin Appelman
8519f5adb0
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:33 +00:00
John Molakvoæ
8b88957d6f
Merge pull request #54052 from nextcloud/backport/54051/stable30
2025-08-01 09:52:51 +02:00
Daniel
65a661f9f4
Merge pull request #54116 from nextcloud/backport/52778/stable30
...
[stable30] fix: check if properties exist before using them
2025-07-31 18:55:54 +02:00
Daniel Calviño Sánchez
6ff15ef530
fix: Do not show password dialog when user can not validate password
...
The password confirmation dialog is always shown unless the user backend
does not allow password confirmation. A user backend may explicitly
provide that information, but even if it does not that could have been
defined in the authentication token with
"IToken::SCOPE_SKIP_PASSWORD_VALIDATION" (for example, when "user_oidc"
is only used for authentication and user provision is done by another
user backend).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-29 15:54:57 +00:00
Côme Chilliet
32dc724186
fix: Use default share folder of the user on share accept
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:22:33 +00:00
Joas Schilling
286c10c8b9
Merge pull request #54104 from nextcloud/backport/54027/stable30
...
[stable30] fix(ConnectionFactory): Apply Oracle connection fix to primary and replica params as well
2025-07-29 09:51:41 +02:00
SebastianKrupinski
0641006b02
fix: check if properties exist before using them
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-28 12:03:50 -04:00
Joas Schilling
57651bba13
fix(cron): Fix infinite loop on ParallelAware blocked jobs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-28 08:29:07 +02:00
Marcel Klehr
ad9311a9ec
fix(ConnectionFactory): Apply Oracle connection fix to primary and replica params as well
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-07-28 06:13:57 +00:00
Christoph Wurst
f15b732039
fix(session): log when ephemeral sessions are closed
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-07-23 07:38:34 +00:00
Joas Schilling
c25dbf797d
fix(update): Correctly trigger update for auto-disabled local apps
...
When updating a local app we still need to run updateApp
so that repair steps and migrations are correctly executed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-21 12:09:30 +00:00
Daniel Calviño Sánchez
9899c7b644
Merge pull request #53901 from nextcloud/backport/53501/stable30
...
[stable30] fix: Fix theming for disabled accounts
2025-07-11 13:54:16 +02:00
John Molakvoæ
edd80b51ef
Merge pull request #53908 from nextcloud/backport/53887/stable30
2025-07-11 10:11:44 +02:00
skjnldsv
9cbf2edf97
fix: force lowercase emails
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 09:05:27 +02:00
Daniel Calviño Sánchez
e8e41ccf40
fix: Throw specific LoginException when the user is disabled
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-11 04:43:45 +02:00
諏訪子
1a2f69e0e7
fix(settings): add link check in webfinger
...
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:24 +00:00
諏訪子
3817a4b445
fix(settings): change Mastodon only URI to webfinger
...
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:23 +00:00
Ferdinand Thiessen
a37bbc51c0
Merge pull request #53699 from nextcloud/backport/53665/stable30
...
[stable30] fix(encryption): Catch exceptions in encrypt-all command and continue
2025-07-03 16:59:22 +02:00
Côme Chilliet
72eba38e20
fix(encryption): Correctly handle file opening and copying failures
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 14:02:48 +02:00
Arthur Schiwon
cc4699aea1
fix: unbloc ffmpeg on some broken videos
...
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-03 10:47:19 +02:00
Kent Delante
af5e411ec0
fix(syslog): open syslog channel on write
...
This fixes a bug where only one tag gets used when multiple tags have
been configured (e.g. different tags for 'syslog_tag' and 'syslog_tag_audit')
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-07-02 01:45:40 +00:00