Commit graph

233 commits

Author SHA1 Message Date
Tyler Renelle
35308853a5 feat(contributors): small update to alys's script 2014-10-24 18:56:11 -06:00
Tyler Renelle
0a630d7d9b feat(halloween): jackolantern pet 2014-10-06 16:14:48 -06:00
Tyler Renelle
4fdcbb22c0 migration(subscriptions): cancel subs small script 2014-10-06 15:23:57 -06:00
Tyler Renelle
351e220b83 feat(mystery): 201409 2014-09-24 23:15:46 -06:00
Tyler Renelle
f38db7b964 feat(fall): bailey + free candy script 2014-09-20 14:13:07 -06:00
Alice Harris
152b68a0a9 remove username from output of script 2014-09-18 11:48:55 +10:00
Alice Harris
1370080217 improve code, remove need for second script 2014-09-18 11:48:55 +10:00
Alice Harris
224fbe2d85 increase number of gems for contributors AND report actions taken and results https://github.com/HabitRPG/habitrpg/issues/3933 2014-09-18 11:48:55 +10:00
Alice Harris
7175251649 grrrr 2014-09-14 15:41:02 +10:00
Alice Harris
3477703916 yes I AM incompetently committing the same file three times in a row, why do you ask? 2014-09-14 15:39:10 +10:00
Alice Harris
d871b36691 remove mention of ItsBailey from the comments - she does not have a tier now so she will have to be handled manually 2014-09-14 15:37:34 +10:00
Alice Harris
459e8390f1 remove mention of ItsBailey from the comments - she does not have a tier now so she will have to be handled manually 2014-09-14 15:36:33 +10:00
Alice Harris
6e678abf22 make code better 2014-09-14 14:46:31 +10:00
Alice Harris
73cd71d74b add star/tower glyphicons for mods/staff in Hall; in Hall, change admin's description of levels; create migration script for increasing admin tiers 2014-09-05 21:17:55 +10:00
Alice Harris
6e712fc0f9 set correct progressCount in migration script 2014-08-30 13:00:46 +10:00
Alice Harris
7a7fc831eb tidy up migration script 2014-08-30 11:46:53 +10:00
Alice Harris
6791d875ff create migration scirpt for moving existing uses of headAccessories to eyewear 2014-08-29 19:41:56 +10:00
Alice Harris
349fdada1f updated migrations script to use a node.js stream-based migration https://github.com/HabitRPG/habitrpg/pull/3907#issuecomment-53522251 2014-08-27 21:50:48 +10:00
Tyler Renelle
2cc251149c feat(mystery): august mystery 2014-08-25 17:16:41 -06:00
Alice Harris
f307f5593c add migration script to remove undefined guild notifications and false guild notifications 2014-08-23 12:19:41 +10:00
Matteo Pagliazzi
9d2723b418 fix(newMessages): ad migration 2014-08-03 10:53:48 +02:00
Tyler Renelle
1808dea9ec bailey(mystery): july mystery item 2014-07-24 19:33:11 -06:00
Tyler Renelle
496618c665 fix(quests): don't reset quest progress when world boss defeated 2014-07-12 14:32:12 -06:00
Tyler Renelle
2bffa643a9 feat(mystery): mystery items 062014 2014-06-24 16:45:47 -06:00
Tyler Renelle
b5bf54a815 chore(subscribers): some busted transaction migration code 2014-06-12 12:32:20 -06:00
Tyler Renelle
831f971193 fix(backers): give missing backer mount to $70+, sorry everyone :( :(
fixes #3544
2014-06-10 15:25:59 -06:00
Denis Sokolov
c26d51ed5e chore(migrations): cleanup unused json library, added in 999669a2, not removed in cbe23f638a 2014-06-04 15:26:28 +09:00
Tyler Renelle
4990a6d0e1 feat(subscriptions): add free month script for users who canceled in old system 2014-05-06 10:13:33 -06:00
Tyler Renelle
425218d9a7 feat(mystery): april mystery item 2014-04-24 17:48:21 -06:00
Tyler Renelle
92c8dbba3e feat(mystery): bailey + migration for march mystery items 2014-03-24 23:42:08 -06:00
Tyler Renelle
acc32473a4 chore(migration): fix users who subscribed but didn't get item 2014-03-01 18:05:34 -07:00
Tyler Renelle
a1e66ab99e feat(premium): mystery item notif in toolbar 2014-02-22 21:00:10 -08:00
Tyler Renelle
91d8ebad6d feat(premium): add mystery-item gear slot 2014-02-22 20:38:16 -08:00
Tyler Renelle
4f426b9d24 perf(challenges): use some query & elemMatch magic on memberCount to reduce challenges.list overhead. memberCount is now updated when leaving/joining challenges 2014-02-20 10:43:41 -08:00
Tyler Renelle
8ba12ef392 chore(contribs_plan): add migration so contribl.lvl >= 7 gets free
plan4life
2014-02-13 11:54:45 -07:00
Tyler Renelle
e1240dde1d fix(missing-gems): remove ad-removal from script, since ads are part of subscription 2014-02-08 15:48:54 -07:00
Tyler Renelle
5b6c4427b5 fix(groups): send error if +1 errored 2014-01-30 21:11:11 -07:00
Tyler Renelle
aff885c05c feat(habitBirthday): add habitrpg birthday event. includes cakes for all
pets, absurd party robes, npc swap, badge, etc. @lemoness
2014-01-30 19:20:07 -07:00
Tyler Renelle
ecbe780e70 fix(find_uniq_user): fix 2014-01-24 17:04:01 -08:00
Tyler Renelle
4cc39f16a1 fix(todos): add migration for dateCreated & dateCompleted #2478 2014-01-19 17:16:38 -08:00
Tyler Renelle
506d22e935 add migration for tasks.created 2014-01-14 17:28:50 -07:00
Tyler Renelle
9cd947627c correct missing gems 2014-01-08 18:35:45 -07:00
Tyler Renelle
46491273a5 apiv2: fix to /admin/members/{id}:GET 2014-01-02 11:01:35 -07:00
Tyler Renelle
d530e38780 apology-gems and restore-streaks 2013-12-25 18:34:27 -07:00
Tyler Renelle
5c5f4abcd4 add missing-gems migration 2013-12-24 20:30:30 -07:00
Tyler Renelle
99b3febe86 restore NaN history entries (@djuretic thanks!) 2013-12-22 11:02:25 -07:00
Tyler Renelle
b95bbd08f6 fix #2034 - remove backer gear from non-backers 2013-12-17 19:54:24 -07:00
Tyler Renelle
61d95cfda8 classes: [#1989] migrate tasks for users as well 2013-12-16 09:47:57 -07:00
Tyler Renelle
171d233686 [#1992] fix for contrib sword not getting ported 2013-12-16 09:24:30 -07:00
Tyler Renelle
bc0034f022 apiv2 handle notifications circular-dependency. migration
fixes. Rest=>Sleep fixes
2013-12-15 10:57:53 -07:00
Tyler Renelle
68155045d1 classes: Fix migration (some users had 1e+18+ for "restore user" values, causing script
to crash). Default to skin_c06534
2013-12-14 19:26:01 -07:00
Tyler Renelle
d1a34f570d customizations: migrate skins for more PCs, start building out migration 2013-12-14 16:12:41 -07:00
Tyler Renelle
dc348d5601 [#1969] add in @Fandekasp's shirts, had to do separate commit for handling of
user.preferences.shirt
2013-12-14 00:35:03 -07:00
Tyler Renelle
6ae14cc42f classes: misc fixes 2013-12-13 21:53:42 -07:00
Tyler Renelle
9d9b8120cd classes: migrate priority from !,!!,!!! to Number (prep for passive stats) 2013-12-12 20:59:20 -07:00
Tyler Renelle
d9bef28c5d migrate flags.rest => preferences.sleep 2013-12-12 20:59:16 -07:00
Tyler Renelle
4323443dbd [#1977] stricter PUT /user set-path validation, require they're setting on a
leaf-path (except for tasks.* - we still need to handle that properly)
2013-12-10 09:10:00 -07:00
Tyler Renelle
59f8727cbf classes: small tweaks 2013-12-07 11:31:11 -07:00
Tyler Renelle
7f1892b34a classes: move item-store sorting from web to shard (so we can share with
mobile) habitrpg-shared#6651665
2013-12-05 18:20:09 -07:00
Tyler Renelle
b9845aec4a classes: fixes to buying special-gear & regular gear habitrpg-shared#ee4777d 2013-12-05 15:48:50 -07:00
Tyler Renelle
decaa2867b classes: misc fixes. start a running migration file (add to, or add notes as we go along) 2013-12-04 17:50:40 -07:00
Tyler Renelle
63e44062b4 thanksgiving: newstuff too 2013-11-27 11:59:07 -07:00
Tyler Renelle
7c20988c41 Merge branch 'thanksgiving' into develop 2013-11-27 11:53:18 -07:00
Tyler Renelle
db5befb570 thanksgiving turkey & npcs 2013-11-27 11:50:18 -07:00
Tyler Renelle
caaebe01a2 re: d3eed22 , migration to fix 0'd dayStarts (@paglias, thanks for the fix!) 2013-11-27 10:53:47 -07:00
Tyler Renelle
2b128f71f4 [#1532] add better validation on preferences.dayStart, and a migration to
cleanup corrupt ones
2013-11-26 15:18:20 -07:00
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