Commit Graph

13 Commits (7610c11cd1b9de53ce185227ab80f86d55d3bd69)

Author SHA1 Message Date
barisusakli 7610c11cd1 closes
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.
barisusakli 0574022e02 fixes to infinitescroll
barisusakli 55dbc5c823 closes
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
barisusakli b8b482e287 closes
barisusakli 4234057821 first pass for
this only handles postTools privileges, topic and category will follow
barisusakli f29dda4b92 fixed 1 more
Julian Lam 66225237a0 view_deleted fix for privs
Julian Lam 34b522f36d missed a bunch of "editable" checks
barisusakli d05920ec78 refactor of thread tools
barisusakli cf94a71499 closes
flag and chat buttons are hidden on self posts, updated in vanilla and
lavender
barisusakli 1000df09ff replaced hardcoded english string
barisusakli e4fbb31e68 some cleanup
barisusakli 7a1037dc11 moved posts and recent to new files