habitica/test/api/v3/integration
Alys eb2d320d1f allow challenge leader/owner to view/join/modify challenge in private group they've left - fixes #9753 (#10606)
* rename hasAccess to canJoin for challenges

This is so the function won't be used accidentally for other
purposes, since hasAccess could be misinterpretted.

* add isLeader function for challenges

* allow challenge leader to join/modify/end challenge when they're not in the private group it's in

* delete duplicate test

* clarify title of existing tests

* add tests and adjust existing tests to reduce privileges of test users

* fix lint errors

* remove pointless isLeader check (it's checked in canJoin)
2018-09-09 11:53:59 +02:00
..
challenges allow challenge leader/owner to view/join/modify challenge in private group they've left - fixes #9753 (#10606) 2018-09-09 11:53:59 +02:00
chat Revert mute date (#10602) 2018-08-16 11:28:03 -05:00
content API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
coupons API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
dataexport fix xml export (#10505) 2018-07-12 15:49:22 -05:00
debug API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
emails API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
groups Mana bar no longer shown on profile if user has opted out of class system (#10560) 2018-07-30 16:05:00 +02:00
hall API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
inbox New inbox client (#10644) 2018-08-30 14:50:03 -05:00
members New inbox client (#10644) 2018-08-30 14:50:03 -05:00
models apiDoc: meta (#8167) 2017-01-13 14:06:46 -07:00
news API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
notifications prevent multiple notifications (#10524) 2018-07-30 16:11:56 +02:00
payments fix stripe sub cancellation test 2018-08-22 14:36:20 +02:00
qrcodes API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
quests API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
shops Node 8 (WIP) (#9946) 2018-03-15 19:59:36 +01:00
status API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
tags fix: correct api tag tests to not rely on default tags 2016-09-07 12:55:07 -05:00
tasks Group Tasks Shared Completion (#10515) 2018-07-20 12:29:44 -05:00
user New inbox client (#10644) 2018-08-30 14:50:03 -05:00
webhook moving developer-only strings to api/common messages (#10258) 2018-05-04 16:00:19 -05:00
world-state API v4 (WIP) (#10453) 2018-06-18 14:40:25 +02:00
notFound.test.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00