{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/216451198","pull_request_review_id":153935705,"id":216451198,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQ1MTE5OA==","diff_hunk":"@@ -1934,3 +1934,10 @@ class CeleryConfig:\n     'googleGroup': 'https://groups.google.com/forum/#!forum/openscienceframework',\n     'github': 'https://www.github.com/centerforopenscience',\n }\n+\n+CACHES = {\n+    'default': {\n+        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',","path":"website/settings/defaults.py","position":7,"original_position":7,"commit_id":"8e334b42320be2fd027d949e6f5f6b415595516f","original_commit_id":"8e334b42320be2fd027d949e6f5f6b415595516f","user":{"login":"sloria","id":2379650,"node_id":"MDQ6VXNlcjIzNzk2NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/2379650?v=4","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"body":"I mean we don't have the [memcached](https://www.memcached.org/) service deployed.\r\n\r\nSo rather than relying on new infrastructure, we should just use our existing DB for now.","created_at":"2018-09-10T19:52:38Z","updated_at":"2018-09-10T19:52:38Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/8414#discussion_r216451198","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/216451198"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/8414#discussion_r216451198"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414"}},"in_reply_to_id":216404533},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414","id":193012329,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMDEyMzI5","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/8414","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/8414.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/8414.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/8414","number":8414,"state":"open","locked":false,"title":"[PLAT-862] Storage usage for osfstorage","user":{"login":"Johnetordoff","id":9688518,"node_id":"MDQ6VXNlcjk2ODg1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/9688518?v=4","gravatar_id":"","url":"https://api.github.com/users/Johnetordoff","html_url":"https://github.com/Johnetordoff","followers_url":"https://api.github.com/users/Johnetordoff/followers","following_url":"https://api.github.com/users/Johnetordoff/following{/other_user}","gists_url":"https://api.github.com/users/Johnetordoff/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnetordoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnetordoff/subscriptions","organizations_url":"https://api.github.com/users/Johnetordoff/orgs","repos_url":"https://api.github.com/users/Johnetordoff/repos","events_url":"https://api.github.com/users/Johnetordoff/events{/privacy}","received_events_url":"https://api.github.com/users/Johnetordoff/received_events","type":"User","site_admin":false},"body":"## Purpose\r\n\r\nLet the user know how much storage they are using.\r\n\r\n## Changes\r\n\r\n- add property to Osfstorage NodeSettings that sums the size of each every version with test.\r\n- minor frontend changes to make file size visible. \r\n\r\n## QA Notes\r\n\r\nTo observe these changes upload different files and different versions to the files tree. Reload the page. Their should be a number next to the OSF storage label that represents the storage usage of all files and all versions at that node. like the following:\r\n\r\n<img width=\"1440\" alt=\"screen shot 2018-06-05 at 4 54 58 pm\" src=\"https://user-images.githubusercontent.com/9688518/41002254-38b575fe-68e1-11e8-869e-85f69027804c.png\">\r\n\r\n\r\n\r\n## Documentation\r\n\r\nI'm unsure if this needs more context, it doesn't specify anything extra in the ticket.\r\n\r\n## Side Effects\r\n\r\nNone that I know of.\r\n\r\n## Ticket\r\n\r\nhttps://openscience.atlassian.net/projects/PLAT/issues/PLAT-862","created_at":"2018-06-06T13:24:26Z","updated_at":"2018-09-10T19:52:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2a5d01d991fb7cfea88026e12f8942a190c15ed","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/8414/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/8e334b42320be2fd027d949e6f5f6b415595516f","head":{"label":"Johnetordoff:storage-usage-for-osfstorage","ref":"storage-usage-for-osfstorage","sha":"8e334b42320be2fd027d949e6f5f6b415595516f","user":{"login":"Johnetordoff","id":9688518,"node_id":"MDQ6VXNlcjk2ODg1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/9688518?v=4","gravatar_id":"","url":"https://api.github.com/users/Johnetordoff","html_url":"https://github.com/Johnetordoff","followers_url":"https://api.github.com/users/Johnetordoff/followers","following_url":"https://api.github.com/users/Johnetordoff/following{/other_user}","gists_url":"https://api.github.com/users/Johnetordoff/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnetordoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnetordoff/subscriptions","organizations_url":"https://api.github.com/users/Johnetordoff/orgs","repos_url":"https://api.github.com/users/Johnetordoff/repos","events_url":"https://api.github.com/users/Johnetordoff/events{/privacy}","received_events_url":"https://api.github.com/users/Johnetordoff/received_events","type":"User","site_admin":false},"repo":{"id":80773184,"node_id":"MDEwOlJlcG9zaXRvcnk4MDc3MzE4NA==","name":"osf.io","full_name":"Johnetordoff/osf.io","owner":{"login":"Johnetordoff","id":9688518,"node_id":"MDQ6VXNlcjk2ODg1MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/9688518?v=4","gravatar_id":"","url":"https://api.github.com/users/Johnetordoff","html_url":"https://github.com/Johnetordoff","followers_url":"https://api.github.com/users/Johnetordoff/followers","following_url":"https://api.github.com/users/Johnetordoff/following{/other_user}","gists_url":"https://api.github.com/users/Johnetordoff/gists{/gist_id}","starred_url":"https://api.github.com/users/Johnetordoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Johnetordoff/subscriptions","organizations_url":"https://api.github.com/users/Johnetordoff/orgs","repos_url":"https://api.github.com/users/Johnetordoff/repos","events_url":"https://api.github.com/users/Johnetordoff/events{/privacy}","received_events_url":"https://api.github.com/users/Johnetordoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Johnetordoff/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/Johnetordoff/osf.io","forks_url":"https://api.github.com/repos/Johnetordoff/osf.io/forks","keys_url":"https://api.github.com/repos/Johnetordoff/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Johnetordoff/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Johnetordoff/osf.io/teams","hooks_url":"https://api.github.com/repos/Johnetordoff/osf.io/hooks","issue_events_url":"https://api.github.com/repos/Johnetordoff/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/Johnetordoff/osf.io/events","assignees_url":"https://api.github.com/repos/Johnetordoff/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/Johnetordoff/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/Johnetordoff/osf.io/tags","blobs_url":"https://api.github.com/repos/Johnetordoff/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Johnetordoff/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Johnetordoff/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/Johnetordoff/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Johnetordoff/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/Johnetordoff/osf.io/languages","stargazers_url":"https://api.github.com/repos/Johnetordoff/osf.io/stargazers","contributors_url":"https://api.github.com/repos/Johnetordoff/osf.io/contributors","subscribers_url":"https://api.github.com/repos/Johnetordoff/osf.io/subscribers","subscription_url":"https://api.github.com/repos/Johnetordoff/osf.io/subscription","commits_url":"https://api.github.com/repos/Johnetordoff/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/Johnetordoff/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/Johnetordoff/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/Johnetordoff/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/Johnetordoff/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/Johnetordoff/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Johnetordoff/osf.io/merges","archive_url":"https://api.github.com/repos/Johnetordoff/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Johnetordoff/osf.io/downloads","issues_url":"https://api.github.com/repos/Johnetordoff/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/Johnetordoff/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/Johnetordoff/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/Johnetordoff/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Johnetordoff/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/Johnetordoff/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/Johnetordoff/osf.io/deployments","created_at":"2017-02-02T22:05:12Z","updated_at":"2018-04-29T17:00:28Z","pushed_at":"2018-09-10T19:38:54Z","git_url":"git://github.com/Johnetordoff/osf.io.git","ssh_url":"git@github.com:Johnetordoff/osf.io.git","clone_url":"https://github.com/Johnetordoff/osf.io.git","svn_url":"https://github.com/Johnetordoff/osf.io","homepage":"https://osf.io","size":184467,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"80163a99d44947399f0d46f06abed70e2109b740","user":{"login":"CenterForOpenScience","id":3344584,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDQ1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3344584?v=4","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE5OTU5OQ==","name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDQ1ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/3344584?v=4","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2018-09-10T18:57:50Z","pushed_at":"2018-09-10T19:38:56Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"https://osf.io","size":175771,"stargazers_count":456,"watchers_count":456,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":255,"mirror_url":null,"archived":false,"open_issues_count":228,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":255,"open_issues":228,"watchers":456,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/8414"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/8414"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/8414/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/8414/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/8e334b42320be2fd027d949e6f5f6b415595516f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sloria"}}