Merge pull request #10585 from nextcloud/enh/event-preview

Document missing events
This commit is contained in:
Christoph Wurst
2023-06-09 06:41:00 +02:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

View File

@@ -425,6 +425,16 @@ Emitted when the authentication fails, but only if the login name can be associa
.. versionadded:: 20
``\OCP\Collaboration\Reference\RenderReferenceEvent``
*****************************************************
.. versionadded:: 25
Event emitted when apps might render references like link previews or smart picker widgets.
This can be used to inject scripts for extending that. Further details can be found in the
:ref:`Reference providers` deep dive.
``\OCP\Contacts\Events\ContactInteractedWithEvent``
***************************************************
@@ -542,6 +552,13 @@ Deprecated in 20.0.0 - it can't be guaranteed that this event is triggered in al
Emitted before a system mail is sent. It can be used to alter the message.
``OCP\Preview\BeforePreviewFetchedEvent``
*****************************************
.. versionadded:: 26
Emitted before a file preview is being fetched. It can be used to block preview rendering by throwing a ``OCP\Files\NotFoundException``.
``\OCP\Security\CSP\AddContentSecurityPolicyEvent``
***************************************************

View File

@@ -1,3 +1,5 @@
.. _Reference providers:
===================
Reference providers
===================