{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-platform/issues/7517","labels_url":"https://api.github.com/repos/edx/edx-platform/issues/7517/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-platform/issues/7517/comments","events_url":"https://api.github.com/repos/edx/edx-platform/issues/7517/events","html_url":"https://github.com/edx/edx-platform/pull/7517","id":65226502,"number":7517,"title":"WIP versioned urls for profile images.","user":{"login":"jimabramson","id":1349368,"avatar_url":"https://avatars.githubusercontent.com/u/1349368?v=3","gravatar_id":"","url":"https://api.github.com/users/jimabramson","html_url":"https://github.com/jimabramson","followers_url":"https://api.github.com/users/jimabramson/followers","following_url":"https://api.github.com/users/jimabramson/following{/other_user}","gists_url":"https://api.github.com/users/jimabramson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimabramson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimabramson/subscriptions","organizations_url":"https://api.github.com/users/jimabramson/orgs","repos_url":"https://api.github.com/users/jimabramson/repos","events_url":"https://api.github.com/users/jimabramson/events{/privacy}","received_events_url":"https://api.github.com/users/jimabramson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-03-30T14:35:25Z","updated_at":"2015-04-01T22:09:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-platform/pulls/7517","html_url":"https://github.com/edx/edx-platform/pull/7517","diff_url":"https://github.com/edx/edx-platform/pull/7517.diff","patch_url":"https://github.com/edx/edx-platform/pull/7517.patch"},"body":"@dan-f @andy-armstrong @maxrothman please have a look.\r\n\r\nThis adds a version (first 8 chars from an md5 hash of the timestamp at the moment of upload) to the filenames / urls of user-uploaded profile images.  This avoids the need to do any cache busting - images should be cacheable indefinitely, as their urls will change automatically when updated.\r\n\r\nThis was hacked together fairly rapidly.  All tests passing locally, but I think coverage might need to be adjusted a little better."},"comment":{"url":"https://api.github.com/repos/edx/edx-platform/issues/comments/88647466","html_url":"https://github.com/edx/edx-platform/pull/7517#issuecomment-88647466","issue_url":"https://api.github.com/repos/edx/edx-platform/issues/7517","id":88647466,"user":{"login":"jimabramson","id":1349368,"avatar_url":"https://avatars.githubusercontent.com/u/1349368?v=3","gravatar_id":"","url":"https://api.github.com/users/jimabramson","html_url":"https://github.com/jimabramson","followers_url":"https://api.github.com/users/jimabramson/followers","following_url":"https://api.github.com/users/jimabramson/following{/other_user}","gists_url":"https://api.github.com/users/jimabramson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimabramson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimabramson/subscriptions","organizations_url":"https://api.github.com/users/jimabramson/orgs","repos_url":"https://api.github.com/users/jimabramson/repos","events_url":"https://api.github.com/users/jimabramson/events{/privacy}","received_events_url":"https://api.github.com/users/jimabramson/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T22:09:54Z","updated_at":"2015-04-01T22:09:54Z","body":"the sole test failure is a known flake: https://openedx.atlassian.net/browse/TNL-1479"}}