habitica-self-host/website/common/script
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
..
content Group plan subscription (#8153) 2016-11-01 21:51:30 +01:00
fns refactor: move randomVal to a lib 2016-09-26 11:55:07 -05:00
libs Re-enable armoire tests 2016-10-20 22:04:24 -05:00
ops Re-enable armoire tests 2016-10-20 22:04:24 -05:00
.eslintrc Common reorg (#8025) 2016-09-16 17:18:07 +02:00
constants.js Add Google Signin (#7969) 2016-09-28 12:11:10 +02:00
count.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
cron.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
i18n.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00
index.js Webhook improvements (#7879) 2016-10-02 09:16:22 -05:00
statHelpers.js Common reorg (#8025) 2016-09-16 17:18:07 +02:00