Commit Graph

121 Commits

Author SHA1 Message Date
barisusakli
c7de38f28e closes #1902
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
2014-07-24 22:38:35 -04:00
psychobunny
b209af1e32 info instead of error 2014-07-23 17:26:00 -04:00
barisusakli
5c57ed5ea0 install db dependencies in upgrade script 2014-07-23 13:30:12 -04:00
barisusakli
b41b311d94 another eachLimit 2014-06-30 15:45:39 -04:00
barisusakli
efcc42f170 added eachLimit to upgrade script 2014-06-30 14:07:30 -04:00
barisusakli
15c16c2502 closes #1311, set category post counts to 0 before starting upgrade 2014-06-17 15:33:40 -04:00
barisusakli
7c84680b06 closes #1709 2014-06-17 13:11:13 -04:00
psychobunny
2688ea9733 upgrading topics take a while, so let the user know 2014-06-10 15:14:25 -04:00
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.
2014-06-06 22:12:19 -04:00
psychobunny
4cd86affae update all files with new url 2014-05-23 15:21:51 -04:00
barisusakli
746df87d89 upgrade tags to sorted set 2014-05-22 13:06:19 -04:00
Julian Lam
5f89293301 upgrade script for #1282 2014-05-16 16:48:26 -04:00
Julian Lam
6604a29f74 upgrade script for new privilege system 2014-05-13 19:03:20 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
psychobunny
e383524334 fixed a problem with cerulean which duped motd and forced you to toggle themes to deactivate 2014-04-07 15:16:11 -04:00
psychobunny
3aa4ae4b99 move deprecated vanilla footer widgets into draft zone 2014-04-01 11:48:15 -04:00
psychobunny
375c2c2ce1 upgrade.js for re-adding copyright footer 2014-03-31 12:42:13 -04:00
Julian Lam
6f78d29498 upgrade script should not delete non-hidden groups 2014-03-21 12:14:58 -04:00
Julian Lam
1e3b9b7cf6 removing console logs 2014-03-21 12:11:34 -04:00
Julian Lam
96d58288c9 tweaking upgrade script so it works with a real db 2014-03-21 11:29:00 -04:00
Julian Lam
4701eb1cee updating groups so that members leave a group when it is deleted 2014-03-21 09:27:13 -04:00
Julian Lam
ce867aec53 updated upgrade script date 2014-03-21 09:18:33 -04:00
Julian Lam
0e44eb8629 final refactoring pass for groups -- #1252 2014-03-20 16:26:00 -04:00
Julian Lam
7b4f596aba updating all group lib methods, and their callers -- #1252 2014-03-20 09:13:09 -04:00
Julian Lam
c893effcb9 WIP commit -- groups refactoring + upgrade scripts 2014-03-19 20:33:39 -04:00
Julian Lam
3c5fc72e20 adding "system" flag to system groups 2014-03-19 09:28:18 -04:00
Julian Lam
cc0fabc619 removing console logs from upgrade script 2014-03-18 18:31:38 -04:00
Julian Lam
61afee98c3 updates to new settings mechanism, updating markdown minver, minor linting for upgrades.js, and upgrade stmt for markdown migration 2014-03-18 11:44:22 -04:00
Julian Lam
552a63367d workaround for problem arising from switch to Date.UTC() 2014-03-06 19:48:38 -05:00
Julian Lam
e0dcf95138 fixed missing err in upgrade script 2014-03-05 21:19:36 -05:00
Julian Lam
b404b0197f final pass, resolved #1155 2014-03-05 19:51:16 -05:00
Julian Lam
5f52ef5f01 removed all 0.3.x related upgrade scripts, and updated minSchemaDate 2014-03-05 19:41:16 -05:00
Julian Lam
64aa89f5ee updating upgrade script to use UTC timestamps *facepalm*. God, I hope I didn't break anything...
(first pass #1155)
2014-03-05 19:33:10 -05:00
Julian Lam
30e83fdabe fixing upgrade script if order is not set 2014-03-03 10:17:11 -05:00
Julian Lam
2088903358 added check to upgrade.upgrade 2014-02-23 16:35:28 -05:00
Baris Soner Usakli
c1e3d95a84 upgrade fix for new installs 2014-02-23 16:19:30 -05:00
Baris Soner Usakli
6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting 2014-02-22 18:56:37 -05:00
psychobunny
251fef9c27 run plugins.reload after activating widget-essentials 2014-02-20 20:33:37 -05:00
psychobunny
8059a83870 activate widget-essentials 2014-02-20 20:23:30 -05:00
psychobunny
fc866e4746 added notice to admins to check out the widgets panel IF motd is not set. upgraded motd to widget for lavender 2014-02-20 19:48:08 -05:00
psychobunny
ccf529ccca updated upgrade script to add titles and container to category sidebar widgets 2014-02-20 18:45:38 -05:00
psychobunny
1b557d4141 upgrade.js - add forum stats widget to homepage footer 2014-02-20 16:14:24 -05:00
psychobunny
068402c8ac wrong upgrade message 2014-02-20 15:31:42 -05:00
psychobunny
0b3fa0c838 upgrade.js - add recentreplies, activeusers, and moderator widgets to the sidebar as default 2014-02-20 15:28:37 -05:00
psychobunny
ba657aec4e 110% -> upgrade.js converts existing motd's to html widgets for extra bonus points. 2014-02-19 18:13:56 -05:00
Baris Soner Usakli
93257a8597 check if tids and uids array array before calling async 2014-02-16 16:20:44 -05:00
Baris Soner Usakli
0c093c2aaa fixes upgrade on a empty database 2014-02-14 19:40:38 -05:00
Baris Soner Usakli
8c14a59f93 added new sorted set posts:pid 2014-02-14 14:39:32 -05:00
Baris Soner Usakli
4663e0b8be paranoid 2014-02-14 14:14:05 -05:00
Baris Soner Usakli
1e44ca3a0f upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics 2014-02-14 14:03:54 -05:00