Commit Graph

49 Commits

Author SHA1 Message Date
Matteo Pagliazzi 1112d93b15 Merge pull request #6907 from HabitRPG/sabrecat/server-party-cheevos
[v3] Add Party Up / Party On achievements to server in V3
2016-03-27 20:53:15 +02:00
Sabe Jones 861a32f72a feat(achievements): move party cheevos to server 2016-03-27 14:51:39 -04:00
Keith Holliday da08b6c814 Removed group query from route 2016-03-22 16:10:17 -05:00
Keith Holliday a8e4455124 Added group reject invite route and initial tests 2016-03-21 15:42:38 -05:00
Matteo Pagliazzi 5e68589ac8 check for membership when leaving public guild, fix memberCount update when leaving group, add missing files 2016-02-28 01:11:45 +01:00
Matteo Pagliazzi 84810ae758 Merge pull request #6778 from HabitRPG/api-v3-session-invite
[API v3] Refactor session invite (no more session!)
2016-02-27 18:07:39 +01:00
Matteo Pagliazzi 9321a2d904 remove checks for emails 2016-02-27 17:58:56 +01:00
Matteo Pagliazzi 6c8da9a53a fix user schema definition and add missing schema 2016-02-27 17:46:00 +01:00
Matteo Pagliazzi b4e4e31be5 fix invitations and add missing tests 2016-02-27 12:01:00 +01:00
Matteo Pagliazzi 1daf87531a add population to join and update routes of challenges and groups, remove chat flags info everywhere 2016-02-03 11:29:19 +01:00
Matteo Pagliazzi 7a5aa731db add population to challenge.group, challenge.leader and group.leader 2016-02-02 21:47:12 +01:00
Matteo Pagliazzi f12c9d2353 fix removeMember route and tests 2016-01-26 00:20:56 +01:00
Matteo Pagliazzi b28e0629b1 add feature to invite user if he is partying solo 2016-01-25 18:17:09 +01:00
Matteo Pagliazzi 4149cbf381 check for memberCount in join group and removeMemberFromGroup test 2016-01-24 13:14:29 +01:00
Matteo Pagliazzi 490d92eb2f fix increments memberCount when joining guilds test 2016-01-24 12:59:54 +01:00
Matteo Pagliazzi df0b49f4f3 tests: check that memberCount is increased for public guilds too 2016-01-24 12:59:04 +01:00
Matteo Pagliazzi 9239ea931a Merge pull request #6513 from KristianTashkov/missing-join-group-tests
Add missing tests in group join route
2016-01-24 12:54:28 +01:00
Matteo Pagliazzi ea48194d96 Merge pull request #6543 from TheHollidayInn/api-v3-groups-remove-member
Added intial group remove member tests
2016-01-24 12:53:35 +01:00
Matteo Pagliazzi fe170a591a Merge pull request #6531 from TheHollidayInn/api-v3-group-get-groups-test
Added initial get groups tests
2016-01-24 12:13:54 +01:00
Keith Holliday ab5fc1f526 Added initial get group tests 2016-01-23 13:42:00 -06:00
Kristian Tashkov 926f22f272 Add missing tests in group join route 2016-01-20 19:52:09 +02:00
Keith Holliday ef6afaedb4 Added intitial group leave tests
Fixed test readability, updated party test, and updated challenge update code when leaving group
Updated library, added group existance check, and reset full party
Updated syntax, added new userUnlinkChallenges, and added some initial testing for challenges
Added challenge tasks tests
Added try/catch to group remove, add more party tests, fixed broken challenge test, removed useless return value
Added public guild tests, added more tests to party, and abstracted remove invitations logic

Closes #6506
2016-01-20 08:51:30 -06:00
Keith Holliday be55176954 Ensured tavern is not returned twice and removed leader population 2016-01-19 08:13:24 -06:00
Keith Holliday c5947ca9c4 Updated party test to conform to new leader populate 2016-01-17 14:20:51 -06:00
Keith Holliday 417d754a0d Added intial group remove member tests 2016-01-17 14:02:17 -06:00
Keith Holliday b60e0a4c64 Added initial get groups tests 2016-01-17 13:32:31 -06:00
Matteo Pagliazzi f8f591e521 do not use wait inside for loop 2016-01-16 16:37:21 +01:00
Matteo Pagliazzi a59da8607b add tests for getting invites to a group 2016-01-16 16:32:46 +01:00
Matteo Pagliazzi 96c523493a fix missing semicolon 2016-01-15 22:08:51 +01:00
Matteo Pagliazzi ad41037f59 finish tests for members controller 2016-01-15 21:47:20 +01:00
Blade Barringer 0f5cf318d9 fix: Update member objects with guild info in test helper 2016-01-14 12:22:56 -06:00
Blade Barringer 42530b9a5f refactor(tests): Adjust tests to use createAndPopulateGroup 2016-01-14 08:56:16 -06:00
Blade Barringer 1f4e58e5cc tests(api): Port integration helper to v3 version for groups tests 2016-01-13 12:39:23 -06:00
Keith Holliday e4fd37f3d0 Cleaned up code style and abstracted variables that are reused. 2016-01-12 13:08:13 -06:00
Keith Holliday da02f8ca0f Removed pending status on test 2016-01-12 11:48:07 -06:00
Keith Holliday 99217e865c Added initial group update tests 2016-01-12 11:44:44 -06:00
Matteo Pagliazzi b102ff7cae Merge branch 'api-v3-groups-invites' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-invites 2016-01-12 15:48:47 +01:00
Keith Holliday 1b395b39f8 Added invite limit and tests for when multiple users with an error 2016-01-12 08:43:11 -06:00
Keith Holliday 9141598a34 Updated invite route and function for new standards, and added tests. 2016-01-12 08:43:11 -06:00
Blade Barringer 36cd9e9430 tests(api): Increase test coverage for group post tests 2016-01-12 08:14:50 -06:00
Blade Barringer 88755e69ae tests(api): Simplify tests 2016-01-12 08:14:12 -06:00
Keith Holliday ffbd4696e3 Converted posts tests to async/await syntax and updated tests 2016-01-11 12:35:46 -06:00
Kristian Tashkov 5bcce0b86b Add tests for group join route 2016-01-03 18:09:17 +02:00
Kristian Tashkov 7025bbfa32 Fix basilist scroll giving logic when joining party
closes #6416
2015-12-31 12:32:52 -06:00
Blade Barringer 9428c6d997 lint: Correct linting errors in api v3 tests 2015-12-31 08:57:20 -06:00
Blade Barringer 70151fd073 lint: Fix tests that can be fixed with the eslint --fix flag 2015-12-31 08:57:20 -06:00
Blade Barringer dc3407e1af tests(api): Convert groups tests to use user['HTTP_METHOD'] syntax 2015-12-30 08:44:02 -06:00
Matteo Pagliazzi 3e87c8d3e9 fix some tests 2015-12-19 18:07:39 +01:00
Keith Holliday 33525b105f Added initial group POST tests 2015-12-18 23:43:57 -06:00