barisusakli
556e7066e8
moved notFound notAllowed to helpers
2014-11-15 23:22:57 -05:00
barisusakli
d9a071d710
removed unused code from category and topic controller
2014-11-14 21:16:35 -05:00
barisusakli
af4cbfb20d
closes #2368
2014-11-08 18:40:38 -05:00
Julian Lam
44175188c4
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
2014-11-04 23:19:28 -05:00
barisusakli
268ecd5157
single call to get slug and postcount
2014-11-04 14:54:30 -05:00
barisusakli
209edf182f
404 pages that are out of range
2014-11-01 17:55:42 -04:00
barisusakli
e97bfc139b
#1848
2014-10-30 23:14:33 -04:00
barisusakli
c5ba327d8f
fix empty pages
2014-10-27 23:20:40 -04:00
barisusakli
55a5d56989
fixed view count for guests
2014-10-21 13:59:40 -04:00
psychobunny
1b2ccda40b
closes #2231 ; see #2218
2014-10-04 18:47:56 -04:00
barisusakli
7b8656ef8b
facebook share doesn't display &
2014-10-01 19:00:26 -04:00
barisusakli
97e4f13a4d
fix page count
2014-09-25 15:53:53 -04:00
barisusakli
da64eb0873
closes #2117
2014-09-24 15:42:49 -04:00
barisusakli
23197af725
closes #2114
2014-09-23 23:05:46 -04:00
Julian Lam
e1211527b0
Merge branch '0.5.1' into hashtalk
...
Conflicts:
src/controllers/topics.js
2014-09-23 16:16:45 -04:00
barisusakli
2d5dc44ce5
closes #2123
2014-09-22 21:54:28 -04:00
psychobunny
0db93504ce
forgot comma
2014-09-22 16:09:27 -04:00
psychobunny
2b90add560
fix for topics without category data (?)
...
@barisusakli lemme know if this is legit, if not, see line 195 as well
2014-09-22 16:08:40 -04:00
barisusakli
0914004e12
crash fix
2014-09-21 11:29:09 -04:00
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)
2014-09-21 10:12:20 +02:00
barisusakli
5323934cc2
calculate page count in controller
2014-09-20 19:09:45 -04:00
barisusakli
b7fd4c22d4
removed checkPostIndex middleware
...
1 less call to get topic post count
2014-09-20 18:51:32 -04:00
psychobunny
a52c69d2a1
only send noscript paginator data on cold loads
2014-09-20 15:04:14 -04:00
barisusakli
55cbaf6a19
#2032
2014-09-18 17:22:24 -04:00
Julian Lam
8bac0bf361
Merge branch 'csrf-excision' into hashtalk
2014-09-17 16:07:36 -04:00
Julian Lam
a061079995
fixed all POST routes to use new csrf middleware
2014-09-17 16:07:26 -04:00
barisusakli
f1d5db6be0
pagination fix
2014-09-14 12:07:29 -04:00
barisusakli
4b20e78de2
hopefully final fix
2014-09-06 04:29:20 -04:00
barisusakli
518d731562
one more time
2014-09-06 04:09:13 -04:00
barisusakli
f9c9f58561
post_index fix
2014-09-06 03:56:15 -04:00
Julian Lam
063d270f1a
introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string.
2014-09-03 12:50:06 -04:00
barisusakli
603cddc687
closes #1934
2014-08-30 15:19:18 -04:00
barisusakli
4f5c78d675
merge
2014-08-30 14:44:43 -04:00
barisusakli
537dea4e4b
crash fix
2014-08-30 14:42:48 -04:00
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
2014-08-16 21:33:42 -04:00
barisusakli
cfc67d4e90
closes #1924
2014-07-30 15:14:04 -04:00
psychobunny
b6a8845d52
disable topic RSS
2014-07-17 01:34:14 -04:00
barisusakli
64d04f7aa6
closes #1803
2014-07-07 17:36:14 -04:00
psychobunny
92c0bd07c9
Ability to enable/disable the upvote/downvote system, closes #1672
2014-06-27 13:05:05 -04:00
psychobunny
a2f85648c5
allow voting system to be disabled
2014-06-27 13:05:03 -04:00
barisusakli
870bf95e5b
deleted topic feed fix
2014-06-11 13:04:24 -04:00
psychobunny
eeabae5738
closes https://github.com/NodeBB/NodeBB/issues/1668
2014-06-11 12:04:22 -04:00
barisusakli
d32dfd98b7
remove main post if page is greater than 1
...
this fixes pagination after the main post change
2014-06-06 23:09:05 -04:00
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.
2014-06-06 22:12:19 -04:00
barisusakli
0574022e02
fixes to infinitescroll
2014-06-02 20:41:08 -04:00
barisusakli
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
2014-06-02 17:31:14 -04:00
psychobunny
791fde7904
fixing #1587 properly for unread count
2014-05-28 18:20:02 -04:00
psychobunny
fee591e551
fixes #1587
2014-05-28 17:43:03 -04:00
barisusakli
b8b482e287
closes #1555
2014-05-22 14:56:15 -04:00
barisusakli
c7c54560bc
fixes going into deleted topics for admins
2014-05-20 20:21:57 -04:00