{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/25802","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/25802/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/25802/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/25802/events","html_url":"https://github.com/owncloud/core/pull/25802","id":171158108,"number":25802,"title":"Do not try to load avatar for users that never logged in","user":{"login":"butonic","id":956847,"avatar_url":"https://avatars.githubusercontent.com/u/956847?v=3","gravatar_id":"","url":"https://api.github.com/users/butonic","html_url":"https://github.com/butonic","followers_url":"https://api.github.com/users/butonic/followers","following_url":"https://api.github.com/users/butonic/following{/other_user}","gists_url":"https://api.github.com/users/butonic/gists{/gist_id}","starred_url":"https://api.github.com/users/butonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/butonic/subscriptions","organizations_url":"https://api.github.com/users/butonic/orgs","repos_url":"https://api.github.com/users/butonic/repos","events_url":"https://api.github.com/users/butonic/events{/privacy}","received_events_url":"https://api.github.com/users/butonic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/2%20-%20Developing","name":"2 - Developing","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:avatars","name":"feature:avatars","color":"d4c5f9"},{"url":"https://api.github.com/repos/owncloud/core/labels/performance","name":"performance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-15T12:07:47Z","updated_at":"2016-09-27T19:01:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/25802","html_url":"https://github.com/owncloud/core/pull/25802","diff_url":"https://github.com/owncloud/core/pull/25802.diff","patch_url":"https://github.com/owncloud/core/pull/25802.patch"},"body":"alternative approach to not initialize the fs for every user, see https://github.com/owncloud/core/pull/25286#issue-162637879\r\n\r\nsupersedes https://github.com/owncloud/core/pull/25286\r\n\r\nref https://github.com/owncloud/core/pull/25790\r\n\r\ncc @PVince81 @DeepDiver1975 My mind keeps telling me that the user backend should provide the avatar. In case of ldap that means some jpg from the ldap server. Which is theoretically possible even if the user never logged in before. "},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/249964387","html_url":"https://github.com/owncloud/core/pull/25802#issuecomment-249964387","issue_url":"https://api.github.com/repos/owncloud/core/issues/25802","id":249964387,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T19:01:39Z","updated_at":"2016-09-27T19:01:39Z","body":"I suggest to close this since we have another solution: https://github.com/owncloud/core/pull/26124\r\n\r\nBut I'd also like to explore having a \"first login\" flag and \"first login hook\" as @DeepDiver1975 mentionned, and then use it to copy skeleton files, etc. It would be useful to have a function \"hasThisUserEverLoggedInBefore()\" in various parts of the code so we could skip those quickly.\r\n"}}
{"actor":{"display_login":"PVince81"}}