nextcloud/apps/files_sharing
nfebe 149ad628c6 fix(sharing): Prevent empty password when checkbox is enabled
Set passwordProtectedState explicitly when initializing shares with
default passwords. This ensures the checkbox state is tracked
independently of the password value, preventing it from unchecking
when the password field is cleared.

Also block saving new shares when password protection is enabled but
no password is entered, regardless of enforcement settings.

Added passWithNoTests to vitest configs to handle Vue 2/3 dual
frontend test runs gracefully.

Fixes: #57732, #57011
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2026-03-25 15:26:47 +00:00
..
appinfo fix(federation): Increase the size of owner to allow oCIS cloud ids 2025-10-27 16:38:48 +01:00
composer fix(federation): Increase the size of owner to allow oCIS cloud ids 2025-10-27 16:38:48 +01:00
css chore: Compile assets 2024-11-19 09:42:13 +01:00
img chore: Make app icons consistent Material Symbols with same settings 2024-07-10 15:53:45 +02:00
l10n fix(l10n): Update translations from Transifex 2026-02-19 00:21:27 +00:00
lib fix: use canDownload for permissions on federated shares 2026-03-17 23:13:49 +01:00
src fix(sharing): Prevent empty password when checkbox is enabled 2026-03-25 15:26:47 +00:00
templates fix(files_sharing): show proper share not found error message 2024-08-06 16:25:10 +02:00
tests fix(files_sharing): make legacy downloadShare endpoint compatible with legacy behavior 2026-02-20 19:43:49 +01:00
.l10nignore chore: Add SPDX header 2024-06-02 20:00:00 +02:00
openapi.json feat(files_sharing): Toggle display for trusted server shares 2025-08-01 12:18:36 +01:00
openapi.json.license chore: Add SPDX header 2024-06-02 20:00:00 +02:00