{"action":"opened","number":374,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374","id":41814209,"html_url":"https://github.com/cozy/cozy-calendar/pull/374","diff_url":"https://github.com/cozy/cozy-calendar/pull/374.diff","patch_url":"https://github.com/cozy/cozy-calendar/pull/374.patch","issue_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/374","number":374,"state":"open","locked":false,"title":"Make the calendar import possible with big files","user":{"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},"body":"Currently importing too big calendars make the browser freezes. Moreover the user has to wait for a very long time. \r\n\r\nThis PR aims to make things smoother for the browser by:\r\n\r\n* Creating new events by group of 20\r\n* handling realtime in a softer way (creation events are handled one by one).\r\n* displaying preview of events by batch of 100 events instead of displaying everything simultaneously","created_at":"2015-08-06T17:41:22Z","updated_at":"2015-08-06T17:41:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-calendar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/374/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-calendar/statuses/d89f69855bb09098fd3f283fe47bb05c13d6fe3f","head":{"label":"frankrousseau:development","ref":"development","sha":"d89f69855bb09098fd3f283fe47bb05c13d6fe3f","user":{"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},"repo":{"id":23558896,"name":"cozy-calendar","full_name":"frankrousseau/cozy-calendar","owner":{"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},"private":false,"html_url":"https://github.com/frankrousseau/cozy-calendar","description":"An application to manage your events and alarms","fork":true,"url":"https://api.github.com/repos/frankrousseau/cozy-calendar","forks_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/forks","keys_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/teams","hooks_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/hooks","issue_events_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/events","assignees_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/tags","blobs_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/languages","stargazers_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/stargazers","contributors_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/contributors","subscribers_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/subscribers","subscription_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/subscription","commits_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/merges","archive_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/downloads","issues_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/labels{/name}","releases_url":"https://api.github.com/repos/frankrousseau/cozy-calendar/releases{/id}","created_at":"2014-09-01T23:48:01Z","updated_at":"2015-04-07T18:00:44Z","pushed_at":"2015-08-06T17:22:56Z","git_url":"git://github.com/frankrousseau/cozy-calendar.git","ssh_url":"git@github.com:frankrousseau/cozy-calendar.git","clone_url":"https://github.com/frankrousseau/cozy-calendar.git","svn_url":"https://github.com/frankrousseau/cozy-calendar","homepage":"https://demo.cozycloud.cc/#apps/calendar/","size":12038,"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":"cozy:development","ref":"development","sha":"c495f656459f8417ece868d40bfad4392b635a6c","user":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":9580885,"name":"cozy-calendar","full_name":"cozy/cozy-calendar","owner":{"login":"cozy","id":7690525,"avatar_url":"https://avatars.githubusercontent.com/u/7690525?v=3","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-calendar","description":"An application to manage your events","fork":false,"url":"https://api.github.com/repos/cozy/cozy-calendar","forks_url":"https://api.github.com/repos/cozy/cozy-calendar/forks","keys_url":"https://api.github.com/repos/cozy/cozy-calendar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-calendar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-calendar/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-calendar/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-calendar/events","assignees_url":"https://api.github.com/repos/cozy/cozy-calendar/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-calendar/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-calendar/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-calendar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-calendar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-calendar/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-calendar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-calendar/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-calendar/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-calendar/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-calendar/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-calendar/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-calendar/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-calendar/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-calendar/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-calendar/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-calendar/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-calendar/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-calendar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-calendar/merges","archive_url":"https://api.github.com/repos/cozy/cozy-calendar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-calendar/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-calendar/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-calendar/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-calendar/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-calendar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-calendar/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-calendar/releases{/id}","created_at":"2013-04-21T14:53:41Z","updated_at":"2015-07-15T07:27:52Z","pushed_at":"2015-08-06T10:16:04Z","git_url":"git://github.com/cozy/cozy-calendar.git","ssh_url":"git@github.com:cozy/cozy-calendar.git","clone_url":"https://github.com/cozy/cozy-calendar.git","svn_url":"https://github.com/cozy/cozy-calendar","homepage":"https://demo.cozycloud.cc/#apps/calendar/","size":13307,"stargazers_count":34,"watchers_count":34,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":83,"forks":20,"open_issues":83,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374"},"html":{"href":"https://github.com/cozy/cozy-calendar/pull/374"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-calendar/issues/374"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-calendar/issues/374/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-calendar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-calendar/pulls/374/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-calendar/statuses/d89f69855bb09098fd3f283fe47bb05c13d6fe3f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":304,"deletions":7074,"changed_files":11}}