nodebb-plugin-mentions 3.0.11 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-plugin-mentions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "NodeBB Plugin that allows users to mention other users by prepending an '@' sign to their username",
|
|
5
5
|
"main": "library.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "https://github.com/julianlam/nodebb-plugin-mentions/issues"
|
|
23
23
|
},
|
|
24
24
|
"nbbpm": {
|
|
25
|
-
"compatibility": "
|
|
25
|
+
"compatibility": "^3.0.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"html-entities": "^2.3.2",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"mocha": "10.0.0",
|
|
35
|
-
"eslint": "8.
|
|
35
|
+
"eslint": "8.23.0",
|
|
36
36
|
"eslint-config-nodebb": "0.1.1",
|
|
37
37
|
"eslint-plugin-import": "2.26.0"
|
|
38
38
|
}
|
|
@@ -1,33 +1,29 @@
|
|
|
1
1
|
<form role="form" class="mentions-settings">
|
|
2
2
|
<div class="row">
|
|
3
|
-
<div class="col-sm-2 col-
|
|
4
|
-
<div class="col-sm-10 col-
|
|
5
|
-
<div class="form-
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
</label>
|
|
11
|
-
</div>
|
|
3
|
+
<div class="col-sm-2 col-12 settings-header">General</div>
|
|
4
|
+
<div class="col-sm-10 col-12">
|
|
5
|
+
<div class="mb-3 form-check">
|
|
6
|
+
<input type="checkbox" class="form-check-input" id="autofillGroups" name="autofillGroups" />
|
|
7
|
+
<label for="autofillGroups" class="form-check-label">
|
|
8
|
+
<span>Allow mentioning User Groups</span>
|
|
9
|
+
</label>
|
|
12
10
|
</div>
|
|
13
|
-
<div class="form-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
</label>
|
|
19
|
-
</div>
|
|
11
|
+
<div class="mb-3 form-check">
|
|
12
|
+
<input type="checkbox" class="form-check-input" id="overrideIgnores" name="overrideIgnores" />
|
|
13
|
+
<label for="overrideIgnores" class="form-check-label">
|
|
14
|
+
<span>Notify recipients of mentions even if topic is explictly ignored</span>
|
|
15
|
+
</label>
|
|
20
16
|
</div>
|
|
21
|
-
<div class="
|
|
22
|
-
<label for="disableGroupMentions">Select groups you wish to disable mentions</label>
|
|
17
|
+
<div class="mb-3">
|
|
18
|
+
<label class="form-label" for="disableGroupMentions">Select groups you wish to disable mentions</label>
|
|
23
19
|
<select class="form-control" id="disableGroupMentions" name="disableGroupMentions" multiple>
|
|
24
20
|
<!-- BEGIN groups -->
|
|
25
21
|
<option value="{groups.displayName}">{groups.displayName}</option>
|
|
26
22
|
<!-- END groups -->
|
|
27
23
|
</select>
|
|
28
24
|
</div>
|
|
29
|
-
<div class="
|
|
30
|
-
<label for="display">Mentions will display ...</label>
|
|
25
|
+
<div class="mb-3">
|
|
26
|
+
<label class="form-label" for="display">Mentions will display ...</label>
|
|
31
27
|
<select class="form-control" id="display" name="display">
|
|
32
28
|
<option value="">... as written</option>
|
|
33
29
|
<option value="fullname">... as user's full name (if set)</option>
|
|
@@ -38,21 +34,21 @@
|
|
|
38
34
|
</div>
|
|
39
35
|
|
|
40
36
|
<div class="row">
|
|
41
|
-
<div class="col-sm-2 col-
|
|
42
|
-
<div class="col-sm-10 col-
|
|
43
|
-
<div class="
|
|
44
|
-
<div class="
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
<span
|
|
37
|
+
<div class="col-sm-2 col-12 settings-header">Restrictions</div>
|
|
38
|
+
<div class="col-sm-10 col-12">
|
|
39
|
+
<div class="mb-3">
|
|
40
|
+
<div class="mb-3 form-check">
|
|
41
|
+
<input type="checkbox" class="form-check-input" id="disableFollowedTopics" name="disableFollowedTopics" />
|
|
42
|
+
<label for="disableFollowedTopics" class="form-check-label">
|
|
43
|
+
<span>Disable mentions for followed topics</span>
|
|
48
44
|
</label>
|
|
49
45
|
</div>
|
|
50
46
|
</div>
|
|
51
|
-
<div class="
|
|
52
|
-
<div class="
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
<span
|
|
47
|
+
<div class="mb-3">
|
|
48
|
+
<div class="mb-3 form-check">
|
|
49
|
+
<input type="checkbox" class="form-check-input" id="privilegedDirectReplies" name="privilegedDirectReplies" />
|
|
50
|
+
<label for="privilegedDirectReplies" class="form-check-label">
|
|
51
|
+
<span>Restrict mentions to privileged users (mods, global mods, administrators), unless it is a direct reply to a post</span>
|
|
56
52
|
</label>
|
|
57
53
|
</div>
|
|
58
54
|
</div>
|