Commit Graph

167 Commits

Author SHA1 Message Date
Adrien Lemaire cef1e07b18 add migration script → default 'random' 2013-11-23 22:03:13 +11:00
Tyler Renelle fac99c7f7f [#1862] re-migrat users with items.pets, items.hatchingPotions, or
items.eggs which are arrays, not objects. This shouldn't be happening
still, need to investigate
2013-11-22 16:22:09 -07:00
Matteo Pagliazzi 8e5edbbef8 fix #1611, @lefnire added a migration for deleted tags, this time it should not delete all of them ;) 2013-11-22 20:23:41 +01:00
Adrien Lemaire 80be38062e add migration file for default preferences 2013-11-19 11:22:41 +11:00
Tyler Renelle 30d6f6c4d8 [#1789] remove all undefined pets once and for all 2013-11-17 21:17:58 -07:00
Tyler Renelle 5fffc32ad3 [#1844] some tasks have their "type" incorrectly set. I need to find out
what's causing this, for now fix in database
2013-11-17 11:09:41 -08:00
Tyler Renelle 4c3f04cc49 Merge branch 'mounts' into develop
Conflicts:
	views/options/inventory/stable.jade
2013-11-14 13:04:44 -08:00
Tyler Renelle 5038885baf [#923] also migrate group.websites => group.description (@Fandekasp the
user stuff is solid, thanks!)
2013-11-13 23:24:59 -08:00
Tyler Renelle aad8f80c9d Merge pull request #1795 from Fandekasp/remove_website
remove broken website field from profile
2013-11-13 23:09:27 -08:00
Adrien Lemaire 9083645dc3 migration script: websites → blurb 2013-11-14 17:57:07 +11:00
Tyler Renelle 9a5af96ba1 [#1763] migration to restore NaN tasks.value to 0 2013-11-11 20:17:14 -08:00
Tyler Renelle bd4385632f mounts: add migration 2013-11-10 15:30:25 -08:00
Tyler Renelle 60421a85cc mounts: revamp UserSchema.items to store all animal-related items as
objects rather than arrays. Preparation for the mount system
2013-11-09 20:14:35 -08:00
Tyler Renelle 242bcda96a contrib: remove gems from admin section, update automatically when they
increase a level
2013-11-08 19:28:07 -08:00
Tyler Renelle a886c178b2 contrib: add migration to help me start porting existing contribs 2013-11-07 12:47:33 -08:00
Tyler Renelle 188db745fc allow users to trigger "missed day" manually from Restore modal 2013-11-05 17:43:43 -08:00
Tyler Renelle c6634b5539 temp migration to remove invalid due dates since npmjs is down 2013-11-04 12:19:56 -08:00
Tyler Renelle f467dcb3c9 [#1712] restore streaks, values, dates, tags that got lost in the
challenges migration
2013-11-04 01:41:23 -08:00
Tyler Renelle 62012a1052 fix adding challenges as subdoc to groups. write migration to restore those that have been created. Also in migration fix missing task.ids (taskSchema issue) 2013-11-02 18:05:14 -07:00
Tyler Renelle 4b4a043a5f [#1685] add help popover to explain challenge task coloring / charts 2013-11-01 11:09:49 -07:00
Tyler Renelle 2f83ac27ae [#1702] much more thorough migration of tasks to new schema, providing defaults
where task attrs fail type checks
2013-11-01 10:43:24 -07:00
Tyler Renelle 52a36a19e4 add agreement copy on registration. 2013-10-31 00:03:43 -07:00
Tyler Renelle a90f37f35c more migration fixes, fix up metrics.js 2013-10-30 18:58:09 -07:00
Tyler Renelle 4764bf738c challenges: some more user cleanup in migration 2013-10-30 17:02:42 -07:00
Tyler Renelle d2c50dc02f challenges: GET /groups now returns a merged array of groups, rather
than structured object of {public,guilds,party,tavern}. I was having
trouble with ngResource without doing this, @paglias let me know what
you think
2013-10-30 15:14:08 -07:00
Tyler Renelle 8b76b74d78 add profile.name in migration, ui-router in production grunt 2013-10-30 09:57:38 -07:00
Tyler Renelle 0151484279 merge @paglias migrations into our one big migration, so I can run it
all at once when the time comes. Had to make some changes (will comment
no github)
2013-10-30 01:46:49 -07:00
Tyler Renelle 02ebc536ca challenges: get Challenges (mostly) working along the same ui-router
principles as groups. Having some $scope variable resolution timing issues
2013-10-29 17:49:49 -07:00
Tyler Renelle 77fee06fdb gMerge branch 'challenges' into develop
Conflicts:
	migrations/20131028_cleanup_deleted_tags.js
	src/controllers/groups.js
	views/options/groups/group.jade
	views/options/profile.jade
2013-10-29 15:38:47 -07:00
Matteo Pagliazzi 9eecb977ea add migration to add invited users to group.invites, @lefnire I tried with _.each(db.users.find()) but doesnt seem to work for db records so I ended up using db.users.find().forEach... which instead seems to work. My first migration to cleanup deleted tags used _.each so I rewrote it using native forEach, just wanted to let you know that it is updated now. 2013-10-29 19:06:01 +01:00
Tyler Renelle c5671550f1 challenges: add group.memberCount and ability to specifiy field projections in GET request /api/v1/groups?type=guild&fields=name,description,chat 2013-10-28 18:20:02 -07:00
Tyler Renelle 4ac0ef4ac2 challenges: migration script for TaskSchema subdocs, cleanup tags, remove old challenges 2013-10-28 12:27:50 -07:00
Matteo Pagliazzi ffdfe0b734 migration to remove deleted tags from tasks 2013-10-28 15:55:34 +01:00
Tyler Renelle 9397c13960 add an "oh-shit" backtrack migration 2013-10-22 20:56:13 -07:00
Tyler Renelle 44cb797063 migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean 2013-10-22 18:50:50 -07:00
Tyler Renelle 4caec6f737 [#1444] implement delete-tag (incl server route). run tags-cleanup migration 2013-09-09 00:04:02 -04:00
Tyler Renelle a461bda7b8 [#1491] remove old.habit from bailey notif 2013-09-08 22:01:20 -04:00
Tyler Renelle ecc442285b [#1491] add user.loggedin on cron, some comments on remove-staging-users 2013-09-08 21:45:46 -04:00
Tyler Renelle cbe23f638a [#1491] remove preen_cron, we won't be needing that anymore. add migration to
remove all staged accoutns
2013-09-08 21:15:57 -04:00
Tyler Renelle 1101a1c3f3 [#1491] some bug-fixes to corruption-cleanup, remove some unecessary
return-values on user route
2013-09-08 20:56:28 -04:00
Tyler Renelle 56080db5a1 [#1491] start adding corruption-cleanup migration, including egg cleanup
& granting gems for all broken eggs #1386
2013-09-08 20:23:57 -04:00
Tyler Renelle 0529f26323 shorter day-period preen_cron 2013-06-18 14:52:39 -04:00
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