{"action":"created","issue":{"url":"https://api.github.com/repos/freedombox/Plinth/issues/558","repository_url":"https://api.github.com/repos/freedombox/Plinth","labels_url":"https://api.github.com/repos/freedombox/Plinth/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/freedombox/Plinth/issues/558/comments","events_url":"https://api.github.com/repos/freedombox/Plinth/issues/558/events","html_url":"https://github.com/freedombox/Plinth/pull/558","id":171334351,"number":558,"title":"users: Fix checking restricted usernames","user":{"login":"SunilMohanAdapa","id":1535496,"avatar_url":"https://avatars.githubusercontent.com/u/1535496?v=3","gravatar_id":"","url":"https://api.github.com/users/SunilMohanAdapa","html_url":"https://github.com/SunilMohanAdapa","followers_url":"https://api.github.com/users/SunilMohanAdapa/followers","following_url":"https://api.github.com/users/SunilMohanAdapa/following{/other_user}","gists_url":"https://api.github.com/users/SunilMohanAdapa/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilMohanAdapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilMohanAdapa/subscriptions","organizations_url":"https://api.github.com/users/SunilMohanAdapa/orgs","repos_url":"https://api.github.com/users/SunilMohanAdapa/repos","events_url":"https://api.github.com/users/SunilMohanAdapa/events{/privacy}","received_events_url":"https://api.github.com/users/SunilMohanAdapa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T06:24:29Z","updated_at":"2016-08-16T16:35:22Z","closed_at":"2016-08-16T16:35:22Z","pull_request":{"url":"https://api.github.com/repos/freedombox/Plinth/pulls/558","html_url":"https://github.com/freedombox/Plinth/pull/558","diff_url":"https://github.com/freedombox/Plinth/pull/558.diff","patch_url":"https://github.com/freedombox/Plinth/pull/558.patch"},"body":"When editing an existing user, error is being thrown due to restricted\r\nusernames check.  This is due to the username matching existing\r\nusername.\r\n\r\nAlso:\r\n\r\n- Raise the validation error on the field instead of the entire form.\r\n\r\n- Send error code along with validation error message.\r\n\r\n- End the validation error message with a full stop for consistency."},"comment":{"url":"https://api.github.com/repos/freedombox/Plinth/issues/comments/240159730","html_url":"https://github.com/freedombox/Plinth/pull/558#issuecomment-240159730","issue_url":"https://api.github.com/repos/freedombox/Plinth/issues/558","id":240159730,"user":{"login":"jvalleroy","id":178876,"avatar_url":"https://avatars.githubusercontent.com/u/178876?v=3","gravatar_id":"","url":"https://api.github.com/users/jvalleroy","html_url":"https://github.com/jvalleroy","followers_url":"https://api.github.com/users/jvalleroy/followers","following_url":"https://api.github.com/users/jvalleroy/following{/other_user}","gists_url":"https://api.github.com/users/jvalleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/jvalleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvalleroy/subscriptions","organizations_url":"https://api.github.com/users/jvalleroy/orgs","repos_url":"https://api.github.com/users/jvalleroy/repos","events_url":"https://api.github.com/users/jvalleroy/events{/privacy}","received_events_url":"https://api.github.com/users/jvalleroy/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T16:35:22Z","updated_at":"2016-08-16T16:35:22Z","body":"Merged. This works much better."}}
{"actor":{"display_login":"jvalleroy"}}