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
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
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
4afad11067
Merge branch 'api-v3' into api-v3-groups
2016-01-13 18:41:27 +01:00
Matteo Pagliazzi
771bc0c5b5
put back acceptablePUTPaths variable deleted in merge
2016-01-13 18:41:09 +01:00
Matteo Pagliazzi
e2edb974d7
Merge branch 'api-v3' into api-v3-groups
2016-01-13 18:40:04 +01:00
Matteo Pagliazzi
914b2eb008
Merge branch 'develop' into api-v3
2016-01-13 18:39:44 +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
Alys
fc01104a0d
change habitrpg to habitica for PayPal subscription config
2016-01-14 03:08:16 +10:00
Matteo Pagliazzi
f83b271b30
rever new history preening
2016-01-13 11:07:52 +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
Matteo Pagliazzi
5244702e48
perf improvements for challenges history and migration
2016-01-11 18:29:39 +01:00
Matteo Pagliazzi
b1a7e44722
fixes for new history preening, allow only 1 history entry per day in challenges tasks
2016-01-09 21:02:40 +01:00
Matteo Pagliazzi
ae852f9a2e
complete preening and enable for challenges too
2016-01-08 17:47:08 +01:00
Matteo Pagliazzi
f235010536
add getChallenge route and remove old code
2016-01-06 22:29:47 +01:00
Matteo Pagliazzi
8ba486ec12
change tasks routes to /tasks/(user|challenge)
2016-01-06 18:40:11 +01:00
Matteo Pagliazzi
a5b1dfd32d
finish implementing tasks syncing for challenges
2016-01-05 20:19:55 +01:00
Matteo Pagliazzi
3bc8945bcc
adapt current tests and change urls to avoid conflicts
2016-01-04 22:03:21 +01:00
Matteo Pagliazzi
6680853078
finish adding challenges support for tasks (except syncing)
2016-01-04 20:48:48 +01:00
Matteo Pagliazzi
b73f5a8f40
add support for getting single challenges tasks
2016-01-04 19:57:20 +01:00
Matteo Pagliazzi
d25cb70f66
wip get and create tasks plus initial user syncing
2016-01-04 19:44:39 +01:00
Blade Barringer
874f319d95
fix: Corrects logic where it was possible to customize avatar
...
with gem purchasable items without purchasing them.
Closes #6427
Closes #6448
lint(common): Add unnecessary quotes to make object look less weird
2016-01-03 10:41:44 -06:00
Kristian Tashkov
5bcce0b86b
Add tests for group join route
2016-01-03 18:09:17 +02:00
Matteo Pagliazzi
743f98d67d
make sure user.tasksOrder is update only when necessary
2016-01-02 17:46:31 +01:00
Matteo Pagliazzi
775766b30f
allow multiple tasks to be created at once
2016-01-02 15:43:33 +01:00
Kristian Tashkov
7025bbfa32
Fix basilist scroll giving logic when joining party
...
closes #6416
2015-12-31 12:32:52 -06:00
Matteo Pagliazzi
aebe2fa400
finish porting to async/away syntax
2015-12-31 11:46:21 +01:00