nextcloud/apps
Enrique Pérez Arnaud 3956c4e9be
feat(cloud_federation_api): accept new protocol envelope and delegate validation
Accept both the legacy options.sharedSecret envelope and the new
protocol[name].sharedSecret form. Preserve the original cloud ID so the
factory can discover capabilities, then reset shareWith to the local
username for user lookup.

Delegate per-protocol validation to providers via the new
IValidationAwareCloudFederationProvider interface, with split exception
handling: BadRequestException -> 400, ProviderCouldNotAddShareException
-> the exception's own HTTP status (501 fallback).

In the notification handler, fall back to looking up the refresh token
via OcmTokenMapMapper when the access token cannot identify the federation.

Co-authored-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Micke Nordin <kano@sunet.se>
Signed-off-by: Enrique Pérez Arnaud <enrique@cazalla.net>
2026-06-17 11:01:13 +02:00
..
admin_audit fix(l10n): Update translations from Transifex 2026-06-12 00:45:50 +00:00
appstore fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
cloud_federation_api feat(cloud_federation_api): accept new protocol envelope and delegate validation 2026-06-17 11:01:13 +02:00
comments fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
contactsinteraction fix(l10n): Update translations from Transifex 2026-06-06 00:22:55 +00:00
dashboard fix(l10n): Update translations from Transifex 2026-06-06 00:22:55 +00:00
dav feat(dav): accept bearer access tokens on webdav endpoints 2026-06-17 10:44:53 +02:00
encryption Merge pull request #60801 from nextcloud/fix/fix-encryption-recovery-key-enabling 2026-06-12 11:54:20 +02:00
federatedfilesharing fix(l10n): Update translations from Transifex 2026-06-11 00:23:13 +00:00
federation Merge pull request #60714 from nextcloud/fix/F4-federation-retainjob-reset 2026-06-11 11:04:47 +02:00
files fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
files_external fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
files_reminders Merge pull request #60713 from nextcloud/fix/F3-scheduled-notifications-throwable 2026-06-11 11:06:15 +02:00
files_sharing chore: Re-enable tests failing on drone 2026-06-11 09:45:29 +02:00
files_trashbin chore: Fix psalm issues following strong typing of IUser 2026-06-11 09:45:32 +02:00
files_versions fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
lookup_server_connector fix(l10n): Update translations from Transifex 2026-06-06 00:22:55 +00:00
oauth2 feat(oauth2): Add commands for adding and deleting clients 2026-06-15 13:06:09 +02:00
profile fix(profile): add rel tag for ferdiverse link to make verification possible 2026-06-11 17:23:37 +02:00
provisioning_api fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
settings fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
sharebymail fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
systemtags fix(l10n): Update translations from Transifex 2026-06-11 00:23:13 +00:00
testing feat: Add support for application namespaces in testing:static-hunt 2026-06-05 11:03:03 +02:00
theming fix(theming): preserve uploaded favicon and touch icon 2026-06-13 21:43:48 +02:00
twofactor_backupcodes chore(tests): Adapt BackupCodeStorageTest to code changes 2026-06-15 14:47:25 +02:00
updatenotification fix(l10n): Update translations from Transifex 2026-06-11 00:23:13 +00:00
user_ldap fix(user_ldap): Escape filter part when searching for group members 2026-06-16 10:07:17 +02:00
user_status fix(l10n): Update translations from Transifex 2026-06-17 00:22:57 +00:00
weather_status fix(l10n): Update translations from Transifex 2026-06-11 00:23:13 +00:00
webhook_listeners fix(l10n): Update translations from Transifex 2026-06-10 00:22:53 +00:00
workflowengine fix(l10n): Update translations from Transifex 2026-06-11 00:23:13 +00:00