{"action":"opened","number":514,"pull_request":{"url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514","id":45191103,"html_url":"https://github.com/AyuntamientoMadrid/participacion/pull/514","diff_url":"https://github.com/AyuntamientoMadrid/participacion/pull/514.diff","patch_url":"https://github.com/AyuntamientoMadrid/participacion/pull/514.patch","issue_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/514","number":514,"state":"open","locked":false,"title":"Document validation","user":{"login":"xuanxu","id":6528,"avatar_url":"https://avatars.githubusercontent.com/u/6528?v=3","gravatar_id":"","url":"https://api.github.com/users/xuanxu","html_url":"https://github.com/xuanxu","followers_url":"https://api.github.com/users/xuanxu/followers","following_url":"https://api.github.com/users/xuanxu/following{/other_user}","gists_url":"https://api.github.com/users/xuanxu/gists{/gist_id}","starred_url":"https://api.github.com/users/xuanxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuanxu/subscriptions","organizations_url":"https://api.github.com/users/xuanxu/orgs","repos_url":"https://api.github.com/users/xuanxu/repos","events_url":"https://api.github.com/users/xuanxu/events{/privacy}","received_events_url":"https://api.github.com/users/xuanxu/received_events","type":"User","site_admin":false},"body":"Añadido método para limpiar el DNI, elimina cualquier cosa que no sean números y letras y envía al padrón siempre el mismo formáto con la letra en mayusculas\r\nAñadida verificación de que solo los mayores de 16 años puedan verificar su cuenta.\r\nDel último punto del issue, los ceros antes del dni se encarga el padrón.\r\nCloses #498 ","created_at":"2015-09-16T16:04:06Z","updated_at":"2015-09-16T16:04:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514/commits","review_comments_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514/comments","review_comment_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/514/comments","statuses_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/statuses/1f42fba8ec3199291413db79eb9a95f5c1517887","head":{"label":"AyuntamientoMadrid:clean-document","ref":"clean-document","sha":"1f42fba8ec3199291413db79eb9a95f5c1517887","user":{"login":"AyuntamientoMadrid","id":13286342,"avatar_url":"https://avatars.githubusercontent.com/u/13286342?v=3","gravatar_id":"","url":"https://api.github.com/users/AyuntamientoMadrid","html_url":"https://github.com/AyuntamientoMadrid","followers_url":"https://api.github.com/users/AyuntamientoMadrid/followers","following_url":"https://api.github.com/users/AyuntamientoMadrid/following{/other_user}","gists_url":"https://api.github.com/users/AyuntamientoMadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/AyuntamientoMadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AyuntamientoMadrid/subscriptions","organizations_url":"https://api.github.com/users/AyuntamientoMadrid/orgs","repos_url":"https://api.github.com/users/AyuntamientoMadrid/repos","events_url":"https://api.github.com/users/AyuntamientoMadrid/events{/privacy}","received_events_url":"https://api.github.com/users/AyuntamientoMadrid/received_events","type":"Organization","site_admin":false},"repo":{"id":39152554,"name":"participacion","full_name":"AyuntamientoMadrid/participacion","owner":{"login":"AyuntamientoMadrid","id":13286342,"avatar_url":"https://avatars.githubusercontent.com/u/13286342?v=3","gravatar_id":"","url":"https://api.github.com/users/AyuntamientoMadrid","html_url":"https://github.com/AyuntamientoMadrid","followers_url":"https://api.github.com/users/AyuntamientoMadrid/followers","following_url":"https://api.github.com/users/AyuntamientoMadrid/following{/other_user}","gists_url":"https://api.github.com/users/AyuntamientoMadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/AyuntamientoMadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AyuntamientoMadrid/subscriptions","organizations_url":"https://api.github.com/users/AyuntamientoMadrid/orgs","repos_url":"https://api.github.com/users/AyuntamientoMadrid/repos","events_url":"https://api.github.com/users/AyuntamientoMadrid/events{/privacy}","received_events_url":"https://api.github.com/users/AyuntamientoMadrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AyuntamientoMadrid/participacion","description":"Consul - Gobierno abierto del Ayuntamiento de Madrid","fork":false,"url":"https://api.github.com/repos/AyuntamientoMadrid/participacion","forks_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/forks","keys_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/teams","hooks_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/hooks","issue_events_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/events{/number}","events_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/events","assignees_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/assignees{/user}","branches_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/branches{/branch}","tags_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/tags","blobs_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/refs{/sha}","trees_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/statuses/{sha}","languages_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/languages","stargazers_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/stargazers","contributors_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/contributors","subscribers_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/subscribers","subscription_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/subscription","commits_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/commits{/sha}","git_commits_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/commits{/sha}","comments_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/comments{/number}","issue_comment_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/comments{/number}","contents_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/contents/{+path}","compare_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/merges","archive_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/downloads","issues_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues{/number}","pulls_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls{/number}","milestones_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/milestones{/number}","notifications_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/labels{/name}","releases_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/releases{/id}","created_at":"2015-07-15T18:04:16Z","updated_at":"2015-09-16T15:58:48Z","pushed_at":"2015-09-16T16:01:37Z","git_url":"git://github.com/AyuntamientoMadrid/participacion.git","ssh_url":"git@github.com:AyuntamientoMadrid/participacion.git","clone_url":"https://github.com/AyuntamientoMadrid/participacion.git","svn_url":"https://github.com/AyuntamientoMadrid/participacion","homepage":"https://decide.madrid.es/","size":9812,"stargazers_count":218,"watchers_count":218,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":54,"forks":56,"open_issues":54,"watchers":218,"default_branch":"master"}},"base":{"label":"AyuntamientoMadrid:master","ref":"master","sha":"17af8f48c8071a8cfbf7763422673692a2b95b6b","user":{"login":"AyuntamientoMadrid","id":13286342,"avatar_url":"https://avatars.githubusercontent.com/u/13286342?v=3","gravatar_id":"","url":"https://api.github.com/users/AyuntamientoMadrid","html_url":"https://github.com/AyuntamientoMadrid","followers_url":"https://api.github.com/users/AyuntamientoMadrid/followers","following_url":"https://api.github.com/users/AyuntamientoMadrid/following{/other_user}","gists_url":"https://api.github.com/users/AyuntamientoMadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/AyuntamientoMadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AyuntamientoMadrid/subscriptions","organizations_url":"https://api.github.com/users/AyuntamientoMadrid/orgs","repos_url":"https://api.github.com/users/AyuntamientoMadrid/repos","events_url":"https://api.github.com/users/AyuntamientoMadrid/events{/privacy}","received_events_url":"https://api.github.com/users/AyuntamientoMadrid/received_events","type":"Organization","site_admin":false},"repo":{"id":39152554,"name":"participacion","full_name":"AyuntamientoMadrid/participacion","owner":{"login":"AyuntamientoMadrid","id":13286342,"avatar_url":"https://avatars.githubusercontent.com/u/13286342?v=3","gravatar_id":"","url":"https://api.github.com/users/AyuntamientoMadrid","html_url":"https://github.com/AyuntamientoMadrid","followers_url":"https://api.github.com/users/AyuntamientoMadrid/followers","following_url":"https://api.github.com/users/AyuntamientoMadrid/following{/other_user}","gists_url":"https://api.github.com/users/AyuntamientoMadrid/gists{/gist_id}","starred_url":"https://api.github.com/users/AyuntamientoMadrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AyuntamientoMadrid/subscriptions","organizations_url":"https://api.github.com/users/AyuntamientoMadrid/orgs","repos_url":"https://api.github.com/users/AyuntamientoMadrid/repos","events_url":"https://api.github.com/users/AyuntamientoMadrid/events{/privacy}","received_events_url":"https://api.github.com/users/AyuntamientoMadrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AyuntamientoMadrid/participacion","description":"Consul - Gobierno abierto del Ayuntamiento de Madrid","fork":false,"url":"https://api.github.com/repos/AyuntamientoMadrid/participacion","forks_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/forks","keys_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/teams","hooks_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/hooks","issue_events_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/events{/number}","events_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/events","assignees_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/assignees{/user}","branches_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/branches{/branch}","tags_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/tags","blobs_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/refs{/sha}","trees_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/statuses/{sha}","languages_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/languages","stargazers_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/stargazers","contributors_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/contributors","subscribers_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/subscribers","subscription_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/subscription","commits_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/commits{/sha}","git_commits_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/git/commits{/sha}","comments_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/comments{/number}","issue_comment_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/comments{/number}","contents_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/contents/{+path}","compare_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/merges","archive_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/downloads","issues_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues{/number}","pulls_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls{/number}","milestones_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/milestones{/number}","notifications_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/labels{/name}","releases_url":"https://api.github.com/repos/AyuntamientoMadrid/participacion/releases{/id}","created_at":"2015-07-15T18:04:16Z","updated_at":"2015-09-16T15:58:48Z","pushed_at":"2015-09-16T16:01:37Z","git_url":"git://github.com/AyuntamientoMadrid/participacion.git","ssh_url":"git@github.com:AyuntamientoMadrid/participacion.git","clone_url":"https://github.com/AyuntamientoMadrid/participacion.git","svn_url":"https://github.com/AyuntamientoMadrid/participacion","homepage":"https://decide.madrid.es/","size":9812,"stargazers_count":218,"watchers_count":218,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":54,"forks":56,"open_issues":54,"watchers":218,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514"},"html":{"href":"https://github.com/AyuntamientoMadrid/participacion/pull/514"},"issue":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/514"},"comments":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/AyuntamientoMadrid/participacion/statuses/1f42fba8ec3199291413db79eb9a95f5c1517887"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":32,"deletions":5,"changed_files":5}}