habitica/website/server
Alys 613f51b08d use new email template when joining a group plan for customisation of subscription cancellation information (#8637)
* use new email template when subscription is cancelled from joining a group plan

* use new email template when subscription is cancelled from joining a group plan - needs more code, tests

* change from sending new email as a cancel-subscription option to sending as a group plan join email

Uses a new group-member-join email template instead of old group-member-joining because new template includes mandril conditional merge tags.

Also adds tests and comments. Edits some comments for accuracy and typo fixes.

* adapt group-member-join email template for manual cancel message for iOS and Android subscriptions

* save test user so its profile name can be read by calls to sendTxn

* add documentation for the user model cancelSubscription function

* add constants for strings passed to mandrill email templates
2017-06-07 10:25:37 -07:00
..
controllers Implemented new Achievement and Badge: Joined a Challenge (Fixes #8613) (#8761) 2017-06-07 09:43:16 -07:00
libs use new email template when joining a group plan for customisation of subscription cancellation information (#8637) 2017-06-07 10:25:37 -07:00
middlewares Remove email addresses from translatable strings (#8448) 2017-03-27 18:03:31 +02:00
models use new email template when joining a group plan for customisation of subscription cancellation information (#8637) 2017-06-07 10:25:37 -07:00
.eslintrc Upgrade ESLint to v3 (#8299) 2016-12-20 22:31:36 +01:00
api-doc.js Improved API documentation for hall #8087 (#8536) 2017-06-06 11:48:11 -07:00
index.js remove newrelic 2017-02-05 18:43:00 +01:00
server.js fix: move attachMiddlwares function so mongoose models have tx strings 2016-09-12 20:40:12 -05:00