Commit graph

82853 commits

Author SHA1 Message Date
Josh
bf853e20f0
refactor: CappedMemoryCache class documentation and logic
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-13 14:11:40 -04:00
Josh
cf4042dd28
chore: fixup
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-13 00:09:29 -04:00
Josh
07fd6db992
refactor: Improve documentation and parameter names in APCu class
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 23:44:32 -04:00
Josh
0a05cc26e5
refactor: tidy up non-native CAD/NCAD implementations
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 23:26:53 -04:00
Josh
8fc8c6cef6
chore: Refine documentation for cas, cad, and ncad methods
Updated method documentation to clarify behavior and parameters.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 12:40:13 -04:00
Josh
967b475f80
fix: oops
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 11:43:45 -04:00
Josh
0b9901ecc5
chore: hasKey check fix + better variable naming
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 11:28:33 -04:00
Josh
7936f07aaa
fix: self ref typo
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 07:54:37 -04:00
Josh
b6d332d07f
chore: continue Redis refactoring
Refactor Redis caching methods for consistency and clarity.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-12 00:19:45 -04:00
Josh
ea89f88572
refactor: Refactor Redis cache implementation for clarity
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-11 19:21:22 -04:00
Josh
a3be015fda
chore: cs fixer lint
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-11 16:57:29 -04:00
Josh
017cc910fc
chore(psalm): Remove invalid return types for APCu.php
Removed invalid return statements and types for APCu.php from the psalm baseline.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-11 16:46:12 -04:00
Josh
b11ce9d3c9
fix: better map apcu return values to ICache interface
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-11 16:35:04 -04:00
Josh
afd1f9c5ab Refactor(APCu): clarity, comments, & streamlining
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-08 17:50:24 -04:00
Louis
c8eeade151
Merge pull request #52825 from nextcloud/artonge/feat/files_trashbin_parallel_expire_job 2025-09-08 15:53:49 +02:00
Kate
af172b3ec3
Merge pull request #54920 from nextcloud/object-store-unique-buckets-names 2025-09-08 15:23:39 +02:00
Louis Chemineau
9b5d11845a
feat(files_trashbin): Refactor expire background job to support parallel run
- Follow-up of #51600

The original PR introduced the possibility to continue an `ExpireTrash` job by saving the offset. This was to prevent having to start over the whole user list when the job crashed or was killed.

But on big instances, one process is not enough to go through all the users in a timely manner. Supporting parallel run allows covering more ground faster.

This PR introduced this possibility. We are now storing the offset right away to allow another parallel job to pick up the task at that point. We are arbitrarily cutting the user list in chunk of 10 to not drastically overflow the 30 minutes time limit.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-08 12:33:25 +02:00
Louis
491c64de57
Merge pull request #54565 from nextcloud/artonge/feat/support_template_in_public_shares 2025-09-08 12:23:34 +02:00
Louis
bfb5db8f21
Merge pull request #54918 from invario/fix-preview-sparse-file 2025-09-08 11:21:56 +02:00
Côme Chilliet
f2ee9ec294
Merge pull request #54941 from nextcloud/fix/redis-unix-socket-port-zero
fix(cache): Set default Redis port to `0` for UNIX sockets
2025-09-08 11:11:42 +02:00
Nextcloud bot
eda72da5ae
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-08 00:13:34 +00:00
Josh
3a8b2b843e
fix(cache): Set default Redis port to 0 for UNIX sockets
When using phpredis with a UNIX socket, the port should either not be specified at all or be `<1`. 

https://github.com/phpredis/phpredis?tab=readme-ov-file#connect-open

d0b0c5cfdd/library.c (L3332-L3334)

Fixes #54813

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-07 14:30:34 -04:00
Nextcloud bot
e7aec5820e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-07 00:14:40 +00:00
Nextcloud bot
2d63296046
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-06 00:13:33 +00:00
Robin Appelman
0c1d5e8c54
fix: ensure all object store configuration have distict bucket names
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-05 18:45:32 +02:00
invario
ba51caf5f4
Fix(previews): prevent infinite loop in case of bad video file
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 09:32:37 -04:00
Kate
acb26a4507
Merge pull request #54914 from nextcloud/test/binary-finder/portability 2025-09-05 15:09:24 +02:00
Louis Chemineau
1d91e40fe8
feat: Support limit argument in getSeenUsers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-05 12:45:38 +02:00
Julien Veyssier
2908f7602a
Merge pull request #54848 from nextcloud/enh/noid/taskprocessing-get-task-type-ids
Add task processing manager method to get the list of available task type IDs
2025-09-05 12:10:30 +02:00
Julien Veyssier
1775c94e4a
feat(taskprocessing): add tests for getAvailableTaskTypeIds
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-09-05 11:37:35 +02:00
Julien Veyssier
8c447eaba6
feat(taskprocessing): add manager method to get the list of available task type IDs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-09-05 11:37:34 +02:00
Louis
05b4403354
Merge pull request #53952 from invario/preview-sparse-file 2025-09-05 11:05:54 +02:00
invario
97a0dde160 feat(previews): previews and tests for large remote videos w/o full download
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-09-05 10:08:19 +02:00
provokateurin
e391e50446
test(BinaryFinder): Make sure the test is portable between systems
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-05 09:47:47 +02:00
Nextcloud bot
39dc1dfd41
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-09-05 00:13:47 +00:00
Ferdinand Thiessen
6a0d4f33a8
Merge pull request #54534 from nextcloud/fix/dispatcher/catch-type-errors-bad-request
fix(Dispatcher): Catch TypeErrors and turn them into bad request responses
2025-09-05 01:24:54 +02:00
Andy Scherzinger
3f5c2cdd88
Merge pull request #54645 from nextcloud/carl/modernize-custom-property-backend
refactor(CustomPropertiesBackend): Modernize class
2025-09-05 01:06:21 +02:00
provokateurin
9473f47c0d fix(Dispatcher): Catch TypeErrors and turn them into bad request responses
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-05 00:49:23 +02:00
Daniel
b3f29e1039
Merge pull request #54907 from nextcloud/haze-2.1.2
chore(flake): update haze to 2.1.2
2025-09-04 21:02:58 +02:00
Robin Appelman
b611fd9e35
chore(flake): update haze to 2.1.2
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-04 18:06:49 +02:00
Ferdinand Thiessen
15fa1094ac
Merge pull request #54870 from nextcloud/fix/file-permissions
fix: remove executable flag from source files
2025-09-04 17:48:41 +02:00
Sebastian Krupinski
ccff168960
Merge pull request #54853 from nextcloud/fix/issue-54830-version-fetchDisplayName
fix: TypeError: this.fetchDisplayName is not a function
2025-09-04 11:01:58 -04:00
nextcloud-command
aca9294dca chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-09-04 14:15:55 +00:00
nextcloud-command
10d0d0fcbc chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-09-04 12:20:01 +00:00
Louis Chemineau
6d672c4cba fix(encryption): Correctly set encrypted to 0 when copying
If encryption got disabled, copying should set encrypted to 0 for the
 new unencrypted copy. For instance when using encryption:decrypt-all

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-04 12:13:45 +00:00
Ferdinand Thiessen
3b8c50e2c7
fix: remove executable flag from source files
(exceptions for real scripts, but source files never should be executable)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-04 11:57:44 +02:00
Andy Scherzinger
186e725910
Merge pull request #54447 from Ratatou2/feat/30173-add-audio-video-mimetypes
feat(config): Add common audio and video MIME type aliases
2025-09-04 11:35:36 +02:00
Joas Schilling
be84488ab0
Merge pull request #54858 from nextcloud/chore/noid/branch-off-32
🚀 Master is now 33
2025-09-04 11:26:19 +02:00
Ferdinand Thiessen
a3b463472f
Merge pull request #54854 from nextcloud/leftybournes/style/contactsmenu_actions
style(contactsmenu): properly align contacts menu actions
2025-09-04 11:25:29 +02:00
Marcel Klehr
7bd0b5704d
Merge pull request #54810 from nextcloud/feat/typed-tag-events
feat(SystemTag): Add typed events for tag mapper events
2025-09-04 11:19:28 +02:00