Commit Graph

79126 Commits

Author SHA1 Message Date
nextcloud-command
ecf0e70e5c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 18:23:54 +00:00
nfebe
77c88e1ae7 fix(unified-search): filteredProviders now inherits all provider props
The main providers come from both the backend and client side plugins such as `in-folder` search.
The main providers may carry callbacks functions and other information that should be passed to the `filteredProviders`.
This is important because the current code does not make a distinction between `filteredProviders` and `providers`
rightly so, becuase they are the same thing!

Without the mentioned distinction above, sooner or later, we try to access a property on the `filteredProviders` which we
did not transfer with the manual property copy.

----

This fix prevents in-folder search from searching everywhere when "load more results" is clicked; Essentially ignoring the in-folder
search filter.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 19:19:02 +01:00
Andy Scherzinger
c4564ba735
Merge pull request #50625 from nextcloud/backport/50260/stable31
[stable31] chore : Comprehensive e2e testing for public sharing
2025-02-03 19:18:36 +01:00
nextcloud-command
76aa56d68c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-03 16:13:27 +00:00
nfebe
6b6f55ab1d fix(files_sharing): Adjust wrong labeling identified by test
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 17:07:54 +01:00
nfebe
28cf67a157 test(files_sharing): add e2e tests for public link sharing
This commit introduces end-to-end tests for various public link sharing scenarios in the `files_sharing` app. It validates the behavior under multiple configurations:

- Password and expiration date enforced
- Password enforced with a default expiration date
- Expiration date enforced with optional password
- Default password and expiration date without enforcement
- Password enforced, expiration date set but not enforced
- Both password and expiration date not enforced, but defaults set
- Password not enforced, expiration date enforced
- Password not enforced, default expiration date set
- Password and expiration date not enforced with no defaults

The tests ensure proper validation and functionality of the configurations, leveraging the `setupData` and `createShare` utilities.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 11:49:33 +00:00
nfebe
161a9e786a refactor: Modularize setup-public-share.ts
This update enhances the testing framework for public sharing by
improving the setup and management of share contexts.
It refactors the code to make the `createShare` function reusable externally,
ensuring better testability and flexibility.
Additionally, the update optimizes share permission adjustments and
improves state management, making public share setups more efficient and maintainable.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-03 11:49:33 +00:00
Stephan Orbaugh
210b293b98
Merge pull request #50594 from nextcloud/backport/50424/stable31
[stable31] fix(settings): Clarify peculiarities of enabling encryption
2025-02-03 11:55:18 +01:00
Stephan Orbaugh
bea4e21c40
Merge pull request #50624 from nextcloud/backport/50576/stable31
[stable31] fix(files): Fix folder preview for favorites widget
2025-02-03 11:43:52 +01:00
provokateurin
9d1cab21b2 fix(files): Fix folder preview for favorites widget
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-02-03 09:57:02 +00:00
Nextcloud bot
aaad1e588b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 00:39:31 +00:00
Nextcloud bot
276a4a0a40
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-02 00:22:30 +00:00
Nextcloud bot
aca3bca62b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 00:21:56 +00:00
Ferdinand Thiessen
d3b826c112
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:22:38 +01:00
Ferdinand Thiessen
49f104a996
fix(settings): Clarify peculiarities of enabling encryption
- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:21:33 +01:00
Andy Scherzinger
23cb06dfc1
Merge pull request #50565 from nextcloud/backport/50530/stable31
[stable31] fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
2025-01-31 16:52:12 +01:00
Andy Scherzinger
0c1cd28233
Merge pull request #50589 from nextcloud/backport/50550/stable31
[stable31] fix: unified search provider id
2025-01-31 16:51:15 +01:00
Andy Scherzinger
3c64282109
Merge pull request #50590 from nextcloud/backport/50514/stable31
[stable31] feat(S3): add SSE-C support in S3 External Storage
2025-01-31 14:53:46 +01:00
nfebe
74200f28cb fix: Use searchFrom property for client side plugins
The client-side plugin `in-folder` uses the `files` provider, this makes it

overlap with the main files provider itself.

This change follows eecda06f1a after it was discovered

that some apps/providers like `dav` use providers from another app like `contacts`

Signed-off-by: nfebe <fenn25.fn@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-31 12:10:34 +00:00
Christian Becker
5b51e1b0dc feat(S3): add SSE-C support in S3 External Storage
Just need to add the parameter and fix two calls. All other logic is already implemented and implicitly called through the S3ConnectionTrait

fixes #33283

Signed-off-by: Christian Becker <christian@dabecka.de>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-31 12:01:09 +00:00
SebastianKrupinski
c1f9114e72 fix: unified search provider id
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-31 11:40:53 +00:00
Nextcloud bot
d0da4db975
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-31 00:22:27 +00:00
Arthur Schiwon
8ba7c3ea0b
Merge pull request #50538 from nextcloud/release/31.0.0_rc2
31.0.0 RC2
2025-01-30 16:02:46 +01:00
Andy Scherzinger
07e61b0dbc
Merge pull request #50573 from nextcloud/backport/50292/stable31
[stable31] Fix opening federated shares
2025-01-30 16:00:17 +01:00
provokateurin
d998af0770
chore: Compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 15:38:48 +01:00
provokateurin
3654fb53e2 fix(files_sharing): Only clear permissions of pending federated shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 14:27:24 +00:00
provokateurin
27efd04c28 fix(files): Allow opening the same file repeatedly
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 14:27:24 +00:00
Andy Scherzinger
1dca8f98aa
Merge pull request #50569 from nextcloud/backport/50524/stable31
[stable31] fix(files_sharing): file request form validity check reset
2025-01-30 14:33:29 +01:00
skjnldsv
694a06e4c5 fix(files_sharing): file request form validity check reset
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-30 13:20:01 +00:00
Andy Scherzinger
9c3dc03945
Merge pull request #50556 from nextcloud/backport/50281/stable31
[stable31] fix(settings): Fix setup check when mail_smptmode is set to "null"
2025-01-30 13:02:14 +01:00
Andy Scherzinger
23ac20347b
Merge pull request #50560 from nextcloud/backport/50519/stable31
[stable31] fix: Exclude non accepted shares when computing access list
2025-01-30 12:07:19 +01:00
Andy Scherzinger
7adb956ae1
Merge pull request #50562 from nextcloud/backport/50540/stable31
[stable31] fix: Only hide template folder creation if default was changed to empty
2025-01-30 12:06:28 +01:00
provokateurin
279b9ca3ad fix(ConvertType): Read hostname from arguments and not options
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-30 10:50:16 +00:00
Nils Wenninghoff
8a6d9ffdc1 fix(ConvertType): Read dbtype in createConnectionParams and remove safeguard
Signed-off-by: Nils Wenninghoff <nils@ungemein.cool>
2025-01-30 10:50:16 +00:00
Julius Knorr
11926bc789 fix: Only hide template folder creation if default was changed to empty
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-30 10:23:35 +00:00
Louis Chemineau
a56cff70e1 fix: Exclude non accepted shares when computing access list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-30 09:18:41 +00:00
Côme Chilliet
98b8912d74 fix(settings): Fix setup check when mail_smptmode is set to "null"
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-30 08:35:14 +00:00
Andy Scherzinger
378b0f9765
Merge pull request #50516 from nextcloud/backport/50284/stable31
[stable31] chore: update icewind/smb to 3.7.0
2025-01-30 09:31:21 +01:00
Andy Scherzinger
a82c1f137d
Merge pull request #50555 from nextcloud/backport/50503/stable31
[stable31] fix(theming): Do not throw in background color migration
2025-01-30 09:27:07 +01:00
Andy Scherzinger
c17d892489
Merge pull request #50534 from nextcloud/backport/50129/stable31
[stable31] fix(unified-search): load more than 5 items in folder filter
2025-01-30 09:26:17 +01:00
Ferdinand Thiessen
09b6598e73 fix(theming): Do not throw in background color migration
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-30 00:28:37 +00:00
Robin Appelman
2ee38139f3 chore: update icewind/smb to 3.7.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-29 21:56:41 +01:00
nextcloud-command
e74966aa07 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 20:37:54 +00:00
nextcloud-command
25eea26001 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-29 21:32:29 +01:00
nfebe
6e2e35f641 fix(unified-search): Prevent multiple file picker triggers in in-folder search
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
nfebe
6bb24885d6 refactor: Drop deprecated use of defineStore
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
nfebe
f2678b122e fix(unified-search): Use appId for searching
Each provider may search from a particular app so we should use that for searching.

Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous
approach is that it forces the provider id to be a valid search provider (an app that supports search)
limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers)
inside the places filter.

For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the
files provider itself already has id as `files`.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:32:29 +01:00
Andy Scherzinger
ceadae2e19
Merge pull request #50537 from nextcloud/backport/50515/stable31
[stable31] fix: Show recipient email addresses in share owner notification email
2025-01-29 21:31:49 +01:00
nfebe
066ffc5fb7 fix: Show recipient email addresses in share owner notification email
Previously, the share owner notification email did not display the recipient email addresses,
making it difficult for the owner to know who the share was sent to.
This fix ensures that the recipient email addresses are included in the notification email.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-29 21:11:53 +01:00
Andy Scherzinger
e8844cacec
Merge pull request #50528 from nextcloud/backport/50494/stable31
[stable31] fix(performance): use low resolution for blurhash
2025-01-29 21:07:52 +01:00