Commit graph

15564 commits

Author SHA1 Message Date
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
Joas Schilling
8309fa5c29
Merge pull request #54108 from nextcloud/backport/54068/stable31
[stable31] fix(cron): Fix infinite loop on ParallelAware blocked jobs
2025-07-31 09:35:12 +02:00
Kate
0289c688c1
Merge pull request #54042 from nextcloud/fix/noid/mark-searchkeys-as-internal 2025-07-30 22:00:41 +02:00
Daniel Calviño Sánchez
aa4e7f92f7 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:55:09 +00:00
Joas Schilling
9b92839e00 fix(cron): Fix infinite loop on ParallelAware blocked jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-07-28 06:23:11 +00:00
Marcel Klehr
8173f5eb44 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:14:08 +00:00
Joas Schilling
df3655420c
Merge pull request #54022 from nextcloud/backport/53986/stable31
[stable31] fix(update): Correctly trigger update for auto-disabled local apps
2025-07-23 12:01:33 +02:00
Daniel Kesselberg
9f8064aae2 fix(imip): group messages by logging principal and uri as context
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-23 09:21:29 +00:00
Maxence Lange
c15b7aa2a0 fix(appconfig): mark searchKeys() as internal until 32
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-22 12:21:29 -01:00
Joas Schilling
600cc6ebe5 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:42 +00:00
Maxence Lange
4348217b47 feat(appconfig): add searchKeys()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-07-21 10:27:50 +00:00
Daniel Calviño Sánchez
3f03fedb12
Merge pull request #53902 from nextcloud/backport/53501/stable31
[stable31] fix: Fix theming for disabled accounts
2025-07-11 12:52:12 +02:00
Kate
eb2f30911e
Merge pull request #53907 from nextcloud/backport/53887/stable31 2025-07-11 10:10:16 +02:00
Kate
20b41645e6
Merge pull request #53843 from nextcloud/backport/53109/stable31 2025-07-11 09:08:52 +02:00
skjnldsv
523fb38678 fix: force lowercase emails
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 09:05:47 +02:00
Daniel Calviño Sánchez
ce8baf75c6 fix: Throw specific LoginException when the user is disabled
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-11 02:50:58 +02:00
skjnldsv
13253f5ede fix(systemtags): case-insensitive search & prevent duplicates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-10 08:50:23 +02:00
諏訪子
645b989619 fix(settings): add link check in webfinger
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:19 +00:00
諏訪子
8f0f6e6aac fix(settings): change Mastodon only URI to webfinger
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-07-07 10:02:19 +00:00
Côme Chilliet
e2861b42d1 fix(encryption): Correctly handle file opening and copying failures
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Jana Peper
3f176632b2
test: fix tests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 11:37:48 +02:00
Jana Peper
a598d453e9 feat: add toggle for AI guest restriction
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 09:00:40 +00:00
Kent Delante
79ee6daee5 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-03 13:41:57 +08:00
Joas Schilling
d1a554fba0
feat(occ): Add commands to list all routes and match a single one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-26 17:12:33 +02:00
Andy Scherzinger
7743021d02
Merge pull request #53655 from nextcloud/backport/53420/stable31
[stable31] fix: make Rotate a TimedJob and run every hour
2025-06-24 19:51:58 +02:00
Richard Steinmetz
a402a84544
fix: revive always storing lowercased email addresses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-24 14:24:48 +02:00
Salvatore Martire
e3b3a8df7e fix: make rotate logs a TimedJob and run every hour
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-24 08:28:08 +00:00
Kent Delante
f40d14abac fix(s3): retry failed multipart uploads with decreased concurrency
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-06-20 18:24:16 +08:00
Jana Peper
326cb9c75c
feat: add ocs route to get apps enabled for current user
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:37:13 +02:00
Daniel Kesselberg
43a9fd4b1f
fix: clear opcache after app extraction
clear opcache post app update extraction to prevent outdated files issues.

opcache.validate_timestamps=0 disables automated file modification checks.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-18 20:28:48 +02:00
Andy Scherzinger
ae5febb34d
Merge pull request #53532 from nextcloud/backport/53498/stable31
[stable31] fix(ObjectStore): Make S3 "connect_timeout" option configurable
2025-06-18 11:02:37 +02:00
Côme Chilliet
d769a5c001
fix: Fix Undefined array key "flags" on upgrade
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-17 10:13:16 +02:00
Daniel Calviño Sánchez
019b535868 fix(ObjectStore): Make S3 "connect_timeout" option configurable
The hardcoded connection timeout of 5 seconds may not be enough in some
cases, so now it is got from the ObjectStore arguments in Nextcloud
configuration, falling back to 5 if not set.

The connection timeout is set in seconds, but decimal precision can be
used for subsecond accuracy (for example, 4.2 for 4200 milliseconds).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-06-17 03:30:55 +00:00
Joas Schilling
349196d9ec fix(notifications): Fix check for hasNotifiers when all apps use RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-12 22:00:46 +02:00
Andy Scherzinger
4c87759068
Merge pull request #53452 from nextcloud/backport/53427/stable31
[stable31] fix: allow hinting the shard keys for joined tables
2025-06-12 21:31:27 +02:00
Andy Scherzinger
8729a42328
Merge pull request #53380 from nextcloud/backport/48210/stable31
[stable31] fix: Run cleanByMoundId query on all shards
2025-06-12 18:56:54 +02:00
Robin Appelman
f764c62ac0 fix: allow hinting the shard keys for joined tables
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 13:42:12 +00:00
Arthur Schiwon
6e9bccddf4
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-06-12 11:58:47 +02:00
Joas Schilling
efb2a9376b fix: Run cleanByMoundId query on all shards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-08 09:28:02 +02:00
Julien Veyssier
6ea5127229
fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-02 23:26:50 +02:00
Robin Appelman
edfb7b2393 perf: set the folder size in the same query as we create it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-02 09:56:29 +00:00
Louis Chemineau
9d26571eb2 fix(S3): Use original folder size during copy
This prevent having copied folders with a wrongly set size of 0KB.

- Fix https://github.com/nextcloud/server/issues/51916

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-06-02 09:56:29 +00:00
Maxence Lange
df1489343a fix(metadata): set background job on fresh setup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-29 14:52:23 +02:00
Jonas
ed492c5c70 fix(node): emit hooks on Node::copy()
When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called,
but `Files\View::fakeRoot` is empty so the hooks are not emitted if no
path is given to `Files\View::shouldEmitHooks()`.

This results in node-related events like `NodeCopiedEvent` not being
fired when copying files via `Files\Node\Node::copy()`.

`Files\View::shouldEmitHooks()` is given a path as parameter in almost
all places except when called from the `copy()` function. This commit
changes it and passes the copy target path.

Fixes: nextcloud/collectives#1756

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-28 11:50:11 +00:00
Edward Ly
e39d42c182 fix(TaskProcessing): increase task cleanup delay
Signed-off-by: Edward Ly <contact@edward.ly>
2025-05-27 07:47:33 -07:00
Louis Chemineau
bab9587f3d fix(blurhash): Skip generation the if previews are disabled.
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-27 12:56:31 +00:00
Jonas
8f9aeeb556 fix(FileReferenceEventListener): Invalidate cache after node was renamed
Fixes: nextcloud/collectives#1527

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 10:20:31 +00:00
Christoph Wurst
704c22fa56 fix(log): map all warnings to warn log level, notice to info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-05-27 06:22:56 +00:00