15 Commits (23a88492a6947b8240580ffb5a8216a533261e24)

Author SHA1 Message Date
barisusakli 870bf95e5b deleted topic feed fix 11 years ago
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.
11 years ago
barisusakli 5cf9b0a3bd fix feed crash 11 years ago
barisusakli 3e86bdb38f more work on #1518
still needs more work, category is next
11 years ago
barisusakli efaa1e62c1 added back ttl :) 11 years ago
barisusakli 672bde7066 removed ttl 11 years ago
barisusakli 62d487e0a8 use current user uid for feed generation 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 92267de9d8 feeds 11 years ago
barisusakli 3a42200e24 refactored feeds 11 years ago
psychobunny 8f7a7fec7d more cleanup; commenting out custom plugin routes until its fixed properly 11 years ago
psychobunny c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files 11 years ago
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics 11 years ago
Baris Soner Usakli ca8f86c4ee fixed minor issue in prev PR 11 years ago
Micheil Smith 33607e0cd9 Move feed routing and logic to src/routes/feeds.js 11 years ago