overleaf/services/web/app/coffee/Features/Subscription
Alberto Fernández Capel 79eddcc736 Fix subscription page for members of a group
For a member of a group LimitationsManager.userHasSubscriptionOrIsGroupMember
doesn't return any subscription, so when the controller tries to
access subscription.recurlySubscription_id there's an error.

SubscriptionViewModelBuilder already knows how to handle the case
in which the user is a member of a group but has not subscription
of their own, so guarding against the crash is enough to fix
the issue.
2018-01-05 16:28:49 +00:00
..
LimitationsManager.coffee Change getCollaboratorCount to getInvitedCollaboratorCount. 2017-09-20 10:29:47 +01:00
PlansLocator.coffee Intial open source comment 2014-02-12 10:23:40 +00:00
RecurlyWrapper.coffee Handle a 404 from Recurly if account doesn't exist 2017-03-28 15:46:58 +01:00
SubscriptionController.coffee Fix subscription page for members of a group 2018-01-05 16:28:49 +00:00
SubscriptionDomainHandler.coffee kill off dead code in group handler 2016-02-18 11:42:26 +00:00
SubscriptionFormatters.coffee added missing currency symbols to subscription formatter 2015-01-07 16:51:05 +00:00
SubscriptionGroupController.coffee null check subscription for group admin panel 2017-06-22 14:07:07 +01:00
SubscriptionGroupHandler.coffee Use an email based invite system for groups, not holding accounts 2017-06-08 12:12:08 +01:00
SubscriptionHandler.coffee Check Recurly for subscription as well before creating subscription 2017-03-27 12:07:43 +01:00
SubscriptionLocator.coffee Use an email based invite system for groups, not holding accounts 2017-06-08 12:12:08 +01:00
SubscriptionRouter.coffee Remove the obsolete update-billing-details page 2017-11-28 11:52:14 +00:00
SubscriptionUpdater.coffee Change 'oveleafPlanCode' to 'v1PlanCode' 2017-12-18 13:52:37 +00:00
SubscriptionViewModelBuilder.coffee Add AB test for plans (+15 squashed commits) 2016-10-21 16:17:37 +01:00
UserFeaturesUpdater.coffee sped up unit tests to improve speed 2016-03-09 12:51:19 +00:00