Commit graph

12947 commits

Author SHA1 Message Date
Matteo Pagliazzi
ff72706cae wip(shared): port buy ops and linked fns 2016-03-19 16:04:27 +01:00
Matteo Pagliazzi
e68ebee980 temporarily skip challenge task deletion test 2016-03-19 13:10:40 +01:00
Matteo Pagliazzi
0a906da50c Merge pull request #6918 from TheHollidayInn/api-v3-challenge-task-score-tests
Added tests for challenge task scoring and moved scoring code to model
2016-03-19 12:08:37 +01:00
Blade Barringer
e124b1a00b Merge pull request #6894 from TheHollidayInn/api-v3-development-controller
Added development controller, middleware, and initial tests
2016-03-18 16:06:10 -05:00
Keith Holliday
a3d7edd0c1 Renamed namespace to debug and added unit test for middleware 2016-03-18 14:05:14 -05:00
Keith Holliday
b46219adc5 Added tests for challenge task scoring and moved scoring code to model 2016-03-18 14:00:14 -05:00
Blade Barringer
99ff440abc Merge pull request #6896 from crookedneighbor/v3_update_user_routes
[V3] WIP - User update routes
2016-03-18 08:54:22 -05:00
Blade Barringer
75ed4080dc tests: Clean up styling of auth update tests 2016-03-18 08:42:03 -05:00
Blade Barringer
f6f5b1a118 tests: Remove dependency on mongoose User model in auth tests 2016-03-18 07:57:42 -05:00
Blade Barringer
2ef176c6f2 refactor: Move auth route tests to auth folder 2016-03-18 07:55:19 -05:00
Blade Barringer
5c3c8ebb74 refactor: Move auth update routes from user to auth controller 2016-03-18 07:35:29 -05:00
Blade Barringer
d1af7adff6 refactor: Update user update routes to be under auth namespace 2016-03-18 07:35:14 -05:00
Blade Barringer
22d25f8be3 fix: Change update user routes to use PUT instead of POST 2016-03-18 07:35:14 -05:00
Matteo Pagliazzi
6d14b9d5c5 move preening tests to correct location 2016-03-18 02:59:17 +01:00
Blade Barringer
e056a62af0 refactor: Setup middleware for all development routes 2016-03-17 09:24:29 -05:00
Blade Barringer
6921c1694a feat: Allow routes to not need an async handler 2016-03-17 09:24:29 -05:00
Keith Holliday
6184fb5d24 Added development controller, middleware, and initial tests 2016-03-17 09:24:29 -05:00
Matteo Pagliazzi
7c005e7c68 fix typo in tests and increase sleep time 2016-03-17 15:20:41 +01:00
Matteo Pagliazzi
3db06c6537 Merge branch 'develop' into api-v3 2016-03-15 19:23:23 +01:00
Matteo Pagliazzi
9a337ad15f Merge pull request #6888 from HabitRPG/api-v3-allocate
[Api v3] Port shared.ops.allocate
2016-03-15 19:21:00 +01:00
Matteo Pagliazzi
67ef70db0f remove constants tests 2016-03-15 19:10:00 +01:00
Matteo Pagliazzi
5b2584871e increase sleep time when testing "allows user to delete challenge task after challenge task is broken" 2016-03-15 19:07:01 +01:00
Matteo Pagliazzi
219ec01ce9 port shared.ops.allocate 2016-03-15 18:41:23 +01:00
Matteo Pagliazzi
fb6c927ce9 Merge pull request #6886 from HabitRPG/api-v3-port-sleep
[API v3] Port sleep operation from shared code
2016-03-15 17:42:26 +01:00
Matteo Pagliazzi
73cb50b01a Merge pull request #6872 from TheHollidayInn/api-v3-delete-challenge-tasks-tests
Added initial delete challenge tasks tests
2016-03-15 17:26:39 +01:00
Matteo Pagliazzi
b2b4340ee3 change response for shared.ops.sleep, save user in POST /user/sleep and add integration tests for it 2016-03-15 17:05:07 +01:00
Matteo Pagliazzi
490c6a9ae1 wip(shared): port sleep op 2016-03-15 16:33:44 +01:00
Keith Holliday
534ec07b6a Added tests to ensure challenge member can not delete active challenge task and can delete broken or unlinked challenge task 2016-03-15 10:03:48 -05:00
Matteo Pagliazzi
fdeddc8631 pin stripe to specific version 2016-03-14 18:30:10 +01:00
Blade Barringer
ed013ee34d Merge pull request #6878 from crookedneighbor/update_protractor
Update protractor
2016-03-13 22:24:59 -05:00
Blade Barringer
278b972c61 lint: Add missing semicolon to test helper 2016-03-13 22:06:09 -05:00
Blade Barringer
6ce0893edc test: unpend registration test 2016-03-13 21:56:42 -05:00
Blade Barringer
3ffb84d890 test: Reset db before running e2e tests 2016-03-13 21:56:12 -05:00
Blade Barringer
88ef920a2f fix: Update travis yaml to run protractor 3 2016-03-13 21:16:51 -05:00
Matteo Pagliazzi
f55df39fb7 Merge branch 'develop' into api-v3 2016-03-13 23:19:04 +01:00
Matteo Pagliazzi
e506864e00 Merge pull request #6877 from HabitRPG/v3-adapt-shared
Make shared code ready for API v3
2016-03-13 23:13:00 +01:00
Matteo Pagliazzi
f7c94ad854 Merge pull request #6875 from piousbox/api-v3-update-username-password-2
update username, password
2016-03-13 23:03:17 +01:00
Matteo Pagliazzi
f65a7321b7 fix common tests, explictly exclude tests from linting 2016-03-13 23:00:48 +01:00
Blade Barringer
17d2efb822 refactor: Organize protractor setup 2016-03-13 16:41:57 -05:00
Matteo Pagliazzi
70df1137a0 fix statsComputed getter 2016-03-13 22:39:14 +01:00
Matteo Pagliazzi
8e3284a4e3 wip(shared): adapt to v3 2016-03-13 22:26:32 +01:00
Victor Piousbox
0b25720232 cleanup 2016-03-13 14:01:53 -07:00
Matteo Pagliazzi
b948fc031f fix typo in common code 2016-03-13 21:12:19 +01:00
Victor Piousbox
c61b10a6eb resolve conflicts 2016-03-13 10:45:19 -07:00
Victor Piousbox
c14f0c4247 update username, password 2016-03-13 10:42:59 -07:00
Blade Barringer
0b65292e4b test: Update protractor to v3 and use mocha 2016-03-13 09:51:01 -05:00
Victor Piousbox
46322cfd38 update username, password 2016-03-12 23:32:20 -08:00
Keith Holliday
c04e53b5a5 Added initial delete challenge tasks tests 2016-03-12 21:00:43 -06:00
Matteo Pagliazzi
13a86c3858 Merge pull request #6869 from TheHollidayInn/api-v3-remove-challenge-checklist-item
Added initial test for removing challenge checklist item
2016-03-12 18:08:27 +01:00
Matteo Pagliazzi
ce916e31bd Merge pull request #6866 from TheHollidayInn/api-v3-updated-checklist-item
Added initial checklist item update tests
2016-03-12 18:07:50 +01:00