Commit graph

33607 commits

Author SHA1 Message Date
Nextcloud bot
c6b4f2320a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-16 00:12:17 +00:00
Nextcloud bot
ed225b628c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-15 00:12:32 +00:00
John Molakvoæ
d7dd4f398d fix(settings): add missing AI icon
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-08-14 11:20:55 +00:00
Daniel Kesselberg
ed8bd0a8ef
fix: use the join function for merging davRootPath and path
Using the join function ensures, that also paths without a leading slash
a properly merged together. Extracted from
3978e056cf.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-08-14 10:45:15 +02:00
Nextcloud bot
2607a9e183
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-14 00:12:37 +00:00
Nextcloud bot
9c6d4da92f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-13 16:59:13 +00:00
Nextcloud bot
98772ff312
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-13 00:12:21 +00:00
Nextcloud bot
c9635512ab
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-12 00:12:28 +00:00
Nextcloud bot
7ff9bbdfa8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-11 00:12:56 +00:00
Nextcloud bot
e88bc54a1d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-10 00:12:16 +00:00
Nextcloud bot
f3dd360f0a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-09 00:12:34 +00:00
Nextcloud bot
13c4179e8e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-08 00:12:45 +00:00
Carl Schwan
1039ec591e
Merge pull request #54321 from nextcloud/backport/54275/stable30
[stable30] fix(trash): Fix order of metadata deletion
2025-08-07 17:20:52 +02:00
Benjamin Gaussorgues
f6504e7f02
Merge pull request #54263 from nextcloud/backport/54233/stable30 2025-08-07 16:03:53 +02:00
Carl Schwan
1c7fb0583d fix(trash): Fix order of metadata deletion
First query metadata for live photo and then delete the metadata, by
making the SyncLivePhotosListener priority higher than the default.

Partially fix #54274

Signed-off-by: Carl Schwan <carl.schwan@nextclound.com>
2025-08-07 13:05:27 +00:00
Ferdinand Thiessen
23f13ff406
Merge pull request #54296 from nextcloud/backport/54264/stable30
[stable30] fix: handle smb timeouts as storage not available
2025-08-07 14:38:36 +02:00
Ferdinand Thiessen
b9f8322450
fix(files_versions): has-preview must be either true or false
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-07 12:24:06 +02:00
Ferdinand Thiessen
26a7d6d127
fix(files_trashbin): has-preview must return true or false
Currently it returned the boolean value, but PHP will turn it into an
integer...

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-07 12:23:23 +02:00
Côme Chilliet
a79ced0f98
chore(encryption): Adapt tests to code changes
Also pulled tests refactors from master to avoid conflicts

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-07 10:57:07 +02:00
Côme Chilliet
c022a1a1b1
fix(encryption): Ignore shared files in encrypt-all command
Copying and renaming a share will not encrypt it anyway. It will get
 encrypted when the owner’s files get encrypted.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-07 10:55:03 +02:00
Daniel
17e97e6f85
Merge pull request #54307 from nextcloud/backport/54298/stable30
[stable30] fix(dav): calculate permissions based on addressbook principal
2025-08-07 09:22:54 +02:00
Nextcloud bot
755376a7de
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-07 00:12:26 +00:00
Christoph Wurst
676d123c2b fix(dav): calculate permissions based on addressbook principal
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-08-06 21:37:22 +00:00
Daniel Calviño Sánchez
775124af5f fix: Fix button alignment for email templates in Outlook
The button group generated in email templates is expected to show the
two buttons side by side in a single row, but in Outlook both buttons
took the full width of the wrapper row and each button was shown in
its own row. To solve that the buttons are wrapped in an additional
table that shows each button in its own cell, limiting their width and
showing them in a single row; this is done conditionally and only
applied in Outlook, so it should not affect other clients.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-08-06 19:50:55 +02:00
Robin Appelman
fc585e0ef5 fix: handle smb timeouts as storage not available
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-06 15:18:00 +00:00
Nextcloud bot
2672301924
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-06 00:13:09 +00:00
Anna Larch
e6baecd6c6 fix(caldav): get UID value
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-08-05 18:07:40 +00:00
John Molakvoæ
13a0fc8c97
Merge pull request #54243 from nextcloud/backport/54159/stable30 2025-08-05 14:00:40 +02:00
Nextcloud bot
1c62379ead
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-05 00:12:50 +00:00
skjnldsv
a958dc938a fix(files_sharing): ensure password or date is enabled by default to be enforced
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-04 17:18:36 +00:00
Nextcloud bot
df9580d0d4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-04 00:13:38 +00:00
Nextcloud bot
f386901c4c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-03 00:12:36 +00:00
Nextcloud bot
b433460224
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-02 00:12:37 +00:00
John Molakvoæ
26a41b3f46
Merge pull request #54173 from nextcloud/backport/54167/stable30 2025-08-01 10:44:13 +02:00
John Molakvoæ
f108f7789a
Merge pull request #53818 from nextcloud/backport/53429/stable30 2025-08-01 10:29:49 +02:00
MichaIng
7e7822fbed feat(settings): simplify OPcache checks
For the overall OPcache size check, we currently compare used memory with free memory. However, `opcache.memory_consumption` is split into `used_memory`, `free_memory` and `wasted_memory`. When cached files change on disk, old entries are not replaced or removed, but remain as wasted memory, until the cache is actually full, and if their percentage is above `opcache.max_wasted_percentage`, which is 5% by default. When this happens, the engine is restarted, resetting the cache completely, like a `opcache_reset()` call.

As long as we do not consider wasted cache, recommendations based on free memory can be false. To solve this, we could count wasted memory as free memory, if it is above `opcache.max_wasted_percentage`, as the engine will be restarted as soon as needed, freeing up this wasted space. On the other hand, wasted memory below the threshold permanently blocks the OPcache, which supports counting it as used memory. Depending on the situation, instead of raising OPcache size, it could be also advised to reduce `opcache.max_wasted_percentage`. But too frequent cache resets break its purpose as well.

In my opinion, the matter is too complex to consider wasted cache correctly, and do precise recommendations, but we should focus on reducing false positives instead. What we know for sure is: if the cache is full (`$status['cache_full'] === true`), and the limit for cached keys has not been reached, the OPcache was too small to maintain free space, with wasted memory below the configured threshold, where it consumes memory permanently. Recommending to raise the OPcache size in this case, is hence as accurate as it gets. Even if 5% wasted cache could be freed, 95% used memory is still above the previous threshold for the setup check warning. And if `opcache.max_wasted_percentage` is above 5%, then the admin must have decided to change the default, deciding that system memory consumption has lower priority than preventing OPcache engine restarts.

`cache_full` can be true as well if the limit for cached keys has been reached, hence we need to merge both checks. In this case `num_cached_keys` equals `max_cached_keys` exactly, hence it is easy to differentiale whether `opcache.max_accelerated_files` or `opcache.memory_consumption` needs to be raised to address the `cache_full` state.

In practice, this change relaxes the checks: the respective limit needs to be reached 100% instead of 90%, to trigger a warning, eliminating also false alarms if a large share of the cache is consumed by wasted memory, which would be automatically freed once cache is 100% full.

Additionally, the recommendation for raising `opcache.max_accelerated_files` now says "a value higher than `max_cached_keys`", instead of "higher than `opcache.max_accelerated_files`". The actual limit, reflected by `max_cached_keys` from `opcache_get_status()`, [is a next higher value from a set of prime numbers](https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files). E.g. if `opcache.max_accelerated_files` is set to 10,000 (PHP default), the effective limit is 16,229 OPcache keys. Recommending "higher than 10000" could hence lead to a settings change without effect. For an effective change, the new value needs to be "higher than 16229" instead, which is what the setup check will show in this situation, with this change applied.

Signed-off-by: MichaIng <micha@dietpi.com>
2025-08-01 09:34:41 +02:00
Robin Appelman
c7876bd0ab feat: improve logging of fopen failures for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-01 09:34:20 +02:00
Nextcloud bot
96a7c3c5bb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-01 00:12:27 +00:00
SebastianKrupinski
fb308aaa11 fix: spelling mistake
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-31 18:06:25 +00:00
Jyrki Gadinger
78495daaae fix: hide guests group from overall principals
Follow-up for #52914 and #53369

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-07-31 12:38:34 +00:00
Nextcloud bot
42ee1f26fe
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-31 00:12:22 +00:00
Nextcloud bot
966691a2af
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-30 00:12:25 +00:00
Daniel Calviño Sánchez
a4d19ce7e6 fix: Fix endless spinner on file entries after triggering an action
When the toast shown while a file is being moved or copied was
introduced in 64cc7afb12 an additional condition was added to the
"isLoading" check of file entries. However, that additional condition
caused an endless loading spinner to be shown on file entries of the
"Shares" view (but not in other views) after an action was triggered.
Turns out that the condition was not actually needed for the toast, so
now it is removed again to solve the endless loading spinner.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-29 12:47:12 +02:00
Côme Chilliet
b3e871f990
chore: Adapt cypress component test to contain total space
Mocked server initial state was incomplete

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:52:16 +02:00
Côme Chilliet
4f09708828
fix: Correctly show free space if lower than quota in Files navigation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:52:16 +02:00
Nextcloud bot
6c5af68468
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-29 00:12:21 +00:00
skjnldsv
5c065f0f1d fix(files_sharing): fallback self.crypto.getRandomValues
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-28 17:57:32 +00:00
Anna Larch
4d3c5ebfef fix(caldav): don't return cancelled events for upcoming events API
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-07-28 10:18:48 +00:00
skjnldsv
3a76fb0310 fix(provisioning_api): catch failed user creation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-28 07:21:22 +00:00
Nextcloud bot
d7f7b6c89d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-28 00:12:30 +00:00