Commit Graph

88512 Commits

Author SHA1 Message Date
Stephan Orbaugh ec03e87675 Merge pull request #61289 from nextcloud/carl/oauth2-commands
feat(oauth2): Add commands for adding and deleting clients
2026-06-15 18:30:41 +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
niv 26526ec134 fix: trim duplicate search results for external share
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2026-06-15 16:57:51 +02:00
Côme Chilliet 783df63829 Merge pull request #61295 from nextcloud/fix/fix-ephemeral-session-expiration
fix: Use token expiration for ephemeral sessions
2026-06-15 16:46:39 +02:00
Yoan Bozhilov df2368896f docs(taskprocessing): document lockTask semantic change
Per review feedback: note in the lockTask docblock that the guard changed from
`status != RUNNING` to `status = SCHEDULED`, and that callers must now treat a
0 return as "the task is no longer claimable" rather than assuming success.

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 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
Marcel Klehr 66826df860 fix: Address review comments
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
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
Andy Scherzinger 71f966801d Merge pull request #61253 from nextcloud/fix/theming-preserve-uploaded-favicon
fix(theming): preserve uploaded favicon and touch icon
2026-06-15 16:19:28 +02:00
Côme Chilliet 80a8db1b3e Merge pull request #61292 from nextcloud/fix/fix-backupcode-used-update
fix(twofactor_backupcodes): Add a clean helper to set code as used
2026-06-15 16:11:18 +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
Côme Chilliet 802bce0a77 fix: Use token expiration for ephemeral sessions
This simplifies the code a lot.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-15 15:28:38 +02:00
Côme Chilliet 5a1c0844df chore(tests): Adapt BackupCodeStorageTest to code changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-15 14:47:25 +02:00
Côme Chilliet 4c80a04dc4 fix(twofactor_backupcodes): Add a clean helper to set code as used
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-15 14:35:52 +02:00
Carl Schwan 734904e7f0 feat(oauth2): Add commands for adding and deleting clients
Refactor the code for doing that from the controller to a seperate
service.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-06-15 13:06:09 +02:00
Joas Schilling 5ba1fad5b8 Merge pull request #61281 from nextcloud/chore/noid/drop-php-8.2-in-35
fix: Drop PHP 8.2 in Nextcloud 35 in 3rdparty/
2026-06-15 12:49:06 +02:00
Joas Schilling 7c85d02dd3 fix: Drop PHP 8.2 in Nextcloud 35 in 3rdparty/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-06-15 10:28:46 +02:00
Marcel Klehr 041013bb58 fix(TaskProcessing): Check $progress value is in (0,1) in setTaskProgress
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2026-06-15 10:02:34 +02:00
Nextcloud bot a7eb76d031 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-15 00:23:21 +00:00
Andy Scherzinger 69aeff33ee Merge pull request #61027 from nextcloud/dependabot/npm_and_yarn/build/frontend-legacy/babel/preset-typescript-7.29.7
chore(deps-dev): Bump @babel/preset-typescript from 7.28.5 to 7.29.7 in /build/frontend-legacy
2026-06-14 20:19:50 +02:00
dependabot[bot] 250008cb4d chore(deps-dev): Bump @babel/preset-typescript in /build/frontend-legacy
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.28.5 to 7.29.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-version: 7.29.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 17:54:21 +00:00
Andy Scherzinger eafeec3187 Merge pull request #61022 from nextcloud/dependabot/npm_and_yarn/eslint-693865a33c
build(deps-dev): bump eslint from 10.4.0 to 10.4.1 in the eslint group across 1 directory
2026-06-14 19:52:15 +02:00
Andy Scherzinger 64f2f0c71e Merge pull request #61026 from nextcloud/dependabot/npm_and_yarn/cypress-15.16.0
build(deps-dev): bump cypress from 15.15.0 to 15.17.0
2026-06-14 19:51:31 +02:00
github-actions[bot] c56cf6564c Merge pull request #61023 from nextcloud/dependabot/npm_and_yarn/vitest-3e8a7ab18a
build(deps-dev): bump the vitest group across 2 directories with 2 updates
2026-06-14 17:35:24 +00:00
Andy Scherzinger 612b42f491 Merge pull request #61024 from nextcloud/dependabot/npm_and_yarn/vue-3.5.35
chore(deps): Bump vue from 3.5.34 to 3.5.35
2026-06-14 19:19:28 +02:00
nextcloud-command a194d91811 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-14 14:33:29 +00:00
dependabot[bot] 95b888e798 chore(deps): Bump vue from 3.5.34 to 3.5.35
Bumps [vue](https://github.com/vuejs/core) from 3.5.34 to 3.5.35.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.5.34...v3.5.35)

---
updated-dependencies:
- dependency-name: vue
  dependency-version: 3.5.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 16:25:01 +02:00
dependabot[bot] dbb775dbce build(deps-dev): bump cypress from 15.15.0 to 15.17.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 15.15.0 to 15.17.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v15.15.0...v15.17.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-version: 15.16.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 14:22:18 +00:00
Andy Scherzinger ccf48f1803 Merge pull request #61280 from nextcloud/chore/noid/test-ai-policy-update
chore: Update AI-policy workflow
2026-06-14 15:03:35 +02:00
Marcel Müller b5e01259df chore: Update AI-policy workflow
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2026-06-14 12:40:13 +02:00
Andy Scherzinger 0e5c0efff0 Merge pull request #61119 from nextcloud/dependabot/npm_and_yarn/build/frontend-legacy/shell-quote-1.8.4
build(deps-dev): bump shell-quote from 1.8.3 to 1.8.4 in /build/frontend-legacy
2026-06-14 11:30:07 +02:00
dependabot[bot] 19db8c9500 build(deps-dev): bump shell-quote in /build/frontend-legacy
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.3 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-14 10:00:29 +02:00
Andy Scherzinger 62bb087efb Merge pull request #61268 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2026-06-14 07:53:09 +02:00
nextcloud-command b70bef8c03 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2026-06-14 03:22:34 +00:00
Nextcloud bot eaae45d7dc fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-14 00:22:44 +00:00
Simon L. 1d2b23eed7 fix(theming): preserve uploaded favicon and touch icon
PR #58224 dropped the `$iconFile === null` guard around the app-specific
icon generation in getFavicon()/getTouchIcon(), so an uploaded custom
favicon was always overwritten by the generated, context-colored icon
whenever Imagick could produce an ICO/PNG.

Restore the guard so the generation path only runs as a fallback when no
custom favicon was uploaded, while keeping the improved Imagick
capability detection from #58224.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-06-13 21:43:48 +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
dependabot[bot] 21c5477a0c build(deps-dev): bump the vitest group across 2 directories with 2 updates
Bumps the vitest group with 1 update in the / directory: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8).
Bumps the vitest group with 1 update in the /build/frontend-legacy directory: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8).


Updates `@vitest/coverage-v8` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8)

Updates `vitest` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

Updates `@vitest/coverage-v8` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8)

Updates `vitest` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

Updates `@vitest/coverage-v8` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8)

Updates `vitest` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

Updates `@vitest/coverage-v8` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/coverage-v8)

Updates `vitest` from 4.1.7 to 4.1.8
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
- dependency-name: vitest
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
- dependency-name: vitest
  dependency-version: 4.1.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-13 01:08:22 +00:00
dependabot[bot] 3b46a3c325 build(deps-dev): bump eslint in the eslint group across 1 directory
Bumps the eslint group with 1 update in the / directory: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 10.4.0 to 10.4.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.4.0...v10.4.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-13 01:06:22 +00:00
Nextcloud bot d02155784b fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-13 00:24:20 +00:00
Côme Chilliet 1ac195d01e Merge pull request #61245 from nextcloud/fix/fix-php-warning-in-sharehelper
fix: Fix PHP Warning foreach() argument must be of type array|object, null given
2026-06-12 18:38:28 +02:00
Robin Appelman 09d6942c11 chore: fix SearchBinaryOperator constructor type hint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-06-12 17:43:42 +02:00
Josh 3f16f3438e fix(files_versions): skip write-hook version creation during cross-storage renames
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-06-12 10:40:41 -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
Sebastian Krupinski 0ef2f4046d Merge pull request #61017 from nextcloud/fix/use-card-interface
fix: use card interface instead of object
2026-06-12 10:08:59 -04:00
Benjamin Gaussorgues e1eea9bee7 Merge pull request #60972 from nextcloud/feat/clean_crashed_jobs
Job run history cleanup
2026-06-12 15:49:36 +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
Kate 718dfd0656 Merge pull request #61142 from nextcloud/chore/php/drop-8.2
chore(PHP): Drop 8.2 for Nextcloud 35
2026-06-12 15:27:12 +02:00
Côme Chilliet d551047b8a fix: Fix PHP Warning foreach() argument must be of type array|object, null given
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-06-12 14:28:42 +02:00