Commit Graph

105 Commits (fb6abd32c475ddd024bf248e7860cc31e4b28395)

Author SHA1 Message Date
barisusakli fb6abd32c4 closes
barisusakli f3b6a5fbb9 generic getObject
barisusakli c139dfa843 closes
barisusakli 8af64ba984 closes
Julian Lam 8070de7962 closes
barisusakli 25502f0687 closes
barisusakli 1d4efaee68 fix indices if postsPerPage is an odd number
barisusakli a924c456b9 closes
barisusakli dc16a665ae page checks
barisusakli 47a2377229 closes
Barış Soner Uşaklı 21b634e03f closes
Julian Lam 8ee40ece71 removed checks that would send the user to 404 if the slug didn't match, restored old behaviour of redirecting to the correct slug.
barisusakli 835d4db481 dont add category/topic slug if user doesnt have read permission
or category is disabled etc.
barisusakli 2fd4bcde3f added req.uid user id for logged in users, 0 for guests
barisusakli 878e548296 renamed end to stop globally
fixed getting favourites for admins
barisusakli ddd4680ea7 added helpers.redirect
acardinale 8975a0962e Update topics.js
acardinale a63c679935 Add hook "filter:topic.build"
Same behavior as "filter:register.build"
barisusakli 8bbd7d971b fix index to post if sorting is by votes and pagination is used
barisusakli c859586269 calculate topic post indices instead of querying db
barisusakli 38dd3d4281 search newer/older than and better pagination
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