{"action":"created","issue":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/1440","labels_url":"https://api.github.com/repos/fguillot/kanboard/issues/1440/labels{/name}","comments_url":"https://api.github.com/repos/fguillot/kanboard/issues/1440/comments","events_url":"https://api.github.com/repos/fguillot/kanboard/issues/1440/events","html_url":"https://github.com/fguillot/kanboard/pull/1440","id":114496468,"number":1440,"title":"build automation patch","user":{"login":"phoen1x","id":2550793,"avatar_url":"https://avatars.githubusercontent.com/u/2550793?v=3","gravatar_id":"","url":"https://api.github.com/users/phoen1x","html_url":"https://github.com/phoen1x","followers_url":"https://api.github.com/users/phoen1x/followers","following_url":"https://api.github.com/users/phoen1x/following{/other_user}","gists_url":"https://api.github.com/users/phoen1x/gists{/gist_id}","starred_url":"https://api.github.com/users/phoen1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phoen1x/subscriptions","organizations_url":"https://api.github.com/users/phoen1x/orgs","repos_url":"https://api.github.com/users/phoen1x/repos","events_url":"https://api.github.com/users/phoen1x/events{/privacy}","received_events_url":"https://api.github.com/users/phoen1x/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T22:12:25Z","updated_at":"2015-12-06T23:17:16Z","closed_at":"2015-12-06T23:17:16Z","pull_request":{"url":"https://api.github.com/repos/fguillot/kanboard/pulls/1440","html_url":"https://github.com/fguillot/kanboard/pull/1440","diff_url":"https://github.com/fguillot/kanboard/pull/1440.diff","patch_url":"https://github.com/fguillot/kanboard/pull/1440.patch"},"body":"My goal is to spin up an Docker instance with Kanboard, do some automated tests and discard the Docker container.\r\n\r\nThe random API Token for the Json-RPC is a good security measure but essentially forbids build automation because my scripts can't obtain the API Token.\r\n\r\nThis could be a <http://en.wikipedia.org/wiki/Patch_(Unix)> build into the Dockerfile or a patch for the PHP source code. So please check for security issues before accepting.\r\n\r\n\r\n##### More Information\r\n\r\nhttp://github.com/phoen1x/skylar/blob/kanbaordBuildAutomation/startup.sh\r\n\r\n<hr>\r\n*CAUTION* the script below deletes the docker container named **kanboard**\r\n<hr>\r\n\r\n```bash\r\ncd /tmp\r\ngit clone https://github.com/phoen1x/skylar.git\r\ncd skylar\r\ngit checkout kanbaordBuildAutomation\r\n./startup.sh\r\n```\r\n\r\nThanks for providing such a awesome project!\r\n\r\nRegards,\r\nThomas\r\n"},"comment":{"url":"https://api.github.com/repos/fguillot/kanboard/issues/comments/162365499","html_url":"https://github.com/fguillot/kanboard/pull/1440#issuecomment-162365499","issue_url":"https://api.github.com/repos/fguillot/kanboard/issues/1440","id":162365499,"user":{"login":"fguillot","id":323546,"avatar_url":"https://avatars.githubusercontent.com/u/323546?v=3","gravatar_id":"","url":"https://api.github.com/users/fguillot","html_url":"https://github.com/fguillot","followers_url":"https://api.github.com/users/fguillot/followers","following_url":"https://api.github.com/users/fguillot/following{/other_user}","gists_url":"https://api.github.com/users/fguillot/gists{/gist_id}","starred_url":"https://api.github.com/users/fguillot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fguillot/subscriptions","organizations_url":"https://api.github.com/users/fguillot/orgs","repos_url":"https://api.github.com/users/fguillot/repos","events_url":"https://api.github.com/users/fguillot/events{/privacy}","received_events_url":"https://api.github.com/users/fguillot/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T23:17:16Z","updated_at":"2015-12-06T23:17:16Z","body":"I integrated your PR manually since I have done some code refactoring. Now, you can define the API token in the config file, that will override the one stored in the database.\r\n\r\nThanks."}}