nextcloud/lib/private
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 warning in case of failure 2024-07-16 18:13:25 +02:00
AppFramework feat: Add new forbidden filename options to Capabilities 2024-07-11 13:31:54 +02:00
Archive chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Authentication fix(Session): avoid race conditions on clustered setups 2024-07-10 13:28:33 +02:00
Avatar fix: use different file name for generated dark avatars 2024-05-26 17:32:10 +02:00
BackgroundJob feat(files_sharing): implement IShareProviderWithNotification and refactor sendMailNotification 2024-07-12 20:14:30 +02:00
Blurhash/Listener chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache Merge branch 'master' into refactor/OC-Server-getSecureRandom 2024-05-30 14:24:22 +02:00
Calendar feat: implement public OCP api to update resources and rooms 2024-05-27 18:45:52 +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
Console chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Contacts/ContactsMenu chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +00: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 Merge branch 'master' into refactor/OC-Server-getEncryptionFilesHelper 2024-06-04 15:47:48 +02:00
EventDispatcher 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 refactor: Migrate filename validation logic from Storage to FilenameValidator 2024-07-16 12:49:09 +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 fix: rebased the branch with master and resolved conflicts 2024-07-08 15:42:55 +05:30
Hooks 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
IntegrityCheck fix(IntegrityCheck): Ensure the check is run if no results are available 2024-07-03 11:37:49 +02:00
KnownUser chore: Add SPDX header 2024-05-24 13:11:22 +02:00
L10N feat: reduce available languages per config value "reduce_to_languages" 2024-07-01 09:34:11 +02:00
LDAP chore: Add SPDX header 2024-05-24 13:11:22 +02:00
legacy Merge pull request #46342 from nextcloud/fix-getimagesize 2024-07-16 21:47:35 +02:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Lockdown refactor(Token): introduce scope constants 2024-06-05 19:01:14 +02:00
Log chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Mail fix(mail): Fix big logos in mail templates for Outlook 2024-07-17 09:24:55 +02:00
Memcache chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Migration feat: add setup check for needed mimetype migrations 2024-06-18 14:46:19 +02:00
Net 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 feat: log file id and path when extracting the mp3 cover fails 2024-07-04 10:55:31 +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
Repair fix(mail): Fix big logos in mail templates for Outlook 2024-07-17 09:24:55 +02:00
RichObjectStrings chore: Add SPDX header 2024-05-24 13:11:22 +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 chore: More explicit splitHash typing 2024-07-04 17:05:45 -07:00
Session perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP 2024-07-08 22:30:27 +02:00
Settings chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Setup Merge branch 'master' into refactor/OC-Server-getSecureRandom 2024-05-30 14:24:22 +02:00
SetupCheck chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Share20 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 fix: removed unused variable and check if tag ids are empty before starting the inserts 2024-06-19 12:52:46 +02:00
Tagging 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 fix: Avoid throwing errors for teams are unavailable 2024-06-24 12:29:43 +02:00
Template feat: Add new forbidden filename options to Capabilities 2024-07-11 13:31:54 +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
Updater chore: Add SPDX header 2024-05-24 13:11:22 +02:00
User fix(Session): avoid race conditions on clustered setups 2024-07-10 13:28:33 +02:00
UserStatus chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AllConfig.php fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager 2024-07-08 15:42:55 +05:30
AppConfig.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AppScriptDependency.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
AppScriptSort.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
BinaryFinder.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
CapabilitiesManager.php perf(capabilities): Log capabilities providers that are slow 2024-06-21 11:41:22 +02:00
Color.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Config.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ContactsManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DatabaseException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DatabaseSetupException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DateTimeFormatter.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DateTimeZone.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EmojiHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EventSource.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
EventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ForbiddenException.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
InitialStateService.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Installer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
LargeFileHelper.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Log.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
MemoryInfo.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NaturalSort.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NaturalSort_DefaultCollator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NavigationManager.php fix(NavigationManager): Make entry order always an integer 2024-05-30 17:00:32 +02:00
NeedsUpdateException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NotSquareException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreviewManager.php fix(preview): don't create folder structure when previews are disabled 2024-06-18 10:39:45 +02:00
PreviewNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
RedisFactory.php fix(redis): Require version >=4 for unlink 2024-07-12 19:53:49 +02:00
Repair.php fix(mail): Fix big logos in mail templates for Outlook 2024-07-17 09:24:55 +02:00
RepairException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Search.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php Merge pull request #46398 from nextcloud/fix/46165/token-race 2024-07-11 09:24:24 +02:00
ServerContainer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ServerNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ServiceUnavailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Setup.php fix(htaccess): Serve images as static assets 2024-07-15 18:06:13 +02:00
Streamer.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
StreamImage.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SubAdmin.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
SystemConfig.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TagManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Tags.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
TemplateLayout.php feat: Add new forbidden filename options to Capabilities 2024-07-11 13:31:54 +02:00
TempManager.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Updater.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
URLGenerator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00