Commit graph

74847 commits

Author SHA1 Message Date
Ferdinand Thiessen
eb897b112e
fix(files): Make openMenu watcher null safe
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 11:53:15 +02:00
Ferdinand Thiessen
2a5d6bb713 fix(files): Reset context menu position on close
* Resolves https://github.com/nextcloud/server/issues/46934

Ensure that after a right-click the context menu position is resetted,
so that pressing the "actions"-menu button it is displayed on the correct location.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 09:15:41 +02:00
Nextcloud bot
87605dd358
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:29 +00:00
Stephan Orbaugh
b359a650e5
Merge pull request #47843 from nextcloud/backport/47805/stable29
[stable29] fix: Replace conflicting tags in `xml_exception` template
2024-09-10 11:47:24 +02:00
Nextcloud bot
33ccc430cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:45 +00:00
Ferdinand Thiessen
8efd5f4d61 fix: Replace conflicting tags in xml_exception template
The `<?xml` tag is interpreted as PHP short tags, so this causes errors.
Instead just print that part of the template.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-09 11:46:36 +00:00
Nextcloud bot
789ccf8798
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:40 +00:00
Nextcloud bot
8668546e5e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:50 +00:00
Nextcloud bot
f6dae38968
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:37:14 +00:00
Nextcloud bot
7ec40bfe35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:25 +00:00
Louis
8f28394a06
Merge pull request #47786 from nextcloud/backport/47770/stable29
[stable29] fix(dav): Always respond custom error page on exceptions
2024-09-05 22:44:37 +02:00
Arthur Schiwon
dd9f749342
Merge pull request #47758 from nextcloud/release/29.0.7_rc1
29.0.7 RC1
2024-09-05 21:43:45 +02:00
Arthur Schiwon
3c9abb09e5
Merge pull request #47777 from nextcloud/backport/47769/stable29
[stable29] fix: Use sha256 to hash arguments of background jobs
2024-09-05 21:37:58 +02:00
Andy Scherzinger
3bc5ea4fd9
Merge pull request #47780 from nextcloud/backport/47519/stable29
[stable29] feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 20:42:33 +02:00
Andy Scherzinger
98a0a8cdcb
Merge pull request #47774 from nextcloud/backport/46255/stable29
[stable29] fix: add option to remove the webroot for setup checks and don't chec…
2024-09-05 20:31:38 +02:00
Louis Chemineau
987840592e fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:15:51 +00:00
Arthur Schiwon
0b6ec1b1f0
fix: missing use statements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-05 19:11:06 +02:00
Louis Chemineau
8552ac461e
fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:06:00 +02:00
Côme Chilliet
4a9d5851ab fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:01:31 +00:00
Côme Chilliet
adcb5da338 feat(transfer-ownership): Correctly react to encrypted files
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:01:31 +00:00
Louis Chemineau
1362dbda22 fix: Use sha256 to hash arguments of background jobs
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:57:28 +00:00
Côme Chilliet
48c807e667 fix(setupchecks): Test overwrite.cli url first, then generated one, and
trusted domains as last fallback.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 15:53:45 +00:00
Daniel Kesselberg
e004fb7042 fix: add option to remove the webroot for setup checks and don't check trusted_domains.
1) The checks for well-known urls should always run against the root domain and therefore the option to remove the webroot.

2) For trusted domains, the available protocol is unknown, and thus some guesswork would be needed to make that work. I've decided for now to not consider them anymore to reduce false-positives.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-05 15:53:45 +00:00
Andy Scherzinger
473c9d8249
Merge pull request #47486 from nextcloud/backport/46013/stable29
[stable29] fix: write object to the correct urn when moving from another storage to object store
2024-09-05 16:23:10 +02:00
Arthur Schiwon
3fbca06e19
Merge pull request #47284 from nextcloud/backport/47038/stable29
[stable29] fix: check for correct storage class when checking for link parent
2024-09-05 11:43:25 +02:00
Arthur Schiwon
35085228dc
Merge pull request #47337 from nextcloud/backport/47332/stable29
[stable29] fix(caldav): allow renaming of birthday calendars
2024-09-05 11:32:58 +02:00
Marcel Müller
33d6aac06a
Merge pull request #47765 from nextcloud/backport/47754/stable29
[stable29] fix(appstore): Cache apps.json also on dev instances
2024-09-05 08:17:52 +02:00
Marcel Müller
1ad173ce05 fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-05 05:49:39 +00:00
Daniel Calviño Sánchez
c514a73fd3
Merge pull request #47734 from nextcloud/backport/46859/stable29
[stable29] Fix status check and saving of external storages
2024-09-05 04:28:36 +02:00
Nextcloud bot
0249a2970d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:24:06 +00:00
Daniel Calviño Sánchez
844505023e fix: Hide status tooltip in row to add a new mount point
The row to add a new mount point is cloned when a new mountpoint is

added, so it is expected that it includes a status span. However, it

should not be displayed in that row, only in the cloned row when its

status is updated.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
5ed377e003 fix: Fix unmodified placeholder replacing the actual value when updating
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
f34daedd4c test: Add integration tests for saving external userglobal storages
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
66c689083b fix: Reset selected backend when adding a new storage
As a new storage is added by selecting a backend the selected backend
needs to be reset. Otherwise it is not possible to add another storage
with the same backend.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
8a97029857 fix: Add missing translation for UI string
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
cdc64d18c4 fix: Restore default status tooltip when no status message is provided
If the status is updated but no explicit message is provided (for
example, if the status check succeeded) the default tooltip (from the
template) is now set to prevent a mismatch between the status and the
tooltip (for example, if the configuration is fixed after a failed
status check).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
981a20e84f fix: Set status tooltip to error message on failed actions
When saving, updating and rechecking an storage fails (which is
different to the soft-fail when the action itself succeeds but the
status check does not) further details are provided in the error message
of the response, which is now set as the tooltip.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
caa7936530 fix: Set status tooltip to status message when saving an storage
When a storage is saved the status check can fail even if saving the
storage succeeds. In those cases further details are provided in the
status message of the storage, which is now set as the tooltip,
similarly to how it is done when rechecking the storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
8d3ff42f78 fix: Remove status check when configuration was changed
Setting a null status was supposed to remove the status check, but
nothing was changed in that case. Now the status check is properly
removed, and doing that by hiding the element rather than just turning
it invisible also prevents that clicking on the invisible status
triggers a check, as until the new configuration is saved the check will
still be performed with the old configuration, which could be misleading
for the user.

Additionally, an explicit width is set to the parent of the span element
to prevent its width from changing when the span is shown and hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
b71da3d389 fix: Recheck userglobal storages when loaded
Userglobal storages are now automatically recheck when loaded, similarly
to how it is done for global storages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Daniel Calviño Sánchez
80f038cc67 refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 23:19:37 +02:00
Robin Appelman
88716650b3 fix: check for correct storage class when checking for link parent
fixes #39123

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-04 23:19:04 +02:00
Anna Larch
8f838b2fe8 fix(caldav): allow renaming of birthday calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-04 23:18:30 +02:00
Arthur Schiwon
de3b6d7e44
build(hub): 29.0.7 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-04 23:04:12 +02:00
Kate
70651b6b3c
Merge pull request #47750 from nextcloud/backport/47417/stable29 2024-09-04 21:09:27 +02:00
John Molakvoæ
e99137b6e4
Merge pull request #47745 from nextcloud/fix/undefined-displayname 2024-09-04 20:11:33 +02:00
provokateurin
77c38979c6 fix(files): Create non-existent parents of mountpoints
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-04 18:02:56 +00:00
nextcloud-command
cff046aace chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 17:05:09 +00:00
skjnldsv
bcb536e04d fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 17:01:53 +00:00
John Molakvoæ
0f4086c85a
Merge pull request #47747 from nextcloud/backport/47738/stable29 2024-09-04 18:50:09 +02:00