{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/social/issues/82","repository_url":"https://api.github.com/repos/OCA/social","labels_url":"https://api.github.com/repos/OCA/social/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/OCA/social/issues/82/comments","events_url":"https://api.github.com/repos/OCA/social/issues/82/events","html_url":"https://github.com/OCA/social/pull/82","id":174651839,"number":82,"title":"[8.0][IMP][mail_tracking] Speed installation time and discard concurrent events","user":{"login":"antespi","id":1881111,"avatar_url":"https://avatars.githubusercontent.com/u/1881111?v=3","gravatar_id":"","url":"https://api.github.com/users/antespi","html_url":"https://github.com/antespi","followers_url":"https://api.github.com/users/antespi/followers","following_url":"https://api.github.com/users/antespi/following{/other_user}","gists_url":"https://api.github.com/users/antespi/gists{/gist_id}","starred_url":"https://api.github.com/users/antespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antespi/subscriptions","organizations_url":"https://api.github.com/users/antespi/orgs","repos_url":"https://api.github.com/users/antespi/repos","events_url":"https://api.github.com/users/antespi/events{/privacy}","received_events_url":"https://api.github.com/users/antespi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCA/social/labels/8.0","name":"8.0","color":"000000"},{"url":"https://api.github.com/repos/OCA/social/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-01T23:51:08Z","updated_at":"2016-09-09T11:08:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/social/pulls/82","html_url":"https://github.com/OCA/social/pull/82","diff_url":"https://github.com/OCA/social/pull/82.diff","patch_url":"https://github.com/OCA/social/pull/82.patch"},"body":"Several improvements after using mail_tracking_* addons in production environment:\r\n\r\n* Remove post_init_hook: When installing these addons there's no mail_tracking_mail objects in DB, so there's no point to relate them to any res.partner\r\n* Add pre_init_hook: Create and set a value to compute + store columns (and email_score column), before installing this addon\r\n* Remove compute and api.depends on email_score fields\r\n* Do not save concurrent open or click events: \r\n   * If there's two concurrent open events (events received with a delta time less than 10 seconds) only the first one will be saved, the second one will be discarded\r\n   * If there's two concurrent click events (events received with a delta time less than 5 seconds, and referred to the same URL) only the first one will be saved, the second one will be discarded.\r\n* Propagate bounce event to mass_mailing stats\r\n* Improvements on mail_tracking_mailgun proposed by @Yajo after merging\r\n\r\n@Tecnativa"},"comment":{"url":"https://api.github.com/repos/OCA/social/issues/comments/245884720","html_url":"https://github.com/OCA/social/pull/82#issuecomment-245884720","issue_url":"https://api.github.com/repos/OCA/social/issues/82","id":245884720,"user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T11:08:33Z","updated_at":"2016-09-09T11:08:33Z","body":":+1: "}}
{"actor":{"display_login":"pedrobaeza"}}