Commit Graph

15414 Commits

Author SHA1 Message Date
Nextcloud bot 47cda2c9c3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-24 00:29:27 +00: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
Carl Schwan cc97151dfb Merge pull request #60643 from nextcloud/carl/remove-AutoCompleteEvent
refactor: Remove deprecated AutoCompleteEvent
2026-06-23 10:59:42 +02:00
Joas Schilling 2e8a714e5a chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-06-22 17:04:38 +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
Joas Schilling dd3d5c3e08 fix(onetime-qrcode): Remove password confirmation attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-06-22 15:49:05 +02:00
Nextcloud bot 874ef1e0d3 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-22 00:22:55 +00:00
Nextcloud bot 9bba086d5d fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-21 00:22:39 +00:00
Nextcloud bot bd6995dff9 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-20 00:22:50 +00:00
Carl Schwan 30b173765e refactor: Remove deprecated AutoCompleteEvent
No longer used.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-06-18 11:54:42 +02:00
Nextcloud bot dad4644546 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-18 00:22:59 +00: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
Nextcloud bot 188006bc95 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-17 00:22:57 +00: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 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
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
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
Benjamin Gaussorgues dc5499af46 feat(jobs): clean old job runs
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-12 13:53:10 +02:00
Benjamin Gaussorgues 3956e292b4 feat(jobs): add cleanup job for job run history
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
Julien Veyssier d8477ed7d4 feat(task-streaming): set preferStreaming default value to false, allow setting it with the OCS API
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2026-06-12 10:34:11 +02:00
Benjamin Gaussorgues 621d1328e7 Merge pull request #57227 from lpcvoid/master
fix: allow `occ maintenance:update:htaccess` to create .htaccess file in case it doesn't exist yet
2026-06-12 10:02:05 +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
Nextcloud bot b7b45a8118 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-12 00:45:50 +00: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 dd8b4fb384 style(PHP): Fix
Signed-off-by: provokateurin <kate@provokateurin.de>
2026-06-11 20:01:52 +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 97df391969 Merge pull request #49978 from nextcloud/jtr-feat-setupchecks-limit-type
feat: Run setup checks by category or class
2026-06-11 16:58:21 +02:00
Louis bf4b5ce8d6 Merge pull request #61208 from nextcloud/artonge/fix/psalm_from_60840
fix: Psalm errors from #60840
2026-06-11 16:53:20 +02:00
Louis Chmn 9f6984d0a1 fix(DB): Improve wording about unused indexes
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-06-11 16:46:23 +02:00
Benjamin Gaussorgues d1fbf3d293 Merge pull request #59175 from rodrigocorreiaist/fix/57282-download-button-icon-color
fix(sharing): icon color mismatch on download button in public share
2026-06-11 15:08:24 +02:00
Louis Chmn 1c48481217 fix: Psalm errors from #60840
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-06-11 15:07:54 +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
Josh 69e3b94594 chore: Add category/class type parameter to setupchecks cmd
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-06-11 12:24:47 +02:00
Rodrigo Mendes Correia b7ebec6304 fix: #57282: icon color mismatch on download button in public share
The download button icon on the public share page always appeared
in the opposite color of the button text. The root cause was the
wrong CSS variable for the filter applied to the icon.

Background-image icons are dark (black) by default. In light mode,
the icon must be inverted to white when the primary color is dark,
which requires --primary-invert-if-dark. The code was incorrectly
using --primary-invert-if-bright, inverting in the wrong direction.

In dark mode, icons.css swaps the icon variables so that
--icon-download-dark resolves to the white SVG. The filter logic
must be reversed: --primary-invert-if-bright is needed to invert
the white icon to black when the primary color is bright.

Fix by using --primary-invert-if-dark in light mode and
--primary-invert-if-bright in dark mode, handling both the
prefers-color-scheme media query and the Nextcloud data-themes
attribute for explicit theme selection.

Signed-off-by: Rodrigo Mendes Correia <rodrigo.mendes.correia@tecnico.ulisboa.pt>
2026-06-11 11:48:37 +02:00
Benjamin Gaussorgues 7269f43fab Merge pull request #49697 from nextcloud/appStoreDisabledOcc
feat(occ): Better handling of disabled or unreacheable App store
2026-06-11 11:36:28 +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 15002cbdc3 Merge pull request #59680 from piepre/occ-token-login-name
feat: allow setting custom login-name for occ generated app password
2026-06-11 10:32:08 +02:00
Marc bfbec605d0 fix: changed wording of error for occ maintenance:update:htaccess
This adds a hint to the error message that file creation may also
have failed.

Signed-off-by: Marc <mail@lpcvoid.com>
2026-06-11 10:23:00 +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
Git'Fellow 600178df28 feat(occ): Better handling of disabled or unreacheable App store
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-06-11 10:09:02 +02:00
Benjamin Gaussorgues 73506e8486 chore(deprecated): remove Reflection*::setAccessible as it's noop since PHP 8.1
Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2026-06-11 09:45:27 +02:00
Nextcloud bot bb8bc057ac fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-11 00:23:13 +00:00
Stephan Orbaugh 1cf3e362b2 Merge pull request #40407 from haslersn/revert-pr-12573
Revert "Do not do redirect handling when loggin out"
2026-06-10 17:33:10 +02:00
Julien Veyssier b04de05805 fix(task-streaming): fix psalm issues, run cs:fix, gen openapi specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2026-06-10 14:52:56 +02:00
Julien Veyssier ddf914231b feat(task-streaming): add preferStreaming boolean attribute to taskprocessing tasks. pass it to ISynchronousProgressiveProvider::process
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2026-06-10 14:52:56 +02:00
Julien Veyssier e4bea82c86 feat(task-streaming): add an endpoint to set a task intermediate output
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2026-06-10 14:52:56 +02:00
Peter Ringelmann 4ea6917b7b fix(core): keep app menu settings icon legible on light backgrounds
Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-10 12:29:23 +00:00
Nextcloud bot b8a41a5f33 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-06-10 00:22:53 +00:00