{"action":"created","comment":{"url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments/223369130","pull_request_review_id":162477645,"id":223369130,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzM2OTEzMA==","diff_hunk":"@@ -0,0 +1,114 @@\n+<template>\n+    <b-card class=\"no-hover\">\n+        <h2>Preview:</h2>\n+        <div class=\"profile-portrait-edit small-shadow\">\n+            <croppa v-model=\"croppa\"\n+                disable-click-to-choose\n+                :width=\"250\"\n+                :height=\"250\"\n+                canvas-color=\"transparent\"\n+                :show-remove-button=\"false\"\n+                :show-loading=\"true\"\n+                :loading-size=\"50\"\n+                accept=\"image/*\"\n+                :file-size-limit=\"this.$root.maxFileSizeBytes\"\n+                @file-type-mismatch=\"onFileTypeMismatch\"\n+                @file-size-exceed=\"onFileSizeExceed\"\n+                :initial-image=\"pictureUrl\"\n+                initial-size=\"natural\"\n+                initial-position=\"center\"/>\n+        </div>\n+        <br/><br/>","path":"src/vue/src/components/assets/ImageCropper.vue","position":21,"original_position":21,"commit_id":"3e49f10d520a8d9b3db97e23a1e960e0f1fd5c81","original_commit_id":"3e49f10d520a8d9b3db97e23a1e960e0f1fd5c81","user":{"login":"mjvkeulen","id":39912610,"node_id":"MDQ6VXNlcjM5OTEyNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/39912610?v=4","gravatar_id":"","url":"https://api.github.com/users/mjvkeulen","html_url":"https://github.com/mjvkeulen","followers_url":"https://api.github.com/users/mjvkeulen/followers","following_url":"https://api.github.com/users/mjvkeulen/following{/other_user}","gists_url":"https://api.github.com/users/mjvkeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/mjvkeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjvkeulen/subscriptions","organizations_url":"https://api.github.com/users/mjvkeulen/orgs","repos_url":"https://api.github.com/users/mjvkeulen/repos","events_url":"https://api.github.com/users/mjvkeulen/events{/privacy}","received_events_url":"https://api.github.com/users/mjvkeulen/received_events","type":"User","site_admin":false},"body":"Wouldn't margins would be desired over breaks?","created_at":"2018-10-08T13:46:53Z","updated_at":"2018-10-08T13:54:21Z","html_url":"https://github.com/eJourn-al/eJournal/pull/434#discussion_r223369130","pull_request_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments/223369130"},"html":{"href":"https://github.com/eJourn-al/eJournal/pull/434#discussion_r223369130"},"pull_request":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434"}}},"pull_request":{"url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434","id":220954937,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTU0OTM3","html_url":"https://github.com/eJourn-al/eJournal/pull/434","diff_url":"https://github.com/eJourn-al/eJournal/pull/434.diff","patch_url":"https://github.com/eJourn-al/eJournal/pull/434.patch","issue_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/434","number":434,"state":"open","locked":false,"title":"Enhancement/image cropper","user":{"login":"Archifer","id":39912564,"node_id":"MDQ6VXNlcjM5OTEyNTY0","avatar_url":"https://avatars3.githubusercontent.com/u/39912564?v=4","gravatar_id":"","url":"https://api.github.com/users/Archifer","html_url":"https://github.com/Archifer","followers_url":"https://api.github.com/users/Archifer/followers","following_url":"https://api.github.com/users/Archifer/following{/other_user}","gists_url":"https://api.github.com/users/Archifer/gists{/gist_id}","starred_url":"https://api.github.com/users/Archifer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Archifer/subscriptions","organizations_url":"https://api.github.com/users/Archifer/orgs","repos_url":"https://api.github.com/users/Archifer/repos","events_url":"https://api.github.com/users/Archifer/events{/privacy}","received_events_url":"https://api.github.com/users/Archifer/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdded the functionality of uploading any sized picture which will then be cropped and previewed to be the new profile picture, which can then be saved. The uploading and editing will be handled in a modal. The cropping can be done by using the mouse by moving and scrolling and a mobile user can just use his fingers and multi touch.\r\n\r\nHere are pictures to show how the interface will look, \r\n![image](https://user-images.githubusercontent.com/39912564/46583317-63c9ca80-ca55-11e8-8e86-a834e256be18.png)\r\n\r\n![image](https://user-images.githubusercontent.com/39912564/46583348-dcc92200-ca55-11e8-9581-da354565c75f.png)\r\n\r\n![image](https://user-images.githubusercontent.com/39912564/46583354-f9655a00-ca55-11e8-8417-822c983003eb.png)\r\n\r\nIf you save a new profile picture successfully a toast will appear.\r\n![image](https://user-images.githubusercontent.com/39912564/46583362-11d57480-ca56-11e8-81fe-b70cd75af4e4.png)\r\n\r\nEdit edit  (imagine all the pictures are centered like this one)\r\n![image](https://user-images.githubusercontent.com/39912564/46587107-161a8580-ca88-11e8-9ab5-474d56e81443.png)\r\n\r\n## Summary of changes\r\n- Fixes #384 \r\n","created_at":"2018-10-07T15:28:23Z","updated_at":"2018-10-08T13:54:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7f3a8f1613248dfdc2f74462c8bc344580d486f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434/commits","review_comments_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434/comments","review_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/434/comments","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/3e49f10d520a8d9b3db97e23a1e960e0f1fd5c81","head":{"label":"eJourn-al:enhancement/image-cropper","ref":"enhancement/image-cropper","sha":"3e49f10d520a8d9b3db97e23a1e960e0f1fd5c81","user":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"repo":{"id":136030378,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzAzNzg=","name":"eJournal","full_name":"eJourn-al/eJournal","private":false,"owner":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eJourn-al/eJournal","description":"Platform for long term assignments in virtual learning environments.","fork":false,"url":"https://api.github.com/repos/eJourn-al/eJournal","forks_url":"https://api.github.com/repos/eJourn-al/eJournal/forks","keys_url":"https://api.github.com/repos/eJourn-al/eJournal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eJourn-al/eJournal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eJourn-al/eJournal/teams","hooks_url":"https://api.github.com/repos/eJourn-al/eJournal/hooks","issue_events_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/events{/number}","events_url":"https://api.github.com/repos/eJourn-al/eJournal/events","assignees_url":"https://api.github.com/repos/eJourn-al/eJournal/assignees{/user}","branches_url":"https://api.github.com/repos/eJourn-al/eJournal/branches{/branch}","tags_url":"https://api.github.com/repos/eJourn-al/eJournal/tags","blobs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eJourn-al/eJournal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/refs{/sha}","trees_url":"https://api.github.com/repos/eJourn-al/eJournal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/{sha}","languages_url":"https://api.github.com/repos/eJourn-al/eJournal/languages","stargazers_url":"https://api.github.com/repos/eJourn-al/eJournal/stargazers","contributors_url":"https://api.github.com/repos/eJourn-al/eJournal/contributors","subscribers_url":"https://api.github.com/repos/eJourn-al/eJournal/subscribers","subscription_url":"https://api.github.com/repos/eJourn-al/eJournal/subscription","commits_url":"https://api.github.com/repos/eJourn-al/eJournal/commits{/sha}","git_commits_url":"https://api.github.com/repos/eJourn-al/eJournal/git/commits{/sha}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/comments{/number}","issue_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/comments{/number}","contents_url":"https://api.github.com/repos/eJourn-al/eJournal/contents/{+path}","compare_url":"https://api.github.com/repos/eJourn-al/eJournal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eJourn-al/eJournal/merges","archive_url":"https://api.github.com/repos/eJourn-al/eJournal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eJourn-al/eJournal/downloads","issues_url":"https://api.github.com/repos/eJourn-al/eJournal/issues{/number}","pulls_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls{/number}","milestones_url":"https://api.github.com/repos/eJourn-al/eJournal/milestones{/number}","notifications_url":"https://api.github.com/repos/eJourn-al/eJournal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eJourn-al/eJournal/labels{/name}","releases_url":"https://api.github.com/repos/eJourn-al/eJournal/releases{/id}","deployments_url":"https://api.github.com/repos/eJourn-al/eJournal/deployments","created_at":"2018-06-04T13:36:31Z","updated_at":"2018-10-08T12:39:25Z","pushed_at":"2018-10-08T13:08:27Z","git_url":"git://github.com/eJourn-al/eJournal.git","ssh_url":"git@github.com:eJourn-al/eJournal.git","clone_url":"https://github.com/eJourn-al/eJournal.git","svn_url":"https://github.com/eJourn-al/eJournal","homepage":"","size":23023,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":59,"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","node_id":"MDc6TGljZW5zZTE="},"forks":1,"open_issues":59,"watchers":10,"default_branch":"develop"}},"base":{"label":"eJourn-al:develop","ref":"develop","sha":"63d8de1afc39c5f7965e2202fe55538870b6968e","user":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"repo":{"id":136030378,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMzAzNzg=","name":"eJournal","full_name":"eJourn-al/eJournal","private":false,"owner":{"login":"eJourn-al","id":41028230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDI4MjMw","avatar_url":"https://avatars3.githubusercontent.com/u/41028230?v=4","gravatar_id":"","url":"https://api.github.com/users/eJourn-al","html_url":"https://github.com/eJourn-al","followers_url":"https://api.github.com/users/eJourn-al/followers","following_url":"https://api.github.com/users/eJourn-al/following{/other_user}","gists_url":"https://api.github.com/users/eJourn-al/gists{/gist_id}","starred_url":"https://api.github.com/users/eJourn-al/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eJourn-al/subscriptions","organizations_url":"https://api.github.com/users/eJourn-al/orgs","repos_url":"https://api.github.com/users/eJourn-al/repos","events_url":"https://api.github.com/users/eJourn-al/events{/privacy}","received_events_url":"https://api.github.com/users/eJourn-al/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/eJourn-al/eJournal","description":"Platform for long term assignments in virtual learning environments.","fork":false,"url":"https://api.github.com/repos/eJourn-al/eJournal","forks_url":"https://api.github.com/repos/eJourn-al/eJournal/forks","keys_url":"https://api.github.com/repos/eJourn-al/eJournal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eJourn-al/eJournal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eJourn-al/eJournal/teams","hooks_url":"https://api.github.com/repos/eJourn-al/eJournal/hooks","issue_events_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/events{/number}","events_url":"https://api.github.com/repos/eJourn-al/eJournal/events","assignees_url":"https://api.github.com/repos/eJourn-al/eJournal/assignees{/user}","branches_url":"https://api.github.com/repos/eJourn-al/eJournal/branches{/branch}","tags_url":"https://api.github.com/repos/eJourn-al/eJournal/tags","blobs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eJourn-al/eJournal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eJourn-al/eJournal/git/refs{/sha}","trees_url":"https://api.github.com/repos/eJourn-al/eJournal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eJourn-al/eJournal/statuses/{sha}","languages_url":"https://api.github.com/repos/eJourn-al/eJournal/languages","stargazers_url":"https://api.github.com/repos/eJourn-al/eJournal/stargazers","contributors_url":"https://api.github.com/repos/eJourn-al/eJournal/contributors","subscribers_url":"https://api.github.com/repos/eJourn-al/eJournal/subscribers","subscription_url":"https://api.github.com/repos/eJourn-al/eJournal/subscription","commits_url":"https://api.github.com/repos/eJourn-al/eJournal/commits{/sha}","git_commits_url":"https://api.github.com/repos/eJourn-al/eJournal/git/commits{/sha}","comments_url":"https://api.github.com/repos/eJourn-al/eJournal/comments{/number}","issue_comment_url":"https://api.github.com/repos/eJourn-al/eJournal/issues/comments{/number}","contents_url":"https://api.github.com/repos/eJourn-al/eJournal/contents/{+path}","compare_url":"https://api.github.com/repos/eJourn-al/eJournal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eJourn-al/eJournal/merges","archive_url":"https://api.github.com/repos/eJourn-al/eJournal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eJourn-al/eJournal/downloads","issues_url":"https://api.github.com/repos/eJourn-al/eJournal/issues{/number}","pulls_url":"https://api.github.com/repos/eJourn-al/eJournal/pulls{/number}","milestones_url":"https://api.github.com/repos/eJourn-al/eJournal/milestones{/number}","notifications_url":"https://api.github.com/repos/eJourn-al/eJournal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eJourn-al/eJournal/labels{/name}","releases_url":"https://api.github.com/repos/eJourn-al/eJournal/releases{/id}","deployments_url":"https://api.github.com/repos/eJourn-al/eJournal/deployments","created_at":"2018-06-04T13:36:31Z","updated_at":"2018-10-08T12:39:25Z","pushed_at":"2018-10-08T13:08:27Z","git_url":"git://github.com/eJourn-al/eJournal.git","ssh_url":"git@github.com:eJourn-al/eJournal.git","clone_url":"https://github.com/eJourn-al/eJournal.git","svn_url":"https://github.com/eJourn-al/eJournal","homepage":"","size":23023,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":59,"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","node_id":"MDc6TGljZW5zZTE="},"forks":1,"open_issues":59,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434"},"html":{"href":"https://github.com/eJourn-al/eJournal/pull/434"},"issue":{"href":"https://api.github.com/repos/eJourn-al/eJournal/issues/434"},"comments":{"href":"https://api.github.com/repos/eJourn-al/eJournal/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eJourn-al/eJournal/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/eJourn-al/eJournal/statuses/3e49f10d520a8d9b3db97e23a1e960e0f1fd5c81"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mjvkeulen"}}