nextcloud/apps/files_sharing/src
Daniel Calviño Sánchez e1796a57e8 fix: Fix error when creating mail shares if custom tokens are enabled
When a new share is saved it is first created in the backend and then
updated with some additional attributes set in the frontend. If custom
tokens are enabled the attributes to update also include the token.
However, for new shares the token is set by the backend when it is
created, it is not defined by the frontend, so the token returned by the
backend needs to be copied to the share data in the frontend. Otherwise
the update would fail because an empty token is sent.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2026-05-18 11:36:13 +01:00
..
components chore: fix ESLint issues for rules added in ESLint v10 2026-04-20 22:13:24 +02:00
files_actions fix(files_sharing): adjust for @nextcloud/files v4 2026-02-12 11:50:07 +01:00
files_filters feat(files): render filters in top bar 2026-01-22 16:31:48 +01:00
files_headers refactor(files_sharing): adjust note to recipient files header 2026-02-10 14:50:41 +01:00
files_newMenu refactor: adjust code for breaking changes in @nextcloud/dialogs v7 2025-10-15 13:45:12 +02:00
files_views test: remove testing internal of libraries and test only app code 2026-02-10 14:50:41 +01:00
lib feat(sharing): Make share permission in bundled edit configurable 2026-02-05 07:36:04 +01:00
mixins chore: fix ESLint issues for rules added in ESLint v10 2026-04-20 22:13:24 +02:00
models fix(files_sharing): apply link share password on first save 2026-05-12 10:08:18 +02:00
router fix(files,files_sharing): swallow redirected navigation errors 2026-04-23 13:47:06 +02:00
services fix(files_sharing): allow strict validation of shares 2026-03-02 18:31:46 +01:00
utils fix(files_sharing): use webroot for public links 2025-11-13 20:36:40 +01:00
views fix: Fix error when creating mail shares if custom tokens are enabled 2026-05-18 11:36:13 +01:00
additionalScripts.js chore: adjust code to new codestyle 2025-10-02 13:19:42 +02:00
collaborationresourceshandler.ts chore!(core): remove legacy OC.Files.Client 2026-02-17 12:50:49 +01:00
eventbus.d.ts feat(sharing): Allow to set default view mode for public shares 2025-02-10 18:57:38 +01:00
files-sidebar.ts chore: update @nextcloud/files to v4.0.0-rc.0 2026-01-16 22:22:57 +01:00
init-public.ts chore(files): adjust code for breaking change of Navigation.setActive 2025-12-23 20:17:34 +01:00
init.ts refactor(files_sharing): adjust for files library interfaces and remove sideeffects 2026-02-06 10:28:57 +01:00
main.ts test: Adjust Typescript definitions for OCP and OC 2024-07-09 17:13:30 +02:00
personal-settings.js chore: adjust code to new codestyle 2025-10-02 13:19:42 +02:00
public-nickname-handler.ts fix(files_sharing): do not double escape special characters 2026-05-16 10:02:35 +02:00
sharing.d.ts chore: adjust code to new codestyle 2025-10-02 13:19:42 +02:00