Commit Graph

525 Commits

Author SHA1 Message Date
Tyler Renelle
302721456d fix up some db indexes 2013-06-15 19:14:49 -04:00
Tyler Renelle
d4d7c32fa8 simpler empty parties preen 2013-06-15 18:20:52 -04:00
Tyler Renelle
b7d5c0808b delete the "migrate" script for now. can dig up this commit later,
the mongoskin async integration wasn't working for our purposes
2013-06-15 18:17:08 -04:00
Tyler Renelle
d25c9d24c0 groups-preennig typo 2013-06-15 17:31:31 -04:00
Tyler Renelle
013cc7e5b7 migrations: try adding a coffeescript method, which uses mongoskin to run the migrations. Looks like it's not quite there, collection.toArray() pulls all objects into memory which is too big to run the migrations - might have to stick to mongo scripts 2013-06-15 17:31:23 -04:00
Tyler Renelle
989d5839c4 more accurate "active users": 7417 2013-06-15 13:52:10 -04:00
Tyler Renelle
00e2841b78 history preen cleanup 2013-06-15 13:48:25 -04:00
Tyler Renelle
cc0206e54e preen-cron: some history-preening cleanup & coments 2013-06-15 13:13:48 -04:00
Tyler Renelle
5d05c815bd Merge branch 'preen-history' into develop
Conflicts:
	migrations/preen_cron.js
2013-06-15 12:44:42 -04:00
Tyler Renelle
22d4bb27ac preen-cron: fix up history cron, should be fully functional now 2013-06-15 12:01:03 -04:00
Tyler Renelle
6b307cd52c preen-script - we can't use load() because we don't know mongo shell
pwd() at server run-time
2013-06-14 19:19:08 -04:00
Tyler Renelle
42be939b12 preen-script: start implementing history-preening 2013-06-14 19:05:26 -04:00
Tyler Renelle
9361b015f6 preen-script: also remove empty parties 2013-06-14 17:01:50 -04:00
Tyler Renelle
67b2174c3d finish metrics script. current total: unregistered: 180931 registered:
52101 active: 4182 (@Slappybag)
2013-06-14 16:56:42 -04:00
Tyler Renelle
8c27f96d08 start with metrics mongo script - still need to add "active users" 2013-06-14 16:17:41 -04:00
Tyler Renelle
20196a9383 preen-cron: remove the date, it's not a migration but a cron script 2013-06-14 16:17:25 -04:00
Tyler Renelle
38b4e3322e preen-script: some cleanup and better checking of lastCron 2013-06-14 16:09:26 -04:00
Tyler Renelle
6ab64e2df1 add migration script for moving facebook auth'd users to local
auth (seems people hate facebook)
2013-06-14 15:56:27 -04:00
Tyler Renelle
dfc0556965 survey rewards: add individual migration for missing users 2013-06-12 14:22:43 -04:00
Tyler Renelle
a5a57a244b fix survey migration 2013-06-04 10:32:33 -04:00
Tyler Renelle
d13db1623f fix survey gem inc 2013-06-03 20:22:51 -04:00
Tyler Renelle
c5bdf1bbe6 Merge branch 'develop' of github.com:lefnire/habitrpg into develop 2013-06-03 19:16:21 -04:00
Tyler Renelle
c1cda30582 achievements: add migration for survey achievements 2013-06-03 19:15:48 -04:00
Slappybag
501e016e09 CSV Export supports null values 2013-06-03 23:08:42 +01:00
Tyler Renelle
2666ebb1fc guilds: generic handling of invitations (incl. accept, reject, invite, etc) 2013-05-28 00:48:35 +01:00
Tyler Renelle
fa9e6f5453 challenges: migrated drop groups collection if exists (mostly for debugging) 2013-05-27 21:14:22 +01:00
Tyler Renelle
35049f7752 Merge branch 'develop' into challenges-tmp
Conflicts:
	src/app/helpers.coffee
	src/app/index.coffee
2013-05-26 15:29:59 +01:00
Tyler Renelle
03c40c1571 challenges: migration & store: rename parties to groups, create habitrpg guild, move tavern into habitrpg, overhaul of motifs and subscriptions 2013-05-26 15:09:21 +01:00
Tyler Renelle
73fe8ebfdd fix preen_cron 2013-05-23 15:06:42 +01:00
Tyler Renelle
60a4ce5888 update find_unique_user to use lodash 2013-05-23 14:40:34 +01:00
Tyler Renelle
cc097c32f7 clean up of preen_cron, which I'm re-enstating 2013-05-21 12:54:06 +01:00
Tyler Renelle
d3fdd051e1 backer: fix pets html, add migration 2013-05-08 21:40:01 +01:00
Tyler Renelle
14ab8347ad typo 2013-05-08 13:20:22 +01:00
Tyler Renelle
a69fdcc369 add migration script to fix rogue parties 2013-05-08 13:14:32 +01:00
Tyler Renelle
9c061fadc1 apply backer tier to their backer property, add tokens if not already there, disable ads, etc 2013-05-07 16:19:09 +01:00
Tyler Renelle
53d76ed4fb rename csvexport.phy to .py 2013-05-07 16:06:16 +01:00
Tyler Renelle
59f9b742d9 tags: add migration to set initial empty tags to an array - why was it
being set to an object?
2013-05-07 10:27:31 +01:00
Stan Lindsey
671f843d30 csv export script 2013-05-05 17:00:59 +01:00
Tyler Renelle
5a5d8ec2da add migration for current users with ultimate gear 2013-05-03 16:31:16 +01:00
Tyler Renelle
234d3725be nix the "remove if empty auth & no more session" cron task 2013-04-04 18:01:53 -04:00
Tyler Renelle
157f0400e1 fix tokens migration script 2013-03-28 00:25:45 -07:00
Tyler Renelle
83bfee0fa3 and include email in apply_tokens 2013-03-27 23:23:19 -07:00
Tyler Renelle
30d92a1583 add username to tokens migration 2013-03-27 16:02:29 -07:00
Tyler Renelle
56eccabe5a apply tokens migration script 2013-03-27 14:19:11 -07:00
Tyler Renelle
bf7fe8ff53 pets: migration working, but still don't understand why some users
already have pets as new structure not old
2013-03-26 22:14:47 -07:00
Tyler Renelle
3340ee767d pets: @WIP add migration script from old to new system (not working) 2013-03-26 20:23:01 -07:00
Tyler Renelle
72e81b8891 #315 fixes: newValue not accessible at scope, only remove duff history
entries, not all
2013-03-10 11:40:58 -04:00
Philip How
b6a7d63c21 changed migration comment 2013-03-08 00:23:08 +00:00
Philip How
24c7677764 Migration script for removing old dailies histories 2013-03-08 00:20:46 +00:00
Tyler Renelle
1fadb7955a add exp overflow migration 2013-03-07 14:28:24 -05:00