Commit Graph

84 Commits (722b6295725e088309ad1c352e305b691290e92f)

Author SHA1 Message Date
barisusakli 6a837632fa fix first post loading when pagination is enabled
barisusakli aaa1fae558 closes
barisusakli 98ff75b9c3 closes
Julian Lam a8c818c6cd added new hook, filter:controllers.topic.get
barisusakli 8965855218 made breadcrumbs regular function
less db calls as well
barisusakli be11577aa4 closes
Julian Lam 78763834fe closed
Julian Lam deac12c540 closed
barisusakli 114d0506e1 fixed typo
barisusakli c1b61522f7 check if topic is deleted
barisusakli 556e7066e8 moved notFound notAllowed to helpers
barisusakli d9a071d710 removed unused code from category and topic controller
barisusakli af4cbfb20d closes
Julian Lam 44175188c4 handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
barisusakli 268ecd5157 single call to get slug and postcount
barisusakli 209edf182f 404 pages that are out of range
barisusakli e97bfc139b
barisusakli c5ba327d8f fix empty pages
barisusakli 55a5d56989 fixed view count for guests
psychobunny 1b2ccda40b closes ; see
barisusakli 7b8656ef8b facebook share doesn't display &
barisusakli 97e4f13a4d fix page count
barisusakli da64eb0873 closes
barisusakli 23197af725 closes
Julian Lam e1211527b0 Merge branch '0.5.1' into hashtalk
Conflicts:
	src/controllers/topics.js
barisusakli 2d5dc44ce5 closes
psychobunny 0db93504ce forgot comma
psychobunny 2b90add560 fix for topics without category data (?)
@barisusakli lemme know if this is legit, if not, see line 195 as well
barisusakli 0914004e12 crash fix
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)
barisusakli 5323934cc2 calculate page count in controller
barisusakli b7fd4c22d4 removed checkPostIndex middleware
1 less call to get topic post count
psychobunny a52c69d2a1 only send noscript paginator data on cold loads
barisusakli 55cbaf6a19
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk
Julian Lam a061079995 fixed all POST routes to use new csrf middleware
barisusakli f1d5db6be0 pagination fix
barisusakli 4b20e78de2 hopefully final fix
barisusakli 518d731562 one more time
barisusakli f9c9f58561 post_index fix
Julian Lam 063d270f1a introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string.
barisusakli 603cddc687 closes
barisusakli 4f5c78d675 merge
barisusakli 537dea4e4b crash fix
barisusakli ca90afd544
(drunk) not even done yet
barisusakli cfc67d4e90 closes
psychobunny b6a8845d52 disable topic RSS
barisusakli 64d04f7aa6 closes
psychobunny 92c0bd07c9 Ability to enable/disable the upvote/downvote system, closes
psychobunny a2f85648c5 allow voting system to be disabled