{"action":"created","issue":{"url":"https://api.github.com/repos/Frederikam/FredBoat/issues/23","repository_url":"https://api.github.com/repos/Frederikam/FredBoat","labels_url":"https://api.github.com/repos/Frederikam/FredBoat/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Frederikam/FredBoat/issues/23/comments","events_url":"https://api.github.com/repos/Frederikam/FredBoat/issues/23/events","html_url":"https://github.com/Frederikam/FredBoat/issues/23","id":179212723,"number":23,"title":"Web Dashboard","user":{"login":"Frederikam","id":2582617,"avatar_url":"https://avatars3.githubusercontent.com/u/2582617?v=3","gravatar_id":"","url":"https://api.github.com/users/Frederikam","html_url":"https://github.com/Frederikam","followers_url":"https://api.github.com/users/Frederikam/followers","following_url":"https://api.github.com/users/Frederikam/following{/other_user}","gists_url":"https://api.github.com/users/Frederikam/gists{/gist_id}","starred_url":"https://api.github.com/users/Frederikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frederikam/subscriptions","organizations_url":"https://api.github.com/users/Frederikam/orgs","repos_url":"https://api.github.com/users/Frederikam/repos","events_url":"https://api.github.com/users/Frederikam/events{/privacy}","received_events_url":"https://api.github.com/users/Frederikam/received_events","type":"User","site_admin":false},"labels":[{"id":449636721,"url":"https://api.github.com/repos/Frederikam/FredBoat/labels/Advanced","name":"Advanced","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-09-26T12:17:40Z","updated_at":"2017-03-19T15:10:08Z","closed_at":null,"body":"I plan on creating a web dashboard primarily for fiddling around with bot permissions in a similar manner to the Discord permission system:\n![image](https://cloud.githubusercontent.com/assets/2582617/18833678/31b987c0-83f2-11e6-98bb-e4ca12aee052.png)\n\nThe dashboard should have these features:\n1. Standard Discord permissions for the server, text channels and voice channels\n2. Additional bot permissions (play, stop, skip, NSFW, send commands, etc)\n3. Manage permission overrides\n4. OAuth2 login panel for authenticating with Discord\n5. Maybe a Patreon link system\n6. A simple list of servers\n\nFurther commands may follow, like kick ban and mute commands\n\nMy hope is that this major feature can be completed with the help of someone with experience on interactive websites. I will be able to provide an API to interface with, so the main concern is the front-end. Comment on this issue if you are interested. \n"},"comment":{"url":"https://api.github.com/repos/Frederikam/FredBoat/issues/comments/287623020","html_url":"https://github.com/Frederikam/FredBoat/issues/23#issuecomment-287623020","issue_url":"https://api.github.com/repos/Frederikam/FredBoat/issues/23","id":287623020,"user":{"login":"Frederikam","id":2582617,"avatar_url":"https://avatars3.githubusercontent.com/u/2582617?v=3","gravatar_id":"","url":"https://api.github.com/users/Frederikam","html_url":"https://github.com/Frederikam","followers_url":"https://api.github.com/users/Frederikam/followers","following_url":"https://api.github.com/users/Frederikam/following{/other_user}","gists_url":"https://api.github.com/users/Frederikam/gists{/gist_id}","starred_url":"https://api.github.com/users/Frederikam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frederikam/subscriptions","organizations_url":"https://api.github.com/users/Frederikam/orgs","repos_url":"https://api.github.com/users/Frederikam/repos","events_url":"https://api.github.com/users/Frederikam/events{/privacy}","received_events_url":"https://api.github.com/users/Frederikam/received_events","type":"User","site_admin":false},"created_at":"2017-03-19T15:10:08Z","updated_at":"2017-03-19T15:10:08Z","body":"It is not desirable to add password/email auth. This makes the dashboard\nneedlessly complicated. It would mean that we would have to ensure that\npasswords are safely hashed when stored, etc. Not to mention that we would\nneed to re-authenticate a user if they choose to revoke access:\n[image: Inline images 1]\n\nA user should *only* have access to the dashboard if they have a valid\nbearer token stored in their browser.\n\nAdditionally, I don't feel like we are on the same page in regards to the\nstack.\n[image: Inline images 2]\nI plan to scale FredBoat with docker containers. At some point, we'll need\na controller for these that can manage the shards (check if working\nproperly, rolling restarts, etc). My initial thought was to make this the\nsame program as the one serving API requests, but I don't see how that fits\nin with your .NET program. Ideas?\n"}}
{"actor":{"display_login":"Frederikam"}}