{"action":"created","issue":{"url":"https://api.github.com/repos/OSC/ood-dashboard/issues/151","repository_url":"https://api.github.com/repos/OSC/ood-dashboard","labels_url":"https://api.github.com/repos/OSC/ood-dashboard/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/OSC/ood-dashboard/issues/151/comments","events_url":"https://api.github.com/repos/OSC/ood-dashboard/issues/151/events","html_url":"https://github.com/OSC/ood-dashboard/pull/151","id":226676293,"number":151,"title":"Motd options","user":{"login":"brianmcmichael","id":2374718,"avatar_url":"https://avatars3.githubusercontent.com/u/2374718?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmcmichael","html_url":"https://github.com/brianmcmichael","followers_url":"https://api.github.com/users/brianmcmichael/followers","following_url":"https://api.github.com/users/brianmcmichael/following{/other_user}","gists_url":"https://api.github.com/users/brianmcmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmcmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmcmichael/subscriptions","organizations_url":"https://api.github.com/users/brianmcmichael/orgs","repos_url":"https://api.github.com/users/brianmcmichael/repos","events_url":"https://api.github.com/users/brianmcmichael/events{/privacy}","received_events_url":"https://api.github.com/users/brianmcmichael/received_events","type":"User","site_admin":false},"labels":[{"id":408533746,"url":"https://api.github.com/repos/OSC/ood-dashboard/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"brianmcmichael","id":2374718,"avatar_url":"https://avatars3.githubusercontent.com/u/2374718?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmcmichael","html_url":"https://github.com/brianmcmichael","followers_url":"https://api.github.com/users/brianmcmichael/followers","following_url":"https://api.github.com/users/brianmcmichael/following{/other_user}","gists_url":"https://api.github.com/users/brianmcmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmcmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmcmichael/subscriptions","organizations_url":"https://api.github.com/users/brianmcmichael/orgs","repos_url":"https://api.github.com/users/brianmcmichael/repos","events_url":"https://api.github.com/users/brianmcmichael/events{/privacy}","received_events_url":"https://api.github.com/users/brianmcmichael/received_events","type":"User","site_admin":false},"assignees":[{"login":"brianmcmichael","id":2374718,"avatar_url":"https://avatars3.githubusercontent.com/u/2374718?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmcmichael","html_url":"https://github.com/brianmcmichael","followers_url":"https://api.github.com/users/brianmcmichael/followers","following_url":"https://api.github.com/users/brianmcmichael/following{/other_user}","gists_url":"https://api.github.com/users/brianmcmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmcmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmcmichael/subscriptions","organizations_url":"https://api.github.com/users/brianmcmichael/orgs","repos_url":"https://api.github.com/users/brianmcmichael/repos","events_url":"https://api.github.com/users/brianmcmichael/events{/privacy}","received_events_url":"https://api.github.com/users/brianmcmichael/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2017-05-05T19:57:54Z","updated_at":"2017-05-12T19:24:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OSC/ood-dashboard/pulls/151","html_url":"https://github.com/OSC/ood-dashboard/pull/151","diff_url":"https://github.com/OSC/ood-dashboard/pull/151.diff","patch_url":"https://github.com/OSC/ood-dashboard/pull/151.patch"},"body":"Proposed initial solution to satisfy https://github.com/OSC/ood-dashboard/issues/150\r\n\r\n#### Note: This PR does not address RSS\r\n\r\nFor context, a default installation does not include any MOTD display by default:\r\n\r\n![no_motd_path](https://cloud.githubusercontent.com/assets/2374718/25761792/110fe0c6-31aa-11e7-9c2d-40bcbf9cc980.png)\r\n\r\n*****\r\n\r\nTo display anything, the admin must first supply `ENV['MOTD_PATH']`\r\n\r\nThe app now defaults to plain text formatting:\r\n\r\n![motd_path_no_motd_format](https://cloud.githubusercontent.com/assets/2374718/25761826/30a341c6-31aa-11e7-95a5-4f1257d0fdb9.png)\r\n\r\n*****\r\n\r\nTo parse the content of the MOTD, the admin can provide `ENV['MOTD_FORMAT']`\r\n\r\nThere are two options currently, `MOTD_FORMAT='markdown'` and `MOTD_FORMAT='osc'`\r\n\r\n### Markdown Style\r\n\r\n![motd_path_motd_format_markdown](https://cloud.githubusercontent.com/assets/2374718/25761924/96e2f364-31aa-11e7-9d34-270f9d1dad17.png)\r\n\r\n*****\r\n\r\n### OSC Style\r\n\r\n![motd_path_motd_format_osc](https://cloud.githubusercontent.com/assets/2374718/25761955/b89bffaa-31aa-11e7-833f-0615064e5e3a.png)\r\n\r\n*****"},"comment":{"url":"https://api.github.com/repos/OSC/ood-dashboard/issues/comments/301164566","html_url":"https://github.com/OSC/ood-dashboard/pull/151#issuecomment-301164566","issue_url":"https://api.github.com/repos/OSC/ood-dashboard/issues/151","id":301164566,"user":{"login":"brianmcmichael","id":2374718,"avatar_url":"https://avatars3.githubusercontent.com/u/2374718?v=3","gravatar_id":"","url":"https://api.github.com/users/brianmcmichael","html_url":"https://github.com/brianmcmichael","followers_url":"https://api.github.com/users/brianmcmichael/followers","following_url":"https://api.github.com/users/brianmcmichael/following{/other_user}","gists_url":"https://api.github.com/users/brianmcmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/brianmcmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianmcmichael/subscriptions","organizations_url":"https://api.github.com/users/brianmcmichael/orgs","repos_url":"https://api.github.com/users/brianmcmichael/repos","events_url":"https://api.github.com/users/brianmcmichael/events{/privacy}","received_events_url":"https://api.github.com/users/brianmcmichael/received_events","type":"User","site_admin":false},"created_at":"2017-05-12T19:24:00Z","updated_at":"2017-05-12T19:24:00Z","body":"Changes described at https://github.com/OSC/ood-dashboard/pull/151#issuecomment-299612645 are available at https://github.com/OSC/ood-dashboard/pull/152\r\n\r\nI'm sure that the factory method in the controller can be cleaned up and moved out, but I'm not sure where else to put it."}}
{"actor":{"display_login":"brianmcmichael"}}