nextcloud/lib/public
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
..
Accounts feat(ldap): sync additional properties to profile and SAB 2024-05-30 12:01:13 +02:00
Activity chore: Add SPDX header 2024-05-24 13:11:22 +02:00
App chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AppFramework fix: ARateLimit documentation 2024-07-12 20:14:30 +02:00
Authentication refactor(Token): introduce scope constants 2024-06-05 19:01:14 +02:00
BackgroundJob fix: delete background jobs by id when cleaning up 2024-05-30 15:07:26 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Calendar Merge pull request #45532 from nextcloud/feat/publish-resources-room-update 2024-06-25 16:48:30 +02:00
Capabilities chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Collaboration feat(Reference): Add public API endpoints to get references 2024-07-17 12:56:41 +02:00
Command chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Comments chore: Move comments event handler to use proper event dispatcher 2024-06-26 18:13:07 +02:00
Common/Exception chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Config chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Console feat: Add reserved options in a new OCP class so that applications know about them 2024-07-04 16:19:36 +02:00
Contacts chore: adjust php comment usage hint 2024-05-30 15:01:15 +02:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +00:00
DataCollector chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DB feat: allow running QueryBuilder queries on different connections 2024-07-15 22:41:04 +02:00
Diagnostics chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DirectEditing chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Encryption chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EventDispatcher fix: Make webhook event serialization opt-in with a new interface 2024-06-11 14:10:29 +02:00
Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Federation fix(federation): Fix missing protocol on CloudID remote 2024-06-27 11:26:08 +02:00
Files feat: Add IFilenameValidator to have one consistent place for filename validation 2024-07-09 15:04:34 +02:00
Files_FullTextSearch/Model chore: Add SPDX header 2024-05-24 13:11:22 +02:00
FilesMetadata chore: Add SPDX header 2024-05-24 13:11:22 +02:00
FullTextSearch chore: Add SPDX header 2024-05-24 13:11:22 +02:00
GlobalScale chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Group chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Http chore: Add SPDX header 2024-05-24 13:11:22 +02:00
L10N chore: Add SPDX header 2024-05-24 13:11:22 +02:00
LDAP chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Lockdown chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Log chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Mail Merge branch 'master' into refactor/OC-Server-getMailer 2024-05-30 14:17:52 +02:00
Migration chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Notification chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OCM chore: Add SPDX header 2024-05-24 13:11:22 +02:00
OCS chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Preview chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Profile chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Profiler chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Remote chore: Add SPDX header 2024-05-24 13:11:22 +02:00
RichObjectStrings Merge pull request #45424 from nextcloud/feat/richobjectstrings/missing-talk-file-metadata 2024-06-06 12:40:07 +02:00
Route chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Search chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Security feat: Add method to validate an IHasher hash 2024-07-04 17:05:45 -07:00
Session/Exceptions chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Settings chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SetupCheck chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share fix(files_sharing): adjust IAttributes API and files_versions 2024-07-12 20:14:30 +02:00
SpeechToText chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Support chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SystemTag chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Talk chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TaskProcessing Merge pull request #46251 from nextcloud/feat/taskprocessing-more-tasktypes 2024-07-04 14:02:02 +02:00
Teams chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TextProcessing chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TextToImage chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Translation chore: Add SPDX header 2024-05-24 13:11:22 +02:00
User docs: Add info for the password hashes 2024-07-08 16:30:52 -07:00
UserMigration chore: Add SPDX header 2024-05-24 13:11:22 +02:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +02:00
WorkflowEngine chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AutoloadNotAllowedException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
BeforeSabrePubliclyLoadedEvent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Color.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Constants.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Defaults.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Files.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
GroupInterface.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
HintException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAddressBook.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAppConfig.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAvatar.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IAvatarManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IBinaryFinder.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICache.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICacheFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificate.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ICertificateManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IConfig.php fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager 2024-07-08 15:42:55 +05:30
IContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IDateTimeFormatter.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IDateTimeZone.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IDBConnection.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSource.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IEventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroup.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IGroupManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IImage.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IInitialStateService.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IL10N.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ILogger.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Image.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IMemcache.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IMemcacheTTL.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
INavigationManager.php fix(INavigationManager): Fix psalm alias not set in the right place 2024-05-30 16:59:43 +02:00
IPhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IPreview.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IRequest.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IRequestId.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ISearch.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IServerContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ISession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IStreamImage.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITagManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITags.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ITempManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IURLGenerator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IUser.php docs: Add info for the password hashes 2024-07-08 16:30:52 -07:00
IUserBackend.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
IUserManager.php fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager 2024-07-08 15:42:55 +05:30
IUserSession.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreConditionNotMetException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SabrePluginEvent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SabrePluginException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share_Backend.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share_Backend_Collection.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share_Backend_File_Dependent.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Template.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
UserInterface.php fix: rebased the branch with master and resolved conflicts 2024-07-08 15:42:55 +05:30
Util.php refactor: Remove deprecated Util function for filename validation to FilenameValidator 2024-07-16 12:49:10 +02:00