You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here you find an overview of the public events that can be consumed in apps. See their source files for more details.
169
169
170
+
``\OCA\Files\Event\LoadAdditionalScriptsEvent``
171
+
***********************************************
172
+
173
+
*Available in Nextcloud 17 and later.*
174
+
175
+
This event is triggered when the files app is rendered. It canb e used to add additional scripts to the files app.
176
+
177
+
``\OCA\Viewer\Event\LoadViewer``
178
+
********************************
179
+
180
+
*Available in Nextcloud 17 and later.*
181
+
182
+
This event is triggered whenever the viewer is loaded and extensions should be loaded.
183
+
170
184
``\OCP\Authentication\Events\LoginFailedEvent``
171
185
***********************************************
172
186
@@ -181,13 +195,129 @@ Emitted when the authentication fails, but only if the login name can be associa
181
195
182
196
Event emitted by apps whenever there was an interaction with another user or contact.
183
197
198
+
It is an event that allows apps to notify other components about an interaction between two users. This can be used to build better recommendations and suggestions in user interfaces.
199
+
200
+
Emitters should add at least one identifier (uid, email, federated cloud ID) of the recipient of the interaction.
201
+
202
+
``\OCP\DirectEditing\RegisterDirectEditorEvent``
203
+
************************************************
204
+
205
+
*Available in Nextcloud 18 and later.*
206
+
207
+
Event to allow to register the direct editor.
208
+
209
+
``\OCP\Files\Events\BeforeFileScannedEvent``
210
+
********************************************
211
+
212
+
*Available in Nextcloud 18 and later.*
213
+
214
+
``\OCP\Files\Events\BeforeFolderScannedEvent``
215
+
**********************************************
216
+
217
+
*Available in Nextcloud 18 and later.*
218
+
219
+
``\OCP\Files\Events\FileCacheUpdated``
220
+
**************************************
221
+
222
+
*Available in Nextcloud 18 and later.*
223
+
224
+
``\OCP\Files\Events\FileScannedEvent``
225
+
**************************************
226
+
227
+
*Available in Nextcloud 18 and later.*
228
+
229
+
``\OCP\Files\Events\FolderScannedEvent``
230
+
****************************************
231
+
232
+
*Available in Nextcloud 18 and later.*
233
+
234
+
``\OCP\Files\Events\NodeAddedToCache``
235
+
**************************************
236
+
237
+
*Available in Nextcloud 18 and later.*
238
+
239
+
``\OCP\Files\Events\NodeRemovedFromCache``
240
+
******************************************
241
+
242
+
*Available in Nextcloud 18 and later.*
243
+
244
+
``\OCP\Group\Events\BeforeGroupCreatedEvent``
245
+
*********************************************
246
+
247
+
*Available in Nextcloud 18 and later.*
248
+
249
+
``\OCP\Group\Events\BeforeGroupDeletedEvent``
250
+
*********************************************
251
+
252
+
*Available in Nextcloud 18 and later.*
253
+
254
+
``\OCP\Group\Events\BeforeUserAddedEvent``
255
+
******************************************
256
+
257
+
*Available in Nextcloud 18 and later.*
258
+
259
+
``\OCP\Group\Events\BeforeUserRemovedEvent``
260
+
********************************************
261
+
262
+
*Available in Nextcloud 18 and later.*
263
+
264
+
``\OCP\Group\Events\GroupCreatedEvent``
265
+
***************************************
266
+
267
+
*Available in Nextcloud 18 and later.*
268
+
269
+
``\OCP\Group\Events\GroupDeletedEvent``
270
+
***************************************
271
+
272
+
*Available in Nextcloud 18 and later.*
273
+
274
+
``\OCP\Group\Events\UserAddedEvent``
275
+
************************************
276
+
277
+
*Available in Nextcloud 18 and later.*
278
+
279
+
``\OCP\Group\Events\UserRemovedEvent``
280
+
**************************************
281
+
282
+
*Available in Nextcloud 18 and later.*
184
283
``\OCP\Mail\Events\BeforeMessageSent``
185
284
**************************************
186
285
187
286
*Available in Nextcloud 19 and later.*
188
287
189
288
Emitted before a system mail is sent. It can be used to alter the message.
Allows to inject something into the default content policy. This is for example useful when you're injecting Javascript code into a view belonging to another controller and cannot modify its Content-Security-Policy itself. Note that the adjustment is only applied to applications that use AppFramework controllers.
296
+
297
+
WARNING: Using this API incorrectly may make the instance more insecure. Do think twice before adding whitelisting resources. Please do also note that it is not possible to use the `disallowXYZ` functions.
0 commit comments