Commit Graph

426 Commits

Author SHA1 Message Date
Blade Barringer 707170ec7e feat(api-v3): Add failure conditions for quest invite route 2016-01-30 13:35:46 -06:00
Matteo Pagliazzi 0972d32d03 improve _closeChal to run some ops immediately 2016-01-29 20:05:06 +01:00
Matteo Pagliazzi 9c5683c45c Merge pull request #6611 from KristianTashkov/challenge-delete-tests
Add challenge delete tests
2016-01-29 19:22:00 +01:00
Matteo Pagliazzi 340e918def Merge pull request #6600 from KristianTashkov/challenge-winner-tests
Challenge select winner route tests
2016-01-29 19:21:52 +01:00
Kristian Tashkov 2c378bf2f2 Add challenge delete tests 2016-01-28 23:22:35 +02:00
Kristian Tashkov c52064b3df Add challenge select winner test for broken and winner flags of challenge tasks 2016-01-28 23:08:22 +02:00
Matteo Pagliazzi 1369327c44 requester should resolve response.text if response is not json, better tests for csv export 2016-01-28 11:30:53 +01:00
Kristian Tashkov 6dce552140 Challenge select winner route tests 2016-01-28 00:05:16 +02:00
Matteo Pagliazzi 6d38caf78b tests for challengeExportCsv 2016-01-27 20:52:47 +01:00
Matteo Pagliazzi 4518d3693c add exportChallengeCsv route (missing tests) 2016-01-27 20:28:54 +01:00
Matteo Pagliazzi 2cd8d202b5 Merge pull request #6595 from HabitRPG/api-v3-groups-update-challenge
[Api v3] Update challenge
2016-01-27 12:32:34 +01:00
Matteo Pagliazzi f16b605c37 add update challenge with tests 2016-01-27 12:22:24 +01:00
KristianTashkov 995148cbfb Make challenge leave route return empty object on success 2016-01-27 11:37:52 +02:00
Kristian Tashkov 13b12830da Challenge leave route and tests 2016-01-27 09:34:54 +02:00
Blade Barringer e5f1c44a3e feat: Add removeFromArray function 2016-01-25 18:08:01 -06: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 d5751837ed add clearCompletedTodos route with tests, add test for getting completed todos, misc fixes 2016-01-25 17:23:01 +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 59f5a80af7 improve access control for challenges 2016-01-24 12:52:59 +01:00
Matteo Pagliazzi 198d2e6ab5 misc fixes and run gulp lint when testing 2016-01-24 12:38:20 +01:00
Matteo Pagliazzi e8c2d16f2c Merge branch 'api-v3-groups-chat-clear-flags' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-groups-chat-clear-flagss 2016-01-24 12:27:23 +01:00
Matteo Pagliazzi 9e1f23edbd Merge branch 'api-v3-chat-delete' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-chat-delete 2016-01-24 12:23:51 +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
Matteo Pagliazzi c5d731aa80 Merge pull request #6563 from TheHollidayInn/api-v3-get-group-tests
Added initial get group tests
2016-01-24 12:12:28 +01:00
Keith Holliday e8c13d3117 Added initial clear chat flags tests 2016-01-23 23:11:57 -06:00
Keith Holliday c498eef21c Added initial chat delete tests 2016-01-23 23:09:22 -06:00
Keith Holliday 9405d4b054 Fixed send message and added intiial seen chat tests 2016-01-23 14:32:24 -06:00
Keith Holliday 2063070f18 Added group toJSON conversion and fixed syntax errors 2016-01-23 13:42:01 -06:00
Keith Holliday ab5fc1f526 Added initial get group tests 2016-01-23 13:42:00 -06: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
Matteo Pagliazzi ee854229c7 fix dateCompleted not remove from un-completed todos and fix tasks test 2016-01-18 15:01:46 +01:00
Kristian Tashkov f37b5a7fac Challenges join route and tests 2016-01-17 15:44:15 -06:00
Keith Holliday 417d754a0d Added intial group remove member tests 2016-01-17 14:02:17 -06:00
Matteo Pagliazzi ec7ed9c90e add tests for getChallengeMemberProgress route and several bug fixes 2016-01-17 18:31:03 +01:00
Matteo Pagliazzi 8de8ca7e18 add getChallengeMemberProgress route and misc fixes 2016-01-17 12:01:57 +01:00
Matteo Pagliazzi f447af19ae add tests for getting challenge members and fix a lot of bugs 2016-01-16 16:18:06 +01:00
Matteo Pagliazzi d7d63ad229 populate group.leader 2016-01-16 15:10:18 +01:00
Matteo Pagliazzi ad41037f59 finish tests for members controller 2016-01-15 21:47:20 +01:00
Matteo Pagliazzi 2ee75c1ad3 add tests for getMember 2016-01-15 19:44:45 +01:00
Matteo Pagliazzi b0caf71641 fix several busg with tasks and challenges 2016-01-15 18:54:28 +01:00
Matteo Pagliazzi 3eb9d4b098 members controller: support challenges 2016-01-15 15:30:13 +01:00
Matteo Pagliazzi 50a85337a7 better access control for challenges 2016-01-15 15:29:50 +01:00
Matteo Pagliazzi e0b10d44ca Merge branch 'api-v3-groups' into api-v3-members 2016-01-15 11:22:11 +01:00
Matteo Pagliazzi 7d5a7503cb fix access to user.tasksOrder 2016-01-14 20:55:13 +01:00
Matteo Pagliazzi 5206469e90 add unlinkTask route and refactor user.unlink (now user.unlinkChallengesTasks) 2016-01-14 19:46:43 +01:00
Matteo Pagliazzi 2b9aa11598 Merge branch 'api-v3-groups' into api-v3-challenges-tasks 2016-01-14 18:25:59 +01:00
Matteo Pagliazzi 9a908785c1 new history preening, save tasks after cron 2016-01-13 23:07:08 +01:00
Matteo Pagliazzi 6f6d4edcec Merge branch 'api-v3-groups' into api-v3-members 2016-01-13 18:41:53 +01:00