barisusakli
10b30e303b
mongo posting fix
11 years ago
barisusakli
4736a68534
dont create term object on each call
11 years ago
barisusakli
74282ffeea
removed another unnecessary socket call
11 years ago
barisusakli
761d59f5ec
each limit on pushUnreadCount
11 years ago
barisusakli
1ed4c984bb
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
0b79a73732
crash fix
...
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli
14fcd36134
closes #2028
11 years ago
barisusakli
4f5c78d675
merge
11 years ago
barisusakli
537dea4e4b
crash fix
11 years ago
barisusakli
e6b3da18f2
merge
11 years ago
barisusakli
87c8cd2fb0
another crash fix
11 years ago
barisusakli
197226eea6
closes #1742
11 years ago
barisusakli
acef614147
removed 2 BS classes
11 years ago
barisusakli
94c765fa25
closes #1996
11 years ago
barisusakli
eef200be10
closes #1284
11 years ago
barisusakli
62dd056faa
tag search
11 years ago
barisusakli
d411ed5c28
closes #1995
11 years ago
barisusakli
05fdc945f3
closes #1993
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
barisusakli
a9ca035e1e
gotto check read after each pass
11 years ago
barisusakli
522fda2e58
closes #1936
11 years ago
barisusakli
cd096f8832
sortedSetScores for tag counts
11 years ago
barisusakli
e10eaf0d50
added tag counts to api return
11 years ago
barisusakli
d91fa5747d
closes #1964
11 years ago
barisusakli
c9c454825e
closes #1369
11 years ago
barisusakli
ceaedf9e2f
closes #1941
11 years ago
barisusakli
b5cc852551
do a single filter after getting all unread tids
11 years ago
barisusakli
528ee335d5
optimize getTopicsByTids and getTeasers
11 years ago
barisusakli
95979d9d97
closes #1947
11 years ago
barisusakli
e420ee5fb6
privilege fix for single category check
11 years ago
barisusakli
c217834165
fixed typo
11 years ago
barisusakli
7bfec99df1
permission fix for popular page
11 years ago
barisusakli
fed8cc6d53
optimize privileges and assorted fixes.
...
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter
they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing async.filter and calling the db for each id.
* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli
f31978aa2c
moved core notifications all the way to the end
11 years ago
barisusakli
f71bd41408
more fixes
11 years ago
barisusakli
d7520508e3
#1375 part1
11 years ago
barisusakli
fa8fcc00ec
fix tag counts
...
if a tag is removed from a topic, update number of topics in that tag
11 years ago
barisusakli
bc2f7339ee
getLatestUndeletedPid will return string #1884
11 years ago
barisusakli
2bf38ec84b
handle pinned topics
11 years ago
barisusakli
82ffaad939
parseint
11 years ago
barisusakli
a69973e7a7
topics.getPids will return mainPid as well
11 years ago
barisusakli
2c890ad609
moved pushUnreadCount
11 years ago
barisusakli
67d5307a8f
small change to tag search
11 years ago
barisusakli
6d8cc5648c
some tag hooks/filters
11 years ago
barisusakli
0362c1a3b0
show day/week/month/year popular topics
11 years ago
barisusakli
b2ece27263
topic post hook
11 years ago
psychobunny
1d8aeda9c2
closes #1814
11 years ago
barisusakli
d57f183f42
privileges.posts.get takes an array of pids now
11 years ago
barisusakli
6cd29a31a4
removed timing
11 years ago
barisusakli
c3a9767bf6
late night optimizations
...
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
barisusakli
bd4722665d
closes #1725
...
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli
0987aed0e6
callback undefined error
11 years ago
barisusakli
78509b4ad0
use sortedSetsRemove to remove tid from tags
11 years ago
Julian Lam
d229cd21b2
parsing the post content that's passed into bodyLong in notifs #1720
11 years ago
Julian Lam
c41bb05711
final pass #1720 , closed #1720
11 years ago
Julian Lam
d257632878
first pass #1720 , updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too.
11 years ago
barisusakli
7c84680b06
closes #1709
11 years ago
Charles
b811bef42c
Don't decrease postCount when purging post from a deleted topic
11 years ago
Charles
1448bed057
Remove console.log
11 years ago
Charles
31f1914ec8
Update global postCount when deleting/restoring topic
11 years ago
barisusakli
4c2765a79c
closes #1679
11 years ago
barisusakli
e8b89513d4
some cleanup in addUserInfoToPost
11 years ago
barisusakli
b9139ef263
some escaping and fixed uploads in progress
11 years ago
barisusakli
311a7ad5b9
#1281 topic purge
11 years ago
barisusakli
a65d612907
#1281 post purge
11 years ago
barisusakli
eb1b48092d
closes #1666
11 years ago
barisusakli
b7f71ca0b4
fixes removePostFromTopic
...
remove the pid from the votes set too
11 years ago
barisusakli
7610c11cd1
closes #450
...
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.
added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.
the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli
6b93095204
more link fixes
11 years ago
barisusakli
e20920c536
closes #1630
11 years ago
barisusakli
0574022e02
fixes to infinitescroll
11 years ago
barisusakli
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
barisusakli
18810e7203
allow dots in tags
11 years ago
barisusakli
9079d7f26f
fix create tags crash if no callback is passed
11 years ago
barisusakli
1a753bf64d
fixes forking
...
if there are no tags just return
11 years ago
barisusakli
e505a9a6ac
changed order of cleanup
11 years ago
barisusakli
dbf07f786d
closes #1565
11 years ago
barisusakli
b8b482e287
closes #1555
11 years ago
barisusakli
fa1275c03a
closes #1557
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
barisusakli
87fe5bf1bb
delete tag if it has no topics left
11 years ago
barisusakli
56f442f283
remove punctuation and limit tag length
11 years ago
barisusakli
d8fd29581e
deleting a user will delete topic tags too
11 years ago
barisusakli
df73ceaeb7
closes #1556
...
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
11 years ago
barisusakli
472e6b5206
privilege cleanup
11 years ago
barisusakli
b1aae05a08
closes #1518
11 years ago
barisusakli
3e86bdb38f
more work on #1518
...
still needs more work, category is next
11 years ago
barisusakli
4234057821
first pass for #1518
...
this only handles postTools privileges, topic and category will follow
11 years ago
barisusakli
f29dda4b92
fixed 1 more
11 years ago
Julian Lam
66225237a0
view_deleted fix for privs
11 years ago
Julian Lam
34b522f36d
missed a bunch of "editable" checks
11 years ago
Julian Lam
b5d4e62e70
fixed bug in privileges system, thanks TravisCI!
11 years ago
Julian Lam
87f4566e06
more fixed to privs, and ACP modal
11 years ago
Julian Lam
7c8b442dcd
more updates to privileges revamp
11 years ago
barisusakli
af6a40e23c
use thumb directly
11 years ago
barisusakli
75824c0d81
dont send notifications for guests
11 years ago
barisusakli
cd3bb77a7f
added reqFromSocket to topic posting
...
new filter topic.post
11 years ago
Aziz Khoury
65ff72b0e3
its 3am
11 years ago
Aziz Khoury
c7bd27fb3f
spaces vs tabs ugh
11 years ago
Aziz Khoury
fa7db423c6
adding hook filter:topic.reply for antispam
11 years ago
barisusakli
d05920ec78
refactor of thread tools
11 years ago
barisusakli
6f2ea3eafc
closes #1439
11 years ago
barisusakli
adf6f34e42
closes #1436
11 years ago
barisusakli
cf94a71499
closes #1427
...
flag and chat buttons are hidden on self posts, updated in vanilla and
lavender
11 years ago
barisusakli
1000df09ff
replaced hardcoded english string
11 years ago
psychobunny
e5486db1ae
Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
...
Conflicts:
src/database.js
11 years ago
barisusakli
9d405812cb
changed sortedSetRangeByScore
11 years ago
Micheil Smith
3e82cab398
Add missing new lines at end of files.
11 years ago
barisusakli
1f77df794a
added lots of error keys
11 years ago
barisusakli
e2d0d4db5c
added error and success language files
...
removed some code from server side that was emitting alerts
11 years ago
barisusakli
e5cf44d398
closes #1353
...
mark all read will mark everything read, can also select topics and mark
them read, can mark specific categories read too
11 years ago
barisusakli
bdefebeea0
reverting some of my code and fixed #1322 properly
11 years ago
Julian Lam
90616c6e7b
closed #1322
11 years ago
barisusakli
e4fbb31e68
some cleanup
11 years ago
barisusakli
038a833125
check to see if there are topics
11 years ago
barisusakli
04e0c58b84
fixes realtime update of home
11 years ago
barisusakli
ca0dbf84be
no need for exists check
...
if topic doesnt exist topicData will be null
11 years ago
barisusakli
db3632557e
moved notification push out of markAsRead
11 years ago
barisusakli
7a1037dc11
moved posts and recent to new files
11 years ago
barisusakli
38733ef94b
moved reply post create to topics/create.js
11 years ago
barisusakli
478429af3a
moved fork to new file
11 years ago
barisusakli
bac3cf03cb
moved unread to new file
11 years ago