barisusakli
a65d612907
#1281 post purge
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
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
barisusakli
b8b482e287
closes #1555
11 years ago
barisusakli
3f43db090b
return topics tags #1557
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
Julian Lam
34b522f36d
missed a bunch of "editable" checks
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
8afcf44732
gravatars will be generated on demand
...
changing the setting in ACP will affect all default gravatars now.
11 years ago
barisusakli
6f40393b99
added err check
11 years ago
barisusakli
d05920ec78
refactor of thread tools
11 years ago
barisusakli
2ad715ead3
closes #1412
11 years ago
barisusakli
bca2755c3e
possible fix for #1410
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
3f44f4bb3a
closes #1319
11 years ago
barisusakli
a3404d3d4f
closes #1253
11 years ago
barisusakli
ca0dbf84be
no need for exists check
...
if topic doesnt exist topicData will be null
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
barisusakli
f83b7ee972
renamed event
11 years ago
barisusakli
8efc33d6a1
closes #976
11 years ago
barisusakli
1354739d19
user deletion #746
...
user deletion NOT SKALABLE
11 years ago
psychobunny
9de21995c4
added category bgColor and color to topics api
11 years ago
barisusakli
3f5c51174d
refactored user.js
...
took out notifications, email and reset code to separate files
11 years ago
barisusakli
a0222b69bb
closes #1200
11 years ago
barisusakli
6e6c5688d9
more cleanup
11 years ago
Julian Lam
b259c3d422
categoryData should return better topics (non-anon uid passed in now)
11 years ago
barisusakli
6496b91c29
closes #1180
11 years ago
barisusakli
ec86aafb48
return user object
11 years ago
barisusakli
b4b9ed1841
optimized getTopicsByTids, single db call to get topicData, added cache for privilege/category/user data
11 years ago
Baris Soner Usakli
be70b3de57
closes #1090
11 years ago
Baris Soner Usakli
fb691b23b4
moved topic locked check to topic.reply
11 years ago
Baris Soner Usakli
091723a8c5
closes #1101
11 years ago
Baris Soner Usakli
6a962655e4
jshint for topics.js
11 years ago
Baris Soner Usakli
99bf882a1c
removed cid from getTopicsByTids
11 years ago
Baris Soner Usakli
56bbeb9950
use disableSocialButtons from config
11 years ago
Baris Soner Usakli
ea6cf3bbd5
more cleanup and changes to topics
11 years ago
Baris Soner Usakli
8da7a6f2f3
cleanup
11 years ago
Baris Soner Usakli
7c1a46f25d
misc cleanup
11 years ago
Baris Soner Usakli
fd8e7327f0
removed console.log
11 years ago
Baris Soner Usakli
7e5a7c53bd
changes to templates
11 years ago
Baris Soner Usakli
bbc2df11e1
fixed updateTopicCount
11 years ago
Baris Soner Usakli
8feac114c3
closes #1022
11 years ago
Baris Soner Usakli
ed8e76ebce
added error check to getTopicDataWithUser
11 years ago
Baris Soner Usakli
6e5a6b8784
upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
11 years ago
Baris Soner Usakli
d6d9776cde
added toPid to posts
11 years ago
Baris Soner Usakli
bae76ebd70
fixed the redis error when going to unread/recent if nextStart is missing
11 years ago
Baris Soner Usakli
dfe25d4bc0
only store thumb if is defined
11 years ago
Baris Soner Usakli
29ba015d69
fixed topic thumbs
11 years ago
Baris Soner Usakli
9eb4945415
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
Baris Soner Usakli
de34beaf6d
closes #1087
11 years ago
psychobunny
2ec6dd1d14
added filter:topic.thread_tools for creating custom admin functionality in topics view
11 years ago
Baris Soner Usakli
eb3b240b04
some cleanup of unread
11 years ago
akhoury
63c9269240
merged composer and some other files with master
11 years ago
akhoury
25207852e8
added topics thumbnails support
11 years ago
Julian Lam
42d33f8338
first pass #899
11 years ago
Julian Lam
f50d77bca0
resolved #1060
11 years ago
Baris Soner Usakli
6140d76f76
fixed index of newly created posts, matched vanilla search form to lavender
11 years ago
Baris Soner Usakli
9d1a295b85
better topic delete restore
11 years ago
Baris Soner Usakli
1e44ca3a0f
upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics
11 years ago
Baris Soner Usakli
8506819a7d
added back error check
11 years ago
Baris Soner Usakli
c0e0da0f1d
simplified getAllTopics
11 years ago
psychobunny
fe2e86da81
added optional 'reverse' parameter to Posts.getPostsByTid and Topics.getTopicPosts (incoming signature adjustment for 0.4x)
11 years ago
Baris Soner Usakli
ce4896f2c5
fixed read notifications
11 years ago
Baris Soner Usakli
ccfa5bd618
copy pasta is bad for your health
11 years ago
Baris Soner Usakli
a4fd972b2b
fixed again fail
11 years ago
Baris Soner Usakli
2a41c3a312
crash fix
11 years ago
Baris Soner Usakli
b5d31dd889
replace eachSeries with map
11 years ago
Baris Soner Usakli
400af61e12
fixed minor issue, removed unused postPerPage
11 years ago
Baris Soner Usakli
9f1e0187ee
fixed settings
11 years ago
Baris Soner Usakli
1b5e44a763
fix unreplied on getTopic
11 years ago
Baris Soner Usakli
a274a8cc12
more unread changes
11 years ago
Baris Soner Usakli
d27ba5239e
unread changes
11 years ago
Baris Soner Usakli
8e756b5b26
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
Baris Soner Usakli
242927d702
user selectable pagination
11 years ago
psychobunny
d02a1ef40a
actually fixes #985
11 years ago
Micheil Smith
12b52e5320
Removed storage of tid:lastFeedUpdate now that feeds are on-demand
11 years ago
Micheil Smith
c619301735
Remove calls to feed.js
11 years ago
Baris Soner Usakli
d5938e4024
removed BS class, not needed
11 years ago
psychobunny
25a6302c01
upvoting / downvoting complete
11 years ago
Baris Soner Usakli
56cdc86a37
took out userSockets, using io.sockets.clients() now'
11 years ago
Baris Soner Usakli
15479a31c2
unread fix
11 years ago
Baris Soner Usakli
1eb7ff9ff3
closes #923
11 years ago
Baris Soner Usakli
c122492470
added back the template if
11 years ago
Julian Lam
eff99ffabe
fixed #915
11 years ago
Baris Soner Usakli
a86ddc9934
closes #726
11 years ago
Baris Soner Usakli
1291f31f3c
closes #897
11 years ago
Baris Soner Usakli
fb8fbb2372
removed console.log
11 years ago
Baris Soner Usakli
25442a89ca
closes #878
11 years ago
Baris Soner Usakli
da626a4035
more fixes
11 years ago
Baris Soner Usakli
1afd7ae332
trim pagination numberS
11 years ago
Baris Soner Usakli
8744013013
Merge branch 'master' of https://github.com/designcreateplay/NodeBB into pagination
11 years ago
Baris Soner Usakli
393bb7245c
closes #866
11 years ago
Baris Soner Usakli
ef6fd35e85
lots of cleanup, moved pagination to requirejs module
11 years ago
Baris Soner Usakli
606367701f
pagination on posts
11 years ago
Baris Soner Usakli
b0ef974590
lots of cleanup and refactor
11 years ago
Baris Soner Usakli
824c5072e8
topics should be marked read correctly if you are already in it
11 years ago
Baris Soner Usakli
039f02456d
if user is in the topic when a new post comes in mark the topic read
11 years ago
Baris Soner Usakli
3d30c0bd87
tmp fix for nested if
11 years ago
Baris Soner Usakli
189e69284e
fixes for post privileges
11 years ago
Baris Soner Usakli
bbac361670
fixed crash if empty topic was loaded without ajaxify
11 years ago
Baris Soner Usakli
b3816b98a1
more post fixes
11 years ago
Baris Soner Usakli
31d353ab0e
more fixes
11 years ago
Baris Soner Usakli
ae76bb3928
lots of err first fixeS
11 years ago
Baris Soner Usakli
426d3e871f
more fixes
11 years ago
Baris Soner Usakli
466c02a886
removed teaser_text
11 years ago
Baris Soner Usakli
a97ee201d8
makes recent unread and category pages a lot faster, added logging when a user changes their username
11 years ago
Baris Soner Usakli
f73c81d6c3
closes #755
11 years ago
Julian Lam
adb8f80b86
interim commit - removed calls to websockets.js, beginning porting to namespaced files
11 years ago
Baris Soner Usakli
a4ae9c70df
closes #742 , closes #741
11 years ago
Baris Soner Usakli
8e6606fb5a
move post
11 years ago
Baris Soner Usakli
faf5ea2122
check if we have edit permission on the pids that we want to move
11 years ago
Baris Soner Usakli
291aa872c4
cant fork if not logged in
11 years ago
Baris Soner Usakli
2e575bb2d8
closes #524
11 years ago
Baris Soner Usakli
f21a98f37f
first pass, #524 , #667
11 years ago
Baris Soner Usakli
742c8fb43c
closes #712
11 years ago
Baris Soner Usakli
1b41a8f467
fixed typo
11 years ago
Baris Soner Usakli
f933fc0167
forgot topics.js oops
11 years ago
Baris Soner Usakli
fbb4998999
closes #676
11 years ago
Baris Soner Usakli
2039885d96
removed console.logs
11 years ago
Baris Soner Usakli
daacdb50f3
closes #645
11 years ago
Julian Lam
b52782deb8
removed use of strip_tags and using String library instead
11 years ago
Julian Lam
a078f73e84
omg I don't know what I am doing
11 years ago
Julian Lam
8f879cd3eb
topics will no longer show up in /recent if user cannot access them
11 years ago
Baris Soner Usakli
1021615848
added err first to some calls
11 years ago
Julian Lam
c313c4501b
pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs ( closes #219 )
11 years ago
psychobunny
0c05ee82b1
#621 , moved everything out of parallel - poster doesn't need to wait for these functions to happen
...
also renamed topics.markUnRead to topics.markAsUnreadForAll
11 years ago
Baris Usakli
df10bde2db
added 1 more parseInt
11 years ago
Baris Soner Usakli
5f86e31d1e
fixed favouriting
11 years ago
Baris Soner Usakli
95bb838699
Merge remote-tracking branch 'origin/master' into dbal
11 years ago
Baris Soner Usakli
53ca7a1143
added search functions to database files, removed reds from nodebb moved it to redis
11 years ago
Baris Soner Usakli
1564e3d530
tons of fixes to mongo and redis, to make returns the same
11 years ago
Julian Lam
2a1671ba9b
whoops
11 years ago
Baris Usakli
705754e823
merged master
11 years ago
Julian Lam
041e77f688
fixing replying (whoops)
11 years ago
Julian Lam
d9ee9bf5e3
revamped handling of unread messages, so that a socket call is made to all socket clients whenever a new unread message is available. Prior behaviour had the unread count updated via ajax call on ajaxify (which was clumsy at best and didn't update automagically)
11 years ago
Baris Usakli
7875138c08
added parseInt
11 years ago
Julian Lam
43b012b32e
defactored getUnreadTopics into separate getUnreadTids method -- for no reason, mind you
11 years ago
Baris Soner Usakli
f0caac242c
fixed incr in topic post
11 years ago
Baris Soner Usakli
32d5118266
tons more changes
11 years ago
Baris Soner Usakli
d5c0ca4a9d
closes #595
11 years ago
Baris Soner Usakli
46a14715e3
fixed logout in admin site, cleaned up topics.post, anon users can post topics now if allowed
11 years ago
Baris Usakli
b2074c6dda
fixes to infinite load and paginator
11 years ago