habitica-self-host/website/common/script/ops
negue 54153ec299 Refactor Purchase API - Part 1 (#9714)
* move to shops/purchase

* move files to /buy/ instead of /purchase/

* refactor buy.js - add more itemtypes

* revert moving special purchases to buy

* only use buyOp from api-routes

* fix buying potion client-side

* undo import buy instead of purchase

* enable potion bulk purchase - use buyGear as fallback (as before)

* move quantity purchase inside buyHealthPotion

* move quantity purchase inside buyQuest

* move quantity purchase inside buySpecialSpell + add analytics

* remove unused quantity variable - set req.type on specialKeys

* fix `buyKnownKeys` on buy api

* test buy-special-spell if not enough gold

* more buy ops coverage

* fix lint

* buyMysterySet: test for window.confirm, buyQuest: check for Masterclassers unlock

* fix test & lint

* re-create package-lock.json to travis build ?

* use global.window instead of method argument

* add back canOwn checks

* remove buyMysterySet confirm request
2018-02-10 11:14:40 +01:00
..
buy Refactor Purchase API - Part 1 (#9714) 2018-02-10 11:14:40 +01:00
stats Bulk stats (#9260) 2017-10-31 12:57:44 -06:00
addTag.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
addTask.js Removed "Tag list in tasks starts collapsed" settings and strings (#9406) 2017-11-15 17:37:15 +01:00
blockUser.js Prevent user from blocking himself - fixes #9097 (#9194) 2017-10-18 15:26:01 -05:00
changeClass.js sep 25 fixes (#9075) 2017-09-27 21:07:42 +02:00
clearPMs.js Tasks scoring and misc fixes (#8925) 2017-08-04 23:27:11 +02:00
deletePM.js Tasks scoring and misc fixes (#8925) 2017-08-04 23:27:11 +02:00
deleteTag.js Tasks scoring and misc fixes (#8925) 2017-08-04 23:27:11 +02:00
deleteTask.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
disableClasses.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
equip.js Client Redesign: Inventory pages, secondary menu, misc css and design items (#8631) 2017-05-16 21:09:55 +02:00
feed.js (in)definite articles for food items. Partial fix for https://github.com/HabitRPG/habitica/issues/3571 (#9658) 2018-02-05 19:43:12 +01:00
hatch.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
index.js Refactor Purchase API - Part 1 (#9714) 2018-02-10 11:14:40 +01:00
markPMSRead.js Remove unused v2 code from /website/common/script (#8034) 2016-09-22 21:23:46 -05:00
openMysteryItem.js notifications: fixes 2018-02-04 13:28:05 +01:00
pinnedGearUtils.js market fixes 28th nov (#9593) 2017-12-05 14:09:34 -06:00
readCard.js notifications: fixes 2018-02-04 13:28:05 +01:00
rebirth.js stops Orb of Rebirth being visible after rebirth - fixes #8593 (#9172) 2017-10-18 15:23:27 -05:00
releaseBoth.js Fixed release pets mounts (#8545) 2017-07-18 13:34:54 -07:00
releaseMounts.js Fixed release pets mounts (#8545) 2017-07-18 13:34:54 -07:00
releasePets.js Fixed release pets mounts (#8545) 2017-07-18 13:34:54 -07:00
reroll.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
reset.js Ensured group tasks are removed from places that challegnes tasks are (#8359) 2017-01-07 12:01:12 +01:00
revive.js misc fixes - sep 17 (#9045) 2017-09-19 22:45:28 +02:00
scoreTask.js Feature - Store Exact Completion Date For Dailies (#9813) 2018-02-05 19:42:20 +01:00
sell.js Show error message in empty market inventory drawer (#9041) 2017-10-10 11:18:50 -05:00
sleep.js Track sleeping in the inn with analytics (fixes #9561) (#9685) 2018-01-29 14:48:24 -06:00
sortTag.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
sortTask.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
unlock.js inital commit to add confirmation to animalEars (#9666) 2018-01-05 13:26:45 -06:00
updateTag.js Upgrade lodash to v4 and lint more files (#8495) 2017-03-01 17:10:48 +01:00
updateTask.js Repeatables fixes (#8538) 2017-03-08 16:48:30 -07:00