overleaf/services/web/app/coffee/Features
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
..
Analytics fixup AuthenticationController from missing module after merge 2017-03-27 09:42:49 +01:00
Announcements mark announcments before user signs up as read 2017-02-14 12:29:48 +00:00
Authentication Enforce stricter password policy. 2017-07-24 11:06:47 +01:00
Authorization Fix indentation 2017-10-19 14:54:59 +01:00
BetaProgram Remove the Metrics module, use metrics-sharelatex 2017-04-03 16:18:30 +01:00
Blog jpeg -> json 2017-03-20 11:08:42 +00:00
Captcha Refactor captcha into middleware and angular service 2017-12-11 12:58:55 +00:00
Chat Don't call sync functions inside async 2017-05-04 17:04:20 +01:00
Collaborators Refactor captcha into middleware and angular service 2017-12-11 12:58:55 +00:00
Compile filter missing doc_ids from root doc_ids list 2017-10-17 15:49:02 +01:00
Contacts WIP: refactor 2016-09-05 15:58:31 +01:00
Cooldown if projectId is not defined, error out 2017-05-10 15:25:23 +01:00
Docstore return 404 for api request on missing doc 2017-04-27 16:41:53 +01:00
Documents return pathname from DocumentController.getDoc 2017-09-29 15:37:10 +01:00
DocumentUpdater Change an erroneous logger.error to logger.log 2017-12-21 09:54:35 +00:00
Downloads Move content-disposition setting into a method on res 2017-04-12 16:00:02 +01:00
Editor pass userId to EditorHttpController.deleteEntity 2017-12-18 15:15:36 +00:00
Email Swap out email templates based on brand prefix 2017-12-21 10:26:14 +00:00
Errors Change error type for consistency 2017-12-12 12:59:10 +00:00
FileStore return url from FileStoreHandler.copyFile 2017-12-04 09:42:09 +00:00
HealthCheck Move all redis end points to be cluster compatible 2017-05-04 15:22:54 +01:00
Helpers Move Helpers/EmailHelpers to Helpers/EmailHelper 2016-08-02 15:42:26 +01:00
History Add add{File|Doc}WithoutUpdatingHistory methods to allow importing OL projects with existing history 2017-12-19 13:59:06 +00:00
InactiveData avoid error when passing as limit in mongo query 2017-09-05 12:33:13 +01:00
Metadata moving data to backend and fixing tests 2017-10-24 10:59:41 +01:00
Newsletter added timeouts to email and newsletter as after a few days there are a few open connections still 2014-06-17 18:18:45 +01:00
Notifications WIP: refactor 2016-09-05 15:58:31 +01:00
PasswordReset remove commented out code 2017-02-06 16:35:52 +00:00
Project Enable project history for new projects if enabled in settings 2018-01-03 16:55:33 +00:00
RealTimeProxy split site into 2 routers, webRouter and apiRouter 2015-07-01 15:23:18 +01:00
Referal Remove ReferalMiddleware, dead code. 2016-09-23 14:42:57 +01:00
References use underscore.each so it doesn’t blow up on non array. 2016-08-02 15:33:41 +01:00
Security Move all redis end points to be cluster compatible 2017-05-04 15:22:54 +01:00
ServerAdmin Remove stray redis imports. 2016-12-19 12:17:23 +00:00
Spelling WIP: refactor 2016-09-05 15:58:31 +01:00
StaticPages Rename setting and use Features.hasFeatures 2017-11-22 10:45:31 +00:00
Subscription Fix subscription page for members of a group 2018-01-05 16:28:49 +00:00
SudoMode If external auth system is in use, skip sudo-mode checks 2017-05-15 15:46:24 +01:00
SystemMessages Update SystemMessageManager.coffee 2017-03-01 15:46:43 +00:00
Tags WIP: refactor 2016-09-05 15:58:31 +01:00
ThirdPartyDataStore set userId when deleting entities via the tpds 2017-12-18 15:15:36 +00:00
TokenAccess Set redirect when bouncing away from token route 2017-11-15 13:30:40 +00:00
Uploads pass user_id into EditorController.replaceFile 2017-12-04 09:42:09 +00:00
User Refactor to always use req.externalAuthenticationSystemUsed 2017-11-20 10:10:23 +00:00