{"action":"created","comment":{"url":"https://api.github.com/repos/mattermost/platform/pulls/comments/51177340","id":51177340,"diff_hunk":"@@ -0,0 +1 @@\n+../../../doc/help/Messaging_es.md","path":"web/static/help/Messaging_es.md","position":1,"original_position":1,"commit_id":"53e495cf335d3c6b44361627288db252aae1f4ad","original_commit_id":"53e495cf335d3c6b44361627288db252aae1f4ad","user":{"login":"enahum","id":6757047,"avatar_url":"https://avatars.githubusercontent.com/u/6757047?v=3","gravatar_id":"","url":"https://api.github.com/users/enahum","html_url":"https://github.com/enahum","followers_url":"https://api.github.com/users/enahum/followers","following_url":"https://api.github.com/users/enahum/following{/other_user}","gists_url":"https://api.github.com/users/enahum/gists{/gist_id}","starred_url":"https://api.github.com/users/enahum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enahum/subscriptions","organizations_url":"https://api.github.com/users/enahum/orgs","repos_url":"https://api.github.com/users/enahum/repos","events_url":"https://api.github.com/users/enahum/events{/privacy}","received_events_url":"https://api.github.com/users/enahum/received_events","type":"User","site_admin":false},"body":"Ok I can fix that for both the locales, and actually im looking at the code in web.go and the route for /docs is 'api.AppHandlerIndependent' and to use the **user locale** it should be `api.UserRequired` so I can also change that","created_at":"2016-01-28T19:51:24Z","updated_at":"2016-01-28T19:51:24Z","html_url":"https://github.com/mattermost/platform/pull/2015#discussion_r51177340","pull_request_url":"https://api.github.com/repos/mattermost/platform/pulls/2015","_links":{"self":{"href":"https://api.github.com/repos/mattermost/platform/pulls/comments/51177340"},"html":{"href":"https://github.com/mattermost/platform/pull/2015#discussion_r51177340"},"pull_request":{"href":"https://api.github.com/repos/mattermost/platform/pulls/2015"}}},"pull_request":{"url":"https://api.github.com/repos/mattermost/platform/pulls/2015","id":57552144,"html_url":"https://github.com/mattermost/platform/pull/2015","diff_url":"https://github.com/mattermost/platform/pull/2015.diff","patch_url":"https://github.com/mattermost/platform/pull/2015.patch","issue_url":"https://api.github.com/repos/mattermost/platform/issues/2015","number":2015,"state":"open","locked":false,"title":"PLT-7: Refactoring frontend (chunk 4)","user":{"login":"enahum","id":6757047,"avatar_url":"https://avatars.githubusercontent.com/u/6757047?v=3","gravatar_id":"","url":"https://api.github.com/users/enahum","html_url":"https://github.com/enahum","followers_url":"https://api.github.com/users/enahum/followers","following_url":"https://api.github.com/users/enahum/following{/other_user}","gists_url":"https://api.github.com/users/enahum/gists{/gist_id}","starred_url":"https://api.github.com/users/enahum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enahum/subscriptions","organizations_url":"https://api.github.com/users/enahum/orgs","repos_url":"https://api.github.com/users/enahum/repos","events_url":"https://api.github.com/users/enahum/events{/privacy}","received_events_url":"https://api.github.com/users/enahum/received_events","type":"User","site_admin":false},"body":"- Authorize *(.html template needs refactoring)*\r\n- Docs\r\n- Add `Messaging_es.md` and rename `Messaging.md to Messaging_en.md`\r\n- Find teams\r\n- Login\r\n- Signup team\r\n\r\n**Important**:\r\n\r\nline 68 at login_email.jsx now uses err.id instead of err.message \r\n```javascript\r\nif (err.id === 'api.user.login.not_verified.app_error') {\r\n    window.location.href = '/verify_email?teamname=' + encodeURIComponent(name) + '&email=' + encodeURIComponent(email);\r\n    return;\r\n}\r\n```\r\nMeaning that validation of error messages that comes from the server should be validated against the id and not the message itself","created_at":"2016-01-28T19:25:46Z","updated_at":"2016-01-28T19:51:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"616c64facffff45bb854b3e467dc27d2da12a993","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mattermost/platform/pulls/2015/commits","review_comments_url":"https://api.github.com/repos/mattermost/platform/pulls/2015/comments","review_comment_url":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/platform/issues/2015/comments","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/53e495cf335d3c6b44361627288db252aae1f4ad","head":{"label":"ZBoxApp:PLT-7-pages","ref":"PLT-7-pages","sha":"53e495cf335d3c6b44361627288db252aae1f4ad","user":{"login":"ZBoxApp","id":10992791,"avatar_url":"https://avatars.githubusercontent.com/u/10992791?v=3","gravatar_id":"","url":"https://api.github.com/users/ZBoxApp","html_url":"https://github.com/ZBoxApp","followers_url":"https://api.github.com/users/ZBoxApp/followers","following_url":"https://api.github.com/users/ZBoxApp/following{/other_user}","gists_url":"https://api.github.com/users/ZBoxApp/gists{/gist_id}","starred_url":"https://api.github.com/users/ZBoxApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZBoxApp/subscriptions","organizations_url":"https://api.github.com/users/ZBoxApp/orgs","repos_url":"https://api.github.com/users/ZBoxApp/repos","events_url":"https://api.github.com/users/ZBoxApp/events{/privacy}","received_events_url":"https://api.github.com/users/ZBoxApp/received_events","type":"Organization","site_admin":false},"repo":{"id":43738513,"name":"platform","full_name":"ZBoxApp/platform","owner":{"login":"ZBoxApp","id":10992791,"avatar_url":"https://avatars.githubusercontent.com/u/10992791?v=3","gravatar_id":"","url":"https://api.github.com/users/ZBoxApp","html_url":"https://github.com/ZBoxApp","followers_url":"https://api.github.com/users/ZBoxApp/followers","following_url":"https://api.github.com/users/ZBoxApp/following{/other_user}","gists_url":"https://api.github.com/users/ZBoxApp/gists{/gist_id}","starred_url":"https://api.github.com/users/ZBoxApp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZBoxApp/subscriptions","organizations_url":"https://api.github.com/users/ZBoxApp/orgs","repos_url":"https://api.github.com/users/ZBoxApp/repos","events_url":"https://api.github.com/users/ZBoxApp/events{/privacy}","received_events_url":"https://api.github.com/users/ZBoxApp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZBoxApp/platform","description":"Open source Slack-alternative in Golang and React","fork":true,"url":"https://api.github.com/repos/ZBoxApp/platform","forks_url":"https://api.github.com/repos/ZBoxApp/platform/forks","keys_url":"https://api.github.com/repos/ZBoxApp/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZBoxApp/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZBoxApp/platform/teams","hooks_url":"https://api.github.com/repos/ZBoxApp/platform/hooks","issue_events_url":"https://api.github.com/repos/ZBoxApp/platform/issues/events{/number}","events_url":"https://api.github.com/repos/ZBoxApp/platform/events","assignees_url":"https://api.github.com/repos/ZBoxApp/platform/assignees{/user}","branches_url":"https://api.github.com/repos/ZBoxApp/platform/branches{/branch}","tags_url":"https://api.github.com/repos/ZBoxApp/platform/tags","blobs_url":"https://api.github.com/repos/ZBoxApp/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZBoxApp/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZBoxApp/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZBoxApp/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZBoxApp/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ZBoxApp/platform/languages","stargazers_url":"https://api.github.com/repos/ZBoxApp/platform/stargazers","contributors_url":"https://api.github.com/repos/ZBoxApp/platform/contributors","subscribers_url":"https://api.github.com/repos/ZBoxApp/platform/subscribers","subscription_url":"https://api.github.com/repos/ZBoxApp/platform/subscription","commits_url":"https://api.github.com/repos/ZBoxApp/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZBoxApp/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZBoxApp/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZBoxApp/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZBoxApp/platform/contents/{+path}","compare_url":"https://api.github.com/repos/ZBoxApp/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZBoxApp/platform/merges","archive_url":"https://api.github.com/repos/ZBoxApp/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZBoxApp/platform/downloads","issues_url":"https://api.github.com/repos/ZBoxApp/platform/issues{/number}","pulls_url":"https://api.github.com/repos/ZBoxApp/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ZBoxApp/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ZBoxApp/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZBoxApp/platform/labels{/name}","releases_url":"https://api.github.com/repos/ZBoxApp/platform/releases{/id}","deployments_url":"https://api.github.com/repos/ZBoxApp/platform/deployments","created_at":"2015-10-06T08:27:29Z","updated_at":"2016-01-20T19:53:04Z","pushed_at":"2016-01-28T19:18:33Z","git_url":"git://github.com/ZBoxApp/platform.git","ssh_url":"git@github.com:ZBoxApp/platform.git","clone_url":"https://github.com/ZBoxApp/platform.git","svn_url":"https://github.com/ZBoxApp/platform","homepage":"http://mattermost.org","size":36162,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"db37897538f134b29784453797510c20e1e9303c","user":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":37448451,"name":"platform","full_name":"mattermost/platform","owner":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars.githubusercontent.com/u/9828093?v=3","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mattermost/platform","description":"Open source Slack-alternative in Golang and React - Mattermost","fork":false,"url":"https://api.github.com/repos/mattermost/platform","forks_url":"https://api.github.com/repos/mattermost/platform/forks","keys_url":"https://api.github.com/repos/mattermost/platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/platform/teams","hooks_url":"https://api.github.com/repos/mattermost/platform/hooks","issue_events_url":"https://api.github.com/repos/mattermost/platform/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/platform/events","assignees_url":"https://api.github.com/repos/mattermost/platform/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/platform/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/platform/tags","blobs_url":"https://api.github.com/repos/mattermost/platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/platform/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/platform/languages","stargazers_url":"https://api.github.com/repos/mattermost/platform/stargazers","contributors_url":"https://api.github.com/repos/mattermost/platform/contributors","subscribers_url":"https://api.github.com/repos/mattermost/platform/subscribers","subscription_url":"https://api.github.com/repos/mattermost/platform/subscription","commits_url":"https://api.github.com/repos/mattermost/platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/platform/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/platform/merges","archive_url":"https://api.github.com/repos/mattermost/platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/platform/downloads","issues_url":"https://api.github.com/repos/mattermost/platform/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/platform/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/platform/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/platform/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/platform/releases{/id}","deployments_url":"https://api.github.com/repos/mattermost/platform/deployments","created_at":"2015-06-15T06:50:02Z","updated_at":"2016-01-28T17:35:59Z","pushed_at":"2016-01-28T19:46:44Z","git_url":"git://github.com/mattermost/platform.git","ssh_url":"git@github.com:mattermost/platform.git","clone_url":"https://github.com/mattermost/platform.git","svn_url":"https://github.com/mattermost/platform","homepage":"http://mattermost.org","size":39957,"stargazers_count":6429,"watchers_count":6429,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":627,"mirror_url":null,"open_issues_count":83,"forks":627,"open_issues":83,"watchers":6429,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/platform/pulls/2015"},"html":{"href":"https://github.com/mattermost/platform/pull/2015"},"issue":{"href":"https://api.github.com/repos/mattermost/platform/issues/2015"},"comments":{"href":"https://api.github.com/repos/mattermost/platform/issues/2015/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/platform/pulls/2015/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/platform/pulls/2015/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/platform/statuses/53e495cf335d3c6b44361627288db252aae1f4ad"}}}}