Commit Graph

34339 Commits (bd397aee019e11f244642cf8e1db064f10044173)

Author SHA1 Message Date
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 +07:00
Daniel Kesselberg 8dafde1fb9 fix(imip): set charset for imip attachment
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-14 15:43:42 +07: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 +07: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 +07: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 +07:00
Nextcloud bot a9ce915191
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-14 00:12:02 +07: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 +07: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 +07:00
Nextcloud bot 8d4f0a62ae
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-13 00:12:06 +07:00
Nextcloud bot 42aba84c3a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-12 00:12:05 +07: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 +07: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 +07:00
skjnldsv ce15c53c69 fix(files): allow renaming if parent allow creating
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 14:41:47 +07:00
Hamza e167dc1dd7 fix: hide rename action is trashbin
Signed-off-by: Hamza <hamzamahjoubi221@gmail.com>
2025-07-11 14:41:47 +07:00
Kate 6fe42f9423
Merge pull request #53858 from nextcloud/backport/53840/stable31 2025-07-11 15:33:36 +07:00
Arthur Schiwon fb1fc94bc8 style(PHP): code cleanup, no effective changes
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-11 07:58:56 +07:00
Arthur Schiwon bf217fe741 fix(Krb): switch away from deprecated and broken KerberosApacheAuth()
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-07-11 07:58:56 +07:00
skjnldsv 523fb38678 fix: force lowercase emails
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-11 09:05:47 +07:00
Nextcloud bot b38894c111
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-11 00:12:29 +07:00
John Molakvoæ e78b9f704b
Merge pull request #53854 from nextcloud/backport/53767/stable31 2025-07-10 17:18:09 +07:00
John Molakvoæ 5645591012
Merge pull request #53880 from nextcloud/backport/53872/stable31 2025-07-10 16:59:45 +07: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 +07:00
Nextcloud bot 1e36391084
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-10 00:12:14 +07:00
skjnldsv c9db4b9224 fix(files): ensure proper headers lifecycle
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-09 15:36:56 +07:00
Nextcloud bot 2b6889b1c3
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-09 00:12:36 +07:00
Nextcloud bot 7e1b487cea
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-08 00:12:20 +07: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 +07: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 +07:00
Nextcloud bot 0c59d041ce
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-07 00:12:13 +07:00
Nextcloud bot 2c81826d4e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-06 00:12:18 +07:00
Nextcloud bot 11599b01f7
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-05 00:12:11 +07:00
Nextcloud bot 3c53646a9b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-04 00:12:18 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Nextcloud bot 1411f098b2
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-03 00:12:24 +07: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 +07:00
Andy Scherzinger 35f41e79b9
Merge pull request #53730 from nextcloud/backport/52981/stable31
[stable31] perf(dav): Preload dav search with tags/favorites
2025-07-02 23:31:23 +07:00
John Molakvoæ daf3084138
Merge pull request #53715 from nextcloud/backport/52792/stable31 2025-07-02 22:59:50 +07:00
Julius Knorr fef5899f77 perf: Skip photos app related property in custom properties
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 19:54:30 +07:00
Julius Knorr a9b4a6b269
perf(dav): Preload dav search with tags/favorites
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-07-02 21:52:12 +07:00
Nextcloud bot 009763b143
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-02 00:12:06 +07:00
Nextcloud bot 6757f01d94
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 15:17:20 +07:00
provokateurin 0cf2295516
fix(files_sharing): Hide own reshares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:08:14 +07:00
provokateurin 987af4193d
fix(files): Always transfer incoming shares when doing ownership transfer to prevent broken reshares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:08:13 +07:00
provokateurin 918473d7f2
fix(files): Limit transferring incoming shares to the selected path
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 13:05:25 +07:00
Nextcloud bot 359fe5849c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 00:12:21 +07:00
Stephan Orbaugh 7584215b44
Merge pull request #53724 from nextcloud/backport/53639/stable31
[stable31] fix(files_sharing): Stop hiding delete share button in advanced settings menu
2025-06-30 16:09:52 +07:00
Nextcloud bot 9191d3d860
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 13:15:39 +07:00
Nextcloud bot c4f4f3ca9e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:11 +07:00
provokateurin 46d149a0fa
fix(files_sharing): Stop hiding delete share button in advanced settings menu
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-30 13:43:41 +07:00
Caitlin Jordan 23fb8ed7d0
fix(files): correctly handle plural translation forms
Co-authored-by: Caitlin Jordan <jordan.cait17@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-30 12:30:22 +07:00
John Molakvoæ (skjnldsv) 15bfb90adf fix(files_sharing): add mime fallback to public preview too
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-06-28 09:27:20 +07:00
Nextcloud bot 46794bd048
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-27 00:23:25 +07:00
Ferdinand Thiessen ae3027f852
fix(files_sharing): do not double escape the share title
The title is already escaped by vue so special characters would result
in incorrect strings.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-26 09:12:23 +07:00
Nextcloud bot 3cf84b7a0f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-26 00:22:50 +07:00
Andy Scherzinger 26c0c85637
Merge pull request #53664 from nextcloud/fix/fix-admin-audit-listener
[stable31] fix(admin_audit): Avoid crash when rename event fileid changes
2025-06-25 18:16:09 +07:00
Andy Scherzinger a52d28c66c
Merge pull request #53681 from nextcloud/backport/53677/stable31
[stable31] fix(dav): catch exception on non local account
2025-06-25 17:19:07 +07:00
Maxence Lange 0f7cbf4e29 fix(dav): catch exception on non local account
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-25 13:36:24 +07:00
Robin Appelman 881abecd34 fix: don't scan the same storage multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-25 11:38:30 +07:00
Nextcloud bot e9ce122b85
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-25 00:23:31 +07:00
Kate c8ee5c1a1f
Merge pull request #53642 from nextcloud/backport/53548/stable31 2025-06-24 21:29:58 +07:00
Côme Chilliet e2a0ed080b
fix(admin_audit): Avoid crash when rename event fileid changes
This was fixed on master another way, but for stable31 we should still
 avoid the crash.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-24 16:28:58 +07:00
Nextcloud bot 9fbda3ee13
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-24 00:23:10 +07:00
Git'Fellow 862080c2fb fix(files_reminders): Join the reminders with the file system metadata table
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-06-23 19:47:06 +07:00
Andy Scherzinger b37170b065
Merge pull request #53612 from nextcloud/backport/53426/stable31
[stable31] feat: improve logging of fopen failures for smb
2025-06-23 14:33:38 +07:00
Nextcloud bot 92249b5ab5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:15 +07:00
Nextcloud bot 988074aee5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-22 00:22:48 +07:00
Nextcloud bot 5f96ddbf42
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-21 00:22:59 +07:00
Ferdinand Thiessen 4bb14dd8b6
Merge pull request #53589 from nextcloud/backport/53567/stable31
[stable31] fix(files): add plural form for selected nodes
2025-06-20 14:52:34 +07:00
Ferdinand Thiessen 4cbf85494c
fix(files): add plural form for selected nodes
Reported at Transifex:
> This string needs pluralization feature, because in some languages translation of "selected" differs between singular and plural.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-20 11:00:02 +07:00
Jana Peper 237e01c58e
fix: update OpenAPI specs
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:54:37 +07:00
Jana Peper 9a3d5e4b92
fix: unit tests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:54:32 +07:00
Jana Peper 326cb9c75c
feat: add ocs route to get apps enabled for current user
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-20 10:37:13 +07:00
Nextcloud bot 60b4a3d712
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-20 00:22:39 +07:00
Robin Appelman 6cece4f4e1 feat: improve logging of fopen failures for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-19 21:17:48 +07:00
Andy Scherzinger 66118ba1aa
Merge pull request #53577 from nextcloud/backport/53512/stable31
[stable31] [files_versions] Fix sidebar version item style
2025-06-19 22:16:19 +07:00
Julien Veyssier b8fbd0c487
fix(files_versions): give the version label a min width so it does not get invisible if the author name is long
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-19 16:54:00 +07:00
nfebe a0b9e1381e feat(files_sharing): Hide external shares for users in excluded groups
- Added frontend check to hide link shares if, public sharing is disabled.

Signed-off-by: nfebe <fenn25.fn@gmail.com>

[skip ci]
2025-06-19 13:30:48 +07:00
Nextcloud bot f57af2d6a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-19 00:22:50 +07:00
Julien Veyssier 5751b82715
fix(files): use the correct theming instance name from capabilities to set the page title
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-18 12:51:37 +07:00
Andy Scherzinger acab1571df
Merge pull request #53509 from nextcloud/backport/53436/stable31
[stable31] fix(UserRow): fallback to group name in case of undefined availableGroup
2025-06-18 11:10:40 +07:00
Andy Scherzinger 6aae30c6ee
Merge pull request #53546 from nextcloud/backport/53369/stable31
[stable31] fix: hide guests group when searching for principals
2025-06-18 11:01:59 +07:00
Nextcloud bot 05b870579b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-18 00:22:33 +07:00
Andy Scherzinger 18b01f3a08
Merge pull request #53547 from nextcloud/backport/53477/stable31
[stable31] fix: do not extract fields for blank template
2025-06-17 21:01:55 +07:00
Daniel Kesselberg 85746b9ebc
test(dav): add integration test for principal property search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +07:00
Daniel Kesselberg 89f20f0daf
fix: hide guests group when searching for principals
Follow-up for https://github.com/nextcloud/server/pull/52914

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +07:00
Daniel Kesselberg 6daf4bbad9
fix: hide guests group from principal backend
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-17 20:02:30 +07:00
Andy Scherzinger a31f16c197
Merge pull request #53520 from nextcloud/backport/53514/stable31
[stable31] fix(encryption): Do not register user key related event listeners
2025-06-17 20:00:17 +07:00
Elizabeth Danzberger 312464860a fix: do not extract fields for blank template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

[skip ci]
2025-06-17 19:57:34 +07:00
nfebe ae56da1375 fix: Set public link upload email notification to opt-in
This now sets `isDefaultEnabled` to false. This makes email notifications for file uploads
to public links disabled by default (opt-in) for users.

This addresses concerns about new notifications being enabled by
default for existing users, leading to unexpected emails.

Related: https://github.com/nextcloud/server/pull/46945

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-17 14:58:31 +07:00
John Molakvoæ 5f63c89955
Merge pull request #53545 from nextcloud/backport/53140/stable31 2025-06-17 14:53:54 +07:00
Ferdinand Thiessen abcbed720e
Merge pull request #53518 from nextcloud/backport/51609/stable31
[stable31] fix(files_versions): only handle path updates when there is path
2025-06-17 14:42:03 +07:00
skjnldsv 831534b7b0 fix(files): auto reload sidebar tags on update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-17 11:10:21 +07:00
Nextcloud bot b6f8bbb6bf
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 08:00:34 +07:00
Nextcloud bot 5bc4167680
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 00:22:42 +07:00
Côme Chilliet f0100f6db4 fix(encryption): Do not register user key related event listeners
when master key is enabled.
Also added a safeguard in PassphraseService.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-16 15:55:28 +07:00
Ferdinand Thiessen 9c20e30270 fix(files_versions): only handle path updates when there is path
`getPathForNode` can fail with null for various reasons (e.g. no owner),
in this cases we need to just skip the event handling.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 15:55:13 +07:00
Maksim Sukharev d9738c70c2 fix(UserRow): fallback to group name in case of undefined availableGroup
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-16 11:54:59 +07:00
Nextcloud bot 1a7ff4b75b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-16 00:23:11 +07:00
Nextcloud bot c301f9e357
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-15 00:22:23 +07:00
Nextcloud bot 344fab109a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-14 00:22:26 +07:00
Nextcloud bot 150d5cece9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-13 00:22:26 +07:00
Richard Steinmetz 3f631400f7 docs(caldav): improve documentation of CalDavBackend::getCalendarsForUserCount
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-12 22:38:14 +07:00
John Molakvoæ 3d2c00a482 fix(settings): adjust group return code styling
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-12 22:02:00 +07:00
skjnldsv b3bc3c9ca8 fix(settings): show group label instead of gid in accounts management
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-12 22:02:00 +07:00
Andy Scherzinger 9fdc7fb566
Merge pull request #53349 from nextcloud/backport/51131/stable31
[stable31] fix(imip): dont compare events for the reply message
2025-06-12 21:59:41 +07:00
Andy Scherzinger bb4eb01f60
Merge pull request #53357 from nextcloud/backport/53250/stable31
[stable31] fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
2025-06-12 19:13:39 +07:00
Hamza Mahjoubi 1ccc167738 fix(imip): dont compare events for the reply message
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2025-06-12 19:09:06 +07:00
Andy Scherzinger 51b7f26e4d
Merge pull request #53416 from nextcloud/backport/53075/stable31
[stable31] test: files_sharing add test for LoadAdditionalListener
2025-06-12 18:52:49 +07:00
Andy Scherzinger 9e0377fee4
Merge pull request #53425 from nextcloud/backport/53378/stable31
[stable31] test: run all files_external tests for S3
2025-06-12 18:47:37 +07:00
Nextcloud bot 111c919a65
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-12 00:22:58 +07:00
Nextcloud bot ba1fccae01
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-11 00:23:38 +07:00
Ferdinand Thiessen 9fa9ffd229
test: reenable localstack tests (bug fixed) but disable MinIO versioned copy test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:52 +07:00
Ferdinand Thiessen e79e1e2d95
test: only skip tests failing on localstack for localstack
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:45 +07:00
Ferdinand Thiessen 99488b0a38
test: fix s3 external storage tests to run all storages on ci
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-10 15:20:38 +07:00
Misha M.-Kupriyanov 5afe52c4ba test: files_sharing add test for LoadAdditionalListener
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-06-10 09:00:12 +07:00
Nextcloud bot 56fbeef011
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-10 00:22:47 +07:00
Nextcloud bot ee088fcd44
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:28 +07:00
Nextcloud bot 5a5d3bd3c1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-08 00:22:38 +07:00
Nextcloud bot 7dced2adbb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-07 00:22:12 +07:00
John Molakvoæ 1fb68599ed
Revert "[stable31] fix: hide guests group from principal backend" 2025-06-06 11:43:27 +07:00
Nextcloud bot 359000cbc9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-06 00:23:54 +07:00
Côme Chilliet 0e6195eaa8 fix(user_ldap): Harmonize parameter obfuscation and serialization accross logging methods
Debug log, profiler and ldap debug log had a different logic for
 sanitizing of parameters, aligning them.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 16:12:44 +07:00
skjnldsv e46c36a1e8 fix(files_sharing): show message when nickname is not valid
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 08:56:17 +07:00
skjnldsv 8f2d3fcfb6 fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 08:56:17 +07:00
Nextcloud bot 9fd36561b9
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:45 +07:00
Grigorii K. Shartsev 9b9daf3d83 perf(dashboard): lags on dashboard items drag
- `aria-labelledby` is not needed here, it is a hidden icon
- `visually-hidden` has transformations that have huge performance
impact in combination with other transformations, for example, on
draggable

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2025-06-04 12:29:54 +07:00
Andy Scherzinger 4420ca0192
Merge pull request #53266 from nextcloud/backport/52215/stable31
[stable31] perf(carddav): don't query circle memberships
2025-06-04 11:08:29 +07:00
skjnldsv b8591e6b82 fix(files): highlight previous folder on history up
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-04 06:37:14 +07:00
Nextcloud bot a2358fba5c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-04 00:22:54 +07:00
F. E Noel Nfebe e982326000
Merge pull request #53302 from nextcloud/backport/53275/stable31
[stable31] fix(provisioning_api): Allow group details access for users with admin delegation
2025-06-03 22:49:55 +07:00
Robin Appelman 706f450967
Merge pull request #53293 from nextcloud/backport/53264/stable31
[stable31] feat: add --unscanned option to files_external:scan
2025-06-03 19:31:24 +07:00
Richard Steinmetz e8341af69a
Merge pull request #53303 from nextcloud/backport/53273/stable31
[stable31] fix(accounts): new account quota value
2025-06-03 19:17:36 +07:00
SebastianKrupinski b0b1f91963 fix: new account quota value
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-06-03 14:53:03 +07:00
nfebe bebe8377b4 fix(provisioning_api): Allow group details access for users with admin delegation
This fixes an issue where users with "Administration privileges → Users" could not access
the groups details endpoint in the provisioning API, resulting in a 403 Forbidden error.

There is a problem with adding the  `AuthorizedAdminSetting` attribute (middleware)
that only allows access to users with Sharing admin privileges.

Users with "`Users` admin" privileges should also be able to access group details.

Resolves: https://github.com/nextcloud/server/issues/52617

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-03 14:41:56 +07:00
Robin Appelman 3ca5423ca5 feat: add --unscanned option to files_external:scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-03 13:13:49 +07:00
Maksim Sukharev 90f95d46f5 feat: link upcoming event to calendar app modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-03 12:05:57 +07:00
F. E Noel Nfebe dfcac1057b
Merge pull request #53051 from nextcloud/backport/52833/stable31
[stable31] fix(settings): Send update request when clearing user manager
2025-06-03 09:21:10 +07:00
Nextcloud bot 223cc9ff39
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-03 00:22:33 +07:00
nfebe 474ee3ab15 fix: Use logger correctly in UserRow.vue
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +07:00
nfebe 6048e39678 fix(settings): Prevent double request on manager change
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:43 +07:00
Ferdinand Thiessen 11bdcbec86 fix: correctly unset account manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-02 23:21:42 +07:00
nfebe 98c055f9e5 fix(settings): Send update request when clearing user manager
- Update setUserData to send PUT request for empty manager values
- Remove clear button from manager select in UserRow
- Simplify manager update logic in UserRow
- Ensure consistent API behavior for empty values in allowedEmpty fields

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-06-02 23:21:42 +07:00
Richard Steinmetz d447edf947 perf(carddav): don't query circle memberships
It is not possible to share address books with circles so it is
pointless to query for address books shared with joined circles.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-02 14:46:55 +07:00
Maksim Sukharev 495c0e3c64 fix(AppNavigationGroupList): restore navigation panel and search/filter functionality for sub-admin groups
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +07:00
Maksim Sukharev bcc001eae6 fix(UserRow): retrieve available groups from the store
- rename 'available*Groups' to 'selected*Groups'
- populate store and 'availableGroups' from search requests

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +07:00
Maksim Sukharev 22df9d1676 fix(NewUserDialog): retrieve available groups from the store
- fix 'this.isAdmin' to be 'this.settings.isAdmin'
- compute 'availableGroups' instead of setting it once mounted
- populate store and 'availableGroups' from search requests

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-06-02 07:19:56 +07:00
Nextcloud bot ae25d9191b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-02 00:48:00 +07:00
Daniel Kesselberg 424a440a98 fix(systemtags): fix translations for systemtags view
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>

[skip ci]
2025-06-01 20:41:32 +07:00
Ferdinand Thiessen 69322803ef fix: do not show account filter for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-01 20:42:05 +07:00
Ferdinand Thiessen 7178bb7064 fix(files): do nothing if `view local` dialog was just closed
We try to open a file in the Nextcloud client.
If this fails a dialog is shown with 3 options:

1. Retry: If it fails no further dialog is shown.
2. Open online: The viewer is used to open the file.
3. Close the dialog and nothing happens (abort).

This correctly implements 3 and also adds some comments + order file in
reading order (using `function` instead of arrow functions allows this
easily).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-01 15:42:27 +07:00
John Molakvoæ 8b81a8ef49 fix(profile): keep error status persistent until valid
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-01 12:25:38 +07:00
skjnldsv 155867aecd fix(profile): do not restore previous value on invalid request
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-01 12:25:37 +07:00
Nextcloud bot ac5b632bf8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-01 00:22:07 +07:00
Ferdinand Thiessen dad5132594 test: adjust unit tests for updated library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-31 20:05:39 +07:00
Nextcloud bot 29a09a4e49
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:48 +07:00
Kate 94ad4fc273
Merge pull request #53207 from nextcloud/backport/53145/stable31 2025-05-30 16:07:01 +07:00
Robin Appelman 2aced4a607 fix: log error when writing stream to dav file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-30 12:46:32 +07:00
Joas Schilling 4c83a8b75a fix(user_status): Avoid unique constraint violations from parallel heartbeats and GET requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-30 08:00:48 +07:00
Nextcloud bot 75f109436a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 00:22:45 +07:00
John Molakvoæ 07530f774f
Merge pull request #53182 from nextcloud/backport/53147/stable31 2025-05-29 19:01:59 +07:00
Maxence Lange ba6d74b6de fix(share): assume download enabled on federated share
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-05-29 14:52:00 +07:00
Alejo a509b34d55 fix(files_versions): "undefined restored" on restore
Signed-off-by: Alejo <xlejo@protonmail.com>
2025-05-29 12:13:38 +07:00
Kent Delante 0d49e968ce
Merge branch 'stable31' into backport/52752/stable31
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-05-29 14:12:24 +07:00
Nextcloud bot 215ec4893a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-29 00:33:35 +07:00
Andy Scherzinger 90b591c983 style(lint): replace legacy keyword with overflow-wrap: break-word
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-28 16:57:07 +07:00
Jonas 6bca885efe fix(SyncLivePhotosListener): Don't handle copy event emitted from us
Running $peerFile->copy() causes a second BeforeNodeCopiedEvent now,
which we don't want to handle.

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-28 11:50:12 +07:00
Nextcloud bot 29d0dcfb6e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:46 +07:00
Robin Appelman 97cf88da29 perf: improve query to determine which users need a background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-27 12:37:51 +07:00
Kent Delante 5c38eef584 fix(files_trashbin): check if there is enough space before restoring
Signed-off-by: Kent Delante <kent.delante@proton.me>

[skip ci]
2025-05-27 08:16:35 +07:00
Ferdinand Thiessen 8bb41fb708
Merge pull request #52819 from nextcloud/backport/52809/stable31
[stable31] fix(files): do not even try to fetch a preview if `has-preview` is false
2025-05-27 07:58:53 +07:00
Andy Scherzinger ca9193a1d8
Merge pull request #52969 from nextcloud/backport/52514/stable31
[stable31] feat: only get template fields once selected
2025-05-27 06:42:14 +07:00
Nextcloud bot 39010035a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 00:22:23 +07:00
John Molakvoæ (skjnldsv) 4ed1050ccf fix(files): do not even try to fetch a preview if èhas-preview` is false
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-26 18:57:33 +07:00
nfebe e1a306340d fix(files_sharing): Show note if note exists on share
When a share includes a note, ensure the note checkbox is checked and the note is
displayed when reopening the share sidebar.

Fixes: #52794.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-05-26 18:05:15 +07:00
Elizabeth Danzberger 8b5a2d3512 chore: update open api spec
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +07:00
Elizabeth Danzberger 52ae766a8e feat: only load template fields when requested
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-26 18:03:24 +07:00
Andy Scherzinger 4faf51183d
Merge pull request #52903 from nextcloud/backport/52708/stable31
[stable31] fix(dav): add repair step to queue job to update rooms and resources
2025-05-26 17:57:37 +07:00
Andy Scherzinger 30018bfa11
Merge pull request #53055 from nextcloud/fix/upload-file-drop-info
fix(files_sharing): show note, label and list of uploaded files on file drop
2025-05-26 14:54:56 +07:00
Marcel Klehr 82c4a88512
Merge branch 'stable31' into backport/53001/stable31 2025-05-26 14:14:56 +07:00
Ferdinand Thiessen e51e4d6c3e
fix(files_sharing): show note, label and list of uploaded files on file drop
This was missing from the Vue migration of the public share view:
- Show the note as the description of the file drop
- Show the label as the heading of the file drop if available
- Show list of uploaded files for verification

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 14:14:40 +07:00
Ferdinand Thiessen c18c75cb52 docs(files): add more documentation about WCF and links to the admin docs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +07:00
Ferdinand Thiessen 41b9a7ec9b feat(files): add command to (dis)enable windows compatible filenames
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +07:00
Ferdinand Thiessen 3ce306ec57 feat(files): add command to automatically rename filenames
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-26 10:12:50 +07:00
rakekniven 4300c27333 chore(18n): More natural english - fix plural typo
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:10:15 +07:00
Joas Schilling beefa6f411 fix(l10n): Fix one more plural
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-26 10:07:11 +07:00
Marcel Klehr c50592ecdb fix: Correct translation method use
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-05-26 10:07:03 +07:00
rakekniven b6898dde7f fix(SetupChecks): Update TaskProcessingPickupSpeed
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-26 10:06:50 +07:00