Commit Graph

132 Commits (de0da800402ff77214abf13e484abfdd53448d9e)

Author SHA1 Message Date
barisusakli 802c8b15e2 fix upgrade script to include main post, and fix post indices
barisusakli 4b1adba9ec removed || 1
barisusakli ffbefda5f7 upgrade script
Spiritlebon 35fc175ff6 Lint fix
psychobunny f4b5090738 more linting
barisusakli 26cfe4a3c3 fix ban upgrade closes
barisusakli 33780e6fdb closes
barisusakli 6535a730fd upgrade script to delete tid:<tid>:read_by_uid
Julian Lam 05e147b440 Merge branch 'master' of github.com:chronize/NodeBB into chronize-master
barisusakli 493d0dea1e part 1 of notif refactor
chronize efe938b392 fix upgrade.js according to CodeClimate recommendation, remove BOM
barisusakli c7de38f28e closes
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
psychobunny b209af1e32 info instead of error
barisusakli 5c57ed5ea0 install db dependencies in upgrade script
barisusakli b41b311d94 another eachLimit
barisusakli efcc42f170 added eachLimit to upgrade script
barisusakli 15c16c2502 closes , set category post counts to 0 before starting upgrade
barisusakli 7c84680b06 closes
psychobunny 2688ea9733 upgrading topics take a while, so let the user know
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.
psychobunny 4cd86affae update all files with new url
barisusakli 746df87d89 upgrade tags to sorted set
Julian Lam 5f89293301 upgrade script for
Julian Lam 6604a29f74 upgrade script for new privilege system
Micheil Smith 3e82cab398 Add missing new lines at end of files.
psychobunny e383524334 fixed a problem with cerulean which duped motd and forced you to toggle themes to deactivate
psychobunny 3aa4ae4b99 move deprecated vanilla footer widgets into draft zone
psychobunny 375c2c2ce1 upgrade.js for re-adding copyright footer
Julian Lam 6f78d29498 upgrade script should not delete non-hidden groups
Julian Lam 1e3b9b7cf6 removing console logs
Julian Lam 96d58288c9 tweaking upgrade script so it works with a real db
Julian Lam 4701eb1cee updating groups so that members leave a group when it is deleted
Julian Lam ce867aec53 updated upgrade script date
Julian Lam 0e44eb8629 final refactoring pass for groups --
Julian Lam 7b4f596aba updating all group lib methods, and their callers --
Julian Lam c893effcb9 WIP commit -- groups refactoring + upgrade scripts
Julian Lam 3c5fc72e20 adding "system" flag to system groups
Julian Lam cc0fabc619 removing console logs from upgrade script
Julian Lam 61afee98c3 updates to new settings mechanism, updating markdown minver, minor linting for upgrades.js, and upgrade stmt for markdown migration
Julian Lam 552a63367d workaround for problem arising from switch to Date.UTC()
Julian Lam e0dcf95138 fixed missing err in upgrade script
Julian Lam b404b0197f final pass, resolved
Julian Lam 5f52ef5f01 removed all 0.3.x related upgrade scripts, and updated minSchemaDate
Julian Lam 64aa89f5ee updating upgrade script to use UTC timestamps *facepalm*. God, I hope I didn't break anything...
(first pass )
Julian Lam 30e83fdabe fixing upgrade script if order is not set
Julian Lam 2088903358 added check to upgrade.upgrade
Baris Soner Usakli c1e3d95a84 upgrade fix for new installs
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
psychobunny 251fef9c27 run plugins.reload after activating widget-essentials
psychobunny 8059a83870 activate widget-essentials