habitica-self-host/migrations
Keith Holliday 0233f7b486 More fixes (#8988)
* Links stay white on hover

* Fixed task icon color

* Disabled plus button when needed

* Fixed difficulty color

* Fixed task reward color

* Updated create styles

* Fixed group plan link

* Fixed second group test modal

* Added login incentives

* Fixed group notification clear

* Show baily correctly

* Styled armoire notification

* Fixed contributor achievement styles

* Fixed death

* Fixed drop styles

* Fixed invited friend modal

* Fixed joined challenge achievement style

* Fixed joined guild style

* Fixed level up styles

* Updated low health styles

* Fixed bailey styles

* Updated quest completed

* Added soem conditionals to hide modals

* Added rebirth styles

* Fixed rebirth enable styles

* Fixed streak styles

* Fixed testing modals

* Fixed ultimate gear achievement

* Fixed won challenge

* Set user to welcomed if created on mobile

* Removed old default tasks

* Began adding more options to avatar

* Added change class

* Inbox to messages

* Moved profile to menu

* Added user modal for viewing a user and send message

* Fixed conversations

* Fixed lint

* Fixed challenges sending to server

* Added challenge progress view

* Fixed group sync after pay

* Fixed some group accepting features

* Fixed initial chat loading

* Fixed some exitence errors

* Added user names to assigned

* Added upgrade link

* Began adding new payment flow

* Added default tasks

* Updated avatar styles

* Updated tutorial styles

* Rebuilt notifications and styles

* Updated upload script

* Fixed lint

* Added default tasks back to mobile and added updated tests

* More test fixes
2017-08-25 20:56:21 -06:00
..
api_v3 Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
challenges minor text fixes: accurate flavour text for Golden Knight testimonies collection quest, etc (#8826) 2017-06-26 22:35:29 +01:00
groups Added end date option to group plan migration (#8588) 2017-03-23 10:40:15 -06:00
tasks Added yesterdaily field (#8847) 2017-07-03 13:55:53 -05:00
users Added migration to go from prod to test db (#8816) 2017-06-20 06:17:10 -06:00
utils Webhook improvements (#7879) 2016-10-02 09:16:22 -05:00
20130128_add_missing_crons.js handle missing crons @WIP 2013-01-28 22:32:04 -05:00
20130128_merge_completed_todo_ids.js add completed/todo merge migration a la @toebu 2013-01-28 15:09:10 -05:00
20130129_add_missing_preferences.js fix to prefs migration 2013-01-31 21:28:55 -05:00
20130204_count_habits.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130204_user_public_private_paths.js [#1444] implement delete-tag (incl server route). run tags-cleanup migration 2013-09-09 00:04:02 -04:00
20130208_idLists_to_typeIds.js disappearing habits 2013-02-08 22:02:25 -05:00
20130208_user_customizations.js .main-avatar popovers were all clobbering eachother 2013-02-08 18:45:22 -05:00
20130307_exp_overflow.js add exp overflow migration 2013-03-07 14:28:24 -05:00
20130307_normalize_algo_values.js semi-colons 2013-03-07 13:16:47 -05:00
20130307_remove_duff_histories.js #315 fixes: newValue not accessible at scope, only remove duff history 2013-03-10 11:40:58 -04:00
20130326_migrate_pets.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130327_apply_tokens.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130503_max_gear_achievement.js add migration for current users with ultimate gear 2013-05-03 16:31:16 +01:00
20130507_fix_broken_tags.js tags: add migration to set initial empty tags to an array - why was it 2013-05-07 10:27:31 +01:00
20130508_add_backer_pets.js backer: fix pets html, add migration 2013-05-08 21:40:01 +01:00
20130508_fix_duff_party_subscriptions.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130518_setup_groups.js guilds: generic handling of invitations (incl. accept, reject, invite, etc) 2013-05-28 00:48:35 +01:00
20130602_survey_rewards.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130612_survey_rewards_individual.js survey rewards: add individual migration for missing users 2013-06-12 14:22:43 -04:00
20130615_add_extra_indexes.js fix up some db indexes 2013-06-15 19:14:49 -04:00
20130908_cleanup_corrupt_tags.js [#1444] implement delete-tag (incl server route). run tags-cleanup migration 2013-09-09 00:04:02 -04:00
20130908_cleanup_derby_corruption.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20130908_remove_staged_users.js [#1491] add user.loggedin on cron, some comments on remove-staging-users 2013-09-08 21:45:46 -04:00
20131022_purchased_and_newStuff.js migrate: flags.ads -> purchased.ads (boolean); flags.newStuff to boolean 2013-10-22 18:50:50 -07:00
20131022_restore_ads.js add an "oh-shit" backtrack migration 2013-10-22 20:56:13 -07:00
20131028_task_subdocs_tags_invites.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20131102_restore_task_ids.js 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
20131104_remove_invalid_dues.js temp migration to remove invalid due dates since npmjs is down 2013-11-04 12:19:56 -08:00
20131104_restore_lost_task_data.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20131105_remove_history_ids.js allow users to trigger "missed day" manually from Restore modal 2013-11-05 17:43:43 -08:00
20131107_from_backer_to_contributor.js contrib: add migration to help me start porting existing contribs 2013-11-07 12:47:33 -08:00
20131108_add_gems_for_contribs.js contrib: remove gems from admin section, update automatically when they 2013-11-08 19:28:07 -08:00
20131109_refactor_pets.js [#1862] re-migrat users with items.pets, items.hatchingPotions, or 2013-11-22 16:22:09 -07:00
20131111_task_NaN.js [#1763] migration to restore NaN tasks.value to 0 2013-11-11 20:17:14 -08:00
20131114_migrate_websites_to_blurb.js [#923] also migrate group.websites => group.description (@Fandekasp the 2013-11-13 23:24:59 -08:00
20131115_update_gear_preferences.js add migration file for default preferences 2013-11-19 11:22:41 +11:00
20131117_fix_task_types.js [#1844] some tasks have their "type" incorrectly set. I need to find out 2013-11-17 11:09:41 -08:00
20131117_remove_undefined_pets.js [#1789] remove all undefined pets once and for all 2013-11-17 21:17:58 -07:00
20131122_deleted_tags.js 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
20131123_set_default_party_order.js add migration script → default 'random' 2013-11-23 22:03:13 +11:00
20131126_clean_dayStart.js [#1532] add better validation on preferences.dayStart, and a migration to 2013-11-26 15:18:20 -07:00
20131126_turkey_pet.js thanksgiving: newstuff too 2013-11-27 11:59:07 -07:00
20131127_restore_dayStart.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20131214_classes.coffee Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20131217_unearned_backer_gear.js fix #2034 - remove backer gear from non-backers 2013-12-17 19:54:24 -07:00
20131221_restore_NaN_history.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20131225_restore_streaks.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20140119_task_creation_completion_dates.js fix(todos): add migration for dateCreated & dateCompleted #2478 2014-01-19 17:16:38 -08:00
20140130_birthdayEnd.js feat(habitBirthday): add habitrpg birthday event. includes cakes for all 2014-01-30 19:20:07 -07:00
20140130_birthdayStart.js fix(groups): send error if +1 errored 2014-01-30 21:11:11 -07:00
20140220_challenge_memberCount.js 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
20140301_missing_mysteries.js chore(migration): fix users who subscribed but didn't get item 2014-03-01 18:05:34 -07:00
20140610_missing_backer_mount.js fix(backers): give missing backer mount to $70+, sorry everyone :( :( 2014-06-10 15:25:59 -06:00
20140712_wiped_quest_membership.js fix(quests): don't reset quest progress when world boss defeated 2014-07-12 14:32:12 -06:00
20140803_remove_undefined_notifications.js fix(newMessages): ad migration 2014-08-03 10:53:48 +02:00
20140823_remove_undefined_and_false_notifications.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20140829_change_headAccessory_to_eyewear.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20140831_increase_gems_for_previous_contributions.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20140914_upgrade_admin_contrib_tiers.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20140922_free_candy.js feat(fall): bailey + free candy script 2014-09-20 14:13:07 -06:00
20141006_jackolantern_pet.js feat(halloween): jackolantern pet 2014-10-06 16:14:48 -06:00
20141117_consecutive_months.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20141126_turkey_mounts.js feat(thanksgiving): add migration for turkey mounts / pets 2014-11-26 19:12:59 -07:00
20141211_NaN_consecutives.js fix(plans): fix fields which are NaN 2014-12-11 21:06:38 -07:00
20141230_new_years_hats.js add 'items.' to 'gear.owned' 2014-12-31 15:44:50 +10:00
20150107_plan_dateUpdated_null.js fix(plans): when gifting subscription, set plan.dateUpdated so it can roll gemCapExtra next month. Fixes #4480. Removes datedUpdated from previous version of fix. 2015-01-17 16:45:55 +10:00
20150124_mountmaster_fix.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20150130_birthday_goodies.js fix(event): Leave old achievement 2015-01-29 14:10:05 -06:00
20150131_birthday_goodies_fix_remove_robe.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20150201_convert_creation_date_from_string_to_object.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20150201_recapture_emails_phase_update.js fix(db): upgrade flags.recaptureEmailsPhase to new values 2015-02-01 12:56:07 +01:00
20150218_interactive_tour.js feat(tour): add the other tour entries @lemoness 2015-03-19 15:53:12 -06:00
20150224_force_resting_in_inn.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20150310_survey_achievements.js feat(surveys): Survey achievement 2015-03-10 18:39:00 -05:00
20150325_egg_quest.js fix(March): Eggy eggy quest 2015-03-25 21:19:34 -05:00
20150604_ultimateGearSets.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20150706_orca_mounts.js feat(event): Derby Day mount 2015-07-08 16:07:37 -05:00
20150731_purple_gryphon.js WIP(event): Habitica Day 2015-07-28 16:20:08 -05:00
20150731_veteran_tiger.js feat(naming-day): Bailey etc. 2015-07-30 19:46:04 -05:00
20150731_veteran_wolf.js feat(naming-day): Bailey etc. 2015-07-30 19:46:04 -05:00
20150906_groups_fix_leaders.js fix migrations 2015-09-09 22:32:12 +02:00
20150906_groups_remove_deleted_users.js fix migrations 2015-09-09 22:32:12 +02:00
20150906_groups_remove_empty.js fix migrations 2015-09-09 22:32:12 +02:00
20150906_sync_groups_with_firebase.js disable firebase syncing for tavern 2015-09-06 20:08:31 +02:00
20151013_jackolanterns.js chore(contest): Award Costume achievements 2015-11-16 15:24:08 -05:00
20151021_usernames_emails_lowercase.js add migration for lowercase version of emails and username 2015-10-21 11:19:14 +02:00
20151105_tutorial_flags.js minor fix to migration script 2015-11-05 18:15:25 +10:00
20151116_costume_contest_award.js fix(achievement): Make Costume Contest repeatable 2015-11-16 16:07:16 -05:00
20151116_costume_contest_to_number.js fix(achievement): Make Costume Contest repeatable 2015-11-16 16:07:16 -05:00
20151125_turkey_ladder.js feat(event): Habitica Thanksgiving 2015-11-25 17:06:52 -05:00
20151229_new_years_hats.js feat(event): New Year's Eve 2015 2015-12-29 14:55:05 -05:00
20160111_challenges_condense_same_day_history_entries.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20160129_habit_birthday.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20160521_veteran_ladder.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20160527_fix_empty_checklist_id.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
20160529_fix_challenges.js chore: Add migration file for correcting users tasks 2016-05-31 18:04:53 -05:00
20160530_fix_tasks_from_null_value_in_challenges_broken.js chore: Add migration file for correcting users tasks 2016-05-31 18:04:53 -05:00
20160602_convert_quest_collection.js chore: Add quest collection migration and temporary code to catch data inconsistencies 2016-06-04 22:11:52 -05:00
20160605_convert_quest_collection_again.js chore: Add migration file for bad quest data (#7611) 2016-06-06 10:28:51 +10:00
20160615_fix_bad_emails.js chore: Add migration file for fixing invalid emails 2016-06-15 21:46:17 -05:00
20160731_naming_day.js Naming Day and Take This migrations (#7838) 2016-07-31 18:55:57 -05:00
20160731_takeThis.js Naming Day and Take This migrations (#7838) 2016-07-31 18:55:57 -05:00
20160831_takeThis.js chore(challenge): next Take This migration 2016-08-31 19:41:04 +00:00
20161002_add_missing_webhook_type.js chore: adjust webhook migration to sort webhooks properly 2016-10-02 09:31:28 -05:00
20161002_takeThis.js chore(event): Sept-Oct Take This migration 2016-10-02 14:38:16 +00:00
20161030-jackolanterns.js feat(event): JackOLantern ladder (#8174) 2016-10-31 08:14:06 -05:00
20161102_takeThis.js fix(migration): revert bogus connect info 2016-11-03 00:29:57 +00:00
20161122_turkey_ladder.js Turkey Day 2016 (#8231) 2016-11-22 20:00:10 -06:00
20161230_nye_hats.js feat(event): New Year's 2016 2016-12-30 22:19:29 +00:00
20170111_announce_collection_quest_change_in_parties.js Reduce difficulty of collection quests (#8754) 2017-06-06 20:14:26 -07:00
20170120_missing_incentive.js Incentives, Batch 2 (#8435) 2017-01-20 20:36:38 -06:00
20170131_habit_birthday.js chore(sprites): compile 2017-01-31 18:32:03 +00:00
20170418_subscriber_jackalopes.js feat(subs): Jackalope Pets (#8684) 2017-04-18 17:38:53 -05:00
20170425_missing_incentives.js fix(incentives): backfill 2017-04-26 01:04:02 +00:00
20170616_achievements.js feat(migration): update achievements (#8825) 2017-06-16 13:41:25 -07:00
20170711_orcas.js feat(content): Orca Pets and Splashy Pals 2017-07-11 21:31:26 +00:00
20170731_naming_day.js feat(event): Naming Day 2017 2017-07-31 20:22:09 +00:00
20170811_pinned_items.js item pinning (#8918) 2017-08-14 19:15:32 +02:00
apology_gems.js apology-gems and restore-streaks 2013-12-25 18:34:27 -07:00
cancelSubscription.js migration(subscriptions): cancel subs small script 2014-10-06 15:23:57 -06:00
contribs_plan.js chore(contribs_plan): add migration so contribl.lvl >= 7 gets free 2014-02-13 11:54:45 -07:00
csvexport.py CSV Export supports null values 2013-06-03 23:08:42 +01:00
current_period_end.js fix(billing): script to fix current_period_end, see #4420 2015-01-12 11:50:46 -07:00
duplicatedTasksFindAndRemove.js improve spacing 2015-02-07 14:00:21 +10:00
facebook_to_local.js upgrade angular-ui-router 2014-11-27 12:30:13 -07:00
find_unique_user.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
freeMonth.js minor migration update 2015-02-23 09:50:28 -07:00
habitica_day.js WIP(event): Habitica Day 2015-07-28 16:20:08 -05:00
manual_password_reset.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
metrics.js apiv2: fix to /admin/members/{id}:GET 2014-01-02 11:01:35 -07:00
migration-runner.js Added migration to go from prod to test db (#8816) 2017-06-20 06:17:10 -06:00
missing_gems.js fix(missing-gems): remove ad-removal from script, since ads are part of subscription 2014-02-08 15:48:54 -07:00
mystery_items.js feat(content): Mystery Items August 2017 2017-08-17 20:27:48 +00:00
new_stuff.js chore(news): Bailey 2017-02-02 21:04:36 +00:00
restock_armoire.js chore(news): Bailey 2017-02-02 21:04:36 +00:00
restock_armoire_for_users_that_need_it.js create script to mark the Enchanted Arrmoire as not being empty for users who logged in recently and who do not have all gear 2016-02-07 16:07:33 +10:00
restore-profile-data.js Added migration for profile restoration (#8355) 2017-01-06 11:07:21 -06:00
s3-upload.js More fixes (#8988) 2017-08-25 20:56:21 -06:00
takeThis.js fix(migrations): return to generic state 2017-06-04 02:59:49 +00:00