nextcloud/apps
Ferdinand Thiessen fb397e6d23 fix(files_sharing): restore state when updating share failed
We need to save the previous state - here the password - so that if the
update fails we can revert the shown state.
This happens e.g. if you have the password policy app and try to add an
unsecure password.

To reproduce (with password policy):
1. Create new link share
2. enable password protection
3. use insecure password like `1234`
4. save share

Now you see that the update failed, but the password protection is still
enabled. This happened because `password` and `newPassword` were
misused. `password` was already set when `newPassword` was not saved so
we could not know to what we need to reset when the update failed.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-23 17:07:33 +02:00
..
admin_audit fix(l10n): Update translations from Transifex 2025-07-01 00:12:14 +00:00
cloud_federation_api fix(l10n): Update translations from Transifex 2025-07-03 00:12:18 +00:00
comments fix(l10n): Update translations from Transifex 2025-07-22 00:12:30 +00:00
contactsinteraction fix(l10n): Update translations from Transifex 2025-07-03 00:12:18 +00:00
dashboard fix(l10n): Update translations from Transifex 2025-07-04 00:12:11 +00:00
dav style: enforce vue/html-self-closing 2025-07-23 13:08:54 +02:00
encryption fix(l10n): Update translations from Transifex 2025-07-05 00:12:03 +00:00
federatedfilesharing feat(federated-share): forward notification only on remote reshare 2025-07-21 13:37:33 -01:00
federation fix(l10n): Update translations from Transifex 2025-07-04 00:12:11 +00:00
files fix(files): sort favorites navigation alphabetically 2025-07-23 10:15:14 +02:00
files_external style(PHP): code cleanup, no effective changes 2025-07-10 23:21:16 +02:00
files_reminders Merge pull request #53767 from nextcloud/jtr-fix-files-reminders-disabled 2025-07-07 21:02:29 +02:00
files_sharing fix(files_sharing): restore state when updating share failed 2025-07-23 17:07:33 +02:00
files_trashbin fix(l10n): Update translations from Transifex 2025-07-16 00:12:12 +00:00
files_versions fix(l10n): Update translations from Transifex 2025-07-08 00:12:13 +00:00
lookup_server_connector fix(l10n): Update translations from Transifex 2025-07-18 00:13:58 +00:00
oauth2 chore: run rector 2025-07-01 22:45:52 +02:00
profile fix(l10n): Update translations from Transifex 2025-07-23 00:11:59 +00:00
provisioning_api fix: force lowercase emails 2025-07-10 09:10:01 +02:00
settings fix(l10n): Update translations from Transifex 2025-07-23 00:11:59 +00:00
sharebymail fix(l10n): Update translations from Transifex 2025-07-16 00:12:12 +00:00
systemtags refactor(files): add active folder to active store and refactor 2025-07-07 10:52:20 +02:00
testing chore: run rector 2025-07-01 22:45:52 +02:00
theming fix(theming): Correctly generate CSS for font themes 2025-07-11 12:27:41 +01:00
twofactor_backupcodes fix(l10n): Update translations from Transifex 2025-07-19 00:12:24 +00:00
updatenotification fix(l10n): Update translations from Transifex 2025-07-05 00:12:03 +00:00
user_ldap Merge pull request #53714 from Mark-PAS/master 2025-07-14 11:25:27 +02:00
user_status fix(l10n): Update translations from Transifex 2025-07-19 00:12:24 +00:00
weather_status fix(l10n): Update translations from Transifex 2025-07-22 00:12:30 +00:00
webhook_listeners fix(l10n): Update translations from Transifex 2025-07-19 00:12:24 +00:00
workflowengine fix(l10n): Update translations from Transifex 2025-07-20 00:12:51 +00:00