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
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Psalm static code analysis / changes (push) Waiting to run
Psalm static code analysis / static-code-analysis (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-security (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ocp (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ncu (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-strict (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-summary (push) Blocked by required conditions
fix(taskprocessing): claim tasks atomically so parallel workers don't duplicate
2026-06-17 10:21:33 +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
...
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (javascript-typescript) (push) Waiting to run
Psalm static code analysis / changes (push) Waiting to run
Psalm static code analysis / static-code-analysis (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-security (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ocp (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ncu (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-strict (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-summary (push) Blocked by required conditions
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
Ferdinand Thiessen
9bc22fd2c4
chore: apply code style
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-11 17:19:41 +02:00
Louis
da706223e4
Merge pull request #61140 from nextcloud/fix/fix-deprecations-in-tests
...
Fix deprecations in tests
2026-06-11 14:48:10 +02:00
Carl Schwan
c882abff2e
Merge pull request #60957 from nextcloud/carl/simplify-di-init
...
refactor(server): Register alias when needed
2026-06-11 13:57:35 +02:00
Louis Chmn
b4f2a71987
chore: Fix reuse licence after #60840
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-06-11 12:02:10 +02:00
Louis
73272c36de
Merge pull request #60840 from rodrigocorreiaist/feature/db-diagnostics
...
feat(db): add occ db:info, db:size, db:index-usage and db:locks
2026-06-11 11:29:49 +02:00
Louis
08c38d8aec
Merge pull request #61175 from nextcloud/ci/playwright
...
test(systemtags): migrate from Cypress to PlayWright
2026-06-11 11:26:58 +02:00
Louis
996fcfe443
Merge pull request #57216 from Roszakos/2fa-stateless-provider-interface
...
feat (2fa): Add IStatelessProvider interface
2026-06-11 11:01:23 +02:00
Daphne Muller
69af641e34
Merge pull request #60500 from nextcloud/enh/noid/taskprocessing-streaming
...
On behalf of Julien
2026-06-11 10:22:33 +02:00
Côme Chilliet
d8a6ab54e7
chore(tests): Use /dev/shm as a tempdirectory
...
Should fix tests in phpunit-32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-11 09:45:33 +02:00
Côme Chilliet
a8f21da1f7
fix: Fix data directory permission check and its test
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-11 09:45:32 +02:00
Côme Chilliet
9fe62b6338
chore(tests): Speed up TARTest by compressing a smaller folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-11 09:45:32 +02:00
Côme Chilliet
f2c32823d4
chore(tests): Fix typo resulting in tests issue
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:32 +02:00
Côme Chilliet
d881bca11f
chore(tests): Adapt tests to IUser strict typing
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:31 +02:00
Côme Chilliet
c7a5ca60ec
chore(tests): Exclude files_external tests from default testsuite
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:31 +02:00
Côme Chilliet
a51886569e
chore: Pass correct type for alias in QueryBuilderTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:31 +02:00
Côme Chilliet
1b53179ba9
chore: Update guest avatar test image
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:30 +02:00