-
Notifications
You must be signed in to change notification settings - Fork 25
/
plugin.json
93 lines (93 loc) · 1.99 KB
/
plugin.json
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"id": "nodebb-plugin-spam-be-gone",
"name": "Spam Be Gone",
"description": "anti spam using both Akismet.com, StopForumSpam.com and Re-Captcha",
"url": "https://github.com/akhoury/nodebb-plugin-spam-be-gone",
"scss": [
"public/scss/styles.scss"
],
"acpScripts": [
"public/js/scripts.js"
],
"scripts": [
"public/js/scripts.js"
],
"modules": {
"../admin/plugins/spam-be-gone.js": "public/js/admin.js",
"spam-be-gone/hcaptcha.js": "public/js/hcaptcha.js"
},
"templates": "public/templates",
"languages": "public/languages",
"defaultLang": "en_GB",
"upgrades": [
"upgrades/enable_stopforumspam_by_default.js"
],
"hooks": [
{
"hook": "static:app.load",
"method": "load"
},
{
"hook": "filter:admin.header.build",
"method": "admin.menu"
},
{
"hook": "filter:login.build",
"method": "addCaptcha",
"priority": 5
},
{
"hook": "filter:register.build",
"method": "addCaptcha",
"priority": 5
},
{
"hook": "filter:login.check",
"method": "checkLogin",
"priority": 5
},
{
"hook": "filter:register.check",
"method": "checkRegister",
"priority": 5
},
{
"hook": "filter:user.profileMenu",
"method": "userProfileMenu",
"priority": 5
},
{
"hook": "filter:user.getRegistrationQueue",
"method": "getRegistrationQueue",
"priority": 5
},
{
"hook": "filter:topic.post",
"method": "onTopicPost",
"priority": 5
},
{
"hook": "filter:topic.reply",
"method": "onTopicReply",
"priority": 5
},
{
"hook": "filter:topic.edit",
"method": "onTopicEdit"
},
{
"hook": "filter:post.edit",
"method": "onPostEdit"
},
{
"hook": "action:flags.create",
"method": "onPostFlagged",
"priority": 5
},
{
"hook": "filter:config.get",
"method": "appendConfig"
}
],
"faIcon": "fa-shield"
}