Commit Graph

79293 Commits (94a5e1440eaa8bf2d7a4ff2a59abf2d045b30845)
 

Author SHA1 Message Date
Git'Fellow 94a5e1440e
Merge pull request #54205 from nextcloud/backport/54182/stable30
[stable30] fix: don't update cached mountpoints if the request doesn't have filesystem access
2025-08-06 14:18:02 +07:00
John Molakvoæ 3ae3932cbf
Merge pull request #54271 from nextcloud/backport/54270/stable30
[stable30] fix(core): ensure unique vcategory
2025-08-06 13:00:44 +07:00
Ferdinand Thiessen 6c4460f3e4
Merge pull request #54267 from nextcloud/backport/54266/stable30
[stable30] fix(lib): get fileinfo before locking
2025-08-06 11:26:45 +07:00
skjnldsv cefe724474 fix(core): ensure unique vcategory
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-06 10:09:58 +07:00
Nextcloud bot 2672301924
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-06 00:13:09 +07:00
Kate d4ab8912a6
Merge pull request #54132 from nextcloud/backport/51602/stable30 2025-08-05 22:12:22 +07:00
Joas Schilling 7fe647faa3
Merge pull request #54268 from nextcloud/backport/54259/stable30
[stable30] fix(caldav): get UID value
2025-08-05 20:48:23 +07:00
Anna Larch e6baecd6c6 fix(caldav): get UID value
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-08-05 18:07:40 +07:00
skjnldsv 55e9491011 fix(lib): get fileinfo before locking
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-08-05 17:39:47 +07:00
Côme Chilliet 1506b79e54
chore: Adapt ProviderFactory to change in DefaultShareProvider constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-05 15:05:31 +07:00
John Molakvoæ 13a0fc8c97
Merge pull request #54243 from nextcloud/backport/54159/stable30 2025-08-05 14:00:40 +07:00
Joas Schilling 91c981297d
Merge pull request #54253 from nextcloud/backport/54230/stable30
[stable30] fix(logging): Fix query logging with DateTimeImmutable parameters
2025-08-05 13:54:21 +07:00
Joas Schilling 3a5bf443e8 fix(logging): Fix query logging with DateTimeImmutable parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-05 10:29:12 +07:00
Nextcloud bot 1c62379ead
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-05 00:12:50 +07:00
nextcloud-command 483a8fa26b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-04 17:23:05 +07: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 +07:00
Nextcloud bot df9580d0d4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-04 00:13:38 +07:00
Nextcloud bot f386901c4c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-03 00:12:36 +07:00
Nextcloud bot b433460224
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-02 00:12:37 +07:00
Ferdinand Thiessen 9336537bad
Merge pull request #54198 from nextcloud/backport/54172/stable30
[stable30] fix(AppMenu): ensure that aria attributes are set when needed
2025-08-01 18:53:25 +07:00
nextcloud-command 22ac1b2b9f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-08-01 16:36:44 +07:00
Ferdinand Thiessen 1cdf58ef3b
fix(AppMenu): ensure that aria attributes are set when needed
We hide **if** there is **no** notification.
We *do not* hide and *show the label* **if** there are notifications for
that application.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-01 18:05:34 +07:00
Robin Appelman 8519f5adb0 fix: don't update cached mountpoints if the request doesn't have filesystem access
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-01 16:04:33 +07:00
John Molakvoæ 26a41b3f46
Merge pull request #54173 from nextcloud/backport/54167/stable30 2025-08-01 10:44:13 +07:00
John Molakvoæ f108f7789a
Merge pull request #53818 from nextcloud/backport/53429/stable30 2025-08-01 10:29:49 +07:00
John Molakvoæ 744a2797c1
Merge pull request #53611 from nextcloud/backport/53426/stable30 2025-08-01 10:29:39 +07:00
John Molakvoæ 8b88957d6f
Merge pull request #54052 from nextcloud/backport/54051/stable30 2025-08-01 09:52:51 +07: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 +07: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 +07:00
Nextcloud bot 96a7c3c5bb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-01 00:12:27 +07:00
Josh 89eee77fe9
Merge pull request #54184 from nextcloud/backport/54179/stable30
[stable30] fix: spelling mistake
2025-07-31 16:27:57 +07:00
SebastianKrupinski fb308aaa11 fix: spelling mistake
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-07-31 18:06:25 +07:00
Daniel 65a661f9f4
Merge pull request #54116 from nextcloud/backport/52778/stable30
[stable30] fix: check if properties exist before using them
2025-07-31 18:55:54 +07: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 +07:00
Nextcloud bot 42ee1f26fe
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-31 00:12:22 +07:00
Nextcloud bot 966691a2af
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-30 00:12:25 +07:00
John Molakvoæ b4c82cdd75
Merge pull request #54145 from nextcloud/backport/54005/stable30
[stable30] fix: Do not show password dialog when user can not validate password
2025-07-29 21:36:43 +07:00
Daniel Calviño Sánchez 6ff15ef530 fix: Do not show password dialog when user can not validate password
The password confirmation dialog is always shown unless the user backend
does not allow password confirmation. A user backend may explicitly
provide that information, but even if it does not that could have been
defined in the authentication token with
"IToken::SCOPE_SKIP_PASSWORD_VALIDATION" (for example, when "user_oidc"
is only used for authentication and user provision is done by another
user backend).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-07-29 15:54:57 +07:00
John Molakvoæ f5409c6217
Merge pull request #54136 from nextcloud/fix-endless-spinner-on-file-entries-after-triggering-an-action-on-stable30 2025-07-29 17:27:24 +07:00
nextcloud-command 04c2b81f4b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-29 10:51:51 +07: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 +07:00
Côme Chilliet a137a5183c
Merge pull request #53812 from nextcloud/backport/53693/stable30
[stable30] fix: Correctly show free space if lower than quota in Files navigation
2025-07-29 12:45:47 +07:00
Côme Chilliet 3dac67991b chore(tests): Adapt DefaultShareProviderTest to new constructor parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:22:33 +07:00
Côme Chilliet 32dc724186 fix: Use default share folder of the user on share accept
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-29 09:22:33 +07:00
nextcloud-command aa43caac4b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-29 07:57:33 +07: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 +07: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 +07:00
Joas Schilling 286c10c8b9
Merge pull request #54104 from nextcloud/backport/54027/stable30
[stable30] fix(ConnectionFactory): Apply Oracle connection fix to primary and replica params as well
2025-07-29 09:51:41 +07:00
Joas Schilling 9c45f2f8ff
Merge pull request #54107 from nextcloud/backport/54068/stable30
[stable30] fix(cron): Fix infinite loop on ParallelAware blocked jobs
2025-07-29 09:50:45 +07:00
Nextcloud bot 6c5af68468
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-29 00:12:21 +07:00