{"action":"created","comment":{"url":"https://api.github.com/repos/Peergos/Peergos/pulls/comments/184886823","pull_request_review_id":116170218,"id":184886823,"diff_hunk":"@@ -324,7 +324,11 @@ public boolean isJavascript() {\n                                                                 NetworkAccess network) {\n         System.out.println(\"renewing username: \" + username + \" with expiry \" + expiry);\n         List<UserPublicKeyLink> claimChain = UserPublicKeyLink.createInitial(signer, username, expiry);\n-        return network.coreNode.updateChain(username, claimChain);\n+\n+        return network.coreNode.updateChain(username, claimChain).exceptionally(t  -> {\n+                throw new IllegalStateException(\"Could not renew username-claim for user \"+ username);\n+        });\n+\n     }\n ","path":"src/peergos/shared/user/UserContext.java","position":11,"original_position":11,"commit_id":"011bf7cbe031bbe7b2b32b205b1809358e13215f","original_commit_id":"098783b481dc1f8bc3dac2fd117af2b12ed87f5d","user":{"login":"cboddy","id":1190179,"avatar_url":"https://avatars3.githubusercontent.com/u/1190179?v=4","gravatar_id":"","url":"https://api.github.com/users/cboddy","html_url":"https://github.com/cboddy","followers_url":"https://api.github.com/users/cboddy/followers","following_url":"https://api.github.com/users/cboddy/following{/other_user}","gists_url":"https://api.github.com/users/cboddy/gists{/gist_id}","starred_url":"https://api.github.com/users/cboddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboddy/subscriptions","organizations_url":"https://api.github.com/users/cboddy/orgs","repos_url":"https://api.github.com/users/cboddy/repos","events_url":"https://api.github.com/users/cboddy/events{/privacy}","received_events_url":"https://api.github.com/users/cboddy/received_events","type":"User","site_admin":false},"body":"Yes.","created_at":"2018-04-29T15:32:16Z","updated_at":"2018-04-29T15:32:16Z","html_url":"https://github.com/Peergos/Peergos/pull/306#discussion_r184886823","pull_request_url":"https://api.github.com/repos/Peergos/Peergos/pulls/306","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/comments/184886823"},"html":{"href":"https://github.com/Peergos/Peergos/pull/306#discussion_r184886823"},"pull_request":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/306"}},"in_reply_to_id":165841162},"pull_request":{"url":"https://api.github.com/repos/Peergos/Peergos/pulls/306","id":167004033,"html_url":"https://github.com/Peergos/Peergos/pull/306","diff_url":"https://github.com/Peergos/Peergos/pull/306.diff","patch_url":"https://github.com/Peergos/Peergos/pull/306.patch","issue_url":"https://api.github.com/repos/Peergos/Peergos/issues/306","number":306,"state":"open","locked":false,"title":"[issue_304]  usage-state caching","user":{"login":"cboddy","id":1190179,"avatar_url":"https://avatars3.githubusercontent.com/u/1190179?v=4","gravatar_id":"","url":"https://api.github.com/users/cboddy","html_url":"https://github.com/cboddy","followers_url":"https://api.github.com/users/cboddy/followers","following_url":"https://api.github.com/users/cboddy/following{/other_user}","gists_url":"https://api.github.com/users/cboddy/gists{/gist_id}","starred_url":"https://api.github.com/users/cboddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboddy/subscriptions","organizations_url":"https://api.github.com/users/cboddy/orgs","repos_url":"https://api.github.com/users/cboddy/repos","events_url":"https://api.github.com/users/cboddy/events{/privacy}","received_events_url":"https://api.github.com/users/cboddy/received_events","type":"User","site_admin":false},"body":"Updated error message on username-claim renewal failure.\r\n\r\nUpdated  SpaceCheckingKeyFilter to store/load (username -> usage) state\r\nto/from a local file, falling back to re-calculating it from scratch on\r\nstartup.\r\n\r\nNote, for the shutdown-hook to be triggered either a kill signal with the\r\ndefault level (or sending a ctrl-c) should be used to kill the process.","created_at":"2018-02-04T10:28:38Z","updated_at":"2018-04-29T15:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b051f80302f9e717e6eb3826d026558c7c1ef15","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Peergos/Peergos/pulls/306/commits","review_comments_url":"https://api.github.com/repos/Peergos/Peergos/pulls/306/comments","review_comment_url":"https://api.github.com/repos/Peergos/Peergos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Peergos/Peergos/issues/306/comments","statuses_url":"https://api.github.com/repos/Peergos/Peergos/statuses/011bf7cbe031bbe7b2b32b205b1809358e13215f","head":{"label":"Peergos:issue_304","ref":"issue_304","sha":"011bf7cbe031bbe7b2b32b205b1809358e13215f","user":{"login":"Peergos","id":19786214,"avatar_url":"https://avatars0.githubusercontent.com/u/19786214?v=4","gravatar_id":"","url":"https://api.github.com/users/Peergos","html_url":"https://github.com/Peergos","followers_url":"https://api.github.com/users/Peergos/followers","following_url":"https://api.github.com/users/Peergos/following{/other_user}","gists_url":"https://api.github.com/users/Peergos/gists{/gist_id}","starred_url":"https://api.github.com/users/Peergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peergos/subscriptions","organizations_url":"https://api.github.com/users/Peergos/orgs","repos_url":"https://api.github.com/users/Peergos/repos","events_url":"https://api.github.com/users/Peergos/events{/privacy}","received_events_url":"https://api.github.com/users/Peergos/received_events","type":"Organization","site_admin":false},"repo":{"id":12323472,"name":"Peergos","full_name":"Peergos/Peergos","owner":{"login":"Peergos","id":19786214,"avatar_url":"https://avatars0.githubusercontent.com/u/19786214?v=4","gravatar_id":"","url":"https://api.github.com/users/Peergos","html_url":"https://github.com/Peergos","followers_url":"https://api.github.com/users/Peergos/followers","following_url":"https://api.github.com/users/Peergos/following{/other_user}","gists_url":"https://api.github.com/users/Peergos/gists{/gist_id}","starred_url":"https://api.github.com/users/Peergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peergos/subscriptions","organizations_url":"https://api.github.com/users/Peergos/orgs","repos_url":"https://api.github.com/users/Peergos/repos","events_url":"https://api.github.com/users/Peergos/events{/privacy}","received_events_url":"https://api.github.com/users/Peergos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Peergos/Peergos","description":"A decentralised, secure file storage, sharing and social network that's surveillance resistant and doesn't expose your friend network.","fork":false,"url":"https://api.github.com/repos/Peergos/Peergos","forks_url":"https://api.github.com/repos/Peergos/Peergos/forks","keys_url":"https://api.github.com/repos/Peergos/Peergos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Peergos/Peergos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Peergos/Peergos/teams","hooks_url":"https://api.github.com/repos/Peergos/Peergos/hooks","issue_events_url":"https://api.github.com/repos/Peergos/Peergos/issues/events{/number}","events_url":"https://api.github.com/repos/Peergos/Peergos/events","assignees_url":"https://api.github.com/repos/Peergos/Peergos/assignees{/user}","branches_url":"https://api.github.com/repos/Peergos/Peergos/branches{/branch}","tags_url":"https://api.github.com/repos/Peergos/Peergos/tags","blobs_url":"https://api.github.com/repos/Peergos/Peergos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Peergos/Peergos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Peergos/Peergos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Peergos/Peergos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Peergos/Peergos/statuses/{sha}","languages_url":"https://api.github.com/repos/Peergos/Peergos/languages","stargazers_url":"https://api.github.com/repos/Peergos/Peergos/stargazers","contributors_url":"https://api.github.com/repos/Peergos/Peergos/contributors","subscribers_url":"https://api.github.com/repos/Peergos/Peergos/subscribers","subscription_url":"https://api.github.com/repos/Peergos/Peergos/subscription","commits_url":"https://api.github.com/repos/Peergos/Peergos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Peergos/Peergos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Peergos/Peergos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Peergos/Peergos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Peergos/Peergos/contents/{+path}","compare_url":"https://api.github.com/repos/Peergos/Peergos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Peergos/Peergos/merges","archive_url":"https://api.github.com/repos/Peergos/Peergos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Peergos/Peergos/downloads","issues_url":"https://api.github.com/repos/Peergos/Peergos/issues{/number}","pulls_url":"https://api.github.com/repos/Peergos/Peergos/pulls{/number}","milestones_url":"https://api.github.com/repos/Peergos/Peergos/milestones{/number}","notifications_url":"https://api.github.com/repos/Peergos/Peergos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Peergos/Peergos/labels{/name}","releases_url":"https://api.github.com/repos/Peergos/Peergos/releases{/id}","deployments_url":"https://api.github.com/repos/Peergos/Peergos/deployments","created_at":"2013-08-23T13:18:59Z","updated_at":"2018-04-29T10:46:55Z","pushed_at":"2018-04-24T21:10:04Z","git_url":"git://github.com/Peergos/Peergos.git","ssh_url":"git@github.com:Peergos/Peergos.git","clone_url":"https://github.com/Peergos/Peergos.git","svn_url":"https://github.com/Peergos/Peergos","homepage":"","size":221727,"stargazers_count":481,"watchers_count":481,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":25,"open_issues":42,"watchers":481,"default_branch":"master"}},"base":{"label":"Peergos:master","ref":"master","sha":"12b2099d217993ea49e7fa36206b26a2f10a6c88","user":{"login":"Peergos","id":19786214,"avatar_url":"https://avatars0.githubusercontent.com/u/19786214?v=4","gravatar_id":"","url":"https://api.github.com/users/Peergos","html_url":"https://github.com/Peergos","followers_url":"https://api.github.com/users/Peergos/followers","following_url":"https://api.github.com/users/Peergos/following{/other_user}","gists_url":"https://api.github.com/users/Peergos/gists{/gist_id}","starred_url":"https://api.github.com/users/Peergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peergos/subscriptions","organizations_url":"https://api.github.com/users/Peergos/orgs","repos_url":"https://api.github.com/users/Peergos/repos","events_url":"https://api.github.com/users/Peergos/events{/privacy}","received_events_url":"https://api.github.com/users/Peergos/received_events","type":"Organization","site_admin":false},"repo":{"id":12323472,"name":"Peergos","full_name":"Peergos/Peergos","owner":{"login":"Peergos","id":19786214,"avatar_url":"https://avatars0.githubusercontent.com/u/19786214?v=4","gravatar_id":"","url":"https://api.github.com/users/Peergos","html_url":"https://github.com/Peergos","followers_url":"https://api.github.com/users/Peergos/followers","following_url":"https://api.github.com/users/Peergos/following{/other_user}","gists_url":"https://api.github.com/users/Peergos/gists{/gist_id}","starred_url":"https://api.github.com/users/Peergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peergos/subscriptions","organizations_url":"https://api.github.com/users/Peergos/orgs","repos_url":"https://api.github.com/users/Peergos/repos","events_url":"https://api.github.com/users/Peergos/events{/privacy}","received_events_url":"https://api.github.com/users/Peergos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Peergos/Peergos","description":"A decentralised, secure file storage, sharing and social network that's surveillance resistant and doesn't expose your friend network.","fork":false,"url":"https://api.github.com/repos/Peergos/Peergos","forks_url":"https://api.github.com/repos/Peergos/Peergos/forks","keys_url":"https://api.github.com/repos/Peergos/Peergos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Peergos/Peergos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Peergos/Peergos/teams","hooks_url":"https://api.github.com/repos/Peergos/Peergos/hooks","issue_events_url":"https://api.github.com/repos/Peergos/Peergos/issues/events{/number}","events_url":"https://api.github.com/repos/Peergos/Peergos/events","assignees_url":"https://api.github.com/repos/Peergos/Peergos/assignees{/user}","branches_url":"https://api.github.com/repos/Peergos/Peergos/branches{/branch}","tags_url":"https://api.github.com/repos/Peergos/Peergos/tags","blobs_url":"https://api.github.com/repos/Peergos/Peergos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Peergos/Peergos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Peergos/Peergos/git/refs{/sha}","trees_url":"https://api.github.com/repos/Peergos/Peergos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Peergos/Peergos/statuses/{sha}","languages_url":"https://api.github.com/repos/Peergos/Peergos/languages","stargazers_url":"https://api.github.com/repos/Peergos/Peergos/stargazers","contributors_url":"https://api.github.com/repos/Peergos/Peergos/contributors","subscribers_url":"https://api.github.com/repos/Peergos/Peergos/subscribers","subscription_url":"https://api.github.com/repos/Peergos/Peergos/subscription","commits_url":"https://api.github.com/repos/Peergos/Peergos/commits{/sha}","git_commits_url":"https://api.github.com/repos/Peergos/Peergos/git/commits{/sha}","comments_url":"https://api.github.com/repos/Peergos/Peergos/comments{/number}","issue_comment_url":"https://api.github.com/repos/Peergos/Peergos/issues/comments{/number}","contents_url":"https://api.github.com/repos/Peergos/Peergos/contents/{+path}","compare_url":"https://api.github.com/repos/Peergos/Peergos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Peergos/Peergos/merges","archive_url":"https://api.github.com/repos/Peergos/Peergos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Peergos/Peergos/downloads","issues_url":"https://api.github.com/repos/Peergos/Peergos/issues{/number}","pulls_url":"https://api.github.com/repos/Peergos/Peergos/pulls{/number}","milestones_url":"https://api.github.com/repos/Peergos/Peergos/milestones{/number}","notifications_url":"https://api.github.com/repos/Peergos/Peergos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Peergos/Peergos/labels{/name}","releases_url":"https://api.github.com/repos/Peergos/Peergos/releases{/id}","deployments_url":"https://api.github.com/repos/Peergos/Peergos/deployments","created_at":"2013-08-23T13:18:59Z","updated_at":"2018-04-29T10:46:55Z","pushed_at":"2018-04-24T21:10:04Z","git_url":"git://github.com/Peergos/Peergos.git","ssh_url":"git@github.com:Peergos/Peergos.git","clone_url":"https://github.com/Peergos/Peergos.git","svn_url":"https://github.com/Peergos/Peergos","homepage":"","size":221727,"stargazers_count":481,"watchers_count":481,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":25,"open_issues":42,"watchers":481,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/306"},"html":{"href":"https://github.com/Peergos/Peergos/pull/306"},"issue":{"href":"https://api.github.com/repos/Peergos/Peergos/issues/306"},"comments":{"href":"https://api.github.com/repos/Peergos/Peergos/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Peergos/Peergos/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/Peergos/Peergos/statuses/011bf7cbe031bbe7b2b32b205b1809358e13215f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cboddy"}}