MathWhiz
08ccd595f2
Add quantity information when purchasing items ( #9481 )
2017-11-16 10:08:11 +01:00
Keith Holliday
c43ca62bc4
Added check for balance with respect to quantity ( #9469 )
2017-11-14 16:55:08 -07:00
Keith Holliday
7fe2504906
Bulk purchasing ( #9196 )
...
* Moved buy tests
* Added mystery buy to buy.js
* Added quest purchasing to buy
* Added buy special
* Moved integration tests to buy folder
* Removed buyGear dependency
* Removed buyArmoire dependency
* Removed buyHealthPotion dependency
* Removed myster, quest and special dependency
* Replaced functions with factory
* Added bulk purchasing to common
* Added bulk purchasing to the api
* Added bulk purchasing to client
* Refactored purchasing function to reduce long method
* Added bulk purchase to gem purchases
* Added bulk purchasing to api
* Added bulk purchasing to gem items on client
* Removed bulk from equipment
* Removed recentlyPurchased
* Fixed style issues and prevented puchasing more gems than are left
* Fixed lint
* Fixed missing keys
* Fixed gem amount notice
* Added quest modal to pinned item
* Added bulk purchase to gem modal
* Fixed styles
* Fixed bulk purchase for spells
* Fixed modal size
* Hid autofill
2017-10-23 16:05:35 -05:00
negue
876552b922
multiplefixes quest ( #8964 )
...
* add hourglass to header
* multiple quest fixes - show quest info in popover/modal
* pin backgrounds
* unpin gem-purchable items / change pinType of quest to quests
* check if hatching potion is allowed on egg - wide hatching info
* fix (perf): items - request text()/notes() only once
* change items margin to 23px
* list cards + open modal to choose a target + add space between market items
* buy card from task-list
* fix tests - unpin items on purchasing eggs / hatchingPotions
2017-08-21 00:32:32 +02:00
Matteo Pagliazzi
78ba596504
Groups can prevent members from getting gems ( #8870 )
...
* add possibility for group to block members from getting gems
* fixes
* fix tests
* adds some tests
* unit tests
* finish unit tests
* remove old code
2017-07-16 09:23:57 -07:00
Sabe Jones
e6f605f23a
Discount Bundled Quests ( #8731 )
...
* refactor(content): split quests file
* feat(purchases): sell bundled quests
* fix(style): address linting errors
* test(bundles): shop and purchase tests
* fix(test): remove only
* test(bundles): check balance deduction
* docs(content): comment bundle structure
* fix(test): account for cumulative balance
2017-05-17 20:36:34 -05:00
Matteo Pagliazzi
98c019a0b6
Upgrade lodash to v4 and lint more files ( #8495 )
...
* common: import lodash modules separately
* remove test/content from .eslintignore, fix with eslint --fix content/index
* lint test/content
* lint content/index except for lodash methods
* upgrade server/models
* upgrade server/middlewares and server/libs
* port server/controllers/top-level
* port server/controllers/api-v3
* port views and tests
* client old port lodash and _(, missing _.
* upgrade client-old
* port common/script (root level files only)
* port common/script/fns
* port common/libs
* port common/script/ops
* port common/script/content and common/script/libs/shops.js
* misc fixes
* misc fixes
* misc fixes
* more tests fixes
* fix payments test stubbing, down to 2 failing tests
* remove more instances of lodash wrapping
* fix bug where toObject does not clone object
* fix tests
* upgrade migration or add lodash 4 note
* update shrinkwrap
* fix linting
* upgrade eslint-config-habitrpg
* update shrinkwrap
* recompile shrinkwrap
2017-03-01 17:10:48 +01:00
myoshuGO
2950713712
Fixes #8227 ( #8380 )
...
* Fixes #8227
* Fixes #8227
* Fixes #8227
2017-01-10 12:00:53 -07:00
Dumindu Karunathilaka
d8dd39422a
changed gemCost to include the amount of gems
2016-10-15 18:10:22 +05:30
Kaitlin Hipkin
5f0c1687b5
Remove unused v2 code from /website/common/script ( #8034 )
...
* remove apiv2 behavior from ops
* remove apiv2 behavior from fns
2016-09-22 21:23:46 -05:00
Blade Barringer
81b7eeeb71
Common reorg ( #8025 )
...
* Re-organize common folder
* fix: Correct paths in tests
* fix: move new content to proper folder
* chore: Move audio folder to assets
* Move sprites to sprites assets directory
* Move css sprites to assets directory
* Split out readmes for common code and sprites
* Move images to assets directory
* Move destinatin of shared browserified file
* remove unused file
* move compiled js to client-old
* Fix karma tests
* fix: Correct paths for sprites
2016-09-16 17:18:07 +02:00