barisusakli
08c1dad3ee
topics.isFollowing works with multiple tids now
10 years ago
barisusakli
23f450adbd
delete topic post sorted sets on topic purge
10 years ago
barisusakli
5414c268a0
sort numerically
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
barisusakli
60f1b9679a
search filters
10 years ago
barisusakli
c1ac92ac19
popular topics will use topic creation time
10 years ago
barisusakli
7b49effc14
minor tweaks
10 years ago
Julian Lam
23b9b21cdd
better handling of guest handles in frontend, #2569
10 years ago
Julian Lam
9befa6aca7
proper handling of post editing, integration with ACP toggle, #2569
10 years ago
Julian Lam
325815a78d
showing guest handles in frontend UI #2569
10 years ago
barisusakli
8eb58bf5fe
check err
10 years ago
barisusakli
3d9e86d9b2
removed null
10 years ago
barisusakli
83312ad53a
faster getTeasers
10 years ago
barisusakli
bf3f20bf8b
removed extra comma
10 years ago
barisusakli
2c7d9e1a7c
store teaserPid in topic
...
-update teaser pid as necessary in addPostToTopic, removePostFromTopic,
post purge
-removed 20x db calls from getTeasers
-fixed scroll to post in sub folder install
-upgrade script to update topics with teaserPid
10 years ago
barisusakli
da4014eb71
dont allow move to same topic
10 years ago
barisusakli
8bba811aaf
closes #2522
10 years ago
barisusakli
52a53df80d
missing err check
10 years ago
barisusakli
f2b24eb72a
fix tests
11 years ago
barisusakli
ef3b6a2450
closes #2498
11 years ago
barisusakli
871cf8a3b7
shorter getTeasers
11 years ago
barisusakli
ee3b0c93c3
fix tag update
...
was hanging on tag remove, and wasnt updating if tag count didnt change
11 years ago
barisusakli
0a1fa72bd8
use loadMoreFromSet
11 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
11 years ago
barisusakli
a75727bbbd
duh
11 years ago
barisusakli
653850661e
topics.getTopics doesnt take set param
11 years ago
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
11 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
11 years ago
barisusakli
545dbbf0df
check err and tids
11 years ago
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
11 years ago
barisusakli
962d14746e
trim tag after substr
...
this prevents spaces in the middle of the tag from being added to the db
11 years ago
barisusakli
a45858dacd
previous commit doesnt show unusud tags in admin
11 years ago
barisusakli
68e8039ac7
closes #2379
...
also fixed a bug where tags with 0 topics were showing up in /tags
11 years ago
barisusakli
2579d2535d
closes #2396
11 years ago
barisusakli
fa5ac04cd3
src/topics.js cleanup
11 years ago
Julian Lam
f9f1cf63cf
fixing topic deletion and purging
11 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
11 years ago
barisusakli
642136f6f8
closes #2357
11 years ago
barisusakli
1ae39d638a
closes #2356
11 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
11 years ago
barisusakli
595ff1f4b1
closes #2303
...
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
11 years ago
barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
11 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
11 years ago
barisusakli
782896997d
post count fix for post move
11 years ago
barisusakli
6802bf7ce9
closes #2284
11 years ago
barisusakli
d2334fbb4a
dont search empty string, get 20 tags instead of 10
11 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
11 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
11 years ago
barisusakli
b1d48df6d8
dont modify counts on soft post delete
11 years ago
barisusakli
5de74914bd
moved updateCounters to purge
11 years ago