-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplugin.json
More file actions
32 lines (32 loc) · 1.68 KB
/
plugin.json
File metadata and controls
32 lines (32 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"id": "nodebb-plugin-phone-verification",
"name": "Phone Verification",
"description": "אימות מספר טלפון נייד בתהליך ההרשמה לפורום ובפרופיל המשתמש",
"version": "2.0.0",
"library": "./library.js",
"hooks": [
{ "hook": "filter:register.check", "method": "checkRegistration" },
{ "hook": "action:user.create", "method": "userCreated" },
{ "hook": "filter:admin.header.build", "method": "addAdminNavigation" },
{ "hook": "static:app.load", "method": "init" },
{ "hook": "filter:script.load", "method": "loadScript" },
{ "hook": "filter:user.whitelistFields", "method": "whitelistFields" },
{ "hook": "filter:user.account", "method": "addPhoneToAccount" },
{ "hook": "filter:post.create", "method": "checkPostingPermissions" },
{ "hook": "filter:topic.create", "method": "checkPostingPermissions" },
{ "hook": "action:user.delete", "method": "userDelete" },
{ "hook": "filter:post.upvote", "method": "checkVotingPermissions" },
{ "hook": "filter:post.downvote", "method": "checkVotingPermissions" },
{ "hook": "filter:post.unvote", "method": "checkVotingPermissions" },
{ "hook": "filter:messaging.save", "method": "checkMessagingPermissions"}
],
"modules": {
"../client/phone-verification.js": "static/lib/main.js",
"../admin/plugins/phone-verification.js": "static/lib/admin.js"
},
"scripts": [ "static/lib/main.js" ],
"acpScripts": [ "static/lib/admin.js" ],
"templates": "templates",
"staticDirs": { "static": "static" },
"nbbpm": { "compatibility": "^2.0.0 || ^3.0.0 || ^4.0.0" }
}