CenterForOpenScience/osf.io — pull request #1325 by samanehsan (2014-12-03 15:00:41+00:00)
Title: Feature: handle revoked API access through Figshare

Purpose
------------
Addresses CenterForOpenScience/openscienceframework.org#332.

When a user revokes OSF access to the Figshare addon through Figshare, the linked files do not show in HGrid and no error messages are shown indicating that their addon credentials are no longer valid.

Changes
------------
- Show figshare folder that was previously linked in HGrid (with no files) and throw an error message informing the user that figshare cannot be reached.
- Show error messages on node and user settings page saying that figshare credentials are no longer valid