mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 13:30:23 +01:00
Compare commits
23 Commits
custom-use
...
v0.4.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e1a07245c | ||
|
|
80821da9d8 | ||
|
|
227d567d48 | ||
|
|
dca1f253e7 | ||
|
|
17931ba3f3 | ||
|
|
49ed247be3 | ||
|
|
04fe8950f0 | ||
|
|
2832265677 | ||
|
|
5df0ebf895 | ||
|
|
0bc8b20f70 | ||
|
|
727ac0d534 | ||
|
|
7f54cb2452 | ||
|
|
b858193753 | ||
|
|
b1b2a03747 | ||
|
|
45c62da51c | ||
|
|
f88d7e6170 | ||
|
|
13b4aa2282 | ||
|
|
995fb22600 | ||
|
|
5de430deb5 | ||
|
|
e1c9bd7229 | ||
|
|
eabbc81b40 | ||
|
|
e29aa5abf8 | ||
|
|
cde7168f9c |
1190
npm-shrinkwrap.json
generated
Normal file
1190
npm-shrinkwrap.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -47,8 +47,8 @@
|
||||
"nodebb-plugin-mentions": "~0.4.0",
|
||||
"nodebb-plugin-markdown": "~0.4.1",
|
||||
"nodebb-widget-essentials": "~0.0.21",
|
||||
"nodebb-theme-vanilla": "~0.0.19",
|
||||
"nodebb-theme-lavender": "~0.0.25",
|
||||
"nodebb-theme-vanilla": "<0.0.20",
|
||||
"nodebb-theme-lavender": "<0.0.26",
|
||||
"nodebb-plugin-soundpack-default": "~0.1.1",
|
||||
"nodebb-plugin-dbsearch": "0.0.9"
|
||||
},
|
||||
|
||||
@@ -116,7 +116,7 @@ var async = require('async'),
|
||||
Notifications.get(nid, null, function(notif_data) {
|
||||
async.each(uids, function(uid, next) {
|
||||
if (!parseInt(uid, 10)) {
|
||||
next();
|
||||
return next();
|
||||
}
|
||||
|
||||
checkReplace(notif_data.uniqueId, uid, notif_data, function(err, replace) {
|
||||
|
||||
@@ -164,7 +164,7 @@ var db = require('./database'),
|
||||
|
||||
async.filter(pids, function(pid, next) {
|
||||
postTools.privileges(pid, callerUid, function(err, privileges) {
|
||||
next(!err && privileges.read);
|
||||
next(!err && privileges.meta.read);
|
||||
});
|
||||
}, function(pids) {
|
||||
if (!(pids && pids.length)) {
|
||||
@@ -216,7 +216,7 @@ var db = require('./database'),
|
||||
|
||||
async.filter(pids, function(pid, next) {
|
||||
postTools.privileges(pid, uid, function(err, privileges) {
|
||||
next(!err && privileges.read);
|
||||
next(!err && privileges.meta.read);
|
||||
});
|
||||
}, function(pids) {
|
||||
Posts.getPostSummaryByPids(pids, true, callback);
|
||||
|
||||
@@ -66,8 +66,8 @@ module.exports = function(Topics) {
|
||||
postData[i].upvoted = results.voteData[i].upvoted;
|
||||
postData[i].downvoted = results.voteData[i].downvoted;
|
||||
postData[i].votes = postData[i].votes || 0;
|
||||
postData[i].display_moderator_tools = parseInt(uid, 10) !== 0 && results.privileges[i].editable;
|
||||
postData[i].display_move_tools = results.privileges[i].move;
|
||||
postData[i].display_moderator_tools = parseInt(uid, 10) !== 0 && results.privileges[i].meta.editable;
|
||||
postData[i].display_move_tools = results.privileges[i].meta.move;
|
||||
postData[i].selfPost = parseInt(uid, 10) === parseInt(postData[i].uid, 10);
|
||||
|
||||
if(postData[i].deleted && !results.privileges[i].view_deleted) {
|
||||
|
||||
Reference in New Issue
Block a user