nextcloud/core
Jonas 1671bf3ef2
feat(Reference): Add public API endpoints to get references
Calling the public API endpoints will check for matching registered
reference providers that implement `IPublicReferenceProvider` and call
their respective functions. If no matching provider is found, the
default `LinkReferenceProvider` will be used to provide open graph data.

The frontend reference widget components will call these endpoints from
unauthorized sessions, e.g. in public shares.

If present, the sharing token of the origin URL is passed to
`resolveReferencePublic()` as additional information for the reference
provider to determine the access scope. This allows the respective
reference providers to determine whether the origin share has access to
the linked resource.

`getCacheKeyPublic` also gets the sharing token so it can scope the cached
entry to it.

Contributes to #45978

Signed-off-by: Jonas <jonas@freesources.org>
2024-07-17 12:56:41 +02:00
..
ajax chore: Add SPDX header 2024-05-10 11:07:50 +02:00
BackgroundJobs fix(files_metadata): Don't run generation job on every upgrade 2024-07-16 15:02:32 +02:00
Command Merge pull request #46194 from nextcloud/schema-export-cmnd 2024-07-02 16:44:55 +02:00
Controller feat(Reference): Add public API endpoints to get references 2024-07-17 12:56:41 +02:00
css chore: Recompile assets 2024-07-11 13:05:59 +02:00
Data chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Db chore: Add SPDX header 2024-05-27 14:53:40 +02:00
doc chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Events chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Exception chore: Add SPDX header 2024-05-27 14:53:40 +02:00
fonts Include additional scripts in Noto fonts 2021-03-01 19:15:01 +01:00
img fix: Adapt icon color to new default for mime icons 2024-07-04 11:09:21 +02:00
js fix: Adapt icon color to new default for mime icons 2024-07-04 11:09:21 +02:00
l10n Fix(l10n): Update translations from Transifex 2024-07-14 00:19:31 +00:00
Listener feat: Add reserved options in a new OCP class so that applications know about them 2024-07-04 16:19:36 +02:00
Middleware chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Migrations chore: Add SPDX header 2024-05-26 20:05:04 +02:00
Notification feat(notifications): Migrate server INotifiers to new exceptions 2024-06-25 11:56:24 +02:00
Service chore: Add SPDX header 2024-05-27 14:53:40 +02:00
skeleton ownCloud -> Nextcloud 2016-07-28 15:47:04 +02:00
src fix(files_sharing): adjust IAttributes API and files_versions 2024-07-12 20:14:30 +02:00
templates chore: Add SPDX header 2024-05-27 14:53:40 +02:00
vendor chore: Add SPDX header 2024-05-27 14:53:40 +02:00
.l10nignore chore: Add SPDX header 2024-05-27 14:53:40 +02:00
Application.php Merge pull request #45235 from nextcloud/fix/remove-old-scheduling-objects 2024-06-03 13:06:10 +02:00
openapi-ex_app.json feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-ex_app.json.license feat(OpenAPI): Add ex_app scope 2024-07-02 09:12:48 +02:00
openapi-full.json feat(Reference): Add public API endpoints to get references 2024-07-17 12:56:41 +02:00
openapi-full.json.license feat(TaskProcessingApi): Add endpoint for getting the next task 2024-07-01 17:11:12 +02:00
openapi.json feat(Reference): Add public API endpoints to get references 2024-07-17 12:56:41 +02:00
openapi.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
register_command.php Merge pull request #46194 from nextcloud/schema-export-cmnd 2024-07-02 16:44:55 +02:00
ResponseDefinitions.php fix(core): use OC namespace for core ReponseDefinitions instead of OCA 2024-07-15 11:50:02 +02:00
routes.php Merge pull request #45228 from smokris/heartbeat-route 2024-06-18 17:29:30 +02:00
shipped.json feat: Ship downloadlimit 2024-03-07 02:28:03 -08:00
shipped.json.license chore: Add SPDX header 2024-06-06 22:53:41 +02:00
strings.php chore: Add SPDX header 2024-05-27 14:53:40 +02:00