Commit graph

76593 commits

Author SHA1 Message Date
Nextcloud bot
211b0160dc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:37:06 +00:00
Nextcloud bot
8274e3f239
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:17 +00:00
Andy Scherzinger
cac3305ba9
Merge pull request #47787 from nextcloud/backport/47770/stable30
[stable30] fix(dav): Always respond custom error page on exceptions
2024-09-05 22:29:13 +02:00
Louis Chemineau
23b77dc7ec fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:17:10 +00:00
Arthur Schiwon
599b923188
Merge pull request #47757 from nextcloud/release/30.0.0_rc4
30.0.0 RC4
2024-09-05 20:14:24 +02:00
Arthur Schiwon
eaa03b967d
Merge pull request #47775 from nextcloud/backport/46255/stable30
[stable30] fix: add option to remove the webroot for setup checks and don't chec…
2024-09-05 20:11:50 +02:00
Arthur Schiwon
050a5d092a
Merge pull request #47781 from nextcloud/backport/47519/stable30
[stable30] feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 20:04:40 +02:00
Arthur Schiwon
289e5d7e26
Merge pull request #47778 from nextcloud/backport/47769/stable30
[stable30] fix: Use sha256 to hash arguments of background jobs
2024-09-05 20:03:46 +02:00
Côme Chilliet
e1317962b0 fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:02:41 +00:00
Côme Chilliet
7bac8f0fca 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:02:41 +00:00
Louis Chemineau
14a2efff86 fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:58:45 +00:00
Louis Chemineau
94d307c331 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:58:45 +00:00
Côme Chilliet
6830b250b4 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:54:56 +00:00
Daniel Kesselberg
ed8759eab8 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:54:56 +00:00
Arthur Schiwon
83e6649cfa
Merge pull request #47484 from nextcloud/backport/46013/stable30
[stable30] fix: write object to the correct urn when moving from another storage to object store
2024-09-05 10:49:06 +02:00
Andy Scherzinger
9f96455030
Merge pull request #47753 from nextcloud/backport/47745/stable30
[stable30] fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
2024-09-05 09:23:33 +02:00
Andy Scherzinger
5b55f6f3a5
Merge pull request #47764 from nextcloud/backport/47754/stable30
[stable30] fix(appstore): Cache apps.json also on dev instances
2024-09-05 09:18:52 +02:00
Marcel Müller
7a236cabdd fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-05 05:48:34 +00:00
nextcloud-command
03a22f94ce chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-05 07:23:42 +02:00
skjnldsv
2393b855ab fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-05 07:23:42 +02:00
Nextcloud bot
0cc6d2e879
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:23:58 +00:00
Robin Appelman
05f79f23cd fix: write object to the correct urn when moving from another storage to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-04 23:17:04 +02:00
Andy Scherzinger
125e18d78b
Merge pull request #47733 from nextcloud/backport/46859/stable30
[stable30] Fix status check and saving of external storages
2024-09-04 23:12:26 +02:00
Andy Scherzinger
46afe2e3c2
Merge pull request #47751 from nextcloud/backport/47417/stable30
[stable30] fix(files): Create non-existent parents of mountpoints
2024-09-04 23:11:18 +02:00
Arthur Schiwon
eda4e0caa6
build(hub): 30.0.0 RC4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-04 23:03:18 +02:00
provokateurin
b9aaa9f2e0 fix(files): Create non-existent parents of mountpoints
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-04 18:04:13 +00:00
John Molakvoæ
957d4ad7dd
Merge pull request #47748 from nextcloud/backport/47738/stable30 2024-09-04 18:08:18 +02:00
nextcloud-command
0eceb57ab3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 15:11:09 +00:00
skjnldsv
a1902abf75 fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 14:57:26 +00:00
Daniel Calviño Sánchez
b1ece04137 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 10:21:55 +00:00
Daniel Calviño Sánchez
61b64b109c 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 10:11:59 +00:00
Daniel Calviño Sánchez
9a8beb417e 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 10:11:59 +00:00
Daniel Calviño Sánchez
c23321e956 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 10:11:59 +00:00
Daniel Calviño Sánchez
2d7c44afd6 fix: Add missing translation for UI string
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Daniel Calviño Sánchez
b37017a19c 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 10:11:59 +00:00
Daniel Calviño Sánchez
01ee29c0d5 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 10:11:59 +00:00
Daniel Calviño Sánchez
aee7859d1f 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 10:11:59 +00:00
Daniel Calviño Sánchez
a0068126ee 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 10:11:59 +00:00
Daniel Calviño Sánchez
9e06254239 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 10:11:59 +00:00
Daniel Calviño Sánchez
5a350302dd refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 10:11:59 +00:00
Andy Scherzinger
d415629010
Merge pull request #47728 from nextcloud/backport/47155/stable30
[stable30] fix(jobs): Switch to executeStatement() while deleting rows
2024-09-04 11:34:26 +02:00
Andy Scherzinger
14197c1a84
Merge pull request #47726 from nextcloud/backport/47285/stable30
[stable30] fix: Do not throw if appstore is unavailable during upgrade
2024-09-04 11:33:51 +02:00
Andy Scherzinger
8914668427
Merge pull request #47729 from nextcloud/artonge/backport/stable30/47511
[stable30] chore: Improve isEncrypted description
2024-09-04 10:54:32 +02:00
Louis Chemineau
e3924d3173
chore: Improve isEncrypted description
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-04 10:32:36 +02:00
Git'Fellow
4b55a4dc1d fix: lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:42:42 +00:00
Git'Fellow
07a269cea4 fix(jobs): Swicth to executeStatement() while deleting rows
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 07:42:42 +00:00
Julius Härtl
c726b2f8f6 fix: Do not throw if appstore is unavailable during upgrade
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-04 07:32:11 +00:00
Nextcloud bot
1a9ded4b42
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 00:22:03 +00:00
John Molakvoæ
858de5734e
Merge pull request #47720 from nextcloud/backport/47709/stable30 2024-09-03 21:44:14 +02:00
John Molakvoæ
74b73877f9
Merge pull request #47719 from nextcloud/backport/stable30/47158 2024-09-03 21:44:03 +02:00