{"action":"created","issue":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/6151","labels_url":"https://api.github.com/repos/diaspora/diaspora/issues/6151/labels{/name}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6151/comments","events_url":"https://api.github.com/repos/diaspora/diaspora/issues/6151/events","html_url":"https://github.com/diaspora/diaspora/pull/6151","id":92228372,"number":6151,"title":"Federation Gem Step 1: Webfinger/HCard generation","user":{"login":"SuperTux88","id":458548,"avatar_url":"https://avatars.githubusercontent.com/u/458548?v=3","gravatar_id":"","url":"https://api.github.com/users/SuperTux88","html_url":"https://github.com/SuperTux88","followers_url":"https://api.github.com/users/SuperTux88/followers","following_url":"https://api.github.com/users/SuperTux88/following{/other_user}","gists_url":"https://api.github.com/users/SuperTux88/gists{/gist_id}","starred_url":"https://api.github.com/users/SuperTux88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuperTux88/subscriptions","organizations_url":"https://api.github.com/users/SuperTux88/orgs","repos_url":"https://api.github.com/users/SuperTux88/repos","events_url":"https://api.github.com/users/SuperTux88/events{/privacy}","received_events_url":"https://api.github.com/users/SuperTux88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"denschub","id":344777,"avatar_url":"https://avatars.githubusercontent.com/u/344777?v=3","gravatar_id":"","url":"https://api.github.com/users/denschub","html_url":"https://github.com/denschub","followers_url":"https://api.github.com/users/denschub/followers","following_url":"https://api.github.com/users/denschub/following{/other_user}","gists_url":"https://api.github.com/users/denschub/gists{/gist_id}","starred_url":"https://api.github.com/users/denschub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denschub/subscriptions","organizations_url":"https://api.github.com/users/denschub/orgs","repos_url":"https://api.github.com/users/denschub/repos","events_url":"https://api.github.com/users/denschub/events{/privacy}","received_events_url":"https://api.github.com/users/denschub/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-01T00:04:50Z","updated_at":"2015-07-12T15:03:28Z","closed_at":"2015-07-12T15:02:32Z","pull_request":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/6151","html_url":"https://github.com/diaspora/diaspora/pull/6151","diff_url":"https://github.com/diaspora/diaspora/pull/6151.diff","patch_url":"https://github.com/diaspora/diaspora/pull/6151.patch"},"body":"I'm working [on a new federation gem](https://github.com/SuperTux88/diaspora_federation). This is built as a rails engine, so it can simply be mounted to a rails-app and provide the URLs that are needed for the federation. Some parts are based on @Raven24's old federation gem. After the diaspora_federation gem is complete, we can move this to the diaspora organization.\r\n\r\nI also integrate the new gem into diaspora and I want to create several small pull requests for this, so that it is better to review with small changes.\r\n\r\nIn the first step I replaced the host-meta, webfinger and hcard generation with the new diaspora_federation gem. Everything else is still working as before.\r\n\r\nI wrote a new spec, which generates the fixtures with the new controllers. So the existing parser is tested with the new generator. This can be removed again when the parsing is also done in the gem.\r\n\r\nAlso done in this PR:\r\n* refactored the atom_url to contain the .atom suffix\r\n* dropped caches_page, this fixes #5143\r\n* removed unused publics_helper, this was unused since 2010\r\n* don't get ```person.url``` from the hcard, this is already set from the webfinger\r\n\r\n@denschub reviews my work at the gem on a regular basis, I think he can also review this PR :)"},"comment":{"url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/120727157","html_url":"https://github.com/diaspora/diaspora/pull/6151#issuecomment-120727157","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6151","id":120727157,"user":{"login":"denschub","id":344777,"avatar_url":"https://avatars.githubusercontent.com/u/344777?v=3","gravatar_id":"","url":"https://api.github.com/users/denschub","html_url":"https://github.com/denschub","followers_url":"https://api.github.com/users/denschub/followers","following_url":"https://api.github.com/users/denschub/following{/other_user}","gists_url":"https://api.github.com/users/denschub/gists{/gist_id}","starred_url":"https://api.github.com/users/denschub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denschub/subscriptions","organizations_url":"https://api.github.com/users/denschub/orgs","repos_url":"https://api.github.com/users/denschub/repos","events_url":"https://api.github.com/users/denschub/events{/privacy}","received_events_url":"https://api.github.com/users/denschub/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T15:03:28Z","updated_at":"2015-07-12T15:03:28Z","body":"Okay, I merged this.\r\n\r\nThank you **very much** for your ongoing work, looking forward to the upcoming pull request. :heart: "}}