habitica/test
Keith Holliday d8c37f6e2d Group plan subscription (#8153)
* Added payment to groups and pay with group plan with Stripe

* Added edit card for Stripe

* Added stripe cancel

* Added subscribe with Amazon payments

* Added Amazon cancel for group subscription

* Added group subscription with paypal

* Added paypal cancel

* Added ipn cancel for Group plan

* Added a subscription tab and hid only the task tab when group is not subscribed

* Fixed linting issues

* Fixed tests

* Added payment unit tests

* Added back refresh after stripe payment

* Fixed style issues

* Limited grouop query fields and checked access

* Abstracted subscription schema

* Added year group plan and more access checks

* Maded purchase fields private

* Removed id and timestampes

* Added else checks to ensure user subscription is not altered. Removed active field from group model

* Added toJSONTransform function

* Moved plan active check to other toJson function

* Added check to see if purchaed has been populated

* Added purchase details to private

* Added correct data usage when paying for group sub
2016-11-01 21:51:30 +01:00
..
api Group plan subscription (#8153) 2016-11-01 21:51:30 +01:00
client Vue Store (#8071) 2016-09-29 13:32:36 +02:00
client-old added balance to analytics (#8086) 2016-09-30 11:52:14 -05:00
common Mystery Items 2016/10 (#8169) 2016-10-25 16:16:00 -05:00
content Common reorg (#8025) 2016-09-16 17:18:07 +02:00
helpers Setup up non-API tests to not need server and mongo running 2016-10-22 08:14:00 -05:00
migrations API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
sanity Common reorg (#8025) 2016-09-16 17:18:07 +02:00
.eslintrc Vue Project Setup (#8018) 2016-09-18 21:51:20 +02:00
mocha.opts API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00