{"action":"created","issue":{"url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/9","repository_url":"https://api.github.com/repos/sigrennesmetropole/rmtr","labels_url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/9/comments","events_url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/9/events","html_url":"https://github.com/sigrennesmetropole/rmtr/issues/9","id":191508063,"number":9,"title":"Module d'envoi d'emails","user":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Vampouille","id":7067560,"avatar_url":"https://avatars.githubusercontent.com/u/7067560?v=3","gravatar_id":"","url":"https://api.github.com/users/Vampouille","html_url":"https://github.com/Vampouille","followers_url":"https://api.github.com/users/Vampouille/followers","following_url":"https://api.github.com/users/Vampouille/following{/other_user}","gists_url":"https://api.github.com/users/Vampouille/gists{/gist_id}","starred_url":"https://api.github.com/users/Vampouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vampouille/subscriptions","organizations_url":"https://api.github.com/users/Vampouille/orgs","repos_url":"https://api.github.com/users/Vampouille/repos","events_url":"https://api.github.com/users/Vampouille/events{/privacy}","received_events_url":"https://api.github.com/users/Vampouille/received_events","type":"User","site_admin":false},"assignees":[{"login":"Vampouille","id":7067560,"avatar_url":"https://avatars.githubusercontent.com/u/7067560?v=3","gravatar_id":"","url":"https://api.github.com/users/Vampouille","html_url":"https://github.com/Vampouille","followers_url":"https://api.github.com/users/Vampouille/followers","following_url":"https://api.github.com/users/Vampouille/following{/other_user}","gists_url":"https://api.github.com/users/Vampouille/gists{/gist_id}","starred_url":"https://api.github.com/users/Vampouille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vampouille/subscriptions","organizations_url":"https://api.github.com/users/Vampouille/orgs","repos_url":"https://api.github.com/users/Vampouille/repos","events_url":"https://api.github.com/users/Vampouille/events{/privacy}","received_events_url":"https://api.github.com/users/Vampouille/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2016-11-24T12:26:03Z","updated_at":"2016-11-28T14:31:32Z","closed_at":null,"body":"Je le verrais volontiers comme un nouveau module \"email-proxy\" ou \"mailer\" dans georchestra master, indépendant de cet addon.\r\n\r\nOn pourrait configurer dans https://github.com/georchestra/datadir/blob/15.12/security-proxy/security-mappings.xml qui a le droit de l'utiliser. Par défaut: tous les membres ayant le rôle \"USER\".\r\n\r\nEn entrée, il accepterait un JSON, par exemple:\r\n```json\r\n{\r\n    \"from\": \"me@rm.fr\",\r\n    \"reply-to\": \"no-one@rm.fr\",\r\n    \"to\": [\"you@rm.fr\", \"another-guy@rm.fr\"],\r\n    \"cc\": [\"him@rm.fr\"],\r\n    \"bcc\": [\"secret@rm.fr\"],\r\n    \"subject\": \"test\",\r\n    \"body\": \"Ceci est un test\"\r\n}\r\n```\r\n\r\nEn config (dans le datadir) il y aurait les paramètres d'un service SMTP (comme https://github.com/georchestra/datadir/blob/15.12/extractorapp/extractorapp.properties#L10-L12).\r\n\r\nSon rôle consisterait juste à formater et à relayer le mail au service SMTP, sans vérification de droits (puisque c'est le SP qui s'en chargerait)."},"comment":{"url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/comments/263285204","html_url":"https://github.com/sigrennesmetropole/rmtr/issues/9#issuecomment-263285204","issue_url":"https://api.github.com/repos/sigrennesmetropole/rmtr/issues/9","id":263285204,"user":{"login":"fvanderbiest","id":265319,"avatar_url":"https://avatars.githubusercontent.com/u/265319?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanderbiest","html_url":"https://github.com/fvanderbiest","followers_url":"https://api.github.com/users/fvanderbiest/followers","following_url":"https://api.github.com/users/fvanderbiest/following{/other_user}","gists_url":"https://api.github.com/users/fvanderbiest/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanderbiest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanderbiest/subscriptions","organizations_url":"https://api.github.com/users/fvanderbiest/orgs","repos_url":"https://api.github.com/users/fvanderbiest/repos","events_url":"https://api.github.com/users/fvanderbiest/events{/privacy}","received_events_url":"https://api.github.com/users/fvanderbiest/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T14:31:32Z","updated_at":"2016-11-28T14:31:32Z","body":"> Le webservice permettant l'envoi de mails sera intégré à la webapp ldapadmin car elle contient déjà la configuration vers le serveur SMTP.\r\n\r\nOui, et le lien avec le LDAP."}}
{"actor":{"display_login":"fvanderbiest"}}