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
84b198f17f
v3 fix tests with deferred
2016-05-11 14:55:51 +02:00
Matteo Pagliazzi
cee7700a50
switch from Q to Bluebird
2016-05-11 14:34:01 +02:00
Matteo Pagliazzi
03008c0d40
Merge branch 'api-v3' into sabrecat/v3-payments
2016-05-09 23:29:38 +02:00
Keith Holliday
20f9bbf449
Corrected reset checklist logic ( #7154 )
...
* Corrected reset checklist logic
* Change cron logic to reset rather than set
* Remove extra paranthesis
2016-05-09 23:06:27 +02:00
Matteo Pagliazzi
e980b3ce0a
Merge branch 'api-v3' into sabrecat/v3-payments
2016-05-08 19:19:20 +02:00
Blade Barringer
7d41b76b2e
Merge pull request #7148 from crookedneighbor/require-again
...
feat: Add require-again to help with unit testing
2016-05-06 12:20:19 -05:00
Blade Barringer
192488cb02
feat: Add require-again to help with unit testing
2016-05-06 12:05:06 -05:00
Matteo Pagliazzi
0c38caa2f9
Merge branch 'api-v3' into sabrecat/v3-payments
2016-04-30 16:51:51 +02:00
Victor Pudeyev
a567476bb7
V3 payments 7 stripe ( #7124 )
...
* payments api: cancelSubscription
* some more tests for amazon payments
* promisifying amazon payments
* somehow payment stub is not working
* cleaning up tests
* renaming tests in api/v3/integration/payments
* improvements
* cleanup, lint
* fixes as per comments
* moment.zone() is back in.
* basic controller for stripe payments
* authWithUrl is in
* stripe cleanup
* making tests pass
* stripe bug fixes
* 400 error is right
* cleanup of sinon spy for fakeSend
* paypal payments
* lint of paypal
* require -> import
2016-04-30 16:42:10 +02:00
Victor Pudeyev
fa21577c46
V3 payments 6 ( #7104 )
...
* payments api: cancelSubscription
* some more tests for amazon payments
* promisifying amazon payments
* somehow payment stub is not working
* cleaning up tests
* renaming tests in api/v3/integration/payments
* improvements
* cleanup, lint
* fixes as per comments
* moment.zone() is back in.
2016-04-27 21:26:32 +02:00
Keith Holliday
050539d8f3
Added tests for cron ( #7081 )
...
* Added inital cron tests
* Added more subscribe tests and updated various tests for syntax and expectations
2016-04-24 00:54:50 +02:00
Victor Piousbox
cbf1a4c8d3
breaking changes promisifying amazon payments
2016-04-21 04:37:25 +00:00
Victor Piousbox
54a94db2de
working on amazon payments
2016-04-21 03:52:29 +00:00
Victor Piousbox
612e3b725f
little changes to lint
2016-04-21 00:25:43 +00:00
Victor Piousbox
f9915c3f77
recovering last weeks work on promisifying amazon payments
2016-04-21 00:07:58 +00:00
Victor Piousbox
4a45fc1c37
working on amazon payment promisification
2016-04-15 16:46:50 +00:00
Victor Piousbox
2bb36b5e04
things are broken with nconf
2016-04-15 16:46:50 +00:00
Victor Piousbox
261a5a66b1
working on promisifying amazonPayments
2016-04-15 16:46:50 +00:00
Matteo Pagliazzi
2458f92e1b
fix linting and correctly save collect quests progress
2016-04-13 20:03:26 +02:00
Matteo Pagliazzi
471657c013
fix tests that relied on different logger
2016-04-13 18:43:15 +02:00
Matteo Pagliazzi
8817f795b1
v3: expose public interface for logger and add tests
2016-04-13 18:18:00 +02:00
Keith Holliday
b46219adc5
Added tests for challenge task scoring and moved scoring code to model
2016-03-18 14:00:14 -05:00
Matteo Pagliazzi
6d14b9d5c5
move preening tests to correct location
2016-03-18 02:59:17 +01:00
Matteo Pagliazzi
8e3284a4e3
wip(shared): adapt to v3
2016-03-13 22:26:32 +01:00
Matteo Pagliazzi
96c582e062
fix tests, move most errors to shared code
2016-03-03 19:16:03 +01: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
Blade Barringer
a84e0d1a6c
Merge branch 'api-v3' into api-v3-groups
2016-01-30 10:20:04 -06:00
Kristian Tashkov
32be629878
Fix failing unit tests on windows
2016-01-27 23:07:29 +02:00
Blade Barringer
f430b6ff6f
tests: Correct phrasing of tests
2016-01-25 21:46:53 -06:00
Blade Barringer
e5f1c44a3e
feat: Add removeFromArray function
2016-01-25 18:08:01 -06:00
Blade Barringer
95603b9d21
tests: Change baseModel test to more accurately reflect use case
2016-01-25 17:55:10 -06:00
Blade Barringer
f80f41f764
lint: Correct linting errors in v3 tests
2016-01-03 09:47:27 -06:00
Blade Barringer
9428c6d997
lint: Correct linting errors in api v3 tests
2015-12-31 08:57:20 -06:00
Blade Barringer
70151fd073
lint: Fix tests that can be fixed with the eslint --fix flag
2015-12-31 08:57:20 -06:00
Matteo Pagliazzi
3002db3d75
add ability to update tasks, can pass additional fields to Model.sanitize at runtime
2015-11-29 19:05:24 +01:00
Matteo Pagliazzi
d67836ee1f
allow for additional transform functions for toJSON and sanitize
2015-11-25 15:42:29 +01:00
Matteo Pagliazzi
94fc1c9bef
baseModel: delete properties instead of setting them to undefined, transform toJSON only not toObject
2015-11-25 15:19:21 +01:00
Matteo Pagliazzi
3f1faf113e
add baseModel plugin with some tests
2015-11-24 18:51:48 +01:00
Matteo Pagliazzi
2a51117d21
comment errors according to apidoc, add new tests and fix existing ones
2015-11-17 19:22:47 +01:00
Matteo Pagliazzi
83eb2308fb
Merge pull request #6232 from HabitRPG/api-v3-utils
...
[API v3] Port Utils
2015-11-15 20:01:48 +01:00
Matteo Pagliazzi
78e5d913f5
update test to match possible html string
2015-11-15 17:27:22 +01:00
Matteo Pagliazzi
a80be380f9
add txt emails tests
2015-11-14 18:58:33 +01:00
Matteo Pagliazzi
a8b3780cc0
add send email tests
2015-11-14 18:13:17 +01:00
Matteo Pagliazzi
3b75fe6ade
add tests for emails (wip) and encryption, misc fixes
2015-11-14 17:43:56 +01:00
Matteo Pagliazzi
466797cc6c
add some basic tests
2015-11-14 15:50:57 +01:00
Blade Barringer
eab9d7b3ba
Reorganize i18n tests.
2015-11-13 09:15:11 -06:00
Matteo Pagliazzi
60b51b8862
Merge branch 'api-v3' into api-v3-i18n
2015-11-12 16:36:19 +01:00
Matteo Pagliazzi
4af8a8f7aa
add tests for i18n and getUserLanguage
2015-11-12 16:24:08 +01:00
Blade Barringer
a18c2f7444
Port v2 webhook lib to v3
2015-11-12 09:03:28 -06:00