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
Matteo Pagliazzi
6088b6da42
fix edge case where res.respond would not work, misc comments
2016-01-13 18:35:29 +01:00
Matteo Pagliazzi
7c15472fab
wip on members controllers
2016-01-13 18:29:02 +01:00
Matteo Pagliazzi
45aacc1e6f
challenge.group -> challenge.groupId
2016-01-12 19:43:41 +01:00
Matteo Pagliazzi
12705932e3
abstract common logic in members controller
2016-01-12 18:00:03 +01:00
Matteo Pagliazzi
55db0a4a4b
add routes to get a single user, get members for a group, get members invited to a group
2016-01-12 17:27:06 +01: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
fffa95ca09
refactor: Test against party not being private, instead of public
2016-01-12 08:11:19 -06:00
Keith Holliday
ffbd4696e3
Converted posts tests to async/await syntax and updated tests
2016-01-11 12:35:46 -06:00