]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
5 weeks agochore(deps): bump underscore from 1.13.6 to 1.13.7 47820/head
dependabot[bot] [Sat, 7 Sep 2024 02:51:16 +0000 (02:51 +0000)]
chore(deps): bump underscore from 1.13.6 to 1.13.7

Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.6 to 1.13.7.
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.6...1.13.7)

---
updated-dependencies:
- dependency-name: underscore
  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>
5 weeks agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 7 Sep 2024 00:36:58 +0000 (00:36 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 weeks agoMerge pull request #47802 from nextcloud/fix/fallback-icons
Ferdinand Thiessen [Fri, 6 Sep 2024 13:39:41 +0000 (15:39 +0200)]
Merge pull request #47802 from nextcloud/fix/fallback-icons

fix(files): Fallback icons should fill the container

5 weeks agoMerge pull request #47801 from nextcloud/fix/taskproc/error-msg
Anupam Kumar [Fri, 6 Sep 2024 13:25:10 +0000 (18:55 +0530)]
Merge pull request #47801 from nextcloud/fix/taskproc/error-msg

fix(TaskProcessing): increase error_message column length

5 weeks agochore(assets): Recompile assets 47802/head
nextcloud-command [Fri, 6 Sep 2024 13:17:55 +0000 (13:17 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 weeks agochore: update autoloader 47801/head
Anupam Kumar [Fri, 6 Sep 2024 12:32:15 +0000 (18:02 +0530)]
chore: update autoloader

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
5 weeks agofix(TaskProcessing): increase error_message column length
Anupam Kumar [Fri, 6 Sep 2024 11:53:31 +0000 (17:23 +0530)]
fix(TaskProcessing): increase error_message column length

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
5 weeks agofix(files): Fallback icons should fill the container
Ferdinand Thiessen [Fri, 6 Sep 2024 12:08:51 +0000 (14:08 +0200)]
fix(files): Fallback icons should fill the container

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agoMerge pull request #47649 from nextcloud/fix/footer-overlap
Pytal [Fri, 6 Sep 2024 11:43:55 +0000 (04:43 -0700)]
Merge pull request #47649 from nextcloud/fix/footer-overlap

fix: Fix inaccessible content on public pages due to overlapping footer

5 weeks agoMerge pull request #45652 from nextcloud/feat/migrate-files-sharing-public-to-vue
Ferdinand Thiessen [Fri, 6 Sep 2024 11:17:07 +0000 (13:17 +0200)]
Merge pull request #45652 from nextcloud/feat/migrate-files-sharing-public-to-vue

feat(files_sharing): Migrate public shares to Vue

5 weeks agoMerge pull request #47731 from nextcloud/refactStorDav
Ferdinand Thiessen [Fri, 6 Sep 2024 11:16:36 +0000 (13:16 +0200)]
Merge pull request #47731 from nextcloud/refactStorDav

chore(storage): refactor some code portions

5 weeks agochore(storage): refactor some code portions 47731/head
Git'Fellow [Wed, 4 Sep 2024 09:17:55 +0000 (11:17 +0200)]
chore(storage): refactor some code portions

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

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
5 weeks agoMerge pull request #47784 from nextcloud/fix/file-info
Ferdinand Thiessen [Fri, 6 Sep 2024 10:18:30 +0000 (12:18 +0200)]
Merge pull request #47784 from nextcloud/fix/file-info

fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`

5 weeks agoMerge pull request #47756 from nextcloud/fixingPathShareCheck
Ferdinand Thiessen [Fri, 6 Sep 2024 01:58:24 +0000 (03:58 +0200)]
Merge pull request #47756 from nextcloud/fixingPathShareCheck

fix(files): Check if target path is a descendant of the shared folder

5 weeks agofix(FileInfo): correctly implement `\ArrayAccess::offsetGet` 47784/head
Ferdinand Thiessen [Thu, 5 Sep 2024 18:03:17 +0000 (20:03 +0200)]
fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`

We are targetting PHP 8.1+, since PHP 8.0 `offsetGet` has the `mixed` types for `offset` and return value.
So this adds the types to correctly implement the interface.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agochore: Compile assets 45652/head
Ferdinand Thiessen [Thu, 5 Sep 2024 23:07:57 +0000 (01:07 +0200)]
chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agotest: Add end-to-end tests for new public share Vue UI
Ferdinand Thiessen [Thu, 5 Sep 2024 09:28:17 +0000 (11:28 +0200)]
test: Add end-to-end tests for new public share Vue UI

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): "Edit locally" action should not be shown on public shares
Ferdinand Thiessen [Thu, 5 Sep 2024 14:52:20 +0000 (16:52 +0200)]
fix(files): "Edit locally" action should not be shown on public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Do not add click listener if there is no default action on public shares
Ferdinand Thiessen [Wed, 4 Sep 2024 23:34:48 +0000 (01:34 +0200)]
fix(files): Do not add click listener if there is no default action on public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files_sharing): Ensure sidebar share entry lists are labelled
Ferdinand Thiessen [Wed, 4 Sep 2024 21:10:05 +0000 (23:10 +0200)]
fix(files_sharing): Ensure sidebar share entry lists are labelled

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): "New folder" menu entry requires read permission
Ferdinand Thiessen [Wed, 4 Sep 2024 21:07:02 +0000 (23:07 +0200)]
fix(files): "New folder" menu entry requires read permission

This will disable "New folder" menu entry for file-drop shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agochore(files_sharing): Remove now unused legacy scripts
Ferdinand Thiessen [Wed, 4 Sep 2024 16:42:51 +0000 (18:42 +0200)]
chore(files_sharing): Remove now unused legacy scripts

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Disable internal views on public shares
Ferdinand Thiessen [Wed, 4 Sep 2024 16:42:04 +0000 (18:42 +0200)]
fix(files): Disable internal views on public shares

This is needed because some views have side effects, like `favorites` doing requests on registration time.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files_sharing): Set file-request header for nextcloud/upload
Ferdinand Thiessen [Wed, 4 Sep 2024 16:33:06 +0000 (18:33 +0200)]
fix(files_sharing): Set file-request header for nextcloud/upload

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files_sharing): Disable sharing status action for public shares
Ferdinand Thiessen [Wed, 4 Sep 2024 16:31:17 +0000 (18:31 +0200)]
fix(files_sharing): Disable sharing status action for public shares

This is disabled to not leak personal information into the public

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files_sharing): Handle download permission the same way for public and internal...
Ferdinand Thiessen [Fri, 2 Aug 2024 12:32:20 +0000 (14:32 +0200)]
fix(files_sharing): Handle download permission the same way for public and internal shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Do not allow copy action on public shares without `create` permission
Ferdinand Thiessen [Fri, 2 Aug 2024 10:34:19 +0000 (12:34 +0200)]
fix(files): Do not allow copy action on public shares without `create` permission

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofeat(files): Allow to download files on public shares
Ferdinand Thiessen [Fri, 2 Aug 2024 10:32:59 +0000 (12:32 +0200)]
feat(files): Allow to download files on public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Do not allow rename action on single-file-shares
Ferdinand Thiessen [Fri, 2 Aug 2024 10:32:30 +0000 (12:32 +0200)]
fix(files): Do not allow rename action on single-file-shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agorefactor(files_sharing): Make file structure more clear
Ferdinand Thiessen [Fri, 28 Jun 2024 13:37:18 +0000 (15:37 +0200)]
refactor(files_sharing): Make file structure more clear

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Disable copy-move-action of single file shares
Ferdinand Thiessen [Thu, 20 Jun 2024 15:18:09 +0000 (17:18 +0200)]
fix(files): Disable copy-move-action of single file shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agorefactor(files): Make `RouterService` provide a protected getter for the router to...
Ferdinand Thiessen [Tue, 18 Jun 2024 09:56:07 +0000 (11:56 +0200)]
refactor(files): Make `RouterService` provide a protected getter for the router to allow injecting the `files_sharing` router

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Adjust files list for sharing permissions on public shares
Ferdinand Thiessen [Mon, 3 Jun 2024 23:28:22 +0000 (01:28 +0200)]
fix(files): Adjust files list for sharing permissions on public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Fix file previews for public shares
Ferdinand Thiessen [Mon, 3 Jun 2024 23:26:28 +0000 (01:26 +0200)]
fix(files): Fix file previews for public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofix(files): Do not use `favorite`, `sidebar` and `view-in-folder` action for public...
Ferdinand Thiessen [Mon, 3 Jun 2024 23:25:52 +0000 (01:25 +0200)]
fix(files): Do not use `favorite`, `sidebar` and `view-in-folder` action for public shares

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
5 weeks agofeat(files_sharing): Migrate public share to use Vue files list
Ferdinand Thiessen [Mon, 3 Jun 2024 23:25:28 +0000 (01:25 +0200)]
feat(files_sharing): Migrate public share to use Vue files list

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>
5 weeks agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 6 Sep 2024 00:25:10 +0000 (00:25 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 weeks agochore(assets): Recompile assets 47649/head
nextcloud-command [Thu, 5 Sep 2024 23:33:10 +0000 (23:33 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 weeks agochore: compile scss
Christopher Ng [Thu, 5 Sep 2024 23:19:22 +0000 (16:19 -0700)]
chore: compile scss

Signed-off-by: Christopher Ng <chrng8@gmail.com>
5 weeks agofix: Fix inaccessible content on public pages due to overlapping footer
Christopher Ng [Thu, 5 Sep 2024 23:19:22 +0000 (16:19 -0700)]
fix: Fix inaccessible content on public pages due to overlapping footer

Signed-off-by: Christopher Ng <chrng8@gmail.com>
5 weeks agofix(files): Check if the target path is a descendant of the shared folder path 47756/head
Git'Fellow [Wed, 4 Sep 2024 20:24:19 +0000 (22:24 +0200)]
fix(files): Check if the target path is a descendant of the shared folder path

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

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

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

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

5 weeks agoMerge pull request #47789 from nextcloud/fix/cs-fixer-errors
Anna [Thu, 5 Sep 2024 20:25:34 +0000 (22:25 +0200)]
Merge pull request #47789 from nextcloud/fix/cs-fixer-errors

chore: adjust code to adhere to coding standard

5 weeks agochore: add coding standard code change to .git-blame-ignore-revs 47789/head
Anna Larch [Thu, 5 Sep 2024 19:31:05 +0000 (21:31 +0200)]
chore: add coding standard code change to .git-blame-ignore-revs

Signed-off-by: Anna Larch <anna@nextcloud.com>
5 weeks agochore: adjust code to adhere to coding standard
Anna Larch [Thu, 5 Sep 2024 19:23:38 +0000 (21:23 +0200)]
chore: adjust code to adhere to coding standard

Signed-off-by: Anna Larch <anna@nextcloud.com>
5 weeks agoMerge pull request #47770 from nextcloud/artonge/fix/always_respond_custom_error_page...
Louis [Thu, 5 Sep 2024 18:13:45 +0000 (20:13 +0200)]
Merge pull request #47770 from nextcloud/artonge/fix/always_respond_custom_error_page_on_exceptions

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

5 weeks agoMerge pull request #47761 from nextcloud/fix/missing-footer
Stephan Orbaugh [Thu, 5 Sep 2024 16:02:25 +0000 (18:02 +0200)]
Merge pull request #47761 from nextcloud/fix/missing-footer

fix: Fix missing footer on public pages

5 weeks agoMerge pull request #47519 from nextcloud/fix/transfer-ownership-encrypted-files
Stephan Orbaugh [Thu, 5 Sep 2024 15:58:44 +0000 (17:58 +0200)]
Merge pull request #47519 from nextcloud/fix/transfer-ownership-encrypted-files

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

5 weeks agoMerge pull request #47769 from nextcloud/artonge/fix/use_sha256_for_arguments_hash_fo...
Stephan Orbaugh [Thu, 5 Sep 2024 15:52:58 +0000 (17:52 +0200)]
Merge pull request #47769 from nextcloud/artonge/fix/use_sha256_for_arguments_hash_forbg_jobs

fix: Use sha256 to hash arguments of background jobs

5 weeks agoMerge pull request #46255 from nextcloud/bug/add-option-to-remove-webroot-for-setupchecks
Stephan Orbaugh [Thu, 5 Sep 2024 15:51:30 +0000 (17:51 +0200)]
Merge pull request #46255 from nextcloud/bug/add-option-to-remove-webroot-for-setupchecks

fix: add option to remove the webroot for setup checks and don't chec…

5 weeks agofix(dav): Always respond custom error page on exceptions 47770/head
Louis Chemineau [Thu, 5 Sep 2024 14:17:32 +0000 (16:17 +0200)]
fix(dav): Always respond custom error page on exceptions

Signed-off-by: Louis Chemineau <louis@chmn.me>
5 weeks agofix: Migrate existing bg jobs to use sha256 47769/head
Louis Chemineau [Wed, 28 Aug 2024 15:46:00 +0000 (17:46 +0200)]
fix: Migrate existing bg jobs to use sha256

Signed-off-by: Louis Chemineau <louis@chmn.me>
5 weeks 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>
5 weeks agofix(transfer-ownership): Improve comments according to code review 47519/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>
5 weeks 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>
5 weeks agofix(setupchecks): Test overwrite.cli url first, then generated one, and 46255/head
Côme Chilliet [Thu, 5 Sep 2024 09:54:45 +0000 (11:54 +0200)]
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>
5 weeks agofix: add option to remove the webroot for setup checks and don't check trusted_domains.
Daniel Kesselberg [Tue, 2 Jul 2024 18:34:07 +0000 (20:34 +0200)]
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>
5 weeks agoMerge pull request #47754 from nextcloud/fix/noid/cache-appstore-on-dev-instances
Andy Scherzinger [Thu, 5 Sep 2024 07:17:40 +0000 (09:17 +0200)]
Merge pull request #47754 from nextcloud/fix/noid/cache-appstore-on-dev-instances

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

5 weeks agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 5 Sep 2024 00:23:50 +0000 (00:23 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 weeks agofix: Fix missing footer on public pages 47761/head
Christopher Ng [Wed, 4 Sep 2024 23:41:13 +0000 (16:41 -0700)]
fix: Fix missing footer on public pages

Signed-off-by: Christopher Ng <chrng8@gmail.com>
5 weeks agoMerge pull request #47752 from nextcloud/backport/47745/master
Andy Scherzinger [Wed, 4 Sep 2024 22:20:15 +0000 (00:20 +0200)]
Merge pull request #47752 from nextcloud/backport/47745/master

[master] fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps

5 weeks agochore(assets): Recompile assets 47752/head
nextcloud-command [Wed, 4 Sep 2024 17:05:09 +0000 (17:05 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
5 weeks agofix(appstore): Cache apps.json also on dev instances 47754/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>
6 weeks agofix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
skjnldsv [Wed, 4 Sep 2024 14:42:18 +0000 (16:42 +0200)]
fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
6 weeks agoMerge pull request #47417 from nextcloud/fix/files/create-mountpoint-parents
Kate [Wed, 4 Sep 2024 18:00:24 +0000 (20:00 +0200)]
Merge pull request #47417 from nextcloud/fix/files/create-mountpoint-parents

6 weeks agoMerge pull request #47738 from nextcloud/fix/sidebar-undefined
John Molakvoæ [Wed, 4 Sep 2024 14:50:50 +0000 (16:50 +0200)]
Merge pull request #47738 from nextcloud/fix/sidebar-undefined

6 weeks agochore(assets): Recompile assets 47738/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>
6 weeks 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>
6 weeks agoMerge pull request #46859 from nextcloud/fix-status-check-and-saving-of-external...
John Molakvoæ [Wed, 4 Sep 2024 09:33:30 +0000 (11:33 +0200)]
Merge pull request #46859 from nextcloud/fix-status-check-and-saving-of-external-storages

6 weeks agoMerge pull request #47724 from nextcloud/automated/noid/master-update-psalm-baseline
github-actions[bot] [Wed, 4 Sep 2024 08:46:37 +0000 (10:46 +0200)]
Merge pull request #47724 from nextcloud/automated/noid/master-update-psalm-baseline

[master] Update psalm-baseline.xml

6 weeks agoMerge pull request #40164 from nextcloud/exceptionsTranslateShare
John Molakvoæ [Wed, 4 Sep 2024 07:50:49 +0000 (09:50 +0200)]
Merge pull request #40164 from nextcloud/exceptionsTranslateShare

6 weeks agofix: Hide status tooltip in row to add a new mount point 46859/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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks 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>
6 weeks agoMerge pull request #47690 from nextcloud/chore/theming
John Molakvoæ [Wed, 4 Sep 2024 07:42:01 +0000 (09:42 +0200)]
Merge pull request #47690 from nextcloud/chore/theming

6 weeks agoMerge pull request #47155 from nextcloud/executeStatementOnDelete
John Molakvoæ [Wed, 4 Sep 2024 07:35:16 +0000 (09:35 +0200)]
Merge pull request #47155 from nextcloud/executeStatementOnDelete

6 weeks agoMerge pull request #39242 from joshtrichards/db-convert-type-mysql-socket-no-pw
John Molakvoæ [Wed, 4 Sep 2024 07:32:21 +0000 (09:32 +0200)]
Merge pull request #39242 from joshtrichards/db-convert-type-mysql-socket-no-pw

6 weeks agoMerge pull request #47285 from nextcloud/fix/appstore-upgrade-failure
John Molakvoæ [Wed, 4 Sep 2024 07:31:29 +0000 (09:31 +0200)]
Merge pull request #47285 from nextcloud/fix/appstore-upgrade-failure

6 weeks agofix: Do not throw if appstore is unavailable during upgrade 47285/head
Julius Härtl [Fri, 16 Aug 2024 16:21:42 +0000 (18:21 +0200)]
fix: Do not throw if appstore is unavailable during upgrade

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 weeks agoMerge pull request #47675 from nextcloud/adapterQueryOpti
John Molakvoæ [Wed, 4 Sep 2024 07:15:52 +0000 (09:15 +0200)]
Merge pull request #47675 from nextcloud/adapterQueryOpti

6 weeks agofix: share manager tests translation string 40164/head
John Molakvoæ [Wed, 4 Sep 2024 06:47:17 +0000 (08:47 +0200)]
fix: share manager tests translation string

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
6 weeks agofix: adjust sharing controller exceptions case
John Molakvoæ [Tue, 3 Sep 2024 19:49:04 +0000 (21:49 +0200)]
fix: adjust sharing controller exceptions case

Co-authored-by: F. E Noel Nfebe <fenn25.fn@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
6 weeks agofix(l10n): Translate all share exceptions
Git'Fellow [Wed, 30 Aug 2023 13:22:45 +0000 (15:22 +0200)]
fix(l10n): Translate all share exceptions

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

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

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
6 weeks agochore(tests): Update psalm baseline 47724/head
nextcloud-command [Wed, 4 Sep 2024 02:29:30 +0000 (02:29 +0000)]
chore(tests): Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
6 weeks agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 4 Sep 2024 00:21:54 +0000 (00:21 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
6 weeks agoMerge pull request #47709 from nextcloud/fix/server-webpack-appverson
Ferdinand Thiessen [Tue, 3 Sep 2024 18:37:46 +0000 (20:37 +0200)]
Merge pull request #47709 from nextcloud/fix/server-webpack-appverson

fix: only keep major as server version

6 weeks agoMerge pull request #47158 from nextcloud/fix/breadcrumbs-highlight
Pytal [Tue, 3 Sep 2024 18:36:17 +0000 (11:36 -0700)]
Merge pull request #47158 from nextcloud/fix/breadcrumbs-highlight

fix(files): Fix navigating with breadcrumbs not highlighting navigation entry

6 weeks agochore(assets): Recompile assets 47158/head
nextcloud-command [Tue, 3 Sep 2024 17:42:59 +0000 (17:42 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
6 weeks agofix(files): Fix navigating with breadcrumbs not highlighting navigation entry
Christopher Ng [Tue, 27 Aug 2024 21:28:41 +0000 (14:28 -0700)]
fix(files): Fix navigating with breadcrumbs not highlighting navigation entry

Signed-off-by: Christopher Ng <chrng8@gmail.com>
6 weeks agochore(assets): Recompile assets 47709/head
nextcloud-command [Tue, 3 Sep 2024 16:04:29 +0000 (16:04 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
6 weeks agoMerge pull request #47679 from nextcloud/chore/typo-docs
Andy Scherzinger [Tue, 3 Sep 2024 15:56:38 +0000 (17:56 +0200)]
Merge pull request #47679 from nextcloud/chore/typo-docs

chore(IGetRealUIDBackend): Fix typo in doc block

6 weeks agofix: only keep major as server version
skjnldsv [Tue, 3 Sep 2024 11:02:03 +0000 (13:02 +0200)]
fix: only keep major as server version

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
6 weeks agoMerge pull request #47412 from Luka-sama/feat/shares-reminder
John Molakvoæ [Tue, 3 Sep 2024 15:24:02 +0000 (17:24 +0200)]
Merge pull request #47412 from Luka-sama/feat/shares-reminder