Matteo Pagliazzi
3d5630d5a2
chore: update sub-deps and fix lint
2020-07-01 18:20:18 +02:00
Matteo Pagliazzi
39427a75db
To-Dos -> To Do's ( #12290 )
...
* To-Dos -> To Do's
* To-Do -> To Do
2020-06-17 17:33:30 +02:00
Matteo Pagliazzi
692d02984b
unlock: fix unlocking hair items
2020-06-09 22:13:22 +02:00
Matteo Pagliazzi
4c653aa511
unlock: minor fixes and increase tests coverage
2020-06-03 17:56:06 +02:00
Matteo Pagliazzi
0896837528
working code and original tests pass
2020-06-02 23:58:48 +02:00
Matteo Pagliazzi
44ded945dd
Merge branch 'develop' into unlock-fixes
2020-05-25 19:00:56 +02:00
Frank Maximus
ea44af0929
buyMysterySet records every item in Amplitude. ( #12197 )
...
* buyMysterySet records every item in Amplitude.
Record only the mysterySet
Fixes : #11705
* buyMysterySet records every item in Amplitude.
Extend unit test
Fixes : #11705
2020-05-19 16:39:48 +02:00
Matteo Pagliazzi
ebd22296df
wip
2020-05-07 16:15:11 +02:00
Matteo Pagliazzi
613895e294
Merge branch 'develop' into unlock-fixes
2020-05-06 11:49:28 +02:00
Sabe Jones
446122d7b8
To-Do cron task decay fixes ( #12072 )
...
* fix(tasks): improve some cron behaviors
Fixes #6488
Fixes #8590
* add test
Co-authored-by: Matteo Pagliazzi <matteopagliazzi@gmail.com >
2020-05-05 18:52:44 +02:00
Matteo Pagliazzi
ca4efa21cf
Reset should unassign Stat Points
...
Squashed commit of the following:
commit c3c2c364118a90f893ea7fca0a943ea64299234a
Author: Matteo Pagliazzi <matteopagliazzi@gmail.com >
Date: Sun May 3 22:36:57 2020 +0200
increase timeout to 100ms to allow a correct route change before reload
commit 5fd85345ce4a1d3684ca991db7f666803c899e63
Merge: a73b5c942b 33331554d3
Author: Matteo Pagliazzi <matteopagliazzi@gmail.com >
Date: Sun May 3 22:35:33 2020 +0200
Merge branch 'develop' of https://github.com/PitiTheGrey/habitica into PitiTheGrey-develop
commit 33331554d3
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Sun May 3 22:14:33 2020 +0200
Order fixed.
Rekord after reset
commit 3374ed29db
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Sun May 3 22:01:07 2020 +0200
Return to page then reset
commit a73b5c942b577dd357ce76380a0102c6823f66c1
Merge: 888f2c8217 0887141ec4
Author: Matteo Pagliazzi <matteopagliazzi@gmail.com >
Date: Sun May 3 21:44:16 2020 +0200
Merge branch 'develop' of https://github.com/PitiTheGrey/habitica into PitiTheGrey-develop
commit 0887141ec4
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Sun May 3 20:42:50 2020 +0200
Remove 2nd try (sorry)
commit e5534a7cba
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Sun May 3 20:14:49 2020 +0200
removed unnecessary lines of code
commit 888f2c8217611d367bee912b63d4cc3f4def59bb
Merge: aeba14f2e9 e5c5f7f1d0
Author: Matteo Pagliazzi <matteopagliazzi@gmail.com >
Date: Sun May 3 19:43:02 2020 +0200
Merge branch 'develop' of https://github.com/PitiTheGrey/habitica into PitiTheGrey-develop
commit e5c5f7f1d0
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Sat May 2 14:54:14 2020 +0200
Page reload after reset button pressed
commit 1c7385f774
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Tue Apr 28 22:23:59 2020 +0200
Update reset.js
commit 6a8ad34aa6
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Tue Apr 28 22:15:08 2020 +0200
Update reset.js
Resets int, con, per, str to 0
and Points to 1
commit ba6de48ee3
Author: PitiTheGrey <35431804+PitiTheGrey@users.noreply.github.com >
Date: Tue Apr 28 22:10:16 2020 +0200
Update reset.js
Test if habitica/Website/common/script/ops/reset.js resets
int, con, per, str to 0
and Points to 1.
2020-05-03 22:37:34 +02:00
Alys
aeba14f2e9
update API's monthly Gem cap messages to use the friendly website version ( #12150 )
...
* allow subscribers to buy their final monthly gem
* replace old montly Gem cap messages with friendlier new ones
2020-05-02 21:49:38 +02:00
Matteo Pagliazzi
26437e7e2e
wip: valid unlocked sets
2020-04-24 19:01:03 +02:00
Bart Enkelaar
dc9800d88a
Don't bill (subtract gems) multiple times for multiple unlock item set calls ( #12116 )
...
* Issue 11050 - Small tuneups to unlock.js
- Use includes i.o. indexOf
- Extract small function for object setting duplication
- Use every instead of custom counter
* Issue 11050 - Properly store purchased items when purchasing them
* Issue 11050 - Couple more tuneups in unlock.js and implemented partial failure scenario
* Issue 11050 - Fix last lint issue
* Issue 11050 - Check path for gear i.o. failing to write it to purchased
* Issue 11050 - Guarantee variation coverage in tests
* Issue 11050 - Use startsWith instead of includes for background check
* Issue 11050 - Don't unlock lost items
2020-04-24 16:16:34 +02:00
Jack Somers
6d6adfd919
Fixes #11119 : Added check for wacky pet before feeding ( #12106 )
...
* Added check for wacky pet before feeding
* added test for feeding wacky pets
* Fixed typo in test for feeding wacky pets
Co-authored-by: Jack Somers <somersjw9@gmail.com >
2020-04-20 22:17:42 +02:00
Sabe Jones
bb9912de89
fix(analytics): problems
2020-03-30 15:38:41 -05:00
Denys Dorokhov
25e72ad907
Reward with negative cost can no longer be created, fixes #11855 ( #11870 )
...
* Minor refactoring in scoreTask.js
* Reward value validation added (should be >= 0)
2020-03-24 12:10:10 +01:00
Sabe Jones
bd8e67a2ea
Adventure Guide Prep ( #11883 )
...
* WIP(adventure): prereqs
* WIP(drops): new modal
* WIP(adventure): analytics fixes etc
* feat(adventure): random egg+potion on 2nd task
* fix(lint): noworkies
* fix(modal): correctly construct classes
* fix(tests): expectations and escape
* fix(first-drops): address comments
* fix(first-drops): don't give random drops until first drops
* fix(drops): remove more Level 3 references
* refactor(drops): no need for cloning
* refactor(drops): unnecessary export
* fix(first-drops): force sync
* fix(first-drops): move to server
* fix(first-drops): escape in case we get here with >0 items
* fix(lint): line length
* fix(pet-food): remove unused string
2020-03-07 13:03:13 -06:00
Alec Brickner
966bcf8010
Ensure first-time purchases are synced ( #11915 )
...
* Ensure first-time purchases are synced
* whitespace commit to trigger tests
* Undo whitespace commit
* more whitespace
* remove the whitespace
2020-03-02 21:34:23 +01:00
agentx999
bad148148c
Enchanted Armoire immediately updates XP stat in header ( fixes #11827 ) ( #11884 )
...
* sync user if Armoire gives XP
* user can level up from Armoire
* remove XP amount from Armoire XP notification
2020-02-24 22:19:48 +01:00
Phillip Thelen
0b57c0a22d
Unify behaviour for shops ( #11829 )
...
* Change price for basilist and dustbunnies
* return correct unlockCondition for moon quests
* Fix basilist not being buyable
2020-02-20 13:24:43 -06:00
Sabe Jones
ee9eb3f78a
Merge branch 'release' into sabrecat/timetrav-bgs
2020-01-21 14:58:51 -06:00
Sabe Jones
0fd3e42fb2
fix(timetrav): pinning, mobile order
2020-01-16 10:06:36 -06:00
Matteo Pagliazzi
e4ba2bfc7e
Merge pull request #11637 from Xaz16/trigger-vue-reactivity-for-user
...
Trigger vue reactivity for user
2020-01-14 13:00:07 +01:00
Sabe Jones
e8edc9669a
WIP(timetrav): buy BG with Hourglass
2020-01-03 12:50:13 -06:00
Xaz16
4b4cc61031
Fix: remove unnecessary reassignments
2019-12-26 22:47:14 +03:00
Yo
04a9c97393
Fix Typos ( #11644 )
...
* Fix Typos
* Fix More Typos
2019-12-23 17:52:55 +01:00
Matteo Pagliazzi
8f5a0cfe79
Onboarding guide and initial achievements refactoring ( #11536 )
...
* add achievements to user
* add placeholder strings
* add to achievements to common script
* add onboarding achievements category
* add notifications
* more notifications
* award achievements
* wip notification panel
* add achievements icons and copy
* do not count onboarding tasks for the created task achievement
* add notes
* sprites, fixes and completion status and reward
* add onboarding panel
* add toggle
* fix toggle size
* fix tests
* fix typo
* add notification
* start adding modal
* fix remove button positionin, timeout, progress bar
* modal + fixes
* disable broken social links from level up modal
* change toggle icon color on hover
* add border bottom to onboarding guide panel
* add collapse animation
* expanded onboarding on first open
* onboarding: flip toggle colors
* onboarding: show progress bar all the time
* onboarding: fix panel closing on click
* onboarding modal: add close icon and fix padding
* wip: add migration for existing users
* fix titles in guide
* fix achievements copy
* do not award completed task achievement when direction is down
* start implementing new achievements
* start migrating client
* remove social links from achievements modals
* prevent skipping tutorial + fix achievement notification
* sync fixes
* start redesign achievement modal
* misc fixes to achievements, polish generic achievement modal and hatched pet modal
* add special badge for onboarding
* fix badge condition
* modals fixes
* hatched pet modal: add close icon
* fix badge typo
* fix justin button
* new scrolling behavior for dropdowns
* fix strings capitalization
* add common tests
* add api unit tests
* add date check
* achievements modal polishing
* typos
* add toggle for achievements categories
* typo
* fix test
* fix edit avatar modal cannot be closed
* finish migration and correct launch date
* fix migration
* migration fixes
* fix tests
2019-12-16 17:20:47 +01:00
Xaz16
2c0da084ea
Fix: reassign object for user.items.quest to trigger change in vue view
2019-12-15 22:18:26 +03:00
Xaz16
6e183c3927
Fix: reassign object for user.items.food to trigger change in vue view
2019-12-15 22:14:40 +03:00
Xaz16
0f755ab80d
Fix: reassign object for user.items.hatchingPotions to trigger change in vue view
2019-12-15 22:09:07 +03:00
Xaz16
8b780eaf0d
Fix: pet tests
2019-12-15 22:00:34 +03:00
Xaz16
dec0488b08
Fix: reassign object for user.items.mounts to trigger change in vue view
2019-12-15 20:26:53 +03:00
Xaz16
aea02d735e
Fix: reassign object for user.items.eggs to trigger change in vue view
2019-12-15 20:22:47 +03:00
Xaz16
3e476c4f52
Fix: reassign object for items.pets to trigger change in vue view
2019-12-15 20:05:11 +03:00
Xaz16
9cbdf0df42
Fix: reassign object for user.items.gear.owned to trigger change in vue view
2019-12-15 19:57:07 +03:00
Xaz16
60a12e8090
after merge
2019-10-28 23:15:45 +03:00
Sabe Jones
51726d8d8e
fix(pets): correct achievement logic
2019-10-23 08:21:51 -05:00
Matteo Pagliazzi
ce4729f069
fixes and start client
2019-10-10 22:15:58 +02:00
Matteo Pagliazzi
415f28995d
restore for...of
2019-10-09 20:19:31 +02:00
Matteo Pagliazzi
e0e9811ab6
lint common
2019-10-09 20:08:36 +02:00
Matteo Pagliazzi
0c27fb24a5
start fixing commong
2019-10-09 16:51:17 +02:00
Matteo Pagliazzi
621787915c
start upgrading eslint
2019-10-08 16:57:10 +02:00
Matteo Pagliazzi
90c917f69e
fix duplicates in code
2019-10-08 15:05:48 +02:00
Matteo Pagliazzi
90f732f545
Revert "Revert "Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API ( #11353 )" ( #11406 )"
...
This reverts commit 50cae0165c .
2019-10-07 16:55:55 +02:00
Matteo Pagliazzi
50cae0165c
Revert "Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API ( #11353 )" ( #11406 )
...
This reverts commit 5b57d91a9b .
2019-10-07 16:55:44 +02:00
Aleksey
5b57d91a9b
Fix: Antidotes to Avatar Transformation Items should be added to Rewards by API ( #11353 )
...
* Fix: moved debuffPotions from vue component
- Move logic of choosing proper debuf potion from vue component to website commons
- introduce new function to get debuffSpellItems
* Fix: move debuffPotions to server
* Refactoring: move setting of debuff potion to func
* Fix: sanity
* Refactoring & Tests:
- Create test case for get and set DebuffPotionItems functions
- Fix setDebuffPotionItems function to not create duplicated debuff items
- Make debuff potion type of items unpinnable
- Move list of debuffs to constant to reuse it in tests and functions
* Fix: typo in test describe
* Fix: translation of unpin
* Fix: setDebuffPotionItems on cron buffs reset
* Fix: use full path for debuff potions
2019-10-06 18:41:39 +02:00
cheng-shiqi
ca7399f6c1
Repair negative quest scrolls on (gem)purchase ( #11399 )
...
* Fix: Reset negative quest scrolls number to zero on purchase(gem)
* Refactor: rename website/common/script/ops/buy/buyQuest.js to website/common/script/ops/buy/buyQuestGold.js and update related files
* Test: add two tests related to negative quest scrolls
2019-10-06 17:06:02 +02:00
Matteo Pagliazzi
17c7a2bad1
fix common tests
2019-10-03 16:27:44 +02:00
Matteo Pagliazzi
cca5b8492b
fix exports
2019-10-01 17:53:48 +02:00