Commit Graph

33 Commits

Author SHA1 Message Date
Keith Holliday
461eb96d45 Added get group challenges route and initial tests 2016-01-30 13:46:01 -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
Matteo Pagliazzi
59f5a80af7 improve access control for challenges 2016-01-24 12:52:59 +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
b0caf71641 fix several busg with tasks and challenges 2016-01-15 18:54:28 +01:00
Matteo Pagliazzi
50a85337a7 better access control for challenges 2016-01-15 15:29:50 +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
45aacc1e6f challenge.group -> challenge.groupId 2016-01-12 19:43:41 +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
f235010536 add getChallenge route and remove old code 2016-01-06 22:29:47 +01:00
Matteo Pagliazzi
aebe2fa400 finish porting to async/away syntax 2015-12-31 11:46:21 +01:00
Matteo Pagliazzi
6003dad24b misc fixes, port challenge task scoring, delete chal and select winner 2015-12-29 20:57:20 +01:00
Matteo Pagliazzi
ceb20742dc fix an import 2015-12-28 12:21:15 +01:00
Matteo Pagliazzi
488685ceff typo 2015-12-28 12:15:28 +01:00
Matteo Pagliazzi
ba0fb884dd port create challenge 2015-12-28 12:14:56 +01:00
Matteo Pagliazzi
01e2bb56df port getChallenges 2015-12-28 11:18:58 +01:00