Commit Graph

8286 Commits

Author SHA1 Message Date
Ferdinand Thiessen 2ccab88ef7 Merge pull request #61147 from brlin-tw/add-tsv-support
fix(mimetype): Add TSV support in mimetype aliases, mapping, and names
2026-06-25 13:13:48 +02:00
Ferdinand Thiessen 5fa2c42862 chore(tests): adjust PlayWright tests to follow ESLint rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-24 13:16:04 +02:00
Ferdinand Thiessen f95f3e7895 test(settings): migrate personal settings tests to PlayWright
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-23 18:30:14 +02:00
Ferdinand Thiessen b842cbb364 test: fix useless waiting for app config cache
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-23 18:30:14 +02:00
Ferdinand Thiessen b245d2dcc9 test(settings): migrate end-to-end tests to PlayWright
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-23 18:30:14 +02:00
Carl Schwan e76d290b67 Merge pull request #61440 from nextcloud/carl/findIn-mount-point
perf(View):  don't sort twice the same array
2026-06-23 14:00:21 +02:00
Carl Schwan e6b5f763a4 perf: Avoid sorting an already sorted array
Improve performance a bit as this is in the hotpath and take ~2s in
prod.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-06-23 13:11:42 +02:00
Carl Schwan a213e6bb1d Merge pull request #61011 from nextcloud/carl/cleanup-preview
fix(preview): First cleanup from filecache and then from preview table
2026-06-23 11:08:57 +02:00
Ferdinand Thiessen a430a14019 chore: adjust code to comply with ESLint rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-22 21:40:38 +02:00
Peter Ringelmann c02772761f test(files_trashbin): migrate trashbin e2e from Cypress to Playwright
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-22 20:45:25 +02:00
Carl Schwan 09aea6312b fix(preview): Don't abort cleanup of previews too early
If we don't find previews in the filecache, this is now normal. Don't
abort and instead delete previews from the new preview table instead.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-06-22 16:35:33 +02:00
Côme Chilliet 32f8ff2445 fix: Remove uses of deprecated service string names
Use the class/interface name instead to avoid logging.
This was breaking in some cases as logging would trigger a deprecation
 warning, resulting in an infinite loop.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-22 11:19:00 +02:00
Carl Schwan f1d26355ce fix(tests): Fix tests for mimetypes
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-06-21 22:00:27 +02:00
Andy Scherzinger 72025c0b56 Merge pull request #61221 from nextcloud/test/migrate-files-selection-playwright
test(files): migrate files selection e2e from Cypress to Playwright
2026-06-21 19:27:38 +02:00
Peter R. 577f8a2faa fix: use accessible state checkbox selector instead of CSS
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Peter R. <peter.ringelmann@nextcloud.com>
2026-06-18 15:15:31 +02:00
Micke Nordin a88fdcbed5 Merge pull request #57234 from enriquepablo/master
Implement token exchange from OCM
2026-06-18 11:33:24 +02:00
Benjamin Gaussorgues ede0284e3b Merge pull request #61168 from nextcloud/fix/memcached_ci
Fix Memcached CI job
2026-06-17 14:17:48 +02:00
Enrique Pérez Arnaud 3616212ba2 feat(files_sharing): store and refresh OCM access tokens for external shares
Co-authored-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
2026-06-17 11:01:16 +02:00
Enrique Pérez Arnaud 4d56c74ba7 feat(ocm): advertise exchange-token capability and token endpoint
Co-authored-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
2026-06-17 11:01:14 +02:00
Enrique Pérez Arnaud ac2f9816a6 feat(auth): support permanent OCM refresh tokens and bearer login
Co-authored-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
2026-06-17 10:44:51 +02:00
Andy Scherzinger 9af6fe9500 Merge pull request #61053 from bygadd/fix/taskprocessing-worker-atomic-claim
fix(taskprocessing): claim tasks atomically so parallel workers don't duplicate
2026-06-17 10:21:33 +02:00
Peter Ringelmann 09c94c50f7 test(files): migrate files selection e2e from Cypress to Playwright
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-17 10:02:47 +02:00
Andy Scherzinger c409abfc63 Merge pull request #61322 from nextcloud/fix/improve-password-confirmation-middleware
fix: Do not set last-password-confirm for apptoken sessions
2026-06-16 19:49:28 +02:00
Micke Nordin ebc6ef64a0 Merge pull request #61126 from nextcloud/kano-fix-ocm-discovery
fix(ocm): merge resource types by name in discovery
2026-06-16 15:43:18 +02:00
Peter R. 7286f27f3e Merge pull request #61165 from nextcloud/test/migrate-files-copy-move-playwright
test(files): migrate copy/move e2e from Cypress to Playwright
2026-06-16 14:31:36 +02:00
Carl Schwan f75f0cca41 Merge pull request #61223 from nextcloud/test/migrate-files-download-playwright
test(files): migrate files download e2e from Cypress to Playwright
2026-06-16 11:59:52 +02:00
Côme Chilliet f7f9a47ceb fix: Do not set last-password-confirm for apptoken sessions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-16 11:59:13 +02:00
Peter Ringelmann 6629aa242b fix: use files permission enum
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-16 11:58:16 +02:00
Peter Ringelmann 0884927470 test(files): migrate copy/move e2e from Cypress to Playwright
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-16 11:58:16 +02:00
Micke Nordin 64a23d457f test(ocm): Add tests for deduplication of resourceTypes
Also update 3rdparty

Assisted-by: ClaudeCode:claude-fable-5
Signed-off-by: Micke Nordin <kano@sunet.se>
2026-06-16 11:30:24 +02:00
Joas Schilling 45a4c10612 Merge pull request #61275 from nextcloud/jtr/test-S3-testFileSizes
test(s3): fix flaky EOF check and remove PHP 8.5 skip
2026-06-15 17:38:59 +02:00
Yoan Bozhilov 022531b997 fix(taskprocessing): guard lockTask on scheduled, record started_at, Oracle fallback
Address review feedback (@marcelklehr, Copilot):
- lockTask claims only SCHEDULED tasks (was status != RUNNING) and stamps
  started_at in the same atomic UPDATE, so a finished task cannot be re-claimed
  and the external-provider claim path records started_at as well.
- claimWithBoundedRetry re-reads after lockTask instead of a follow-up UPDATE.
- Oracle joins SQLite on the bounded-retry fallback: Oracle cannot combine a
  row-limiting clause with FOR UPDATE (ORA-02014), which failed the claim tests
  on Oracle CI.
- Reword the worker docblock/comments to "prefer oldest available" (parallel
  SKIP LOCKED does not guarantee a strict global order).
- Add a regression test that lockTask does not resurrect a finished task.

Signed-off-by: Yoan Bozhilov <bygadd@gmail.com>
Assisted-by: Claude Code:claude-opus-4-8
2026-06-15 16:37:34 +02:00
Yoan Bozhilov 0799454a1f fix(taskprocessing): claim tasks atomically with SKIP LOCKED + composite index
Replace the worker retry/ignore-list claim-loop with a single atomic
SELECT ... FOR UPDATE SKIP LOCKED claim (SQLite bounded-retry fallback),
preserving the no-duplicate guarantee while removing the thundering-herd
contention that throttled backlog draining. Add a (status,type,last_updated)
index via the table-creating migration + db:add-missing-indices listener.

Signed-off-by: Yoan Bozhilov <bygadd@gmail.com>
Assisted-by: Claude Code:claude-opus-4-8
2026-06-15 16:37:34 +02:00
Côme Chilliet 088dba3c20 chore: Fix CreateSessionTokenCommandTest and add test for ephemeral session
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-15 15:28:38 +02:00
Josh 384e21b824 test(s3): drop unnecessarily added fclose
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-06-13 10:21:26 -04:00
Josh ba4924b331 test(s3): make testFileSizes EOF assertion more robust
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-06-13 10:01:52 -04:00
Ferdinand Thiessen a0a8ee5144 Merge pull request #61225 from nextcloud/test/pw-login
test(login): migrate end-to-end tests to PlayWright
2026-06-12 16:29:42 +02:00
Benjamin Gaussorgues 5e6a86ac6c fix(ci): fix Memcached CI job
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-12 15:36:56 +02:00
Benjamin Gaussorgues 28d32d8fff feat(snowflake): allows to generate Snowflake IDs matching a timestamp
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-12 13:53:10 +02:00
Benjamin Gaussorgues 60ce92a697 feat(utils): add getter for serverid with proper default
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-12 13:53:10 +02:00
Carl Schwan d71abde220 Merge pull request #61218 from nextcloud/fix/playwright-local-test-server-config
test(playwright): fix local test server config for SQLite runs
2026-06-12 11:49:17 +02:00
Ferdinand Thiessen 1d7419fd52 test(login): migrate end-to-end tests to PlayWright
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-12 11:08:22 +02:00
Benjamin Gaussorgues 38ce28ffc9 Merge pull request #57081 from NoahOksuz/excludedisabled
added a exclude disabled option to last seen
2026-06-12 10:01:42 +02:00
Ferdinand Thiessen 5fd406c784 test(core): migrate end-to-end test to PlayWright
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-12 01:13:44 +02:00
Peter Ringelmann 3e2100bf6d test(files): migrate files download e2e from Cypress to Playwright
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-11 23:44:33 +02:00
Peter Ringelmann a51d520c04 fix: remove sql line
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-11 23:37:05 +02:00
Peter Ringelmann 5137f3030e fix: remove uneccessary dbconfig change
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-11 23:37:05 +02:00
Peter Ringelmann b0e823f9eb test(playwright): fix local test server config for SQLite runs
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
2026-06-11 23:37:05 +02:00
noah 4b94fd48d1 feat: add a exclude disabled option to last seen
Signed-off-by: noah <noah.oeksuez@cyphersec.eu>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 20:21:23 +02:00
provokateurin 3ee06f338c ci(PHP): Only test against highest and lowest supported PHP versions
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-11 20:04:56 +02:00