{"action":"created","issue":{"url":"https://api.github.com/repos/liqd/aula/issues/990","repository_url":"https://api.github.com/repos/liqd/aula","labels_url":"https://api.github.com/repos/liqd/aula/issues/990/labels{/name}","comments_url":"https://api.github.com/repos/liqd/aula/issues/990/comments","events_url":"https://api.github.com/repos/liqd/aula/issues/990/events","html_url":"https://github.com/liqd/aula/issues/990","id":183398964,"number":990,"title":"user name validation too strict","user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/liqd/aula/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/liqd/aula/labels/poldi%20req","name":"poldi req","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"assignees":[{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-10-17T12:09:48Z","updated_at":"2016-10-18T13:11:39Z","closed_at":null,"body":"rule for valid characters in `userFirstName`, `userLastName`:\r\n\r\n```haskell\r\nallowed c\r\n  | c `elem` [' ', '-', '_'] = True\r\n  | isAlpha c = True\r\n  | _ = False\r\n```\r\n\r\nlogin nicks will be composed of small letters only; special characters are ignored.\r\n\r\n(not sure: what's the current behavior?)"},"comment":{"url":"https://api.github.com/repos/liqd/aula/issues/comments/254502893","html_url":"https://github.com/liqd/aula/issues/990#issuecomment-254502893","issue_url":"https://api.github.com/repos/liqd/aula/issues/990","id":254502893,"user":{"login":"fisx","id":10210727,"avatar_url":"https://avatars.githubusercontent.com/u/10210727?v=3","gravatar_id":"","url":"https://api.github.com/users/fisx","html_url":"https://github.com/fisx","followers_url":"https://api.github.com/users/fisx/followers","following_url":"https://api.github.com/users/fisx/following{/other_user}","gists_url":"https://api.github.com/users/fisx/gists{/gist_id}","starred_url":"https://api.github.com/users/fisx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fisx/subscriptions","organizations_url":"https://api.github.com/users/fisx/orgs","repos_url":"https://api.github.com/users/fisx/repos","events_url":"https://api.github.com/users/fisx/events{/privacy}","received_events_url":"https://api.github.com/users/fisx/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T13:11:39Z","updated_at":"2016-10-18T13:11:39Z","body":"ok, after some testing:\r\n\r\n1. user names are not restricted to any characters at all.  any byte sequence that does not violate the encoding will be accepted, and correctly written to the csv file with the initial passwords.\r\n2. generating logins from that will violate the rule that logins should only consist of `[a-zA-Z]`.  they will just pick what they find in the user name.\r\n\r\n![2016-10-18-150718_1600x900_scrot](https://cloud.githubusercontent.com/assets/10210727/19479024/21f8de8a-9545-11e6-8b1e-83306c1bb499.png)\r\n\r\n\r\nso the task here is to filter special characters out of the first and last name before constructing the login."}}
{"actor":{"display_login":"fisx"}}