Commit Graph

629 Commits

Author SHA1 Message Date
Matteo Pagliazzi
80f791c86b add tests, move CustomError to common, fix casting 2016-03-03 00:16:28 +01:00
Matteo Pagliazzi
8920b05f9e Merge branch 'develop' of github.com:HabitRPG/habitrpg into api-v3 2016-03-02 12:59:51 +01:00
Alys
f69a29c152 improve group invitation code and tests 2016-03-02 09:26:55 +10:00
Keith Holliday
20621b940e Added better tests to ensure tasks are synced 2016-03-01 14:38:09 -06:00
Matteo Pagliazzi
e5224a7b2a add support for user._tmp, disable user.filters since it is not used 2016-02-29 23:20:13 +01:00
Matteo Pagliazzi
3512233966 add meta/models controller to get public models paths 2016-02-29 01:04:19 +01:00
Keith Holliday
6e732a67c9 Added initial challenge model tests 2016-02-28 14:44:18 -06:00
Matteo Pagliazzi
5e68589ac8 check for membership when leaving public guild, fix memberCount update when leaving group, add missing files 2016-02-28 01:11:45 +01:00
Matteo Pagliazzi
84810ae758 Merge pull request #6778 from HabitRPG/api-v3-session-invite
[API v3] Refactor session invite (no more session!)
2016-02-27 18:07:39 +01:00
Matteo Pagliazzi
9321a2d904 remove checks for emails 2016-02-27 17:58:56 +01:00
Matteo Pagliazzi
6c8da9a53a fix user schema definition and add missing schema 2016-02-27 17:46:00 +01:00
Matteo Pagliazzi
b4e4e31be5 fix invitations and add missing tests 2016-02-27 12:01:00 +01:00
Matteo Pagliazzi
0014afb75e add tests for req.query.groupInvite 2016-02-26 19:43:17 +01:00
Matteo Pagliazzi
2b8846b803 Merge pull request #6748 from TheHollidayInn/api-v3-unsubscribe
Added unsubscribe route and initial tests
2016-02-22 18:03:05 +01:00
Keith Holliday
d60ff421c9 Updated route to be named /emails/unsubscribe and other minor fixes 2016-02-22 09:03:21 -06:00
Keith Holliday
34b03934cc Added unsubscribe route and initial tests 2016-02-21 10:05:51 -06:00
Matteo Pagliazzi
62ebde3186 fix tests that require session authentication 2016-02-20 21:02:46 +01:00
Matteo Pagliazzi
2ed2fb5d06 tests for user data export 2016-02-20 10:46:11 +01:00
Matteo Pagliazzi
a6d87aaa9b add tests for /export/history.csv 2016-02-20 10:16:55 +01:00
Matteo Pagliazzi
cc31d266e4 port locals middleware, add some tests and a lot of fixes 2016-02-19 18:42:03 +01:00
Matteo Pagliazzi
d79e0f6e2e add tests for hall 2016-02-18 19:41:35 +01:00
Matteo Pagliazzi
e1b01e3853 Merge pull request #6565 from HabitRPG/sabrecat/quest-accept
WIP: Quests for API v3
2016-02-12 20:56:19 +01:00
Blade Barringer
4360f01936 feat(api-v3): Add force-start quest route 2016-02-12 08:09:16 -06:00
Matteo Pagliazzi
befdb189fc fix tests for quests routes 2016-02-11 21:09:14 +01:00
Matteo Pagliazzi
6cae147b83 Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-leave 2016-02-11 20:48:18 +01:00
Matteo Pagliazzi
e8a38a6326 Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-abort 2016-02-11 20:44:27 +01:00
Matteo Pagliazzi
84d03dc2ad Merge branch 'sabrecat/quest-accept' into TheHollidayInn-api-v3-quests-cancel 2016-02-11 20:24:16 +01:00
Matteo Pagliazzi
c79cb0efc6 update quest abort route 2016-02-11 15:32:25 +01:00
Matteo Pagliazzi
096bb3f853 Merge branch 'api-v3-quests-abort' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-abort 2016-02-11 15:16:29 +01:00
Matteo Pagliazzi
ab187720a5 reject quest: test response 2016-02-11 15:14:07 +01:00
Matteo Pagliazzi
dfb6ec2f48 cancel quest: test response 2016-02-11 15:11:38 +01:00
Matteo Pagliazzi
354b6bc39e update quest leave route 2016-02-11 15:07:45 +01:00
Matteo Pagliazzi
c6c852cd6d Merge branch 'api-v3-quests-leave' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-leave 2016-02-11 14:52:09 +01:00
Matteo Pagliazzi
6c1950972b update quest cancel routes 2016-02-11 13:19:46 +01:00
Matteo Pagliazzi
3cd7e8ad5d Merge branch 'api-v3-quests-cancel' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-cancel 2016-02-11 12:54:34 +01:00
Matteo Pagliazzi
879506b38a update reject quest route 2016-02-11 12:50:28 +01:00
Matteo Pagliazzi
210a8ee11f Merge branch 'api-v3-quests-reject' of https://github.com/TheHollidayInn/habitrpg into TheHollidayInn-api-v3-quests-reject 2016-02-11 12:12:09 +01:00
Matteo Pagliazzi
a2af6c390b fix quest accept route and add tests 2016-02-10 22:27:59 +01:00
Matteo Pagliazzi
02a61e260b add tests for GET challenges/:challengeId 2016-02-10 16:10:00 +01:00
Blade Barringer
8ff4cfe709 tests: Finish start quest 2016-02-10 08:51:12 -06:00
Matteo Pagliazzi
2f3ae32a0e finalize invite to quest route and startQuest method 2016-02-08 23:30:49 +01:00
Blade Barringer
3b9c921c2f feat(api-v3): First iteration of quest invite 2016-02-05 10:26:06 -06:00
Blade Barringer
03c9c2933f feat(api-v3): finish first iteration of group.startQuest method 2016-02-05 09:29:46 -06:00
Keith Holliday
6f606df211 Added quest abort route and initial tests 2016-02-04 15:22:37 -06:00
Keith Holliday
5ca663db57 Added quest leave route and initial tests 2016-02-04 12:31:38 -06:00
Keith Holliday
442a654e94 Removed questKey from url, added quest member support, removed extra tests, and fixed analytics import 2016-02-04 12:27:51 -06:00
Keith Holliday
0684e30790 Added quest cancel route and initial tests 2016-02-03 17:04:57 -06:00
Matteo Pagliazzi
1daf87531a add population to join and update routes of challenges and groups, remove chat flags info everywhere 2016-02-03 11:29:19 +01:00
Keith Holliday
d5148a7bf0 Added quest reject route and intial tests 2016-02-02 16:38:31 -06:00
Matteo Pagliazzi
a8dc529449 adapt create challenge tests to population 2016-02-02 22:09:35 +01:00