{"action":"closed","number":424,"pull_request":{"url":"https://api.github.com/repos/AlderArts/foe/pulls/424","id":60586615,"html_url":"https://github.com/AlderArts/foe/pull/424","diff_url":"https://github.com/AlderArts/foe/pull/424.diff","patch_url":"https://github.com/AlderArts/foe/pull/424.patch","issue_url":"https://api.github.com/repos/AlderArts/foe/issues/424","number":424,"state":"closed","locked":false,"title":"Add compression to localStorage","user":{"login":"VioletVolatile","id":8376540,"avatar_url":"https://avatars.githubusercontent.com/u/8376540?v=3","gravatar_id":"","url":"https://api.github.com/users/VioletVolatile","html_url":"https://github.com/VioletVolatile","followers_url":"https://api.github.com/users/VioletVolatile/followers","following_url":"https://api.github.com/users/VioletVolatile/following{/other_user}","gists_url":"https://api.github.com/users/VioletVolatile/gists{/gist_id}","starred_url":"https://api.github.com/users/VioletVolatile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VioletVolatile/subscriptions","organizations_url":"https://api.github.com/users/VioletVolatile/orgs","repos_url":"https://api.github.com/users/VioletVolatile/repos","events_url":"https://api.github.com/users/VioletVolatile/events{/privacy}","received_events_url":"https://api.github.com/users/VioletVolatile/received_events","type":"User","site_admin":false},"body":"This adds compression for save data in localStorage (reducing the storage usage by about ~80%). I also fixed the localStorage size calculations and added units in the GUI.\r\n\r\nI did a lot of testing to make sure we don't corrupt any saves, but I would really appreciate if you reviewed this pull request closely just to be sure.\r\n\r\nThe LZ-String library should have support all the way back to IE6 so that shouldn't be a problem.","created_at":"2016-02-24T22:02:57Z","updated_at":"2016-02-27T13:32:51Z","closed_at":"2016-02-27T13:32:51Z","merged_at":"2016-02-27T13:32:51Z","merge_commit_sha":"391f4e4ccc21d7a1d52758d74641b45996c735ef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AlderArts/foe/pulls/424/commits","review_comments_url":"https://api.github.com/repos/AlderArts/foe/pulls/424/comments","review_comment_url":"https://api.github.com/repos/AlderArts/foe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AlderArts/foe/issues/424/comments","statuses_url":"https://api.github.com/repos/AlderArts/foe/statuses/b0657b540860a74327edb77e69de016baf7900f5","head":{"label":"VioletVolatile:save-compression","ref":"save-compression","sha":"b0657b540860a74327edb77e69de016baf7900f5","user":{"login":"VioletVolatile","id":8376540,"avatar_url":"https://avatars.githubusercontent.com/u/8376540?v=3","gravatar_id":"","url":"https://api.github.com/users/VioletVolatile","html_url":"https://github.com/VioletVolatile","followers_url":"https://api.github.com/users/VioletVolatile/followers","following_url":"https://api.github.com/users/VioletVolatile/following{/other_user}","gists_url":"https://api.github.com/users/VioletVolatile/gists{/gist_id}","starred_url":"https://api.github.com/users/VioletVolatile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VioletVolatile/subscriptions","organizations_url":"https://api.github.com/users/VioletVolatile/orgs","repos_url":"https://api.github.com/users/VioletVolatile/repos","events_url":"https://api.github.com/users/VioletVolatile/events{/privacy}","received_events_url":"https://api.github.com/users/VioletVolatile/received_events","type":"User","site_admin":false},"repo":{"id":52145788,"name":"foe","full_name":"VioletVolatile/foe","owner":{"login":"VioletVolatile","id":8376540,"avatar_url":"https://avatars.githubusercontent.com/u/8376540?v=3","gravatar_id":"","url":"https://api.github.com/users/VioletVolatile","html_url":"https://github.com/VioletVolatile","followers_url":"https://api.github.com/users/VioletVolatile/followers","following_url":"https://api.github.com/users/VioletVolatile/following{/other_user}","gists_url":"https://api.github.com/users/VioletVolatile/gists{/gist_id}","starred_url":"https://api.github.com/users/VioletVolatile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VioletVolatile/subscriptions","organizations_url":"https://api.github.com/users/VioletVolatile/orgs","repos_url":"https://api.github.com/users/VioletVolatile/repos","events_url":"https://api.github.com/users/VioletVolatile/events{/privacy}","received_events_url":"https://api.github.com/users/VioletVolatile/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/VioletVolatile/foe","description":"Fall of Eden","fork":true,"url":"https://api.github.com/repos/VioletVolatile/foe","forks_url":"https://api.github.com/repos/VioletVolatile/foe/forks","keys_url":"https://api.github.com/repos/VioletVolatile/foe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/VioletVolatile/foe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/VioletVolatile/foe/teams","hooks_url":"https://api.github.com/repos/VioletVolatile/foe/hooks","issue_events_url":"https://api.github.com/repos/VioletVolatile/foe/issues/events{/number}","events_url":"https://api.github.com/repos/VioletVolatile/foe/events","assignees_url":"https://api.github.com/repos/VioletVolatile/foe/assignees{/user}","branches_url":"https://api.github.com/repos/VioletVolatile/foe/branches{/branch}","tags_url":"https://api.github.com/repos/VioletVolatile/foe/tags","blobs_url":"https://api.github.com/repos/VioletVolatile/foe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/VioletVolatile/foe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/VioletVolatile/foe/git/refs{/sha}","trees_url":"https://api.github.com/repos/VioletVolatile/foe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/VioletVolatile/foe/statuses/{sha}","languages_url":"https://api.github.com/repos/VioletVolatile/foe/languages","stargazers_url":"https://api.github.com/repos/VioletVolatile/foe/stargazers","contributors_url":"https://api.github.com/repos/VioletVolatile/foe/contributors","subscribers_url":"https://api.github.com/repos/VioletVolatile/foe/subscribers","subscription_url":"https://api.github.com/repos/VioletVolatile/foe/subscription","commits_url":"https://api.github.com/repos/VioletVolatile/foe/commits{/sha}","git_commits_url":"https://api.github.com/repos/VioletVolatile/foe/git/commits{/sha}","comments_url":"https://api.github.com/repos/VioletVolatile/foe/comments{/number}","issue_comment_url":"https://api.github.com/repos/VioletVolatile/foe/issues/comments{/number}","contents_url":"https://api.github.com/repos/VioletVolatile/foe/contents/{+path}","compare_url":"https://api.github.com/repos/VioletVolatile/foe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/VioletVolatile/foe/merges","archive_url":"https://api.github.com/repos/VioletVolatile/foe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/VioletVolatile/foe/downloads","issues_url":"https://api.github.com/repos/VioletVolatile/foe/issues{/number}","pulls_url":"https://api.github.com/repos/VioletVolatile/foe/pulls{/number}","milestones_url":"https://api.github.com/repos/VioletVolatile/foe/milestones{/number}","notifications_url":"https://api.github.com/repos/VioletVolatile/foe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/VioletVolatile/foe/labels{/name}","releases_url":"https://api.github.com/repos/VioletVolatile/foe/releases{/id}","deployments_url":"https://api.github.com/repos/VioletVolatile/foe/deployments","created_at":"2016-02-20T09:19:58Z","updated_at":"2016-02-20T09:20:00Z","pushed_at":"2016-02-24T21:52:35Z","git_url":"git://github.com/VioletVolatile/foe.git","ssh_url":"git@github.com:VioletVolatile/foe.git","clone_url":"https://github.com/VioletVolatile/foe.git","svn_url":"https://github.com/VioletVolatile/foe","homepage":null,"size":24703,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AlderArts:master","ref":"master","sha":"33aa8ab84eec4f8bbd24d756932d1fe79cd65e61","user":{"login":"AlderArts","id":6930092,"avatar_url":"https://avatars.githubusercontent.com/u/6930092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlderArts","html_url":"https://github.com/AlderArts","followers_url":"https://api.github.com/users/AlderArts/followers","following_url":"https://api.github.com/users/AlderArts/following{/other_user}","gists_url":"https://api.github.com/users/AlderArts/gists{/gist_id}","starred_url":"https://api.github.com/users/AlderArts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlderArts/subscriptions","organizations_url":"https://api.github.com/users/AlderArts/orgs","repos_url":"https://api.github.com/users/AlderArts/repos","events_url":"https://api.github.com/users/AlderArts/events{/privacy}","received_events_url":"https://api.github.com/users/AlderArts/received_events","type":"Organization","site_admin":false},"repo":{"id":17668184,"name":"foe","full_name":"AlderArts/foe","owner":{"login":"AlderArts","id":6930092,"avatar_url":"https://avatars.githubusercontent.com/u/6930092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlderArts","html_url":"https://github.com/AlderArts","followers_url":"https://api.github.com/users/AlderArts/followers","following_url":"https://api.github.com/users/AlderArts/following{/other_user}","gists_url":"https://api.github.com/users/AlderArts/gists{/gist_id}","starred_url":"https://api.github.com/users/AlderArts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlderArts/subscriptions","organizations_url":"https://api.github.com/users/AlderArts/orgs","repos_url":"https://api.github.com/users/AlderArts/repos","events_url":"https://api.github.com/users/AlderArts/events{/privacy}","received_events_url":"https://api.github.com/users/AlderArts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AlderArts/foe","description":"Fall of Eden","fork":false,"url":"https://api.github.com/repos/AlderArts/foe","forks_url":"https://api.github.com/repos/AlderArts/foe/forks","keys_url":"https://api.github.com/repos/AlderArts/foe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AlderArts/foe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AlderArts/foe/teams","hooks_url":"https://api.github.com/repos/AlderArts/foe/hooks","issue_events_url":"https://api.github.com/repos/AlderArts/foe/issues/events{/number}","events_url":"https://api.github.com/repos/AlderArts/foe/events","assignees_url":"https://api.github.com/repos/AlderArts/foe/assignees{/user}","branches_url":"https://api.github.com/repos/AlderArts/foe/branches{/branch}","tags_url":"https://api.github.com/repos/AlderArts/foe/tags","blobs_url":"https://api.github.com/repos/AlderArts/foe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AlderArts/foe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AlderArts/foe/git/refs{/sha}","trees_url":"https://api.github.com/repos/AlderArts/foe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AlderArts/foe/statuses/{sha}","languages_url":"https://api.github.com/repos/AlderArts/foe/languages","stargazers_url":"https://api.github.com/repos/AlderArts/foe/stargazers","contributors_url":"https://api.github.com/repos/AlderArts/foe/contributors","subscribers_url":"https://api.github.com/repos/AlderArts/foe/subscribers","subscription_url":"https://api.github.com/repos/AlderArts/foe/subscription","commits_url":"https://api.github.com/repos/AlderArts/foe/commits{/sha}","git_commits_url":"https://api.github.com/repos/AlderArts/foe/git/commits{/sha}","comments_url":"https://api.github.com/repos/AlderArts/foe/comments{/number}","issue_comment_url":"https://api.github.com/repos/AlderArts/foe/issues/comments{/number}","contents_url":"https://api.github.com/repos/AlderArts/foe/contents/{+path}","compare_url":"https://api.github.com/repos/AlderArts/foe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AlderArts/foe/merges","archive_url":"https://api.github.com/repos/AlderArts/foe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AlderArts/foe/downloads","issues_url":"https://api.github.com/repos/AlderArts/foe/issues{/number}","pulls_url":"https://api.github.com/repos/AlderArts/foe/pulls{/number}","milestones_url":"https://api.github.com/repos/AlderArts/foe/milestones{/number}","notifications_url":"https://api.github.com/repos/AlderArts/foe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AlderArts/foe/labels{/name}","releases_url":"https://api.github.com/repos/AlderArts/foe/releases{/id}","deployments_url":"https://api.github.com/repos/AlderArts/foe/deployments","created_at":"2014-03-12T13:40:13Z","updated_at":"2016-02-20T09:19:03Z","pushed_at":"2016-02-27T13:32:51Z","git_url":"git://github.com/AlderArts/foe.git","ssh_url":"git@github.com:AlderArts/foe.git","clone_url":"https://github.com/AlderArts/foe.git","svn_url":"https://github.com/AlderArts/foe","homepage":null,"size":26044,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":28,"forks":39,"open_issues":28,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AlderArts/foe/pulls/424"},"html":{"href":"https://github.com/AlderArts/foe/pull/424"},"issue":{"href":"https://api.github.com/repos/AlderArts/foe/issues/424"},"comments":{"href":"https://api.github.com/repos/AlderArts/foe/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/AlderArts/foe/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/AlderArts/foe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AlderArts/foe/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/AlderArts/foe/statuses/b0657b540860a74327edb77e69de016baf7900f5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aldergames","id":6930068,"avatar_url":"https://avatars.githubusercontent.com/u/6930068?v=3","gravatar_id":"","url":"https://api.github.com/users/aldergames","html_url":"https://github.com/aldergames","followers_url":"https://api.github.com/users/aldergames/followers","following_url":"https://api.github.com/users/aldergames/following{/other_user}","gists_url":"https://api.github.com/users/aldergames/gists{/gist_id}","starred_url":"https://api.github.com/users/aldergames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldergames/subscriptions","organizations_url":"https://api.github.com/users/aldergames/orgs","repos_url":"https://api.github.com/users/aldergames/repos","events_url":"https://api.github.com/users/aldergames/events{/privacy}","received_events_url":"https://api.github.com/users/aldergames/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":48,"deletions":16,"changed_files":4}}