{"action":"created","issue":{"url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/97","repository_url":"https://api.github.com/repos/hack4vdb/anthill-backend","labels_url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/97/comments","events_url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/97/events","html_url":"https://github.com/hack4vdb/anthill-backend/issues/97","id":172843526,"number":97,"title":"Remove hardcoded URLs from (mail/bot) templates","user":{"login":"stefan2904","id":527767,"avatar_url":"https://avatars.githubusercontent.com/u/527767?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan2904","html_url":"https://github.com/stefan2904","followers_url":"https://api.github.com/users/stefan2904/followers","following_url":"https://api.github.com/users/stefan2904/following{/other_user}","gists_url":"https://api.github.com/users/stefan2904/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan2904/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan2904/subscriptions","organizations_url":"https://api.github.com/users/stefan2904/orgs","repos_url":"https://api.github.com/users/stefan2904/repos","events_url":"https://api.github.com/users/stefan2904/events{/privacy}","received_events_url":"https://api.github.com/users/stefan2904/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hack4vdb/anthill-backend/labels/backend","name":"backend","color":"f9d0c4"},{"url":"https://api.github.com/repos/hack4vdb/anthill-backend/labels/email/messages","name":"email/messages","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hack4vdb/anthill-backend/milestones/2","html_url":"https://github.com/hack4vdb/anthill-backend/milestones/1.0%20before%20campaign%20usage","labels_url":"https://api.github.com/repos/hack4vdb/anthill-backend/milestones/2/labels","id":1944041,"number":2,"title":"1.0 before campaign usage","description":"","creator":{"login":"c3o","id":17108,"avatar_url":"https://avatars.githubusercontent.com/u/17108?v=3","gravatar_id":"","url":"https://api.github.com/users/c3o","html_url":"https://github.com/c3o","followers_url":"https://api.github.com/users/c3o/followers","following_url":"https://api.github.com/users/c3o/following{/other_user}","gists_url":"https://api.github.com/users/c3o/gists{/gist_id}","starred_url":"https://api.github.com/users/c3o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c3o/subscriptions","organizations_url":"https://api.github.com/users/c3o/orgs","repos_url":"https://api.github.com/users/c3o/repos","events_url":"https://api.github.com/users/c3o/events{/privacy}","received_events_url":"https://api.github.com/users/c3o/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":6,"state":"open","created_at":"2016-08-16T03:46:56Z","updated_at":"2016-08-24T01:36:59Z","due_on":"2016-08-28T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-08-24T01:16:22Z","updated_at":"2016-08-25T11:45:34Z","closed_at":null,"body":"At the moment, there are many hardcoded \"weilsumwasgeht.at URLs in the mailtemplates (in templates/emails).\r\n\r\nConsider replacing all hardcoded URLs by calls to Django's [`url` tag](https://docs.djangoproject.com/en/1.10/ref/templates/builtins/#url) (or a own tag). In addition, set global SITE_URL in settings.py and use to build urls in templates.\r\nAlso, remove hardcoded value from utils.make_absolute_url().\r\n\r\nQuickfix: replace all hardcoded URLs by new hardcoded URLs ..."},"comment":{"url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/comments/242358270","html_url":"https://github.com/hack4vdb/anthill-backend/issues/97#issuecomment-242358270","issue_url":"https://api.github.com/repos/hack4vdb/anthill-backend/issues/97","id":242358270,"user":{"login":"benfreu","id":2715393,"avatar_url":"https://avatars.githubusercontent.com/u/2715393?v=3","gravatar_id":"","url":"https://api.github.com/users/benfreu","html_url":"https://github.com/benfreu","followers_url":"https://api.github.com/users/benfreu/followers","following_url":"https://api.github.com/users/benfreu/following{/other_user}","gists_url":"https://api.github.com/users/benfreu/gists{/gist_id}","starred_url":"https://api.github.com/users/benfreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfreu/subscriptions","organizations_url":"https://api.github.com/users/benfreu/orgs","repos_url":"https://api.github.com/users/benfreu/repos","events_url":"https://api.github.com/users/benfreu/events{/privacy}","received_events_url":"https://api.github.com/users/benfreu/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T11:45:34Z","updated_at":"2016-08-25T11:45:34Z","body":"Please be careful with utils.make_absolute_url()\r\n\r\nIt's called from email templates that get generated outside a `request` context so it can't use Django's own url generation function. make_absolute_url needs a hard coded value, but it should indeed be moved to the settings, true."}}
{"actor":{"display_login":"benfreu"}}