61 Commits (5d344b3dac05acdae9bdcaa6b7123ffd3e9900ce)

Author SHA1 Message Date
barisusakli 23197af725 closes #2114 11 years ago
Julian Lam e1211527b0 Merge branch '0.5.1' into hashtalk
Conflicts:
	src/controllers/topics.js
11 years ago
barisusakli 2d5dc44ce5 closes #2123 11 years ago
psychobunny 0db93504ce forgot comma 11 years ago
psychobunny 2b90add560 fix for topics without category data (?)
@barisusakli lemme know if this is legit, if not, see line 195 as well
11 years ago
barisusakli 0914004e12 crash fix 11 years ago
Moritz Schmidt d1273516b5 default for missing post_index parameter
Avoid getting NaN if post_index param is not set (NaN is passed through to redis, redis complains, and the user ends up at /404)
11 years ago
barisusakli 5323934cc2 calculate page count in controller 11 years ago
barisusakli b7fd4c22d4 removed checkPostIndex middleware
1 less call to get topic post count
11 years ago
psychobunny a52c69d2a1 only send noscript paginator data on cold loads 11 years ago
barisusakli 55cbaf6a19 #2032 11 years ago
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk 11 years ago
Julian Lam a061079995 fixed all POST routes to use new csrf middleware 11 years ago
barisusakli f1d5db6be0 pagination fix 11 years ago
barisusakli 4b20e78de2 hopefully final fix 11 years ago
barisusakli 518d731562 one more time 11 years ago
barisusakli f9c9f58561 post_index fix 11 years ago
Julian Lam 063d270f1a introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string. 11 years ago
barisusakli 603cddc687 closes #1934 11 years ago
barisusakli 4f5c78d675 merge 11 years ago
barisusakli 537dea4e4b crash fix 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli cfc67d4e90 closes #1924 11 years ago
psychobunny b6a8845d52 disable topic RSS 11 years ago
barisusakli 64d04f7aa6 closes #1803 11 years ago
psychobunny 92c0bd07c9 Ability to enable/disable the upvote/downvote system, closes #1672 11 years ago
psychobunny a2f85648c5 allow voting system to be disabled 11 years ago
barisusakli 870bf95e5b deleted topic feed fix 11 years ago
psychobunny eeabae5738 closes https://github.com/NodeBB/NodeBB/issues/1668 11 years ago
barisusakli d32dfd98b7 remove main post if page is greater than 1
this fixes pagination after the main post change
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 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
psychobunny 791fde7904 fixing #1587 properly for unread count 11 years ago
psychobunny fee591e551 fixes #1587 11 years ago
barisusakli b8b482e287 closes #1555 11 years ago
barisusakli c7c54560bc fixes going into deleted topics for admins 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 d54ecea506 more privilege changes 11 years ago
psychobunny bb12ebac48 closes #1442 11 years ago
barisusakli 1d1d677b56 closes #1422 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 0ac58dbee6 more error strings 11 years ago
barisusakli 61ae01543c fixed to use postsPerPage 11 years ago
barisusakli 6fc3103aef topic og:image changes 11 years ago
barisusakli f247c2195e fixed user picture in og:image 11 years ago
barisusakli 94a589e0e4 #1190 11 years ago
barisusakli db3632557e moved notification push out of markAsRead 11 years ago
barisusakli bac3cf03cb moved unread to new file 11 years ago