{"action":"created","comment":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/188491206","pull_request_review_id":120478588,"id":188491206,"diff_hunk":"@@ -0,0 +1,47 @@\n+<template>\n+  <div class=\"panel panel-default\">\n+    <div class=\"panel-body\">\n+      <div class=\"panel panel-default no-bottom-margin\">\n+        <div class=\"panel-heading\">\n+          <h3 class=\"panel-title\">{{ T.wordsPrivacyPolicy }}</h3>\n+        </div>\n+        <div class=\"panel\">\n+          <p v-html=\"policyHtml\"></p>\n+        </div>\n+      </div>\n+      <form v-on:submit.prevent=\"onSubmit\">\n+        <div class=\"top-margin text-center\">\n+          <label v-show=\"!accepted\"><input name=\"agree\"","path":"frontend/www/js/omegaup/components/user/PrivacyPolicy.vue","position":14,"original_position":14,"commit_id":"568847a119bde24b7ec4d92cf2a1fce724b5c4a2","original_commit_id":"568847a119bde24b7ec4d92cf2a1fce724b5c4a2","user":{"login":"lhchavez","id":168028,"avatar_url":"https://avatars0.githubusercontent.com/u/168028?v=4","gravatar_id":"","url":"https://api.github.com/users/lhchavez","html_url":"https://github.com/lhchavez","followers_url":"https://api.github.com/users/lhchavez/followers","following_url":"https://api.github.com/users/lhchavez/following{/other_user}","gists_url":"https://api.github.com/users/lhchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/lhchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhchavez/subscriptions","organizations_url":"https://api.github.com/users/lhchavez/orgs","repos_url":"https://api.github.com/users/lhchavez/repos","events_url":"https://api.github.com/users/lhchavez/events{/privacy}","received_events_url":"https://api.github.com/users/lhchavez/received_events","type":"User","site_admin":false},"body":"no puedes mejor siempre mostrarlo y deshabilitarlo una vez que se haya aceptado?","created_at":"2018-05-16T02:56:24Z","updated_at":"2018-05-16T03:00:08Z","html_url":"https://github.com/omegaup/omegaup/pull/1995#discussion_r188491206","pull_request_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1995","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/188491206"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1995#discussion_r188491206"},"pull_request":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1995"}}},"pull_request":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/1995","id":187603486,"html_url":"https://github.com/omegaup/omegaup/pull/1995","diff_url":"https://github.com/omegaup/omegaup/pull/1995.diff","patch_url":"https://github.com/omegaup/omegaup/pull/1995.patch","issue_url":"https://api.github.com/repos/omegaup/omegaup/issues/1995","number":1995,"state":"open","locked":false,"title":"Agregando componente para mostrar las políticas de privacidad","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"body":"# Descripción\r\n\r\nSe agrega componente en Vue para mostrar las políticas de privacidad y el usuario tenga la posibilidad de aceptarlas, si así lo desea.\r\n\r\n![captura de pantalla 2018-05-11 a la s 23 05 50](https://user-images.githubusercontent.com/3230352/39953371-39d3ddec-5570-11e8-9541-8037611322a7.png)\r\n\r\nFixes: #1992 \r\n\r\n# Comentarios\r\n\r\nPara este cambio faltan dos cosas importantes a tomar en cuenta:\r\n\r\n- Agregar el texto de la política para poder mostrarlo\r\n\r\n- Agregar el gitObjectId para poder mandarlo almacenarlo en la base de datos (Se aceptan sugerencias y ayuda).\r\n\r\nEl issue indicaba que debería aceptar markdown, pero eso supongo que será más util en la vista de generar la política. ¿Es correcto?\r\n\r\n# Checklist:\r\n\r\n- [X] El código sigue la [guía de estilo](https://github.com/omegaup/omegaup/wiki/Coding-guidelines) de omegaUp.\r\n- [X] Se corrieron todas las pruebas y pasaron.","created_at":"2018-05-12T04:12:02Z","updated_at":"2018-05-16T03:00:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d77ebad6c64659a69c9938874028e3643bbeeacd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1995/commits","review_comments_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1995/comments","review_comment_url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omegaup/omegaup/issues/1995/comments","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/568847a119bde24b7ec4d92cf2a1fce724b5c4a2","head":{"label":"pabo99:add-component-accept-policies","ref":"add-component-accept-policies","sha":"568847a119bde24b7ec4d92cf2a1fce724b5c4a2","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"repo":{"id":101674377,"name":"omegaup","full_name":"pabo99/omegaup","owner":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pabo99/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":true,"url":"https://api.github.com/repos/pabo99/omegaup","forks_url":"https://api.github.com/repos/pabo99/omegaup/forks","keys_url":"https://api.github.com/repos/pabo99/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pabo99/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pabo99/omegaup/teams","hooks_url":"https://api.github.com/repos/pabo99/omegaup/hooks","issue_events_url":"https://api.github.com/repos/pabo99/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/pabo99/omegaup/events","assignees_url":"https://api.github.com/repos/pabo99/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/pabo99/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/pabo99/omegaup/tags","blobs_url":"https://api.github.com/repos/pabo99/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pabo99/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pabo99/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/pabo99/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pabo99/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/pabo99/omegaup/languages","stargazers_url":"https://api.github.com/repos/pabo99/omegaup/stargazers","contributors_url":"https://api.github.com/repos/pabo99/omegaup/contributors","subscribers_url":"https://api.github.com/repos/pabo99/omegaup/subscribers","subscription_url":"https://api.github.com/repos/pabo99/omegaup/subscription","commits_url":"https://api.github.com/repos/pabo99/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/pabo99/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/pabo99/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/pabo99/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/pabo99/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/pabo99/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pabo99/omegaup/merges","archive_url":"https://api.github.com/repos/pabo99/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pabo99/omegaup/downloads","issues_url":"https://api.github.com/repos/pabo99/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/pabo99/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/pabo99/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/pabo99/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pabo99/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/pabo99/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/pabo99/omegaup/deployments","created_at":"2017-08-28T18:28:19Z","updated_at":"2017-08-28T18:28:22Z","pushed_at":"2018-05-15T22:42:06Z","git_url":"git://github.com/pabo99/omegaup.git","ssh_url":"git@github.com:pabo99/omegaup.git","clone_url":"https://github.com/pabo99/omegaup.git","svn_url":"https://github.com/pabo99/omegaup","homepage":"https://omegaup.com","size":227170,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"omegaup:master","ref":"master","sha":"d57223abac63c63ebeccaeda7b3b96b848b0f51b","user":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"repo":{"id":1243685,"name":"omegaup","full_name":"omegaup/omegaup","owner":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omegaup/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":false,"url":"https://api.github.com/repos/omegaup/omegaup","forks_url":"https://api.github.com/repos/omegaup/omegaup/forks","keys_url":"https://api.github.com/repos/omegaup/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omegaup/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omegaup/omegaup/teams","hooks_url":"https://api.github.com/repos/omegaup/omegaup/hooks","issue_events_url":"https://api.github.com/repos/omegaup/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/omegaup/omegaup/events","assignees_url":"https://api.github.com/repos/omegaup/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/omegaup/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/omegaup/omegaup/tags","blobs_url":"https://api.github.com/repos/omegaup/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omegaup/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omegaup/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/omegaup/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/omegaup/omegaup/languages","stargazers_url":"https://api.github.com/repos/omegaup/omegaup/stargazers","contributors_url":"https://api.github.com/repos/omegaup/omegaup/contributors","subscribers_url":"https://api.github.com/repos/omegaup/omegaup/subscribers","subscription_url":"https://api.github.com/repos/omegaup/omegaup/subscription","commits_url":"https://api.github.com/repos/omegaup/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/omegaup/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/omegaup/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/omegaup/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/omegaup/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/omegaup/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omegaup/omegaup/merges","archive_url":"https://api.github.com/repos/omegaup/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omegaup/omegaup/downloads","issues_url":"https://api.github.com/repos/omegaup/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/omegaup/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/omegaup/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/omegaup/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omegaup/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/omegaup/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/omegaup/omegaup/deployments","created_at":"2011-01-12T00:11:21Z","updated_at":"2018-05-14T04:00:17Z","pushed_at":"2018-05-15T22:52:11Z","git_url":"git://github.com/omegaup/omegaup.git","ssh_url":"git@github.com:omegaup/omegaup.git","clone_url":"https://github.com/omegaup/omegaup.git","svn_url":"https://github.com/omegaup/omegaup","homepage":"https://omegaup.com","size":226418,"stargazers_count":61,"watchers_count":61,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":229,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":90,"open_issues":229,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1995"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1995"},"issue":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1995"},"comments":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1995/comments"},"review_comments":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1995/comments"},"review_comment":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1995/commits"},"statuses":{"href":"https://api.github.com/repos/omegaup/omegaup/statuses/568847a119bde24b7ec4d92cf2a1fce724b5c4a2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"lhchavez"}}