Commit Graph

76 Commits

Author SHA1 Message Date
Keith Holliday b378e41f2c Tavern party challenges invites fix (#7394)
* Added challenges and invitations to party

* Loaded tavern challenges

* Updated group and quest services tests
2016-05-21 17:26:34 +02:00
Matteo Pagliazzi 1b48ff4b8f v3 fix client tests for unlinking 2016-05-17 17:02:36 +02:00
Keith Holliday bc44fa062e Api v3 challenge fixes (#7287)
* Fixed join/leave button updates

* Queried only user groups to be available when creating challenges

* Fixed bulk add tasks to challenge

* Synced challenge tasks after leave and join.

* Fixed default selected group

* Fixed challenge member info. Fixed challenge winner selection

* Fixed deleting challenge tasks

* Fixed particiapting filter

* Fixed viewing user progress on challenge

* Updated tests

* Added delete for saved challenge task
2016-05-16 21:49:22 +02:00
Keith Holliday 1fd7df7521 Api v3 fixes continued (#7205)
* Added timzeone offset back

* Added APIToken back to settings page

* Fixed fetch recent messages for party

* Fixed returning group description

* Fixed check if user is member of challenge

* Fixed party members appearing in header

* Updated get myGroups param to include public groups. Fixed isMemberOf group

* Fixed hourglass purchase

* Fixed challenge addding tasks on first creating

* Updated tests to accomidate new changes
2016-05-13 23:36:25 +02:00
Matteo Pagliazzi cc20812674 [API v3] Fix calls to user.ops and deleting tags (#7204)
* v3: fixes calls to user.ops from views and deleting tags

* v3: fix tests that use user._statsComputed
2016-05-13 19:45:16 +02:00
Keith Holliday ca6dca5fd0 Fixed test broken by part sync change (#7195) 2016-05-12 19:55:34 +02:00
Keith Holliday 4e41028ddd Fixed more tests 2016-05-10 15:15:55 -05:00
Keith Holliday 632a1ebbf3 Fixed linting and some tests 2016-05-10 15:15:55 -05:00
Keith Holliday 9146e4601e Added tags service (#7176) 2016-05-10 16:27:36 +02:00
Matteo Pagliazzi 34251ca7fc Merge branch 'api-v3-client-tests' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-client-tests2 2016-05-08 16:59:15 +02:00
Keith Holliday 4c37417bd4 Updated task service to use api v3 (#7136)
* Updated task service to use api v3

* Add user.ops functions back

* Removed extra parameter
2016-05-08 16:52:43 +02:00
Keith Holliday fd244ac021 Turned on client side tests. Fixed broken tests 2016-05-05 23:36:17 -05:00
Keith Holliday 78a8eea79a Updated quest service to use new api-v3 (#7126)
* Updated quest service to use new api-v3

* Updated inviteToQuest function name. Used quest return rather than syncing party
2016-05-03 17:16:30 +02:00
Matteo Pagliazzi 3437744f62 Merge branch 'api-v3' into api-v3-client 2016-04-30 16:51:15 +02:00
Keith Holliday 415418f30c Api v3 members port (#7109)
* Ported groups service to user new api v3 and ported dependent controllers

* Remove  and extra remove inviation code. Fixed group service caching and update group service tests

* Fixed test logic and added party cache support

* Updated members service to use api v3

* Removed onlys

* Added invites to group detail

* Removed old user reject invite code
2016-04-30 10:54:25 +02:00
Keith Holliday 570d5c7fd9 Updated challenge service to user apiv3 and update challenge ctrl (#7111)
* Updated challenge service to user apiv3 and update challenge ctrl

* Removed extra code. Added challenge update. Fixed group qurey
2016-04-27 16:11:06 +02:00
Keith Holliday 2619b34c65 Updated chat service to use api v3 (#7113)
* Updated chat service to use api v3

* Removed , added back User functions, added todo
2016-04-27 15:59:10 +02:00
Blade Barringer e7315253dd feat: Switch out js-emoji for habtiica-markdown 2016-04-26 08:19:47 -05:00
Keith Holliday ea490c9a1f Ported groups service to user new api v3 and ported dependent controllers (#7108)
* Ported groups service to user new api v3 and ported dependent controllers

* Remove  and extra remove inviation code. Fixed group service caching and update group service tests

* Fixed test logic and added party cache support

* Added promise rejections and updated http interceptor
2016-04-25 23:11:23 +02:00
Ricardo Mendes c462e65942 typo 2015-10-04 13:34:51 +01:00
Sabe Jones 389b5b370a feat(pets): Magic Hatching Potions WIP 2015-09-21 17:12:23 -04:00
Blade Barringer 78fe1073d4 Add user sync to sendAction 2015-09-15 16:39:08 -05:00
Blade Barringer b32e521c56 Pull in client side changes for quest routes 2015-09-15 09:35:17 -05:00
Blade Barringer a0040d736f Merge branch 'develop' into sabrecat/party-page 2015-08-28 23:06:00 -05:00
Sabe Jones 8d713a53c4 feat(tutorial): Splash screen overhaul complete 2015-08-28 13:58:30 -04:00
Blade Barringer af20986fbc Simplify qroup service quest functions 2015-08-24 08:06:34 -05:00
Blade Barringer fbd4490dbc Fix sinon assertions 2015-08-24 07:46:37 -05:00
Blade Barringer bc24fa8130 Add front end button to leave quest 2015-08-23 22:38:55 -05:00
Blade Barringer 25d52bccc5 Use new newUser specHelper syntax 2015-08-15 00:08:41 -05:00
Blade Barringer b1b4522b4b Fix test 2015-08-13 19:40:25 -05:00
Blade Barringer ceec310e5f Use human readable name 2015-08-12 22:16:30 -05:00
Blade Barringer 9a27b2e8cb Add task numbers to analytics 2015-08-12 21:47:04 -05:00
Sabe Jones f6bbae3beb fix(analytics): Bad comparison
Corrects an error caught via test, where the check for intro tour completion would always fail. Also tweaks the updateUser behavior to save an explicit false if tour completion data is not found, including a test for that behavior.
2015-07-27 15:13:59 -05:00
Sabe Jones 9d7a2a1c24 feat(analytics): Party properties
Adds tracking of the user's party ID and size as user-level analytics properties.
2015-07-27 14:25:11 -05:00
Blade Barringer 791e2f0c16 Add method to get user balance in gems 2015-07-24 17:30:38 -05:00
Blade Barringer 2695419182 Use better beastMaster / mountMaster counts 2015-07-19 21:51:30 -05:00
Blade Barringer 3643d11d97 Refactor pet and mount count into one method 2015-07-19 20:56:14 -05:00
Blade Barringer aee37b2a0e Swap out pet and mount count with stat calc functions 2015-07-19 20:40:15 -05:00
Blade Barringer 89bfc83b95 Organize stat functions alphabetically 2015-07-19 20:19:16 -05:00
Blade Barringer 53fb0ec8b0 Add display experience function 2015-07-18 16:00:07 -05:00
Blade Barringer f1453d30c4 Add gold display function 2015-07-18 16:00:07 -05:00
Blade Barringer 2eb62de056 Add mpdisplay function 2015-07-18 16:00:07 -05:00
Blade Barringer 17ef7e2885 Add hpDisplay function 2015-07-18 16:00:06 -05:00
Blade Barringer f9304bd28f Move stat calc scripts to angular service 2015-07-18 16:00:06 -05:00
Blade Barringer a9757c9dbb Refactor member service; Remove logic in functions that were never used 2015-07-18 16:00:03 -05:00
Sabe Jones 4a54363966 fix(quests): Show info modal for Gold quests 2015-07-15 14:02:49 -05:00
Blade Barringer 435d33724b Set test to listen on rootScope.openModal 2015-07-14 18:32:50 -05:00
Sabe Jones 5e0d754553 fix(test): Inject Content 2015-07-14 14:55:13 -05:00
Sabe Jones 79b3597693 fix(tests): Buy specific quest keys 2015-07-14 14:27:25 -05:00
Sabe Jones af5b7d4d24 fix(test): Partial tests fix 2015-07-14 14:24:11 -05:00