]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 months agotest(dav): imip service test expects integers for last occurence backport/48043/stable28 48054/head
Anna Larch [Sun, 15 Sep 2024 16:43:45 +0000 (18:43 +0200)]
test(dav): imip service test expects integers for last occurence

Signed-off-by: Anna Larch <anna@nextcloud.com>
2 months agoMerge pull request #47893 from nextcloud/backport/47339/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:18:41 +0000 (22:18 +0200)]
Merge pull request #47893 from nextcloud/backport/47339/stable28

[stable28] fix: Display 'Leave share' instead of 'Delete'

2 months agoMerge pull request #47876 from nextcloud/backport/47848/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:18:15 +0000 (22:18 +0200)]
Merge pull request #47876 from nextcloud/backport/47848/stable28

[stable28] fix(files): Reset context menu position on close

2 months agoMerge pull request #47935 from nextcloud/backport/47854/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:17:57 +0000 (22:17 +0200)]
Merge pull request #47935 from nextcloud/backport/47854/stable28

[stable28] fix(appstore): Ensure returned apps from AppStore are valid

2 months agoMerge pull request #47979 from nextcloud/backport/47971/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:13:18 +0000 (22:13 +0200)]
Merge pull request #47979 from nextcloud/backport/47971/stable28

[stable28] fix: Do not try to set HTTP response code on already closed connection

2 months agoMerge pull request #48032 from nextcloud/backport/48013/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:12:39 +0000 (22:12 +0200)]
Merge pull request #48032 from nextcloud/backport/48013/stable28

[stable28] fix(BaseResponse): Cast XML element values to string

2 months agoMerge pull request #47917 from nextcloud/backport/47914/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:09:41 +0000 (22:09 +0200)]
Merge pull request #47917 from nextcloud/backport/47914/stable28

2 months agoMerge pull request #47811 from nextcloud/backport/47649/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:09:31 +0000 (22:09 +0200)]
Merge pull request #47811 from nextcloud/backport/47649/stable28

2 months agoMerge pull request #47861 from nextcloud/backport/47860/stable28
John Molakvoæ [Sun, 15 Sep 2024 20:09:21 +0000 (22:09 +0200)]
Merge pull request #47861 from nextcloud/backport/47860/stable28

2 months agoMerge pull request #48019 from nextcloud/backport/48015/stable28
John Molakvoæ [Sun, 15 Sep 2024 19:58:55 +0000 (21:58 +0200)]
Merge pull request #48019 from nextcloud/backport/48015/stable28

2 months agoMerge pull request #47988 from nextcloud/automated/noid/stable28-update-psalm-baseline
Andy Scherzinger [Sun, 15 Sep 2024 19:41:22 +0000 (21:41 +0200)]
Merge pull request #47988 from nextcloud/automated/noid/stable28-update-psalm-baseline

[stable28] Update psalm-baseline.xml

2 months agofix(BaseResponse): Cast XML element values to string backport/48013/stable28 48032/head
provokateurin [Sun, 15 Sep 2024 11:07:50 +0000 (13:07 +0200)]
fix(BaseResponse): Cast XML element values to string

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agoMerge pull request #48022 from nextcloud/backport/48017/stable28
Kate [Sun, 15 Sep 2024 17:15:59 +0000 (19:15 +0200)]
Merge pull request #48022 from nextcloud/backport/48017/stable28

2 months agoMerge pull request #48023 from nextcloud/backport/48014/stable28
John Molakvoæ [Sun, 15 Sep 2024 17:08:07 +0000 (19:08 +0200)]
Merge pull request #48023 from nextcloud/backport/48014/stable28

2 months agofix(Tags): Return boolean for userHasTags() backport/48014/stable28 48023/head
provokateurin [Sun, 15 Sep 2024 13:27:37 +0000 (15:27 +0200)]
fix(Tags): Return boolean for userHasTags()

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agofix(Comment): Initialize childrenCount as integer backport/48017/stable28 48022/head
provokateurin [Sun, 15 Sep 2024 13:23:10 +0000 (15:23 +0200)]
fix(Comment): Initialize childrenCount as integer

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agofix(Storage\Local): Do not call getSourcePath() on SplFileInfo backport/48015/stable28 48019/head
provokateurin [Sun, 15 Sep 2024 13:24:22 +0000 (15:24 +0200)]
fix(Storage\Local): Do not call getSourcePath() on SplFileInfo

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agochore(tests): Update psalm baseline 47988/head
nextcloud-command [Sun, 15 Sep 2024 02:36:26 +0000 (02:36 +0000)]
chore(tests): Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 15 Sep 2024 00:26:58 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agofix: Do not try to set HTTP response code on already closed connection backport/47971/stable28 47979/head
Côme Chilliet [Sat, 14 Sep 2024 12:20:49 +0000 (14:20 +0200)]
fix: Do not try to set HTTP response code on already closed connection

This avoids a PHP warning in the logs about trying to set the response
 code while the output already started. It’s useless to try to print an
 error page anyway in this situation because the connection was closed
 already.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 months agoMerge pull request #47974 from nextcloud/backport/47968/stable28
John Molakvoæ [Sat, 14 Sep 2024 18:24:34 +0000 (20:24 +0200)]
Merge pull request #47974 from nextcloud/backport/47968/stable28

2 months agofix(files_external): Check key exists before accessing it 47974/head
Git'Fellow [Sat, 14 Sep 2024 09:21:17 +0000 (11:21 +0200)]
fix(files_external): Check key exists before accessing it

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2 months agoMerge pull request #47956 from nextcloud/backport/47954/stable28
Kate [Sat, 14 Sep 2024 12:30:01 +0000 (14:30 +0200)]
Merge pull request #47956 from nextcloud/backport/47954/stable28

2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 14 Sep 2024 00:21:41 +0000 (00:21 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoMerge pull request #47952 from nextcloud/backport/47945/stable28
John Molakvoæ [Fri, 13 Sep 2024 18:58:20 +0000 (20:58 +0200)]
Merge pull request #47952 from nextcloud/backport/47945/stable28

[stable28] fix(files_external): broken credentials dialog

2 months agofix(files): Adjust Cache::searchQuery() parameter name to match interface backport/47954/stable28 47956/head
provokateurin [Fri, 13 Sep 2024 16:13:44 +0000 (18:13 +0200)]
fix(files): Adjust Cache::searchQuery() parameter name to match interface

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agochore(assets): Recompile assets 47952/head
nextcloud-command [Fri, 13 Sep 2024 15:32:39 +0000 (15:32 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agofix(files_external): broken credentials dialog
John Molakvoæ (skjnldsv) [Fri, 13 Sep 2024 11:57:30 +0000 (13:57 +0200)]
fix(files_external): broken credentials dialog

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
[skip ci]

2 months agofix: check if key is set backport/47854/stable28 47935/head
Git'Fellow [Fri, 13 Sep 2024 07:49:09 +0000 (09:49 +0200)]
fix: check if key is set

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2 months agofix(appstore): Ensure returned apps from AppStore are valid
Git'Fellow [Mon, 9 Sep 2024 17:50:11 +0000 (19:50 +0200)]
fix(appstore): Ensure returned apps from AppStore are valid

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: lint

chore: remove space

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
fix: check if response array is null

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
chore: Add log

2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 13 Sep 2024 00:21:07 +0000 (00:21 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoMerge pull request #47886 from nextcloud/release/28.0.10 v28.0.10
Benjamin Gaussorgues [Thu, 12 Sep 2024 12:09:57 +0000 (14:09 +0200)]
Merge pull request #47886 from nextcloud/release/28.0.10

2 months agofix(LDAP): check index before accessing it backport/47914/stable28 47917/head
Arthur Schiwon [Thu, 12 Sep 2024 08:38:46 +0000 (10:38 +0200)]
fix(LDAP): check index before accessing it

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 12 Sep 2024 00:20:41 +0000 (00:20 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agofix(files_sharing): adjust permissions from custom edit and delete check methods backport/47339/stable28 47893/head
skjnldsv [Thu, 22 Aug 2024 08:02:37 +0000 (10:02 +0200)]
fix(files_sharing): adjust permissions from custom edit and delete check methods

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2 months agofix: Display 'Leave share' instead of 'Delete'
Marcel Klehr [Tue, 20 Aug 2024 09:31:21 +0000 (11:31 +0200)]
fix: Display 'Leave share' instead of 'Delete'

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2 months agochore(assets): Recompile assets backport/47848/stable28 47876/head
nextcloud-command [Wed, 11 Sep 2024 07:40:26 +0000 (07:40 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agofix(files): Make `openMenu` watcher null safe
Ferdinand Thiessen [Wed, 11 Sep 2024 09:51:20 +0000 (11:51 +0200)]
fix(files): Make `openMenu` watcher null safe

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months agobuild(hub): 28.0.10 47886/head
Benjamin Gaussorgues [Wed, 11 Sep 2024 09:14:32 +0000 (11:14 +0200)]
build(hub): 28.0.10

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2 months agofix(files): Reset context menu position on close
Ferdinand Thiessen [Mon, 9 Sep 2024 13:37:01 +0000 (15:37 +0200)]
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>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 11 Sep 2024 00:21:38 +0000 (00:21 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoMerge pull request #47797 from nextcloud/backport/47692/stable28
Stephan Orbaugh [Tue, 10 Sep 2024 15:17:03 +0000 (17:17 +0200)]
Merge pull request #47797 from nextcloud/backport/47692/stable28

[stable28] fix(files): Correctly parse external shares for files UI

2 months agochore(assets): Recompile assets 47797/head
nextcloud-command [Tue, 10 Sep 2024 12:15:55 +0000 (12:15 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agofix(files): Correctly parse external shares for files UI
Ferdinand Thiessen [Sat, 31 Aug 2024 22:37:56 +0000 (00:37 +0200)]
fix(files): Correctly parse external shares for files UI

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months agoMerge pull request #47785 from nextcloud/backport/47770/stable28
Stephan Orbaugh [Tue, 10 Sep 2024 08:56:48 +0000 (10:56 +0200)]
Merge pull request #47785 from nextcloud/backport/47770/stable28

[stable28] fix(dav): Always respond custom error page on exceptions

2 months agofix: Only write once to template instead of create/copy backport/47860/stable28 47861/head
Julius Knorr [Tue, 10 Sep 2024 07:43:42 +0000 (09:43 +0200)]
fix: Only write once to template instead of create/copy

Signed-off-by: Julius Knorr <jus@bitgrid.net>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 10 Sep 2024 00:37:52 +0000 (00:37 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agofix: Replace conflicting tags in `xml_exception` template 47785/head
Ferdinand Thiessen [Fri, 6 Sep 2024 14:49:33 +0000 (16:49 +0200)]
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>
2 months agofix(dav): Always respond custom error page on exceptions
Louis Chemineau [Thu, 5 Sep 2024 18:35:26 +0000 (20:35 +0200)]
fix(dav): Always respond custom error page on exceptions

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 9 Sep 2024 00:23:46 +0000 (00:23 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 8 Sep 2024 00:36:56 +0000 (00:36 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 7 Sep 2024 00:37:21 +0000 (00:37 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agochore(assets): Recompile assets backport/47649/stable28 47811/head
nextcloud-command [Fri, 6 Sep 2024 23:16:07 +0000 (23:16 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agochore: compile scss
Christopher Ng [Fri, 6 Sep 2024 23:01:44 +0000 (16:01 -0700)]
chore: compile scss

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 months agofix: Fix inaccessible content on public pages due to overlapping footer
Christopher Ng [Fri, 6 Sep 2024 23:01:44 +0000 (16:01 -0700)]
fix: Fix inaccessible content on public pages due to overlapping footer

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 6 Sep 2024 00:25:31 +0000 (00:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agoMerge pull request #47759 from nextcloud/release/28.0.10_rc1 v28.0.10rc1
Arthur Schiwon [Thu, 5 Sep 2024 19:55:43 +0000 (21:55 +0200)]
Merge pull request #47759 from nextcloud/release/28.0.10_rc1

28.0.10 RC1

2 months agoMerge pull request #47776 from nextcloud/backport/47769/stable28
Arthur Schiwon [Thu, 5 Sep 2024 19:40:46 +0000 (21:40 +0200)]
Merge pull request #47776 from nextcloud/backport/47769/stable28

[stable28] fix: Use sha256 to hash arguments of background jobs

2 months agoMerge pull request #47779 from nextcloud/backport/47519/stable28
Arthur Schiwon [Thu, 5 Sep 2024 19:36:15 +0000 (21:36 +0200)]
Merge pull request #47779 from nextcloud/backport/47519/stable28

[stable28] feat(transfer-ownership): Correctly react to encrypted files

2 months agofix: missing use statements 47776/head
Arthur Schiwon [Thu, 5 Sep 2024 17:15:55 +0000 (19:15 +0200)]
fix: missing use statements

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 months agofix: Migrate existing bg jobs to use sha256
Louis Chemineau [Thu, 5 Sep 2024 16:08:39 +0000 (18:08 +0200)]
fix: Migrate existing bg jobs to use sha256

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 months agofix(transfer-ownership): Improve comments according to code review 47779/head
Côme Chilliet [Tue, 3 Sep 2024 07:46:36 +0000 (09:46 +0200)]
fix(transfer-ownership): Improve comments according to code review

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 months agofeat(transfer-ownership): Correctly react to encrypted files
Côme Chilliet [Tue, 27 Aug 2024 10:53:38 +0000 (12:53 +0200)]
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>
2 months agofix: Use sha256 to hash arguments of background jobs
Louis Chemineau [Wed, 28 Aug 2024 15:03:53 +0000 (17:03 +0200)]
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>
2 months agoMerge pull request #46483 from nextcloud/dependabot/npm_and_yarn/stable28/jquery...
dependabot[bot] [Thu, 5 Sep 2024 11:27:12 +0000 (11:27 +0000)]
Merge pull request #46483 from nextcloud/dependabot/npm_and_yarn/stable28/jquery-ui-dist-1.13.3

2 months agobuild(deps): bump jquery-ui-dist from 1.13.2 to 1.13.3 46483/head
dependabot[bot] [Mon, 2 Sep 2024 07:28:34 +0000 (07:28 +0000)]
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>
2 months agoMerge pull request #47749 from nextcloud/backport/47417/stable28
Arthur Schiwon [Thu, 5 Sep 2024 08:55:12 +0000 (10:55 +0200)]
Merge pull request #47749 from nextcloud/backport/47417/stable28

[stable28] fix(files): Create non-existent parents of mountpoints

2 months agoMerge pull request #47735 from nextcloud/backport/46859/stable28
Arthur Schiwon [Thu, 5 Sep 2024 08:54:26 +0000 (10:54 +0200)]
Merge pull request #47735 from nextcloud/backport/46859/stable28

[stable28] Fix status check and saving of external storages

2 months agoMerge pull request #47766 from nextcloud/backport/47754/stable28
Marcel Müller [Thu, 5 Sep 2024 06:26:51 +0000 (08:26 +0200)]
Merge pull request #47766 from nextcloud/backport/47754/stable28

[stable28] fix(appstore): Cache apps.json also on dev instances

2 months agofix(appstore): Cache apps.json also on dev instances 47766/head
Marcel Müller [Wed, 4 Sep 2024 19:13:29 +0000 (21:13 +0200)]
fix(appstore): Cache apps.json also on dev instances

Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2 months agofix: Hide status tooltip in row to add a new mount point 47735/head
Daniel Calviño Sánchez [Wed, 21 Aug 2024 19:26:23 +0000 (21:26 +0200)]
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>
2 months agofix: Fix unmodified placeholder replacing the actual value when updating
Daniel Calviño Sánchez [Tue, 30 Jul 2024 01:05:27 +0000 (03:05 +0200)]
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>
2 months agotest: Add integration tests for saving external userglobal storages
Daniel Calviño Sánchez [Tue, 30 Jul 2024 01:04:40 +0000 (03:04 +0200)]
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>
2 months agofix: Reset selected backend when adding a new storage
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:21:13 +0000 (12:21 +0200)]
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>
2 months agofix: Add missing translation for UI string
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:20:18 +0000 (12:20 +0200)]
fix: Add missing translation for UI string

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 months agofix: Restore default status tooltip when no status message is provided
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:18:12 +0000 (12:18 +0200)]
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>
2 months agofix: Set status tooltip to error message on failed actions
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:15:50 +0000 (12:15 +0200)]
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>
2 months agofix: Set status tooltip to status message when saving an storage
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:15:18 +0000 (12:15 +0200)]
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>
2 months agofix: Remove status check when configuration was changed
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:13:21 +0000 (12:13 +0200)]
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>
2 months agofix: Recheck userglobal storages when loaded
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:09:38 +0000 (12:09 +0200)]
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>
2 months agorefactor: Store result in its own variable
Daniel Calviño Sánchez [Mon, 29 Jul 2024 10:08:55 +0000 (12:08 +0200)]
refactor: Store result in its own variable

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 months agofix: Remove broken jQuery tooltip
Daniel Calviño Sánchez [Wed, 21 Aug 2024 19:33:06 +0000 (21:33 +0200)]
fix: Remove broken jQuery tooltip

In Nextcloud 29 and later the tooltip usage threw an error that caused
the UI to be unusable, so it was removed. In Nextcloud 28 there is no
error, but using the jQuery tooltip call causes the tooltip to be
unreadable, so it was removed as well (which makes the native tooltip to
be shown instead).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 5 Sep 2024 00:24:13 +0000 (00:24 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agobuild(hub): 28.0.10 RC1 47759/head
Arthur Schiwon [Wed, 4 Sep 2024 21:04:53 +0000 (23:04 +0200)]
build(hub): 28.0.10 RC1

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 months agofix(files): Create non-existent parents of mountpoints 47749/head
provokateurin [Thu, 22 Aug 2024 10:04:31 +0000 (12:04 +0200)]
fix(files): Create non-existent parents of mountpoints

Signed-off-by: provokateurin <kate@provokateurin.de>
2 months agoMerge pull request #47746 from nextcloud/backport/47738/stable28
Kate [Wed, 4 Sep 2024 16:00:05 +0000 (18:00 +0200)]
Merge pull request #47746 from nextcloud/backport/47738/stable28

2 months agochore(assets): Recompile assets 47746/head
nextcloud-command [Wed, 4 Sep 2024 14:33:03 +0000 (14:33 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agofix(files): undefined sidebar
skjnldsv [Wed, 4 Sep 2024 12:10:37 +0000 (14:10 +0200)]
fix(files): undefined sidebar

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2 months agoMerge pull request #47732 from nextcloud/backport/44344/stable28
Richard Steinmetz [Wed, 4 Sep 2024 10:07:22 +0000 (12:07 +0200)]
Merge pull request #47732 from nextcloud/backport/44344/stable28

[stable28] fix(dav): adjust usages of webdav.customRequest

2 months agofix(dav): adjust usages of webdav.customRequest 47732/head
Richard Steinmetz [Wed, 20 Mar 2024 07:51:58 +0000 (08:51 +0100)]
fix(dav): adjust usages of webdav.customRequest

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2 months agoMerge pull request #47722 from nextcloud/backport/47721/stable28
John Molakvoæ [Wed, 4 Sep 2024 07:16:54 +0000 (09:16 +0200)]
Merge pull request #47722 from nextcloud/backport/47721/stable28

2 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 4 Sep 2024 00:22:21 +0000 (00:22 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months agochore(assets): Recompile assets 47722/head
nextcloud-command [Tue, 3 Sep 2024 19:43:20 +0000 (19:43 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agofix: only keep major as server version
John Molakvoæ [Tue, 3 Sep 2024 19:34:16 +0000 (21:34 +0200)]
fix: only keep major as server version

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2 months agoMerge pull request #47714 from nextcloud/backport/47674/stable28
Kate [Tue, 3 Sep 2024 15:59:36 +0000 (17:59 +0200)]
Merge pull request #47714 from nextcloud/backport/47674/stable28

2 months agoMerge pull request #46680 from nextcloud/backport/44294/stable28
Andy Scherzinger [Tue, 3 Sep 2024 15:46:40 +0000 (17:46 +0200)]
Merge pull request #46680 from nextcloud/backport/44294/stable28

[stable28] fix: Pass the mountpoint target user to storages without owner

2 months agoMerge pull request #47701 from nextcloud/backport/47635/stable28
Andy Scherzinger [Tue, 3 Sep 2024 15:25:33 +0000 (17:25 +0200)]
Merge pull request #47701 from nextcloud/backport/47635/stable28

[stable28] [oauth2] Store hashed secret instead of encrypted

2 months agofix(settings): Fix sharing exclude groups from password requirement option not working 47714/head
provokateurin [Mon, 2 Sep 2024 07:55:32 +0000 (09:55 +0200)]
fix(settings): Fix sharing exclude groups from password requirement option not working

Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 months agoUpdate lib/public/Files/Storage/IStorage.php 46680/head
Andy Scherzinger [Tue, 3 Sep 2024 12:32:49 +0000 (14:32 +0200)]
Update lib/public/Files/Storage/IStorage.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2 months agofix: Pass the mountpoint target user to storages without owner
Julius Härtl [Tue, 19 Mar 2024 08:33:16 +0000 (09:33 +0100)]
fix: Pass the mountpoint target user to storages without owner

Storages that do not have a dedicated owner (e.g. groupfolders, external
storages) currently always assume the current session user as the owner.
This leads to several issues when there is no user session but a node is
obtained through a user folder.

In order to have the correct user available we need to pass the user
that is used to setup a mountpoint along to the storage layer as we
generally assume that an owner is available for those.

Signed-off-by: Julius Härtl <jus@bitgrid.net>