diff options
Diffstat (limited to 'shared/models/plugins')
-rw-r--r-- | shared/models/plugins/server/server-hook.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts index f11d2050b..dd9cc3ad6 100644 --- a/shared/models/plugins/server/server-hook.model.ts +++ b/shared/models/plugins/server/server-hook.model.ts | |||
@@ -91,6 +91,10 @@ export const serverFilterHookObject = { | |||
91 | // Filter result used to check if a user can register on the instance | 91 | // Filter result used to check if a user can register on the instance |
92 | 'filter:api.user.signup.allowed.result': true, | 92 | 'filter:api.user.signup.allowed.result': true, |
93 | 93 | ||
94 | // Filter result used to check if a user can send a registration request on the instance | ||
95 | // PeerTube >= 5.1 | ||
96 | 'filter:api.user.request-signup.allowed.result': true, | ||
97 | |||
94 | // Filter result used to check if video/torrent download is allowed | 98 | // Filter result used to check if video/torrent download is allowed |
95 | 'filter:api.download.video.allowed.result': true, | 99 | 'filter:api.download.video.allowed.result': true, |
96 | 'filter:api.download.torrent.allowed.result': true, | 100 | 'filter:api.download.torrent.allowed.result': true, |
@@ -156,6 +160,9 @@ export const serverActionHookObject = { | |||
156 | 'action:api.user.unblocked': true, | 160 | 'action:api.user.unblocked': true, |
157 | // Fired when a user registered on the instance | 161 | // Fired when a user registered on the instance |
158 | 'action:api.user.registered': true, | 162 | 'action:api.user.registered': true, |
163 | // Fired when a user requested registration on the instance | ||
164 | // PeerTube >= 5.1 | ||
165 | 'action:api.user.requested-registration': true, | ||
159 | // Fired when an admin/moderator created a user | 166 | // Fired when an admin/moderator created a user |
160 | 'action:api.user.created': true, | 167 | 'action:api.user.created': true, |
161 | // Fired when a user is removed by an admin/moderator | 168 | // Fired when a user is removed by an admin/moderator |