Commit Graph

47 Commits

Author SHA1 Message Date
Matteo Pagliazzi
0be5d1da9c v3: misc fixes 2016-05-15 15:10:41 +02:00
Matteo Pagliazzi
199732539f chore(): rename website/src -> website/server and website/public -> website/client (#7199) 2016-05-13 15:35:12 +02:00
Matteo Pagliazzi
cee7700a50 switch from Q to Bluebird 2016-05-11 14:34:01 +02:00
Matteo Pagliazzi
d33564e5d4 v3 payments: port paypal 2016-05-10 17:57:55 +02:00
Matteo Pagliazzi
6568fcfd5e res.respond: allow for thrid parameter (message), refactor shared ops responses and adapt tests 2016-04-21 00:52:03 +02:00
Matteo Pagliazzi
277248b8b7 switch to standard response format in v3 2016-04-18 21:56:58 +02:00
Matteo Pagliazzi
a590a66c47 support top level controllers 2016-04-14 11:54:47 +02:00
Matteo Pagliazzi
374d11b0e4 v3 adapt v2: port chat routes and group.update 2016-04-05 12:02:00 +02:00
Matteo Pagliazzi
0a40c56973 api v3 adapt v2: correctly import dependencies, port create, get, list groups 2016-04-04 23:18:49 +02:00
Matteo Pagliazzi
58c20c2a64 v2 port: enable integration tests, port register route 2016-04-04 17:16:57 +02:00
Victor Piousbox
e6e2c26a12 shared-code-user-score-task 2016-04-01 16:11:37 +00:00
Victor Piousbox
5aacd978c6 api-v3-get-user-anonymized 2016-03-24 18:23:43 +00:00
Matteo Pagliazzi
6830a4464a Merge branch 'api-v3-email-3' of https://github.com/piousbox/habitrpg into piousbox-api-v3-email-3 2016-03-05 19:24:11 +01:00
Victor Piousbox
7dfdbb8b05 /user/update-email endpoint 2016-03-04 21:27:16 +00:00
Matteo Pagliazzi
a04bf4c045 use different i18n module for tests 2016-02-29 17:07:33 +01: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
e9ac123d0e make sure cookie is never shared among multiple test users 2016-02-20 21:14:11 +01:00
Matteo Pagliazzi
62ebde3186 fix tests that require session authentication 2016-02-20 21:02:46 +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
b6ed2f8c44 refactor: Move sleep function to seprate file 2016-02-10 08:21:36 -06:00
Matteo Pagliazzi
7a5aa731db add population to challenge.group, challenge.leader and group.leader 2016-02-02 21:47:12 +01:00
Matteo Pagliazzi
e345fa76f5 failing unit test 2016-01-29 12:07:46 +01:00
Matteo Pagliazzi
b960ecdd94 first attempt to fix fialing api-v3 tests 2016-01-29 11:13:39 +01: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
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
Blade Barringer
7b59455252 tests(api): Add generateChallenge helper 2016-01-17 13:58:46 -06:00
Blade Barringer
81e6172fb1 tests: Tighten up generateGroup members helper 2016-01-17 13:42:09 -06:00
Blade Barringer
b75adb4f3b tests(api): Pull in theunknown's changes to createAndPopulateGroup
bf6814265c
2016-01-17 13:22:39 -06:00
Blade Barringer
1e9f24a6b0 Merge branch 'api-v3' into api-v3-groups 2016-01-17 11:45:00 -06:00
Blade Barringer
5d803fde56 tests(api): Adjust v3 api-integration helper to export all generate methods 2016-01-17 11:43:31 -06:00
Blade Barringer
08381793a8 Merge branch 'develop' into api-v3 2016-01-17 11:41:49 -06:00
Blade Barringer
4a3871f52f tests(api): Add ApiChallenge class 2016-01-17 11:41:29 -06:00
Matteo Pagliazzi
c27f98075c Merge branch 'api-v3-groups' into api-v3-members 2016-01-17 11:24:10 +01:00
Blade Barringer
5de2503039 Merge branch 'develop' into api-v3 2016-01-16 21:54:13 -06:00
Blade Barringer
96f6bbfb0c tests(api): Add sync method to api objects 2016-01-16 21:50:54 -06:00
Blade Barringer
a44cf5e0fc lint: Fix linting erros in test helpers 2016-01-16 19:27:03 -06:00
Blade Barringer
5dd2dcd6d8 Merge branch 'improve_tests' into api-v3 2016-01-16 19:24:39 -06:00
Blade Barringer
87d4c68bea lint: Correct linting errors 2016-01-16 19:13:33 -06:00
Blade Barringer
07f08de989 Merge branch 'improve_tests' into api-v3 2016-01-16 18:12:36 -06:00
Blade Barringer
91ffe5c402 tests(api): Reorganize integration helper for v2 2016-01-16 17:28:36 -06:00
Blade Barringer
ef5064f351 Move generators to own file 2016-01-16 17:23:30 -06:00
Blade Barringer
6287ae6776 tests(api): Outsource mongo updates to mongo module in api helper 2016-01-16 14:33:53 -06:00
Blade Barringer
80224adafa tests: Extract mongo functions into separate file 2016-01-16 14:12:26 -06:00
Blade Barringer
54159c069d tests: Move api translation checkout out into separate file 2016-01-16 14:09:20 -06:00
Blade Barringer
e9f618da5e tests: Extract api objects to separate files 2016-01-16 14:06:47 -06:00