Commit graph

34191 commits

Author SHA1 Message Date
Nextcloud bot
6a4f6e26c3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-17 00:12:16 +00:00
Kate
be84f82fa7
Merge pull request #53837 from nextcloud/backport/53112/stable31 2025-07-16 02:16:37 +02:00
Nextcloud bot
f58887ef8d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-16 00:12:18 +00:00
Kent Delante
f8cce08595 fix(files_trashbin): Expire trashbin items when space is needed
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-07-16 08:00:28 +08:00
Ferdinand Thiessen
ec263a328a
test: adjust test code for updated @nextcloud/vue version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-14 22:29:03 +02:00
Ferdinand Thiessen
3e365aaa51
chore(deps): update @nextcloud/vue to v8.28.0
- update `@nextcloud/l10n` to v3.4.0
- update `@nextcloud/moment` to v1.3.5

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-14 22:27:45 +02:00
Hamza
0d8eb3959f
Merge pull request #53916 from nextcloud/backport/53855/stable31
[stable31] fix: hide rename action in trashbin
2025-07-14 10:43:24 +02:00
Joas Schilling
02eb875b1f
Merge pull request #53921 from nextcloud/backport/53857/stable31
[stable31] fix(theming): Correctly generate CSS for font themes
2025-07-14 08:48:28 +02:00
Andy Scherzinger
3771f1c63e
Merge pull request #53817 from nextcloud/backport/53429/stable31
[stable31] feat(settings): simplify OPcache checks
2025-07-14 08:44:59 +02:00
Nextcloud bot
a9ce915191
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-14 00:12:02 +00:00
MichaIng
d10a87f85f 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-07-13 22:51:17 +02:00
Ferdinand Thiessen
315a1d0f24
Merge pull request #53796 from nextcloud/backport/53788/stable31
[stable31] fix(profile): add max width for the user actions
2025-07-13 13:53:04 +02:00
Nextcloud bot
8d4f0a62ae
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-13 00:12:06 +00:00
Nextcloud bot
42aba84c3a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-12 00:12:05 +00:00
nfebe
5acf36f17d fix(theming): Correctly generate CSS for font themes
Fixes a regression from dropping the SCSS compiler that broke
font themes like OpenDyslexic. The old code relied on the SCSS
compiler to automatically correct the order of the CSS rules,
ensuring the @font-face declaration was always valid.
The server now correctly generates the `@font-face` rule at
the top level of the stylesheet, fixing the previously invalid nested CSS.

Introduced in : f1448fcf07

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-07-11 19:49:14 +00:00
Hamza
bb48b4b5ae fix: adapt rename action tests to check for parent permissions
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2025-07-11 17:24:15 +02:00
skjnldsv
ce15c53c69 fix(files): allow renaming if parent allow creating
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 14:41:47 +00:00
Hamza
e167dc1dd7 fix: hide rename action is trashbin
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2025-07-11 14:41:47 +00:00
Kate
6fe42f9423
Merge pull request #53858 from nextcloud/backport/53840/stable31 2025-07-11 15:33:36 +02:00
skjnldsv
523fb38678 fix: force lowercase emails
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 09:05:47 +02:00
Nextcloud bot
b38894c111
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-11 00:12:29 +00:00
John Molakvoæ
e78b9f704b
Merge pull request #53854 from nextcloud/backport/53767/stable31 2025-07-10 17:18:09 +02:00
John Molakvoæ
5645591012
Merge pull request #53880 from nextcloud/backport/53872/stable31 2025-07-10 16:59:45 +02:00
Daniel Kesselberg
62ddbb6e54 Revert "fix(dav): only consider user's principal for unsharing entries"
This reverts commit 023b98c44b.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-10 07:24:48 +00:00
Nextcloud bot
1e36391084
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-10 00:12:14 +00:00
skjnldsv
c9db4b9224 fix(files): ensure proper headers lifecycle
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 15:36:56 +02:00
Nextcloud bot
2b6889b1c3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-09 00:12:36 +00:00
Nextcloud bot
7e1b487cea
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:20 +00:00
provokateurin
efec2841db fix(federatedfilesharing): Fix external share being deleted when accepting share
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-07 23:16:22 +00:00
Josh
f76c1b28c9 fix(files_reminders): Don't load if disabled for user
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-07-07 19:02:53 +00:00
Nextcloud bot
0c59d041ce
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-07 00:12:13 +00:00
Nextcloud bot
2c81826d4e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-06 00:12:18 +00:00
Nextcloud bot
11599b01f7
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-05 00:12:11 +00:00
Nextcloud bot
3c53646a9b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-04 00:12:18 +00:00
Ferdinand Thiessen
21330063c5 fix(profile): add max width for the user actions
This prevents the profile to look distorted when the primary action is a
long email address.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-03 15:25:09 +00:00
Côme Chilliet
e423fb46c9
Merge pull request #53666 from nextcloud/backport/53665/stable31
[stable31] fix(encryption): Catch exceptions in encrypt-all command and continue
2025-07-03 16:55:26 +02:00
Côme Chilliet
0eed4ba241
Merge pull request #53793 from nextcloud/backport/52963/stable31
[stable31] fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
2025-07-03 16:52:53 +02:00
Côme Chilliet
e2861b42d1 fix(encryption): Correctly handle file opening and copying failures
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Côme Chilliet
eb91798252 chore: Adapt tests to new parameter in EncryptAll constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Côme Chilliet
e5da883e34 fix(encryption): Catch exceptions in encrypt-all command and continue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 16:03:19 +02:00
Andy Scherzinger
56e18d6190
Merge pull request #53704 from nextcloud/backport/53695/stable31
[stable31] fix(settings): use correct scope for translations
2025-07-03 15:26:05 +02:00
Côme Chilliet
93f064d974 fix(files_versions): Log error instead of crashing when event listeners get called on non-existing files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 13:21:32 +00:00
Côme Chilliet
32d4f84b38
Merge pull request #53782 from nextcloud/backport/53276/stable31
[stable31] fix(files_versions): Log failure to compute node path
2025-07-03 14:04:09 +02:00
Ferdinand Thiessen
4ebebae3bf fix(settings): use correct scope for translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-03 12:23:55 +02:00
Maksim Sukharev
725eda1a53 fix(files): provide boundaries for FileListTableHeaderActions element
- default boundaries element is 'content-vue', which includes sidebar

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-07-03 10:09:19 +00:00
Jana Peper
a598d453e9 feat: add toggle for AI guest restriction
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 09:00:40 +00:00
Côme Chilliet
5e2569840b chore: Use an if/else instead of the try/catch to make meaning more obvious
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:45:46 +00:00
Côme Chilliet
efd9991e21 fix(files_versions): Log failure to compute node path
To avoid hidden bugs, add some debug logging when a node path cannot be
 computed from a received event, to have more information for debugging

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-03 07:45:46 +00:00
Nextcloud bot
1411f098b2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-03 00:12:24 +00:00
Arthur Schiwon
512d423fb9
Merge pull request #53769 from nextcloud/backport/52976/stable31
[stable31] perf: Skip photos related properties in custom properties
2025-07-02 23:50:10 +02:00