Julian Lam
ae1528dc7e
closed #2407
10 years ago
Julian Lam
d51683f62e
closed #2421
10 years ago
Julian Lam
2e2995d3bd
updating dailyDigestFreq to 'day' instead of 'daily'
10 years ago
Julian Lam
c7396f58cd
verbose logging for email
10 years ago
barisusakli
ee3b0c93c3
fix tag update
...
was hanging on tag remove, and wasnt updating if tag count didnt change
10 years ago
barisusakli
0864480433
forgot return
10 years ago
barisusakli
cb8ce066c8
give guests find read access on category creation
10 years ago
barisusakli
8b573bff39
send 10 topics in digest not 11
10 years ago
barisusakli
9791dfb9ea
closes #2420
10 years ago
Julian Lam
23485fcbf3
missed one invocation of old LESS library, #2419
10 years ago
Julian Lam
207bfa8960
closed #2419
10 years ago
barisusakli
0a1fa72bd8
use loadMoreFromSet
10 years ago
barisusakli
114d0506e1
fixed typo
10 years ago
barisusakli
f0797493ee
make sure sockets leave the current room when entering another
10 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
10 years ago
barisusakli
a75727bbbd
duh
10 years ago
barisusakli
653850661e
topics.getTopics doesnt take set param
10 years ago
barisusakli
79265b9e83
removed dupe code
10 years ago
barisusakli
c1b61522f7
check if topic is deleted
10 years ago
barisusakli
c458a7f7b2
missing nconf require
10 years ago
barisusakli
9852809c2c
cleanup
10 years ago
barisusakli
1d2d69fa45
use helpers, redis crash fix
10 years ago
barisusakli
556e7066e8
moved notFound notAllowed to helpers
10 years ago
barisusakli
f8cfd82667
less code in uploadimage
10 years ago
barisusakli
0a44d3f5e0
moved updateCategoryField out, db.delete only sends back err
10 years ago
barisusakli
d485b65b67
call next
10 years ago
barisusakli
9ab74b0a61
added ability to take heap snapshots
10 years ago
barisusakli
9d56f50967
voters info
10 years ago
barisusakli
30d7f3351b
cid isnt always present
10 years ago
barisusakli
02fb81901d
moved posts related stuff to user/posts.js
10 years ago
barisusakli
d9a071d710
removed unused code from category and topic controller
10 years ago
barisusakli
cd05a123ab
check cids
10 years ago
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
10 years ago
barisusakli
6b13a84d2f
removed extra priv checks
...
-removed category check from recentreplies since pids are already
checked
-removed category check from topics/unread.js since topics are filtered
now
-added array checks to src/topics.js
10 years ago
barisusakli
5c7487c13b
err check
10 years ago
barisusakli
283ac1578f
fix null datetime error
10 years ago
barisusakli
f3309e3dd4
renamed to local registration
...
closes https://github.com/NodeBB/nodebb-theme-vanilla/issues/36
10 years ago
barisusakli
545dbbf0df
check err and tids
10 years ago
Julian Lam
b65d518a97
properly handling error for hook filter:privileges.posts.filter
10 years ago
Julian Lam
9debfd94ec
removed the hook I just added: filter:category.recent, was a bit misleading.
10 years ago
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
10 years ago
barisusakli
9ff35a18f2
closes #2261
10 years ago
psychobunny
1e453140d9
adding uid to filter:category.topics.get
10 years ago
psychobunny
abe887f557
filter:category.topics.get
10 years ago
psychobunny
c988f54243
renaming filter:category.topics.get to filter:category.topics.prepare
10 years ago
barisusakli
485827db84
check count before privileges
10 years ago
barisusakli
6a3a3669d2
check privs on getRecentReplies and getRecentTopicReplies
10 years ago
barisusakli
b4daae9b23
closes #2307
10 years ago
psychobunny
3aa18ebb12
no need to inform attempt to listen to address
10 years ago
barisusakli
5c3af6f549
removed webserver.init
10 years ago
barisusakli
363057cf49
closes #2390
10 years ago
barisusakli
d1b457b066
check err
10 years ago
barisusakli
519b1b7e37
closes #2377
10 years ago
barisusakli
a1624013f8
closes #2400
10 years ago
barisusakli
05a4737e84
closes #2409
10 years ago
barisusakli
61863a69fe
sendfile is deprecated
10 years ago
barisusakli
c24e451c12
closes #2401
10 years ago
barisusakli
181e2b4132
check err
10 years ago
barisusakli
e6973b55d4
closes #1990
10 years ago
barisusakli
962d14746e
trim tag after substr
...
this prevents spaces in the middle of the tag from being added to the db
10 years ago
barisusakli
a45858dacd
previous commit doesnt show unusud tags in admin
10 years ago
barisusakli
68e8039ac7
closes #2379
...
also fixed a bug where tags with 0 topics were showing up in /tags
10 years ago
barisusakli
b3544f644a
relative path upload fixes #2403
10 years ago
barisusakli
14fdb9ebee
reverted
10 years ago
barisusakli
6809af536c
removed winston log in plugin fireHook
10 years ago
barisusakli
4c7a4d3688
fix topicIndex,
10 years ago
barisusakli
bd388f727c
src/favourites.js
10 years ago
barisusakli
9a16a359a8
auth refactor
10 years ago
Julian Lam
c0fc7e9ca4
updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get
10 years ago
barisusakli
eada3daf9f
fixed recent and unread
10 years ago
Julian Lam
6ea10aa7e3
ensuring that the filter:category.get hook always sends data in the same format
10 years ago
Julian Lam
7e35987e1b
fixing regression for #2355 , introduced in a129075
10 years ago
barisusakli
15e472db12
on category creation give defaults privs to admins and registered users
10 years ago
barisusakli
2579d2535d
closes #2396
10 years ago
barisusakli
fa5ac04cd3
src/topics.js cleanup
10 years ago
barisusakli
c9f990bb72
derp
10 years ago
barisusakli
7225c0d45b
finish up posts refactor
10 years ago
Julian Lam
54ee8e59f6
showing proper time for newbie post delay
10 years ago
barisusakli
d2cddc734b
fix flagging and post filter
...
cant flag posts that don't exist anymore
10 years ago
barisusakli
11dc477dde
posts/categories.js
10 years ago
barisusakli
e593c8e6b1
setFields makes more sense
10 years ago
barisusakli
fa95012fa3
action:set,postField
10 years ago
barisusakli
1413478a68
ill get it right this year
10 years ago
barisusakli
003535b3ab
filter:post.getFields again
10 years ago
barisusakli
383fa4d0ea
filter:post.getFields change
10 years ago
barisusakli
604dac88e3
closes #2382 , closes #2130
10 years ago
psychobunny
70b5c631c6
if dev, compile view scripts only; let rjs dynamically load module scripts
...
fixes a bug introduced @ 11c83079f2
10 years ago
psychobunny
02b6a7893a
in dev mode, concatenate scripts instead of minifying
...
faster reboot & restores sanity to those trying to debug browser
specific issues on IE and FF. not that you have much sanity to begin
with if it's an IE bug...
10 years ago
psychobunny
11c83079f2
if env is dev, don't re-compile rjs files
...
faster reboot & easier to debug on browsers that don't support
sourcemaps
10 years ago
psychobunny
8de978fbcf
lmao, wtf?
...
my brain just exploded trying to figure out what this is doing here
10 years ago
psychobunny
d69054804e
closes #2391
10 years ago
Julian Lam
73dea4fc4e
upvote and favourites notif fixing
10 years ago
Julian Lam
f9f1cf63cf
fixing topic deletion and purging
10 years ago
barisusakli
c18de5cdd2
posts/recent.js refactor
10 years ago
barisusakli
ef35b83806
use getPostsFields
10 years ago
barisusakli
263f479b20
posts.js refactor pt1
10 years ago
barisusakli
39def60f9b
return empty array
10 years ago
barisusakli
420aa5e102
fix moderators
10 years ago
barisusakli
8294aec5e7
fixed indent
10 years ago
barisusakli
8fdc03eaad
categories.js refactor
10 years ago
barisusakli
daebc322eb
meh
10 years ago
barisusakli
7823416410
err check, assignPostsToCategory is sync
10 years ago
barisusakli
af4cbfb20d
closes #2368
10 years ago
barisusakli
d2735c8558
closes #2370
10 years ago
barisusakli
3f12d363f7
plugins fireHook refactor
...
(drunk)
10 years ago
barisusakli
e93b2b6aa1
removed action:app.load
10 years ago
barisusakli
41ae8b61a7
static:app.load change closes #1527
10 years ago
barisusakli
220c82a8f2
filter:register.complete change #1527
10 years ago
barisusakli
76c16c0383
filter:register.check change #1527
10 years ago
barisusakli
166f353aaa
filter:register.build change #1527
10 years ago
barisusakli
8be9e6d413
action:user.verify change #1527
10 years ago
barisusakli
9363741231
action:user.set change #1527
10 years ago
barisusakli
db979d7a20
filter:category.get change #1527
10 years ago
Julian Lam
f3ea8d1cff
closed #2367
10 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
10 years ago
barisusakli
5f8781c88e
1 less db call in togglePin
10 years ago
barisusakli
69ed00fc14
added mainPid to topic restore/edit hooks
10 years ago
barisusakli
642136f6f8
closes #2357
10 years ago
barisusakli
b60ed95d20
Merge remote-tracking branch 'origin/master'
10 years ago
barisusakli
1ae39d638a
closes #2356
10 years ago
Julian Lam
f0b104fef0
possible fix to #2365
10 years ago
Julian Lam
52285239e9
fixed client-side so semver doesn't explode when nbbpm returns 'latest', fixed tests so they pass again, #2363
10 years ago
Julian Lam
19297e2d22
plugin installation takes a version now, and queries nbbpm, #2363
...
better error handling for #2363
upgrades now also call the suggestion route from nbbpm
upgrade button will show alert now if you try to upgrade past the suggested version, #2363
10 years ago
Julian Lam
0f66077bf5
fixed issue where purged posts would cause the upgrader to fail, closed #2359
10 years ago
Joseph Chen
cd41df5677
Pass in req.user.uid into uploadFile
10 years ago
Joseph Chen
a1e54fda23
Bug fix - File upload broken due to api changes in 0.6.x.
10 years ago
Julian Lam
11c9b74faf
upgrade script for #2355 , closes #2355
10 years ago
Julian Lam
a12907512f
refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author, #2355
10 years ago
barisusakli
3272ca34ee
0.6.0 cleanup
10 years ago
barisusakli
4440260f8f
closes #2275
10 years ago
barisusakli
1004fb2822
closes #2354
10 years ago
barisusakli
72bb74cf46
canMessage
10 years ago
psychobunny
2e4198b8f1
removing unnecessary markup
10 years ago
barisusakli
f3d485bd58
filter:user.account
10 years ago
barisusakli
719290cd2b
dont display email/fullname if they are private
10 years ago
psychobunny
6452596312
if sigs are disabled, actually disable them
10 years ago
barisusakli
9e1789dc58
closes #2297
10 years ago
barisusakli
39b679705b
closes #2248
10 years ago
barisusakli
595ff1f4b1
closes #2303
...
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
10 years ago
barisusakli
a6e498bb5d
error check
10 years ago
Barış Soner Uşaklı
b89b960f86
Merge pull request #2328 from dwendt/master
...
Made hiding widgets for guests/registered sensible.
10 years ago
barisusakli
608943255b
better check
10 years ago
barisusakli
ec0624918f
possible fix for #2351
10 years ago
barisusakli
70657251b9
no need for return
10 years ago
Julian Lam
44175188c4
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
10 years ago
barisusakli
06f66337fb
anon checks
...
less db calls for uid 0
10 years ago
Julian Lam
0a38a783c7
TravisCI is TOO DAMN FAST
10 years ago
barisusakli
37d7756271
hasEnoughRep can take an array
...
user follow uid checks
10 years ago
barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
10 years ago
barisusakli
b7dcc29638
log error path as well
10 years ago
barisusakli
cdfaa941b1
error checks missing return
10 years ago
barisusakli
04c83dbdcc
update deprecated sendfile
10 years ago
barisusakli
e769ebe668
closes #2347
10 years ago
barisusakli
dd135b875b
#2347
...
dont show flag on deleted posts
dont allow flag on deleted posts
dont allow upvote downvote favourite on deleted posts
10 years ago
barisusakli
268ecd5157
single call to get slug and postcount
10 years ago
barisusakli
f21b313848
reload/restart notices side by side
10 years ago
barisusakli
d492339841
closes #2315
10 years ago
barisusakli
7bfc36ff56
dont call isAdmin if not logged in
10 years ago
barisusakli
209edf182f
404 pages that are out of range
10 years ago
barisusakli
9440f8f8cd
#2344
10 years ago
barisusakli
84b7a2c92d
checks in socket.io/user
...
reset doesnt need socket
10 years ago
barisusakli
8e84e47578
if a user is deleted remove from banned sorted set as well
10 years ago
barisusakli
f83dd956eb
check if post exists on up/down vote favourite
10 years ago
barisusakli
fcc42883ab
some checks for purge
10 years ago
barisusakli
56d16d1792
fix topic titles in search results
...
titles were being escaped twice if two or more posts were from the same
topic
10 years ago
barisusakli
7c7be2e0c1
closes #2337
10 years ago
barisusakli
1fe82ee452
added 2 new methods to dbal
...
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
10 years ago
Julian Lam
ec309333be
closed #2335
10 years ago
Julian Lam
de0da80040
Merge branch 'master' of github.com:NodeBB/NodeBB
10 years ago
Julian Lam
b91d39a0d3
almost everything for #2335
10 years ago
heart
c38ca146c7
Made hiding widgets for guests/registered sensible.
10 years ago
barisusakli
fb1095fc28
added allowed true to /chats
10 years ago
barisusakli
e97bfc139b
#1848
10 years ago
barisusakli
0bb0424998
bubble error
10 years ago
barisusakli
e93398b647
use currentTime when someone up/down votes
10 years ago
Julian Lam
61aaff025b
adding in 'allowed' to template, re: #2321
10 years ago
barisusakli
b12e3562d5
hide category icons if they are not set
10 years ago
Julian Lam
adfb89a2ad
closed #2321
10 years ago
barisusakli
433769eb36
closes #2146
...
first tab (recent) shows last 50 messages instead of just last 24 hours
10 years ago
barisusakli
121de11400
closes #2323
10 years ago
psychobunny
50b264ac7d
prevent deleted users belonging to a group from breaking edit functionality
10 years ago
psychobunny
4d4dc344a6
temporary fix until remarkable is updated in markdown plugin
...
https://github.com/jonschlinkert/remarkable/issues/88#issuecomment-60885589
10 years ago
barisusakli
189eaf2bea
escape output
10 years ago
barisusakli
fbd478812e
fail modeon
10 years ago
barisusakli
1b268c94c0
if there is no postData.tid dont notify, ie topic post
10 years ago
barisusakli
cbedc762fd
no rooms.enter for anons check tid on topic enter
10 years ago
barisusakli
0fba1e37a7
no need for double trim :P
10 years ago
barisusakli
5be1c17aa7
refactor user.create
...
dont fire filter:user.create if there userData is invalid
10 years ago
barisusakli
20314991a4
tmp error check
10 years ago
barisusakli
c5ba327d8f
fix empty pages
10 years ago
barisusakli
b12476c422
if a post is purged, remove it from flagged posts as well
10 years ago
barisusakli
9e77960ee1
#2308 check if latest is greater by semver
10 years ago
psychobunny
25c7dfbc12
fix crash if socket.handshake is null
10 years ago
barisusakli
3d5e72bbc8
fix null parents
10 years ago
barisusakli
9909f8ba79
more err checks
10 years ago
barisusakli
18462c4190
derp
10 years ago
barisusakli
698d113857
error checks in middleware/admin
10 years ago
barisusakli
eaf89dc316
use parseSignature
10 years ago
barisusakli
238fb0bd4b
removed logout log
10 years ago
barisusakli
c74370bfb1
removed recent/day week month
...
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
10 years ago
barisusakli
c4a39c8163
use processSortedSet instead of getting all users
10 years ago
barisusakli
782896997d
post count fix for post move
10 years ago
barisusakli
d2cc4b8516
possibly fixes 2301
10 years ago
barisusakli
35e2e1462b
closes #2295
10 years ago
barisusakli
63cf8d674d
listen disconnect event, display unknow socket method name on dev
10 years ago
barisusakli
699b74603b
only for logged in users
10 years ago
barisusakli
4c90c9a759
closes #2291
10 years ago
barisusakli
ca9cc6b32f
show latest plugin version for uninstalled plugins as well
10 years ago
barisusakli
081efd22e2
prevent crash if category is not found
10 years ago
Julian Lam
9215930cfc
fixed #2292
10 years ago
barisusakli
6e62c48f41
call package manager
...
get latest version from versions object
10 years ago
barisusakli
89613d2346
closes #2287
10 years ago
barisusakli
a8760cd2bc
only ban once for low rep
...
also only check on downvotes
10 years ago
Julian Lam
ffdc4b5d24
fixed places where site_title was being referenced in config, instead of the correct "title"
10 years ago
barisusakli
802c8b15e2
fix upgrade script to include main post, and fix post indices
10 years ago
barisusakli
9a21e9646f
only use multipart on upload routes,
...
delete temp files if there is an error in admin,
admin/mods should see topic reply
10 years ago
Julian Lam
67770e568f
removed some console logging
10 years ago
barisusakli
c5224d099e
parseInt show title
10 years ago
barisusakli
fd00dddd62
admin/mods always gets the reply privs
10 years ago
Julian Lam
62d85b0e26
updated installation data to only create four categories by default, and altered colour to be less stark (heh, what does that mean anyway...). Also added an intro post
10 years ago
barisusakli
ec9bf48477
admins/mods can always read topics
10 years ago
Julian Lam
a28b4bb8b9
fixed maintenance mode assets not being loaded properly
10 years ago
Julian Lam
1a90de7dd6
added new --from-file flag that will load js/css from the precompiled file instead of recompiling it on startup
10 years ago
barisusakli
dcf2691a12
fix indent
10 years ago
Barış Soner Uşaklı
591a8b6b12
Merge pull request #2270 from stevelacy/master
...
Add user.updateProfile - hook user profile updates
10 years ago
barisusakli
1b80e6dbb2
fix email update on mongo
10 years ago
barisusakli
55a5d56989
fixed view count for guests
10 years ago
barisusakli
3e4b6c97a0
closes #2286
10 years ago
barisusakli
b5fe2c7b91
closes #2255
...
if user is banned log them out on header render
10 years ago
barisusakli
b23373c265
parseInt maintenance mode
10 years ago
barisusakli
f15631c3e1
topic notification nid doesn't need post id
10 years ago
barisusakli
7de9b998b5
fix typo in ajaxify, closes #2279
10 years ago
barisusakli
224218f519
fix missing callback
10 years ago
barisusakli
4db31be7e3
#2200 actually fix dupe colors, show 10 topics
10 years ago
barisusakli
304f5b1c76
removed duped and empty bodyLong
10 years ago
barisusakli
6802bf7ce9
closes #2284
10 years ago
Steve Lacy
2d238e61ac
correct object
10 years ago
psychobunny
1eb1eb6844
#2278
10 years ago
psychobunny
ded8de905d
closes #2278
10 years ago
barisusakli
d2334fbb4a
dont search empty string, get 20 tags instead of 10
10 years ago
barisusakli
93d4a7c1f1
fix notifications to actually get recent
10 years ago
barisusakli
6cb5f9c098
emit stats to registered users only
10 years ago
barisusakli
c5e1f8e0aa
user onlineUsers instead of calculating from rooms
10 years ago
barisusakli
7bf655541c
cleanup and optimize notifications
10 years ago
barisusakli
cfd7edbf34
added nid
10 years ago
barisusakli
b5fb7691cd
optimize getUnreadByField
...
only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
10 years ago
barisusakli
fec84821b7
removed this wasn't the problem after all
10 years ago
barisusakli
762b2fff37
display user count in browsing
10 years ago
barisusakli
df590d01e6
set key as well
...
not sure if this fixes dupe keys
10 years ago
barisusakli
9e8be432b3
notification changes
...
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
10 years ago