{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-filer/issues/876","repository_url":"https://api.github.com/repos/divio/django-filer","labels_url":"https://api.github.com/repos/divio/django-filer/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-filer/issues/876/comments","events_url":"https://api.github.com/repos/divio/django-filer/issues/876/events","html_url":"https://github.com/divio/django-filer/pull/876","id":162449723,"number":876,"title":"size, sha1 and width, height field recalculation overhaul","user":{"login":"skirsdeda","id":7189652,"avatar_url":"https://avatars.githubusercontent.com/u/7189652?v=3","gravatar_id":"","url":"https://api.github.com/users/skirsdeda","html_url":"https://github.com/skirsdeda","followers_url":"https://api.github.com/users/skirsdeda/followers","following_url":"https://api.github.com/users/skirsdeda/following{/other_user}","gists_url":"https://api.github.com/users/skirsdeda/gists{/gist_id}","starred_url":"https://api.github.com/users/skirsdeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skirsdeda/subscriptions","organizations_url":"https://api.github.com/users/skirsdeda/orgs","repos_url":"https://api.github.com/users/skirsdeda/repos","events_url":"https://api.github.com/users/skirsdeda/events{/privacy}","received_events_url":"https://api.github.com/users/skirsdeda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"assignees":[{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/divio/django-filer/milestones/20","html_url":"https://github.com/divio/django-filer/milestones/1.2.6","labels_url":"https://api.github.com/repos/divio/django-filer/milestones/20/labels","id":2060233,"number":20,"title":"1.2.6","description":"","creator":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":15,"state":"open","created_at":"2016-10-10T18:44:00Z","updated_at":"2016-10-31T14:32:40Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-27T13:17:33Z","updated_at":"2016-11-03T07:37:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/divio/django-filer/pulls/876","html_url":"https://github.com/divio/django-filer/pull/876","diff_url":"https://github.com/divio/django-filer/pull/876.diff","patch_url":"https://github.com/divio/django-filer/pull/876.patch"},"body":"This is a complete rework of part of #500 relating to size, sha1, width and height recalculation. Current implementation is based on how Django's ImageFileField recalculates width, height. Basically, instead of updating these fields in `save()`, they are updated immediately after MultiStorageFileField value is set.\n\nI also improved change detection in descriptor a bit by checking whether field value is actually changed and detecting calls originating from model's `__init__` properly.\n"},"comment":{"url":"https://api.github.com/repos/divio/django-filer/issues/comments/258078911","html_url":"https://github.com/divio/django-filer/pull/876#issuecomment-258078911","issue_url":"https://api.github.com/repos/divio/django-filer/issues/876","id":258078911,"user":{"login":"yakky","id":714711,"avatar_url":"https://avatars.githubusercontent.com/u/714711?v=3","gravatar_id":"","url":"https://api.github.com/users/yakky","html_url":"https://github.com/yakky","followers_url":"https://api.github.com/users/yakky/followers","following_url":"https://api.github.com/users/yakky/following{/other_user}","gists_url":"https://api.github.com/users/yakky/gists{/gist_id}","starred_url":"https://api.github.com/users/yakky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yakky/subscriptions","organizations_url":"https://api.github.com/users/yakky/orgs","repos_url":"https://api.github.com/users/yakky/repos","events_url":"https://api.github.com/users/yakky/events{/privacy}","received_events_url":"https://api.github.com/users/yakky/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T07:37:19Z","updated_at":"2016-11-03T07:37:19Z","body":"@skirsdeda thanks, that looks good"}}
{"actor":{"display_login":"yakky"}}