{"action":"created","issue":{"url":"https://api.github.com/repos/hasadna/anyway/issues/253","labels_url":"https://api.github.com/repos/hasadna/anyway/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/hasadna/anyway/issues/253/comments","events_url":"https://api.github.com/repos/hasadna/anyway/issues/253/events","html_url":"https://github.com/hasadna/anyway/pull/253","id":77028889,"number":253,"title":"#251 - started to implement administration panel in order to be able …","user":{"login":"aviklai","id":8260668,"avatar_url":"https://avatars.githubusercontent.com/u/8260668?v=3","gravatar_id":"","url":"https://api.github.com/users/aviklai","html_url":"https://github.com/aviklai","followers_url":"https://api.github.com/users/aviklai/followers","following_url":"https://api.github.com/users/aviklai/following{/other_user}","gists_url":"https://api.github.com/users/aviklai/gists{/gist_id}","starred_url":"https://api.github.com/users/aviklai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviklai/subscriptions","organizations_url":"https://api.github.com/users/aviklai/orgs","repos_url":"https://api.github.com/users/aviklai/repos","events_url":"https://api.github.com/users/aviklai/events{/privacy}","received_events_url":"https://api.github.com/users/aviklai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-16T12:29:49Z","updated_at":"2015-05-16T21:13:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hasadna/anyway/pulls/253","html_url":"https://github.com/hasadna/anyway/pull/253","diff_url":"https://github.com/hasadna/anyway/pull/253.diff","patch_url":"https://github.com/hasadna/anyway/pull/253.patch"},"body":"…to do send email to all subscribers and do various other admin functions."},"comment":{"url":"https://api.github.com/repos/hasadna/anyway/issues/comments/102698397","html_url":"https://github.com/hasadna/anyway/pull/253#issuecomment-102698397","issue_url":"https://api.github.com/repos/hasadna/anyway/issues/253","id":102698397,"user":{"login":"aviklai","id":8260668,"avatar_url":"https://avatars.githubusercontent.com/u/8260668?v=3","gravatar_id":"","url":"https://api.github.com/users/aviklai","html_url":"https://github.com/aviklai","followers_url":"https://api.github.com/users/aviklai/followers","following_url":"https://api.github.com/users/aviklai/following{/other_user}","gists_url":"https://api.github.com/users/aviklai/gists{/gist_id}","starred_url":"https://api.github.com/users/aviklai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviklai/subscriptions","organizations_url":"https://api.github.com/users/aviklai/orgs","repos_url":"https://api.github.com/users/aviklai/repos","events_url":"https://api.github.com/users/aviklai/events{/privacy}","received_events_url":"https://api.github.com/users/aviklai/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T21:13:36Z","updated_at":"2015-05-16T21:13:36Z","body":"O.K, I did the changes.\r\nAbout the three last questions:\r\n1. still not ready :)  I just wanted to see that this part is ok and that it integrates well with the site.\r\nThe sending of the email is not supposed to be a problem. I plan to use some flask smtp library like:\r\nhttps://pythonhosted.org/flask-mail/\r\nor:\r\nhttps://flask-email.readthedocs.org/en/latest/\r\nI will just need to query the database, check who is subscribed and put all of their mail in the BCC of the smtp email. by the way - do we have an email that supports smtp? I can use dummy email for the tests though.\r\n\r\n2. Yes, I planned to to that through the DB and the main reason I left this code is because I want the password to be stored as a hashed password so I need the this function to hash it:\r\ngenerate_password_hash(form.password.data)\r\n\r\n3. I added WTForms, Flask-Login and Flask-Admin to the requirements file.\r\n"}}