{"action":"created","issue":{"url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/6","repository_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server","labels_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/6/comments","events_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/6/events","html_url":"https://github.com/MES20171CodeSchool/cs-server/issues/6","id":220070543,"number":6,"title":"Create codeschool questions string","user":{"login":"VictorArnaud","id":14116020,"avatar_url":"https://avatars3.githubusercontent.com/u/14116020?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorArnaud","html_url":"https://github.com/VictorArnaud","followers_url":"https://api.github.com/users/VictorArnaud/followers","following_url":"https://api.github.com/users/VictorArnaud/following{/other_user}","gists_url":"https://api.github.com/users/VictorArnaud/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorArnaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorArnaud/subscriptions","organizations_url":"https://api.github.com/users/VictorArnaud/orgs","repos_url":"https://api.github.com/users/VictorArnaud/repos","events_url":"https://api.github.com/users/VictorArnaud/events{/privacy}","received_events_url":"https://api.github.com/users/VictorArnaud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"allanpereiras","id":3216015,"avatar_url":"https://avatars1.githubusercontent.com/u/3216015?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpereiras","html_url":"https://github.com/allanpereiras","followers_url":"https://api.github.com/users/allanpereiras/followers","following_url":"https://api.github.com/users/allanpereiras/following{/other_user}","gists_url":"https://api.github.com/users/allanpereiras/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpereiras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpereiras/subscriptions","organizations_url":"https://api.github.com/users/allanpereiras/orgs","repos_url":"https://api.github.com/users/allanpereiras/repos","events_url":"https://api.github.com/users/allanpereiras/events{/privacy}","received_events_url":"https://api.github.com/users/allanpereiras/received_events","type":"User","site_admin":false},"assignees":[{"login":"allanpereiras","id":3216015,"avatar_url":"https://avatars1.githubusercontent.com/u/3216015?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpereiras","html_url":"https://github.com/allanpereiras","followers_url":"https://api.github.com/users/allanpereiras/followers","following_url":"https://api.github.com/users/allanpereiras/following{/other_user}","gists_url":"https://api.github.com/users/allanpereiras/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpereiras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpereiras/subscriptions","organizations_url":"https://api.github.com/users/allanpereiras/orgs","repos_url":"https://api.github.com/users/allanpereiras/repos","events_url":"https://api.github.com/users/allanpereiras/events{/privacy}","received_events_url":"https://api.github.com/users/allanpereiras/received_events","type":"User","site_admin":false},{"login":"vitornere","id":7717842,"avatar_url":"https://avatars1.githubusercontent.com/u/7717842?v=3","gravatar_id":"","url":"https://api.github.com/users/vitornere","html_url":"https://github.com/vitornere","followers_url":"https://api.github.com/users/vitornere/followers","following_url":"https://api.github.com/users/vitornere/following{/other_user}","gists_url":"https://api.github.com/users/vitornere/gists{/gist_id}","starred_url":"https://api.github.com/users/vitornere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitornere/subscriptions","organizations_url":"https://api.github.com/users/vitornere/orgs","repos_url":"https://api.github.com/users/vitornere/repos","events_url":"https://api.github.com/users/vitornere/events{/privacy}","received_events_url":"https://api.github.com/users/vitornere/received_events","type":"User","site_admin":false},{"login":"joao18araujo","id":8868365,"avatar_url":"https://avatars2.githubusercontent.com/u/8868365?v=3","gravatar_id":"","url":"https://api.github.com/users/joao18araujo","html_url":"https://github.com/joao18araujo","followers_url":"https://api.github.com/users/joao18araujo/followers","following_url":"https://api.github.com/users/joao18araujo/following{/other_user}","gists_url":"https://api.github.com/users/joao18araujo/gists{/gist_id}","starred_url":"https://api.github.com/users/joao18araujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joao18araujo/subscriptions","organizations_url":"https://api.github.com/users/joao18araujo/orgs","repos_url":"https://api.github.com/users/joao18araujo/repos","events_url":"https://api.github.com/users/joao18araujo/events{/privacy}","received_events_url":"https://api.github.com/users/joao18araujo/received_events","type":"User","site_admin":false},{"login":"VictorArnaud","id":14116020,"avatar_url":"https://avatars3.githubusercontent.com/u/14116020?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorArnaud","html_url":"https://github.com/VictorArnaud","followers_url":"https://api.github.com/users/VictorArnaud/followers","following_url":"https://api.github.com/users/VictorArnaud/following{/other_user}","gists_url":"https://api.github.com/users/VictorArnaud/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorArnaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorArnaud/subscriptions","organizations_url":"https://api.github.com/users/VictorArnaud/orgs","repos_url":"https://api.github.com/users/VictorArnaud/repos","events_url":"https://api.github.com/users/VictorArnaud/events{/privacy}","received_events_url":"https://api.github.com/users/VictorArnaud/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/milestones/1","html_url":"https://github.com/MES20171CodeSchool/cs-server/milestone/1","labels_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/milestones/1/labels","id":2464929,"number":1,"title":"Sprint 2","description":"","creator":{"login":"allanpereiras","id":3216015,"avatar_url":"https://avatars1.githubusercontent.com/u/3216015?v=3","gravatar_id":"","url":"https://api.github.com/users/allanpereiras","html_url":"https://github.com/allanpereiras","followers_url":"https://api.github.com/users/allanpereiras/followers","following_url":"https://api.github.com/users/allanpereiras/following{/other_user}","gists_url":"https://api.github.com/users/allanpereiras/gists{/gist_id}","starred_url":"https://api.github.com/users/allanpereiras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanpereiras/subscriptions","organizations_url":"https://api.github.com/users/allanpereiras/orgs","repos_url":"https://api.github.com/users/allanpereiras/repos","events_url":"https://api.github.com/users/allanpereiras/events{/privacy}","received_events_url":"https://api.github.com/users/allanpereiras/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2017-04-18T19:34:53Z","updated_at":"2017-04-25T20:14:34Z","due_on":"2017-04-25T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-04-07T00:13:23Z","updated_at":"2017-04-25T21:10:00Z","closed_at":null,"body":"Criar modulo de questões com respostam em string\r\n\r\nFuncionalidades:\r\n- [x] Comparação exata\r\n- [x] Ignorar maiúsculas/minúsculas\r\n- [ ] Regex\r\n- [x] Ignorar acentos (use o módulo unidecode)"},"comment":{"url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/comments/297165850","html_url":"https://github.com/MES20171CodeSchool/cs-server/issues/6#issuecomment-297165850","issue_url":"https://api.github.com/repos/MES20171CodeSchool/cs-server/issues/6","id":297165850,"user":{"login":"joao18araujo","id":8868365,"avatar_url":"https://avatars2.githubusercontent.com/u/8868365?v=3","gravatar_id":"","url":"https://api.github.com/users/joao18araujo","html_url":"https://github.com/joao18araujo","followers_url":"https://api.github.com/users/joao18araujo/followers","following_url":"https://api.github.com/users/joao18araujo/following{/other_user}","gists_url":"https://api.github.com/users/joao18araujo/gists{/gist_id}","starred_url":"https://api.github.com/users/joao18araujo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joao18araujo/subscriptions","organizations_url":"https://api.github.com/users/joao18araujo/orgs","repos_url":"https://api.github.com/users/joao18araujo/repos","events_url":"https://api.github.com/users/joao18araujo/events{/privacy}","received_events_url":"https://api.github.com/users/joao18araujo/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T21:10:00Z","updated_at":"2017-04-25T21:10:00Z","body":"A validação está funcionando:\r\n\r\nSe a resposta for joao o usuário pode inserir maiúsculo ou minúsculo, acentuação que será ignorado e irá passar, por exemplo, joão, João, Joao, joao, ...\r\n\r\nFoi isso que entendemos da funcionalidade, me corrija se eu estiver errado, a funcionalidade está testada e passando.\r\n\r\nUma dúvida que surgiu foi na parte do Regex para questão de string. Parte do grupo imaginou que ela serviria para as validações já feitas (maiúsculo/minúsculo e acentos), outra parte imaginou como sendo para validar expressões regulares como, por exemplo:\r\n\r\nAdmin coloca a regex de e-mail r\"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)\" como resposta da questão e se o usuário responder \"email@email.com\" a resposta será validada como correta. Qual das duas abordagens é a esperada dessa issue?"}}
{"actor":{"display_login":"joao18araujo"}}