{"action":"closed","number":336,"pull_request":{"url":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336","id":75225161,"html_url":"https://github.com/cozy-labs/konnectors/pull/336","diff_url":"https://github.com/cozy-labs/konnectors/pull/336.diff","patch_url":"https://github.com/cozy-labs/konnectors/pull/336.patch","issue_url":"https://api.github.com/repos/cozy-labs/konnectors/issues/336","number":336,"state":"closed","locked":false,"title":"Fix sncf konnector (new html presentation)","user":{"login":"Chocobozzz","id":5180488,"avatar_url":"https://avatars.githubusercontent.com/u/5180488?v=3","gravatar_id":"","url":"https://api.github.com/users/Chocobozzz","html_url":"https://github.com/Chocobozzz","followers_url":"https://api.github.com/users/Chocobozzz/followers","following_url":"https://api.github.com/users/Chocobozzz/following{/other_user}","gists_url":"https://api.github.com/users/Chocobozzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Chocobozzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chocobozzz/subscriptions","organizations_url":"https://api.github.com/users/Chocobozzz/orgs","repos_url":"https://api.github.com/users/Chocobozzz/repos","events_url":"https://api.github.com/users/Chocobozzz/events{/privacy}","received_events_url":"https://api.github.com/users/Chocobozzz/received_events","type":"User","site_admin":false},"body":"Some orders are in the old html form so I kept the old `getEvents` function. Once they will have completely migrated to the new html pages we will be able to remove it.\r\n\r\nThe new html order page is built with Angular which eases the parsing because we can directly fetch the JSON from the API.\r\n\r\nI modified the linter to allow max line length to 120 because some JQuery selectors are very long.\r\n\r\nCloses https://github.com/cozy-labs/konnectors/issues/328","created_at":"2016-06-26T09:10:27Z","updated_at":"2016-06-27T10:01:26Z","closed_at":"2016-06-27T10:01:26Z","merged_at":"2016-06-27T10:01:25Z","merge_commit_sha":"29c3ae9469dc947c7a4208ca8563485f8a15fcaa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336/commits","review_comments_url":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336/comments","review_comment_url":"https://api.github.com/repos/cozy-labs/konnectors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy-labs/konnectors/issues/336/comments","statuses_url":"https://api.github.com/repos/cozy-labs/konnectors/statuses/9ceddba410d65408d92289e343f01dd3c3214ac5","head":{"label":"Chocobozzz:master","ref":"master","sha":"9ceddba410d65408d92289e343f01dd3c3214ac5","user":{"login":"Chocobozzz","id":5180488,"avatar_url":"https://avatars.githubusercontent.com/u/5180488?v=3","gravatar_id":"","url":"https://api.github.com/users/Chocobozzz","html_url":"https://github.com/Chocobozzz","followers_url":"https://api.github.com/users/Chocobozzz/followers","following_url":"https://api.github.com/users/Chocobozzz/following{/other_user}","gists_url":"https://api.github.com/users/Chocobozzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Chocobozzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chocobozzz/subscriptions","organizations_url":"https://api.github.com/users/Chocobozzz/orgs","repos_url":"https://api.github.com/users/Chocobozzz/repos","events_url":"https://api.github.com/users/Chocobozzz/events{/privacy}","received_events_url":"https://api.github.com/users/Chocobozzz/received_events","type":"User","site_admin":false},"repo":{"id":51354251,"name":"konnectors","full_name":"Chocobozzz/konnectors","owner":{"login":"Chocobozzz","id":5180488,"avatar_url":"https://avatars.githubusercontent.com/u/5180488?v=3","gravatar_id":"","url":"https://api.github.com/users/Chocobozzz","html_url":"https://github.com/Chocobozzz","followers_url":"https://api.github.com/users/Chocobozzz/followers","following_url":"https://api.github.com/users/Chocobozzz/following{/other_user}","gists_url":"https://api.github.com/users/Chocobozzz/gists{/gist_id}","starred_url":"https://api.github.com/users/Chocobozzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chocobozzz/subscriptions","organizations_url":"https://api.github.com/users/Chocobozzz/orgs","repos_url":"https://api.github.com/users/Chocobozzz/repos","events_url":"https://api.github.com/users/Chocobozzz/events{/privacy}","received_events_url":"https://api.github.com/users/Chocobozzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Chocobozzz/konnectors","description":"Import data in your Cozy","fork":true,"url":"https://api.github.com/repos/Chocobozzz/konnectors","forks_url":"https://api.github.com/repos/Chocobozzz/konnectors/forks","keys_url":"https://api.github.com/repos/Chocobozzz/konnectors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Chocobozzz/konnectors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Chocobozzz/konnectors/teams","hooks_url":"https://api.github.com/repos/Chocobozzz/konnectors/hooks","issue_events_url":"https://api.github.com/repos/Chocobozzz/konnectors/issues/events{/number}","events_url":"https://api.github.com/repos/Chocobozzz/konnectors/events","assignees_url":"https://api.github.com/repos/Chocobozzz/konnectors/assignees{/user}","branches_url":"https://api.github.com/repos/Chocobozzz/konnectors/branches{/branch}","tags_url":"https://api.github.com/repos/Chocobozzz/konnectors/tags","blobs_url":"https://api.github.com/repos/Chocobozzz/konnectors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Chocobozzz/konnectors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Chocobozzz/konnectors/git/refs{/sha}","trees_url":"https://api.github.com/repos/Chocobozzz/konnectors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Chocobozzz/konnectors/statuses/{sha}","languages_url":"https://api.github.com/repos/Chocobozzz/konnectors/languages","stargazers_url":"https://api.github.com/repos/Chocobozzz/konnectors/stargazers","contributors_url":"https://api.github.com/repos/Chocobozzz/konnectors/contributors","subscribers_url":"https://api.github.com/repos/Chocobozzz/konnectors/subscribers","subscription_url":"https://api.github.com/repos/Chocobozzz/konnectors/subscription","commits_url":"https://api.github.com/repos/Chocobozzz/konnectors/commits{/sha}","git_commits_url":"https://api.github.com/repos/Chocobozzz/konnectors/git/commits{/sha}","comments_url":"https://api.github.com/repos/Chocobozzz/konnectors/comments{/number}","issue_comment_url":"https://api.github.com/repos/Chocobozzz/konnectors/issues/comments{/number}","contents_url":"https://api.github.com/repos/Chocobozzz/konnectors/contents/{+path}","compare_url":"https://api.github.com/repos/Chocobozzz/konnectors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Chocobozzz/konnectors/merges","archive_url":"https://api.github.com/repos/Chocobozzz/konnectors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Chocobozzz/konnectors/downloads","issues_url":"https://api.github.com/repos/Chocobozzz/konnectors/issues{/number}","pulls_url":"https://api.github.com/repos/Chocobozzz/konnectors/pulls{/number}","milestones_url":"https://api.github.com/repos/Chocobozzz/konnectors/milestones{/number}","notifications_url":"https://api.github.com/repos/Chocobozzz/konnectors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Chocobozzz/konnectors/labels{/name}","releases_url":"https://api.github.com/repos/Chocobozzz/konnectors/releases{/id}","deployments_url":"https://api.github.com/repos/Chocobozzz/konnectors/deployments","created_at":"2016-02-09T08:15:27Z","updated_at":"2016-02-09T08:15:29Z","pushed_at":"2016-06-26T09:01:06Z","git_url":"git://github.com/Chocobozzz/konnectors.git","ssh_url":"git@github.com:Chocobozzz/konnectors.git","clone_url":"https://github.com/Chocobozzz/konnectors.git","svn_url":"https://github.com/Chocobozzz/konnectors","homepage":null,"size":5052,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"cozy-labs:master","ref":"master","sha":"71e109bd3a51e1d58d43de6abc3f99f1f6f0e5d7","user":{"login":"cozy-labs","id":8415593,"avatar_url":"https://avatars.githubusercontent.com/u/8415593?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":15378288,"name":"konnectors","full_name":"cozy-labs/konnectors","owner":{"login":"cozy-labs","id":8415593,"avatar_url":"https://avatars.githubusercontent.com/u/8415593?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy-labs","html_url":"https://github.com/cozy-labs","followers_url":"https://api.github.com/users/cozy-labs/followers","following_url":"https://api.github.com/users/cozy-labs/following{/other_user}","gists_url":"https://api.github.com/users/cozy-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy-labs/subscriptions","organizations_url":"https://api.github.com/users/cozy-labs/orgs","repos_url":"https://api.github.com/users/cozy-labs/repos","events_url":"https://api.github.com/users/cozy-labs/events{/privacy}","received_events_url":"https://api.github.com/users/cozy-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy-labs/konnectors","description":"Import data in your Cozy","fork":false,"url":"https://api.github.com/repos/cozy-labs/konnectors","forks_url":"https://api.github.com/repos/cozy-labs/konnectors/forks","keys_url":"https://api.github.com/repos/cozy-labs/konnectors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy-labs/konnectors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy-labs/konnectors/teams","hooks_url":"https://api.github.com/repos/cozy-labs/konnectors/hooks","issue_events_url":"https://api.github.com/repos/cozy-labs/konnectors/issues/events{/number}","events_url":"https://api.github.com/repos/cozy-labs/konnectors/events","assignees_url":"https://api.github.com/repos/cozy-labs/konnectors/assignees{/user}","branches_url":"https://api.github.com/repos/cozy-labs/konnectors/branches{/branch}","tags_url":"https://api.github.com/repos/cozy-labs/konnectors/tags","blobs_url":"https://api.github.com/repos/cozy-labs/konnectors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy-labs/konnectors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy-labs/konnectors/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy-labs/konnectors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy-labs/konnectors/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy-labs/konnectors/languages","stargazers_url":"https://api.github.com/repos/cozy-labs/konnectors/stargazers","contributors_url":"https://api.github.com/repos/cozy-labs/konnectors/contributors","subscribers_url":"https://api.github.com/repos/cozy-labs/konnectors/subscribers","subscription_url":"https://api.github.com/repos/cozy-labs/konnectors/subscription","commits_url":"https://api.github.com/repos/cozy-labs/konnectors/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy-labs/konnectors/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy-labs/konnectors/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy-labs/konnectors/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy-labs/konnectors/contents/{+path}","compare_url":"https://api.github.com/repos/cozy-labs/konnectors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy-labs/konnectors/merges","archive_url":"https://api.github.com/repos/cozy-labs/konnectors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy-labs/konnectors/downloads","issues_url":"https://api.github.com/repos/cozy-labs/konnectors/issues{/number}","pulls_url":"https://api.github.com/repos/cozy-labs/konnectors/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy-labs/konnectors/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy-labs/konnectors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy-labs/konnectors/labels{/name}","releases_url":"https://api.github.com/repos/cozy-labs/konnectors/releases{/id}","deployments_url":"https://api.github.com/repos/cozy-labs/konnectors/deployments","created_at":"2013-12-22T16:24:12Z","updated_at":"2016-06-23T16:56:39Z","pushed_at":"2016-06-27T10:01:26Z","git_url":"git://github.com/cozy-labs/konnectors.git","ssh_url":"git@github.com:cozy-labs/konnectors.git","clone_url":"https://github.com/cozy-labs/konnectors.git","svn_url":"https://github.com/cozy-labs/konnectors","homepage":null,"size":5425,"stargazers_count":18,"watchers_count":18,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":59,"forks":34,"open_issues":59,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336"},"html":{"href":"https://github.com/cozy-labs/konnectors/pull/336"},"issue":{"href":"https://api.github.com/repos/cozy-labs/konnectors/issues/336"},"comments":{"href":"https://api.github.com/repos/cozy-labs/konnectors/issues/336/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy-labs/konnectors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy-labs/konnectors/pulls/336/commits"},"statuses":{"href":"https://api.github.com/repos/cozy-labs/konnectors/statuses/9ceddba410d65408d92289e343f01dd3c3214ac5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"frankrousseau","id":1336623,"avatar_url":"https://avatars.githubusercontent.com/u/1336623?v=3","gravatar_id":"","url":"https://api.github.com/users/frankrousseau","html_url":"https://github.com/frankrousseau","followers_url":"https://api.github.com/users/frankrousseau/followers","following_url":"https://api.github.com/users/frankrousseau/following{/other_user}","gists_url":"https://api.github.com/users/frankrousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/frankrousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankrousseau/subscriptions","organizations_url":"https://api.github.com/users/frankrousseau/orgs","repos_url":"https://api.github.com/users/frankrousseau/repos","events_url":"https://api.github.com/users/frankrousseau/events{/privacy}","received_events_url":"https://api.github.com/users/frankrousseau/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":279,"deletions":198,"changed_files":4}}
{"actor":{"display_login":"frankrousseau"}}