{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/8535","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/8535/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/8535/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/8535/events","html_url":"https://github.com/nextcloud/server/pull/8535","id":300196184,"number":8535,"title":"New color generator algorithm","user":{"login":"skjnldsv","id":14975046,"avatar_url":"https://avatars0.githubusercontent.com/u/14975046?v=4","gravatar_id":"","url":"https://api.github.com/users/skjnldsv","html_url":"https://github.com/skjnldsv","followers_url":"https://api.github.com/users/skjnldsv/followers","following_url":"https://api.github.com/users/skjnldsv/following{/other_user}","gists_url":"https://api.github.com/users/skjnldsv/gists{/gist_id}","starred_url":"https://api.github.com/users/skjnldsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjnldsv/subscriptions","organizations_url":"https://api.github.com/users/skjnldsv/orgs","repos_url":"https://api.github.com/users/skjnldsv/repos","events_url":"https://api.github.com/users/skjnldsv/events{/privacy}","received_events_url":"https://api.github.com/users/skjnldsv/received_events","type":"User","site_admin":false},"labels":[{"id":389003640,"url":"https://api.github.com/repos/nextcloud/server/labels/2.%20developing","name":"2. developing","color":"0052cc","default":false},{"id":388630313,"url":"https://api.github.com/repos/nextcloud/server/labels/design","name":"design","color":"cc317c","default":false},{"id":386379233,"url":"https://api.github.com/repos/nextcloud/server/labels/enhancement","name":"enhancement","color":"0e8a16","default":true},{"id":418774775,"url":"https://api.github.com/repos/nextcloud/server/labels/papercut","name":"papercut","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"skjnldsv","id":14975046,"avatar_url":"https://avatars0.githubusercontent.com/u/14975046?v=4","gravatar_id":"","url":"https://api.github.com/users/skjnldsv","html_url":"https://github.com/skjnldsv","followers_url":"https://api.github.com/users/skjnldsv/followers","following_url":"https://api.github.com/users/skjnldsv/following{/other_user}","gists_url":"https://api.github.com/users/skjnldsv/gists{/gist_id}","starred_url":"https://api.github.com/users/skjnldsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjnldsv/subscriptions","organizations_url":"https://api.github.com/users/skjnldsv/orgs","repos_url":"https://api.github.com/users/skjnldsv/repos","events_url":"https://api.github.com/users/skjnldsv/events{/privacy}","received_events_url":"https://api.github.com/users/skjnldsv/received_events","type":"User","site_admin":false},"assignees":[{"login":"skjnldsv","id":14975046,"avatar_url":"https://avatars0.githubusercontent.com/u/14975046?v=4","gravatar_id":"","url":"https://api.github.com/users/skjnldsv","html_url":"https://github.com/skjnldsv","followers_url":"https://api.github.com/users/skjnldsv/followers","following_url":"https://api.github.com/users/skjnldsv/following{/other_user}","gists_url":"https://api.github.com/users/skjnldsv/gists{/gist_id}","starred_url":"https://api.github.com/users/skjnldsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjnldsv/subscriptions","organizations_url":"https://api.github.com/users/skjnldsv/orgs","repos_url":"https://api.github.com/users/skjnldsv/repos","events_url":"https://api.github.com/users/skjnldsv/events{/privacy}","received_events_url":"https://api.github.com/users/skjnldsv/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/nextcloud/server/milestones/31","html_url":"https://github.com/nextcloud/server/milestone/31","labels_url":"https://api.github.com/repos/nextcloud/server/milestones/31/labels","id":2759863,"number":31,"title":"Nextcloud 14","description":"","creator":{"login":"jancborchardt","id":925062,"avatar_url":"https://avatars2.githubusercontent.com/u/925062?v=4","gravatar_id":"","url":"https://api.github.com/users/jancborchardt","html_url":"https://github.com/jancborchardt","followers_url":"https://api.github.com/users/jancborchardt/followers","following_url":"https://api.github.com/users/jancborchardt/following{/other_user}","gists_url":"https://api.github.com/users/jancborchardt/gists{/gist_id}","starred_url":"https://api.github.com/users/jancborchardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jancborchardt/subscriptions","organizations_url":"https://api.github.com/users/jancborchardt/orgs","repos_url":"https://api.github.com/users/jancborchardt/repos","events_url":"https://api.github.com/users/jancborchardt/events{/privacy}","received_events_url":"https://api.github.com/users/jancborchardt/received_events","type":"User","site_admin":false},"open_issues":159,"closed_issues":298,"state":"open","created_at":"2017-09-12T11:43:02Z","updated_at":"2018-03-02T13:38:28Z","due_on":null,"closed_at":null},"comments":19,"created_at":"2018-02-26T11:08:19Z","updated_at":"2018-03-02T13:41:34Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/8535","html_url":"https://github.com/nextcloud/server/pull/8535","diff_url":"https://github.com/nextcloud/server/pull/8535.diff","patch_url":"https://github.com/nextcloud/server/pull/8535.patch"},"body":"Fix #1747 \r\n\r\n- We now generate all of our colours based on the three primary we decided to use.\r\n  - Colors are now based on nextcloud official\r\n  - This removes the unwanted hue system we've been using before\r\n  - We can decide to change the sat/lum of one of the primary we want and the generator will automatically smooth the colors to match.\r\n  - Better contrasts \r\n- New hash to int algorithm. \r\n  - Far better results. A bit slower, but we get a variance around <1% across the desired number. \r\nChart for 1M generated hash with 20 colors spread\r\n![chart](https://user-images.githubusercontent.com/14975046/36667223-77749226-1aed-11e8-902f-31fe98c0f6d4.png)\r\n\r\n\r\n@rullzer do you want me to update the php algorithm you used to generate all avatars?"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/369923490","html_url":"https://github.com/nextcloud/server/pull/8535#issuecomment-369923490","issue_url":"https://api.github.com/repos/nextcloud/server/issues/8535","id":369923490,"user":{"login":"juliushaertl","id":3404133,"avatar_url":"https://avatars0.githubusercontent.com/u/3404133?v=4","gravatar_id":"","url":"https://api.github.com/users/juliushaertl","html_url":"https://github.com/juliushaertl","followers_url":"https://api.github.com/users/juliushaertl/followers","following_url":"https://api.github.com/users/juliushaertl/following{/other_user}","gists_url":"https://api.github.com/users/juliushaertl/gists{/gist_id}","starred_url":"https://api.github.com/users/juliushaertl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliushaertl/subscriptions","organizations_url":"https://api.github.com/users/juliushaertl/orgs","repos_url":"https://api.github.com/users/juliushaertl/repos","events_url":"https://api.github.com/users/juliushaertl/events{/privacy}","received_events_url":"https://api.github.com/users/juliushaertl/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T13:41:34Z","updated_at":"2018-03-02T13:41:34Z","author_association":"MEMBER","body":"> 1. tetrad (Codepen) is more pink/red\r\n\r\nThat looks best to me, we have no conflict with colors that are to similar to the primary color (NC-blue) and have a variety of colors, not just using red-ish ones.\r\n\r\n\r\n"}}
{"actor":{"display_login":"juliushaertl"}}