Commit graph

73450 commits

Author SHA1 Message Date
Nextcloud bot
124b565c33
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:58 +00:00
John Molakvoæ
a8522a7d48
Merge pull request #47974 from nextcloud/backport/47968/stable28 2024-09-14 20:24:34 +02:00
Git'Fellow
dd42b6cdc8 fix(files_external): Check key exists before accessing it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-14 16:54:43 +00:00
Kate
0b65a3e762
Merge pull request #47956 from nextcloud/backport/47954/stable28 2024-09-14 14:30:01 +02:00
Nextcloud bot
e680a7a87d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:41 +00:00
John Molakvoæ
98327372c3
Merge pull request #47952 from nextcloud/backport/47945/stable28
[stable28] fix(files_external): broken credentials dialog
2024-09-13 20:58:20 +02:00
provokateurin
aff9322287 fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-13 17:00:21 +00:00
nextcloud-command
9310cc80c9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-13 15:32:39 +00:00
John Molakvoæ (skjnldsv)
519ef00e06 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

[skip ci]
2024-09-13 15:21:53 +00:00
Nextcloud bot
264cd2dcce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:21:07 +00:00
Benjamin Gaussorgues
7f825c0cc1
Merge pull request #47886 from nextcloud/release/28.0.10 2024-09-12 14:09:57 +02:00
Nextcloud bot
e4eef19b0b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 00:20:41 +00:00
Benjamin Gaussorgues
5332e1041b
build(hub): 28.0.10
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-09-11 11:14:32 +02:00
Nextcloud bot
ef57270c51
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:38 +00:00
Stephan Orbaugh
2a1df3b7fc
Merge pull request #47797 from nextcloud/backport/47692/stable28
[stable28] fix(files): Correctly parse external shares for files UI
2024-09-10 17:17:03 +02:00
nextcloud-command
8a77d84d37 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-10 12:15:55 +00:00
Ferdinand Thiessen
696447d3ac fix(files): Correctly parse external shares for files UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 14:05:42 +02:00
Stephan Orbaugh
3c2ead7133
Merge pull request #47785 from nextcloud/backport/47770/stable28
[stable28] fix(dav): Always respond custom error page on exceptions
2024-09-10 10:56:48 +02:00
Nextcloud bot
bfb9c9b55c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:52 +00:00
Ferdinand Thiessen
414a66e023 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 17:30:19 +02:00
Louis Chemineau
8524ab9a09 fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-09 17:30:19 +02:00
Nextcloud bot
9dbc701642
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:46 +00:00
Nextcloud bot
175cbd35d9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:56 +00:00
Nextcloud bot
ee71d717b1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:37:21 +00:00
Nextcloud bot
8f7f54bf53
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:31 +00:00
Arthur Schiwon
a2a9d668bf
Merge pull request #47759 from nextcloud/release/28.0.10_rc1
28.0.10 RC1
2024-09-05 21:55:43 +02:00
Arthur Schiwon
5c7f5b4c48
Merge pull request #47776 from nextcloud/backport/47769/stable28
[stable28] fix: Use sha256 to hash arguments of background jobs
2024-09-05 21:40:46 +02:00
Arthur Schiwon
257a9dad5b
Merge pull request #47779 from nextcloud/backport/47519/stable28
[stable28] feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 21:36:15 +02:00
Arthur Schiwon
095389d71a
fix: missing use statements
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-05 19:15:55 +02:00
Louis Chemineau
7f742cb852
fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 18:09:27 +02:00
Côme Chilliet
817b8c076d fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 16:00:18 +00:00
Côme Chilliet
9b057e472d 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:00:18 +00:00
Louis Chemineau
f4fc57cb83 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:56:08 +00:00
dependabot[bot]
86901b3cce
Merge pull request #46483 from nextcloud/dependabot/npm_and_yarn/stable28/jquery-ui-dist-1.13.3 2024-09-05 11:27:12 +00:00
dependabot[bot]
a1f3ce43fe build(deps): bump jquery-ui-dist from 1.13.2 to 1.13.3
Bumps [jquery-ui-dist](https://github.com/jquery/jquery-ui) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: jquery-ui-dist
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-05 10:59:09 +00:00
Arthur Schiwon
4dfc5f69b0
Merge pull request #47749 from nextcloud/backport/47417/stable28
[stable28] fix(files): Create non-existent parents of mountpoints
2024-09-05 10:55:12 +02:00
Arthur Schiwon
f99f750eff
Merge pull request #47735 from nextcloud/backport/46859/stable28
[stable28] Fix status check and saving of external storages
2024-09-05 10:54:26 +02:00
Marcel Müller
bca0386000
Merge pull request #47766 from nextcloud/backport/47754/stable28
[stable28] fix(appstore): Cache apps.json also on dev instances
2024-09-05 08:26:51 +02:00
Marcel Müller
5b23a9b016 fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-05 05:50:46 +00:00
Daniel Calviño Sánchez
b6d8e6bed8 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>
2024-09-05 04:18:39 +02:00
Daniel Calviño Sánchez
0644361147 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-05 04:18:38 +02:00
Daniel Calviño Sánchez
59b62aa50f 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-05 04:18:38 +02:00
Daniel Calviño Sánchez
b72aebf7be 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-05 04:18:38 +02:00
Daniel Calviño Sánchez
fa28a1da64 fix: Add missing translation for UI string
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-05 04:18:38 +02:00
Daniel Calviño Sánchez
65885fea33 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-05 04:18:38 +02:00
Daniel Calviño Sánchez
029626ba8f 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-05 04:18:37 +02:00
Daniel Calviño Sánchez
35f16a3d8a 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-05 04:18:37 +02:00
Daniel Calviño Sánchez
9108d54bda 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-05 04:18:37 +02:00
Daniel Calviño Sánchez
dc18849d18 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-05 04:18:37 +02:00
Daniel Calviño Sánchez
fc93517fc5 refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-05 04:18:36 +02:00