{"action":"opened","number":526,"pull_request":{"url":"https://api.github.com/repos/veloce/lichobile/pulls/526","id":99573330,"html_url":"https://github.com/veloce/lichobile/pull/526","diff_url":"https://github.com/veloce/lichobile/pull/526.diff","patch_url":"https://github.com/veloce/lichobile/pull/526.patch","issue_url":"https://api.github.com/repos/veloce/lichobile/issues/526","number":526,"state":"open","locked":false,"title":"When PGN Import fails, attempt to import as FEN.","user":{"login":"therealmitchconnors","id":821270,"avatar_url":"https://avatars.githubusercontent.com/u/821270?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmitchconnors","html_url":"https://github.com/therealmitchconnors","followers_url":"https://api.github.com/users/therealmitchconnors/followers","following_url":"https://api.github.com/users/therealmitchconnors/following{/other_user}","gists_url":"https://api.github.com/users/therealmitchconnors/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmitchconnors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmitchconnors/subscriptions","organizations_url":"https://api.github.com/users/therealmitchconnors/orgs","repos_url":"https://api.github.com/users/therealmitchconnors/repos","events_url":"https://api.github.com/users/therealmitchconnors/events{/privacy}","received_events_url":"https://api.github.com/users/therealmitchconnors/received_events","type":"User","site_admin":false},"body":"Many Chess OCR apps (i.e. the /r/chess fenbot) can produce FEN notation from a chess diagram, allowing users to quickly import tactical puzzles and chess book examples.  To support this in the mobile app, we intercept a failed PGN import, wrap the notation with a FEN tag in the PGN format, and retry.  As noted below, it would be even better if the server-side API could identify FEN vs PGN vs EPD, etc.","created_at":"2016-12-28T17:27:04Z","updated_at":"2016-12-28T17:27:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/veloce/lichobile/pulls/526/commits","review_comments_url":"https://api.github.com/repos/veloce/lichobile/pulls/526/comments","review_comment_url":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/veloce/lichobile/issues/526/comments","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/64d4be239798636ca854fb2a02290ec5d3b0ab95","head":{"label":"therealmitchconnors:master","ref":"master","sha":"64d4be239798636ca854fb2a02290ec5d3b0ab95","user":{"login":"therealmitchconnors","id":821270,"avatar_url":"https://avatars.githubusercontent.com/u/821270?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmitchconnors","html_url":"https://github.com/therealmitchconnors","followers_url":"https://api.github.com/users/therealmitchconnors/followers","following_url":"https://api.github.com/users/therealmitchconnors/following{/other_user}","gists_url":"https://api.github.com/users/therealmitchconnors/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmitchconnors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmitchconnors/subscriptions","organizations_url":"https://api.github.com/users/therealmitchconnors/orgs","repos_url":"https://api.github.com/users/therealmitchconnors/repos","events_url":"https://api.github.com/users/therealmitchconnors/events{/privacy}","received_events_url":"https://api.github.com/users/therealmitchconnors/received_events","type":"User","site_admin":false},"repo":{"id":77403038,"name":"lichobile","full_name":"therealmitchconnors/lichobile","owner":{"login":"therealmitchconnors","id":821270,"avatar_url":"https://avatars.githubusercontent.com/u/821270?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmitchconnors","html_url":"https://github.com/therealmitchconnors","followers_url":"https://api.github.com/users/therealmitchconnors/followers","following_url":"https://api.github.com/users/therealmitchconnors/following{/other_user}","gists_url":"https://api.github.com/users/therealmitchconnors/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmitchconnors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmitchconnors/subscriptions","organizations_url":"https://api.github.com/users/therealmitchconnors/orgs","repos_url":"https://api.github.com/users/therealmitchconnors/repos","events_url":"https://api.github.com/users/therealmitchconnors/events{/privacy}","received_events_url":"https://api.github.com/users/therealmitchconnors/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/therealmitchconnors/lichobile","description":"lichess.org mobile application","fork":true,"url":"https://api.github.com/repos/therealmitchconnors/lichobile","forks_url":"https://api.github.com/repos/therealmitchconnors/lichobile/forks","keys_url":"https://api.github.com/repos/therealmitchconnors/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/therealmitchconnors/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/therealmitchconnors/lichobile/teams","hooks_url":"https://api.github.com/repos/therealmitchconnors/lichobile/hooks","issue_events_url":"https://api.github.com/repos/therealmitchconnors/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/therealmitchconnors/lichobile/events","assignees_url":"https://api.github.com/repos/therealmitchconnors/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/therealmitchconnors/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/therealmitchconnors/lichobile/tags","blobs_url":"https://api.github.com/repos/therealmitchconnors/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/therealmitchconnors/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/therealmitchconnors/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/therealmitchconnors/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/therealmitchconnors/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/therealmitchconnors/lichobile/languages","stargazers_url":"https://api.github.com/repos/therealmitchconnors/lichobile/stargazers","contributors_url":"https://api.github.com/repos/therealmitchconnors/lichobile/contributors","subscribers_url":"https://api.github.com/repos/therealmitchconnors/lichobile/subscribers","subscription_url":"https://api.github.com/repos/therealmitchconnors/lichobile/subscription","commits_url":"https://api.github.com/repos/therealmitchconnors/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/therealmitchconnors/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/therealmitchconnors/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/therealmitchconnors/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/therealmitchconnors/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/therealmitchconnors/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/therealmitchconnors/lichobile/merges","archive_url":"https://api.github.com/repos/therealmitchconnors/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/therealmitchconnors/lichobile/downloads","issues_url":"https://api.github.com/repos/therealmitchconnors/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/therealmitchconnors/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/therealmitchconnors/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/therealmitchconnors/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/therealmitchconnors/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/therealmitchconnors/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/therealmitchconnors/lichobile/deployments","created_at":"2016-12-26T19:32:40Z","updated_at":"2016-12-26T19:32:45Z","pushed_at":"2016-12-28T17:17:51Z","git_url":"git://github.com/therealmitchconnors/lichobile.git","ssh_url":"git@github.com:therealmitchconnors/lichobile.git","clone_url":"https://github.com/therealmitchconnors/lichobile.git","svn_url":"https://github.com/therealmitchconnors/lichobile","homepage":"http://lichess.org","size":58453,"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":"veloce:master","ref":"master","sha":"8a32dd924ab05b971946bdb331f53d783e4a8457","user":{"login":"veloce","id":423393,"avatar_url":"https://avatars.githubusercontent.com/u/423393?v=3","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"repo":{"id":19611854,"name":"lichobile","full_name":"veloce/lichobile","owner":{"login":"veloce","id":423393,"avatar_url":"https://avatars.githubusercontent.com/u/423393?v=3","gravatar_id":"","url":"https://api.github.com/users/veloce","html_url":"https://github.com/veloce","followers_url":"https://api.github.com/users/veloce/followers","following_url":"https://api.github.com/users/veloce/following{/other_user}","gists_url":"https://api.github.com/users/veloce/gists{/gist_id}","starred_url":"https://api.github.com/users/veloce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veloce/subscriptions","organizations_url":"https://api.github.com/users/veloce/orgs","repos_url":"https://api.github.com/users/veloce/repos","events_url":"https://api.github.com/users/veloce/events{/privacy}","received_events_url":"https://api.github.com/users/veloce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veloce/lichobile","description":"lichess.org mobile application","fork":false,"url":"https://api.github.com/repos/veloce/lichobile","forks_url":"https://api.github.com/repos/veloce/lichobile/forks","keys_url":"https://api.github.com/repos/veloce/lichobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veloce/lichobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veloce/lichobile/teams","hooks_url":"https://api.github.com/repos/veloce/lichobile/hooks","issue_events_url":"https://api.github.com/repos/veloce/lichobile/issues/events{/number}","events_url":"https://api.github.com/repos/veloce/lichobile/events","assignees_url":"https://api.github.com/repos/veloce/lichobile/assignees{/user}","branches_url":"https://api.github.com/repos/veloce/lichobile/branches{/branch}","tags_url":"https://api.github.com/repos/veloce/lichobile/tags","blobs_url":"https://api.github.com/repos/veloce/lichobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veloce/lichobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veloce/lichobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/veloce/lichobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veloce/lichobile/statuses/{sha}","languages_url":"https://api.github.com/repos/veloce/lichobile/languages","stargazers_url":"https://api.github.com/repos/veloce/lichobile/stargazers","contributors_url":"https://api.github.com/repos/veloce/lichobile/contributors","subscribers_url":"https://api.github.com/repos/veloce/lichobile/subscribers","subscription_url":"https://api.github.com/repos/veloce/lichobile/subscription","commits_url":"https://api.github.com/repos/veloce/lichobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/veloce/lichobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/veloce/lichobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/veloce/lichobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/veloce/lichobile/contents/{+path}","compare_url":"https://api.github.com/repos/veloce/lichobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veloce/lichobile/merges","archive_url":"https://api.github.com/repos/veloce/lichobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veloce/lichobile/downloads","issues_url":"https://api.github.com/repos/veloce/lichobile/issues{/number}","pulls_url":"https://api.github.com/repos/veloce/lichobile/pulls{/number}","milestones_url":"https://api.github.com/repos/veloce/lichobile/milestones{/number}","notifications_url":"https://api.github.com/repos/veloce/lichobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veloce/lichobile/labels{/name}","releases_url":"https://api.github.com/repos/veloce/lichobile/releases{/id}","deployments_url":"https://api.github.com/repos/veloce/lichobile/deployments","created_at":"2014-05-09T13:23:47Z","updated_at":"2016-12-26T05:11:56Z","pushed_at":"2016-12-27T21:56:43Z","git_url":"git://github.com/veloce/lichobile.git","ssh_url":"git@github.com:veloce/lichobile.git","clone_url":"https://github.com/veloce/lichobile.git","svn_url":"https://github.com/veloce/lichobile","homepage":"http://lichess.org","size":58522,"stargazers_count":277,"watchers_count":277,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":33,"forks":62,"open_issues":33,"watchers":277,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/526"},"html":{"href":"https://github.com/veloce/lichobile/pull/526"},"issue":{"href":"https://api.github.com/repos/veloce/lichobile/issues/526"},"comments":{"href":"https://api.github.com/repos/veloce/lichobile/issues/526/comments"},"review_comments":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/526/comments"},"review_comment":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/veloce/lichobile/pulls/526/commits"},"statuses":{"href":"https://api.github.com/repos/veloce/lichobile/statuses/64d4be239798636ca854fb2a02290ec5d3b0ab95"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":17,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"therealmitchconnors"}}