{"action":"created","issue":{"url":"https://api.github.com/repos/neos/flow-development-collection/issues/195","repository_url":"https://api.github.com/repos/neos/flow-development-collection","labels_url":"https://api.github.com/repos/neos/flow-development-collection/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/issues/195/comments","events_url":"https://api.github.com/repos/neos/flow-development-collection/issues/195/events","html_url":"https://github.com/neos/flow-development-collection/pull/195","id":124774858,"number":195,"title":"FEATURE: Configurable Redirects","user":{"login":"dfeyer","id":221173,"avatar_url":"https://avatars.githubusercontent.com/u/221173?v=3","gravatar_id":"","url":"https://api.github.com/users/dfeyer","html_url":"https://github.com/dfeyer","followers_url":"https://api.github.com/users/dfeyer/followers","following_url":"https://api.github.com/users/dfeyer/following{/other_user}","gists_url":"https://api.github.com/users/dfeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dfeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfeyer/subscriptions","organizations_url":"https://api.github.com/users/dfeyer/orgs","repos_url":"https://api.github.com/users/dfeyer/repos","events_url":"https://api.github.com/users/dfeyer/events{/privacy}","received_events_url":"https://api.github.com/users/dfeyer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neos/flow-development-collection/labels/P:%20Flow","name":"P: Flow","color":"0052cc"},{"url":"https://api.github.com/repos/neos/flow-development-collection/labels/T:%20PHP","name":"T: PHP","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"dfeyer","id":221173,"avatar_url":"https://avatars.githubusercontent.com/u/221173?v=3","gravatar_id":"","url":"https://api.github.com/users/dfeyer","html_url":"https://github.com/dfeyer","followers_url":"https://api.github.com/users/dfeyer/followers","following_url":"https://api.github.com/users/dfeyer/following{/other_user}","gists_url":"https://api.github.com/users/dfeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/dfeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfeyer/subscriptions","organizations_url":"https://api.github.com/users/dfeyer/orgs","repos_url":"https://api.github.com/users/dfeyer/repos","events_url":"https://api.github.com/users/dfeyer/events{/privacy}","received_events_url":"https://api.github.com/users/dfeyer/received_events","type":"User","site_admin":false},"milestone":null,"comments":74,"created_at":"2016-01-04T15:05:13Z","updated_at":"2016-04-21T07:35:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/195","html_url":"https://github.com/neos/flow-development-collection/pull/195","diff_url":"https://github.com/neos/flow-development-collection/pull/195.diff","patch_url":"https://github.com/neos/flow-development-collection/pull/195.patch"},"body":"Adds a new entity \"Redirection\" and a RedirectionService that enables\r\nbasic administration of redirects.\r\n\r\nThe RedirectionService will be triggered *before* the Routing Framework\r\nkicks in and redirects to any configured target URI if applicable.\r\nIt however is only invoked when no cached route matches the current\r\nrequest. Thus, if a redirection is added, depending route cache entries\r\nare flushed automatically.\r\n\r\nRedirects can be managed via new commands::\r\n\r\n    ./flow redirection:list\r\n    ./flow redirection:add source/path target/path 307\r\n    ./flow redirection:remove source/path\r\n    ./flow redirection:removeall\r\n    ./flow redirection:removebyhost --host host.tld\r\n\r\nIn addition redirects can be imported and exported using::\r\n\r\n    ./flow redirection:export\r\n    ./flow redirection:import\r\n\r\nThe plan is, to create redirects automatically as soon as related\r\nroutes become obsolete due to changed entities for example.\r\n\r\nNEOS-721 #comment basis for fixing the issue"},"comment":{"url":"https://api.github.com/repos/neos/flow-development-collection/issues/comments/212787174","html_url":"https://github.com/neos/flow-development-collection/pull/195#issuecomment-212787174","issue_url":"https://api.github.com/repos/neos/flow-development-collection/issues/195","id":212787174,"user":{"login":"gerhard-boden","id":10533739,"avatar_url":"https://avatars.githubusercontent.com/u/10533739?v=3","gravatar_id":"","url":"https://api.github.com/users/gerhard-boden","html_url":"https://github.com/gerhard-boden","followers_url":"https://api.github.com/users/gerhard-boden/followers","following_url":"https://api.github.com/users/gerhard-boden/following{/other_user}","gists_url":"https://api.github.com/users/gerhard-boden/gists{/gist_id}","starred_url":"https://api.github.com/users/gerhard-boden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerhard-boden/subscriptions","organizations_url":"https://api.github.com/users/gerhard-boden/orgs","repos_url":"https://api.github.com/users/gerhard-boden/repos","events_url":"https://api.github.com/users/gerhard-boden/events{/privacy}","received_events_url":"https://api.github.com/users/gerhard-boden/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T07:35:36Z","updated_at":"2016-04-21T07:35:36Z","body":"@radmiraal great! Sorry, should have checked if a PR was out already. Just did this about a minute ago:\r\nhttps://github.com/gerhard-boden/neos-development-collection/commit/40b29237a18fa0a528f1b6db9ddead453078f9a2\r\n:smile: "}}