Commit Graph

37 Commits (dab44e07684c359782df7826d86a146859ea780b)

Author SHA1 Message Date
barisusakli 64d04f7aa6 closes
psychobunny 92c0bd07c9 Ability to enable/disable the upvote/downvote system, closes
psychobunny a2f85648c5 allow voting system to be disabled
barisusakli 870bf95e5b deleted topic feed fix
psychobunny eeabae5738 closes https://github.com/NodeBB/NodeBB/issues/1668
barisusakli d32dfd98b7 remove main post if page is greater than 1
this fixes pagination after the main post change
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>"
psychobunny 791fde7904 fixing properly for unread count
psychobunny fee591e551 fixes
barisusakli b8b482e287 closes
barisusakli c7c54560bc fixes going into deleted topics for admins
barisusakli b1aae05a08 closes
barisusakli 3e86bdb38f more work on
still needs more work, category is next
Julian Lam d54ecea506 more privilege changes
psychobunny bb12ebac48 closes
barisusakli 1d1d677b56 closes
Micheil Smith 3e82cab398 Add missing new lines at end of files.
barisusakli 0ac58dbee6 more error strings
barisusakli 61ae01543c fixed to use postsPerPage
barisusakli 6fc3103aef topic og:image changes
barisusakli f247c2195e fixed user picture in og:image
barisusakli 94a589e0e4
barisusakli db3632557e moved notification push out of markAsRead
barisusakli bac3cf03cb moved unread to new file
barisusakli 37e8856861 new middleware to add slug to topic and category
barisusakli 611c16b5a6 closes
barisusakli 1354739d19 user deletion
user deletion NOT SKALABLE
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
barisusakli 974333dbc3 fixed missing currentPage
psychobunny 30cfddda68 fix for topics view count, and marking topics as unread
psychobunny a99be8e7be got rid of all the res.locals.isAPI checks in all controller methods. now 1000% cleaner :shipit:
psychobunny cdf92c5cda fixed a really annoying bug - the original topics route pre-refactor never actually included a privileges object
psychobunny 8df33e65ac fixing bug in topics causing meta tags to revert on subsequent refresh
psychobunny dbbbe21883 re-implementing meta and link tags part 1
psychobunny 233e49fd34 topics controller