Kate
5ed7c0e0c9
Merge pull request #58433 from nextcloud/backport/58402/stable33
...
[stable33] fix(Propagator): Skip groupfolders root entries
2026-02-19 18:20:05 +01:00
provokateurin
72d18abe62
fix(Propagator): Skip groupfolders root entries
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-02-19 13:09:07 +00:00
Benjamin Gaussorgues
fd925b95ce
fix(perf): use index when deleting old previews
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-02-19 13:07:15 +00:00
Ferdinand Thiessen
5538b7b098
Merge pull request #58374 from nextcloud/backport/58327/stable33
...
[stable33] feat: add upload_time support to file search and recent files
2026-02-19 02:06:46 +01:00
Cristian Scheid
8655c6ecc7
feat: add upload_time support to file search and recent files
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-02-17 10:48:42 +00:00
Robin Appelman
e0b238533f
fix: don't try to create preview folder if it already exists
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-02-13 14:10:59 +00:00
Carl Schwan
c844689b86
fix(preview): Fix files:app-data-scan for previews
...
And add unit tests for both migrated files and non-migrated files
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-12 01:54:36 +01:00
Andy Scherzinger
394f775316
Merge pull request #58271 from nextcloud/backport/58216/stable33
...
[stable33] fix(preview): Handle unique constraints
2026-02-11 21:16:27 +01:00
Andy Scherzinger
3aa9d8cdf0
Merge pull request #58270 from nextcloud/backport/58223/stable33
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Integration sqlite / changes (push) Waiting to run
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, --tags ~@large files_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, capabilities_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, collaboration_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, comments_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, dav_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, federation_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, file_conversions) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, files_reminders) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, filesdrop_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, ldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, openldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, openldap_numerical_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, remoteapi_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, routing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, setup_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, sharees_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, sharing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, theming_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, videoverification_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite-summary (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis (push) Waiting to run
Psalm static code analysis / static-code-analysis-security (push) Waiting to run
Psalm static code analysis / static-code-analysis-ocp (push) Waiting to run
Psalm static code analysis / static-code-analysis-ncu (push) Waiting to run
[stable33] fix: correctly quote tablenames for truncating with oracle
2026-02-11 20:47:41 +01:00
Carl Schwan
90eedeabc5
fix(preview): Handle unique constraints
...
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-11 19:21:12 +00:00
Andy Scherzinger
387d1dbe38
Merge pull request #58198 from nextcloud/backport/58134/stable33
...
[stable33] fix(propagator): Improve lock behavior of propagator
2026-02-11 19:59:42 +01:00
grnd-alt
ad24d47f4a
fix: correctly quote tablenames for truncating with oracle
...
Signed-off-by: grnd-alt <git@belakkaf.net>
2026-02-11 17:00:34 +01:00
Carl Schwan
3d031b03f3
fix(propagator): Lock rows also in propagateChange
...
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-11 16:25:18 +01:00
Carl Schwan
cae742d182
fix(propagator): Improve lock behavior of propagator
...
Fix possible dead locks when running the propagator caused by two
requests updating the same amount rows in transactions.
- Lock rows always in the same deterministic order by sorting the
path_hash first
- On all database outside of sqlite, also do first a SELECT FOR UPDATE
to lock all the rows used in batch UPDATE calls, afterward to decrease
the risk of two requests trying to lock the same rows
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-11 16:25:12 +01:00
Carl Schwan
3facd02e51
fix(preview): Fix scanning preview
...
Make sure we set the mimetype string representation and not int
representation.
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-02-10 11:39:29 +00:00
Andy Scherzinger
9bcc2eeef2
Merge pull request #58114 from nextcloud/backport/58011/stable33
...
[stable33] fix(TaskProcessing): Refactor TextToImage fallback
2026-02-10 12:18:50 +01:00
Anna Larch
eef7422957
fix(snowflake): cast lastId to int
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-02-10 10:46:33 +00:00
Andy Scherzinger
e675896eaf
Merge pull request #58120 from nextcloud/backport/57854/stable33
...
[stable33] feat: Add SetupCheck to warn about missing second factor provider
2026-02-05 23:26:26 +01:00
Côme Chilliet
cc53fb2735
feat: Add SetupCheck to warn about missing second factor provider
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-02-05 15:26:07 +00:00
Marcel Klehr
6942cfe353
Fix: Run cs:fix
2026-02-05 14:54:27 +00:00
Marcel Klehr
a33349921e
fix(TaskProcessing): Refactor TextToImage fallback
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2026-02-05 14:54:27 +00:00
Benjamin Frueh
b75a1bce15
feat(dav): allow extending propfind properties via event
...
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
Update lib/public/Files/Events/BeforePropfindEvent.php
Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>
Update lib/public/Files/Events/BeforePropfindEvent.php
Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>
refactor: rename BeforePropfindEvent to BeforeRemotePropfindEvent
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
chore: update composer autoloader for new event class
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>
Update lib/public/Files/Events/BeforeRemotePropfindEvent.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>
2026-02-05 13:31:33 +01:00
Benjamin Gaussorgues
001f90b6a4
chore(openmetrics): export only "real" files count
...
Other files like files in trashbin or file versions should be exported
by related app
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-02-05 08:55:53 +00:00
Louis Chmn
0e67f6c9f5
fix(files_sharing): Move path filtering to group share resolution
...
Previously, this was preventing users without a specific USERGROUP entry to see GROUP shares.
Signed-off-by: Louis Chmn <louis@chmn.me>
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2026-02-04 18:16:03 +00:00
Andy Scherzinger
cdbcfea1ff
Merge pull request #58055 from nextcloud/backport/57921/stable33
...
[stable33] fix(snowflakes): create file lock files into lock directory
2026-02-04 17:35:36 +01:00
Benjamin Gaussorgues
6531b5e41a
fix(snowflakes): create file lock files into lock directory
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-02-04 10:12:46 +00:00
Joas Schilling
d47a152b77
test(Updater): Harden flaky test
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-02-04 10:04:50 +00:00
Andy Scherzinger
baff429c1c
Merge pull request #58000 from nextcloud/setup-root-path-children-less-setup-33
...
[stable33] getById: don't setup for all users with access by default
2026-02-03 20:43:56 +01:00
Robin Appelman
f55afafc58
fix: getById: don't setup for all users with access by default
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-02-02 19:01:27 +01:00
Côme Chilliet
3b128eb102
feat: Add twofactor applications to most of the presets
...
All presets which are unlikely to have SSO in place should enable
twofactor applications.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-02-02 14:12:53 +00:00
Andy Scherzinger
4e3f0b5a2a
Merge pull request #57912 from nextcloud/backport/57815/stable33
...
[stable33] feat: optimize user mount cache
2026-01-29 20:56:45 +01:00
Andy Scherzinger
0bffb21acd
Merge pull request #57900 from nextcloud/backport/57890/stable33
...
[stable33] perf(UserMountCache): Invert condition so that we avoid some SQL queries
2026-01-29 20:10:05 +01:00
Andy Scherzinger
1f831c5ab8
Merge pull request #57913 from nextcloud/setup-root-path-children-33
...
[stable33] [33] still setup for user when setting up root path with children
2026-01-29 20:06:08 +01:00
Andy Scherzinger
7702b3cc42
Merge pull request #57858 from nextcloud/share-target-repair-33
...
[stable33] Add repair step for share targets with excess (2)
2026-01-29 19:32:42 +01:00
Robin Appelman
02cf3d7c89
fix: make sure all mounts are setup in getById
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-01-29 18:50:58 +01:00
Robin Appelman
b393b6f6a1
fix: add repair step for cleanup shares with excess (2)
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-01-29 18:19:51 +01:00
Robin Appelman
e00b60b89c
fix: make getMountsForFileId work with sharding again
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-01-29 17:06:57 +01:00
Robin Appelman
2f2a8fac61
fix: still setup for user when setting up root path with children
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-01-29 16:42:45 +01:00
Benjamin Gaussorgues
9590a7b801
feat: optimize user mount cache
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-01-29 15:36:39 +00:00
Carl Schwan
b72f879a21
perf(MountManager): use binary search to find mount in path
...
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-29 12:54:14 +00:00
Carl Schwan
fb2dbf0af4
perf(UserMountCache): Invert condition so that we avoid some SQL queries
...
getStorageId creates some SQL queries, while the other queries don't, so
compare that last.
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-01-29 10:13:51 +00:00
Andy Scherzinger
7b3c071951
Merge pull request #57889 from nextcloud/backport/stable33/55649
...
[stable33] On demand preview migration
2026-01-29 08:18:29 +01:00
Carl Schwan
fe2a1ce7aa
feat(preview): Make it possible to disable on preview migration
...
Signed-off-by: Carl Schwan <carlschwan@kde.org>
(cherry picked from commit 7a025ffb0b )
2026-01-28 22:36:09 +01:00
Carl Schwan
62ed106260
feat(preview): On demand preview migration
...
When requesting previews, which we don't find in oc_previews, search in
IAppData first before creating them.
Move the logic from MovepreviewJob to PreviewMigrationService and reuse
that in the Preview Generator.
At the same time rename MovePreviewJob to PreviewMigrationJob as it is a
better name.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
(cherry picked from commit 6149168129 )
2026-01-28 22:36:05 +01:00
Misha M.-Kupriyanov
5d42c9c5de
feat(install): dispatch InstallationCompletedEvent in Setup
...
Integrate event dispatching into Setup class:
- Inject IEventDispatcher dependency
- Dispatch InstallationCompletedEvent after successful installation
- Add Setup tests for event integration
- Update composer autoload for new class
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2026-01-28 20:27:36 +01:00
Andy Scherzinger
fe1701c51c
Merge pull request #57872 from nextcloud/setup-provider-all-authoritative-33
...
[stable33] fix: don't do full setup in setupForProvider if all requested providers are authoritative
2026-01-28 20:15:07 +01:00
Andy Scherzinger
8963ec0a32
Merge pull request #57870 from nextcloud/backport/57844/stable33
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Integration sqlite / changes (push) Waiting to run
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, --tags ~@large files_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, capabilities_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, collaboration_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, comments_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, dav_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, federation_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, file_conversions) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, files_reminders) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, filesdrop_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, ldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, openldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, openldap_numerical_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, remoteapi_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, routing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, setup_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, sharees_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, sharing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, theming_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (stable33, 8.4, stable33, videoverification_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite-summary (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis (push) Waiting to run
Psalm static code analysis / static-code-analysis-security (push) Waiting to run
Psalm static code analysis / static-code-analysis-ocp (push) Waiting to run
Psalm static code analysis / static-code-analysis-ncu (push) Waiting to run
[stable33] fix(user_ldap): Fix crash in some code path when a DN is longer that 64
2026-01-28 14:54:24 +01:00
Robin Appelman
bc1798cb33
fix: don't do full setup in setupForProvider if all requested providers are authoritative
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-01-28 13:36:10 +01:00
Côme Chilliet
56800a7f34
fix: Add missing @throws annotations in UserConfig
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-01-28 10:51:19 +00:00
Ferdinand Thiessen
4fba8736cf
test(preview): properly test postscript preview provider
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-28 10:25:08 +00:00