{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/1995","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/1995/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/1995/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/1995/events","html_url":"https://github.com/syncthing/syncthing/pull/1995","id":90514749,"number":1995,"title":"Relay support (fixes #1364)","user":{"login":"AudriusButkevicius","id":1144861,"avatar_url":"https://avatars.githubusercontent.com/u/1144861?v=3","gravatar_id":"","url":"https://api.github.com/users/AudriusButkevicius","html_url":"https://github.com/AudriusButkevicius","followers_url":"https://api.github.com/users/AudriusButkevicius/followers","following_url":"https://api.github.com/users/AudriusButkevicius/following{/other_user}","gists_url":"https://api.github.com/users/AudriusButkevicius/gists{/gist_id}","starred_url":"https://api.github.com/users/AudriusButkevicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudriusButkevicius/subscriptions","organizations_url":"https://api.github.com/users/AudriusButkevicius/orgs","repos_url":"https://api.github.com/users/AudriusButkevicius/repos","events_url":"https://api.github.com/users/AudriusButkevicius/events{/privacy}","received_events_url":"https://api.github.com/users/AudriusButkevicius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/enhancement","name":"enhancement","color":"009800"},{"url":"https://api.github.com/repos/syncthing/syncthing/labels/pr-refactor","name":"pr-refactor","color":"fef2c0"},{"url":"https://api.github.com/repos/syncthing/syncthing/labels/pr-WIP","name":"pr-WIP","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-23T23:21:52Z","updated_at":"2015-06-28T20:27:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/syncthing/pulls/1995","html_url":"https://github.com/syncthing/syncthing/pull/1995","diff_url":"https://github.com/syncthing/syncthing/pull/1995.diff","patch_url":"https://github.com/syncthing/syncthing/pull/1995.patch"},"body":"The first changeset does:\r\n\r\n1. Change listen addresses to URIs everywhere\r\n2. Break out connectionSvc to support listeners and dialers based on schema (not necessary, but nice to have)\r\n3. Add relay announcement and lookups to discovery service\r\n\r\nThings left to do:\r\n1. Add a subservice to connectionSvc for dealing with relay addresses\r\n2. Keep dialing non-relay addresses, and disconnect existing relay connections if we've managed to get a direct connection.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/116327950","html_url":"https://github.com/syncthing/syncthing/pull/1995#issuecomment-116327950","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/1995","id":116327950,"user":{"login":"AudriusButkevicius","id":1144861,"avatar_url":"https://avatars.githubusercontent.com/u/1144861?v=3","gravatar_id":"","url":"https://api.github.com/users/AudriusButkevicius","html_url":"https://github.com/AudriusButkevicius","followers_url":"https://api.github.com/users/AudriusButkevicius/followers","following_url":"https://api.github.com/users/AudriusButkevicius/following{/other_user}","gists_url":"https://api.github.com/users/AudriusButkevicius/gists{/gist_id}","starred_url":"https://api.github.com/users/AudriusButkevicius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudriusButkevicius/subscriptions","organizations_url":"https://api.github.com/users/AudriusButkevicius/orgs","repos_url":"https://api.github.com/users/AudriusButkevicius/repos","events_url":"https://api.github.com/users/AudriusButkevicius/events{/privacy}","received_events_url":"https://api.github.com/users/AudriusButkevicius/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T20:27:35Z","updated_at":"2015-06-28T20:27:35Z","body":"I guess lets get it reviewed before I put in the effort of fixing tests etc.\r\nFeels like the connection type should be part of the model (so that it could be reported in the UI?)"}}