Commit Graph

921 Commits (bc35f81d08c594eaf916926e33de7dd995837d30)

Author SHA1 Message Date
OCA-git-bot bc35f81d08 [UPD] addons table in README.md 2022-04-03 16:20:13 +00:00
OCA-git-bot 260ba184df mass_mailing_partner 13.0.1.1.2 2022-04-03 16:20:05 +00:00
OCA-git-bot dde39591db Merge PR #870 into 13.0
Signed-off-by dreispt
2022-04-03 16:14:27 +00:00
OCA-git-bot a0b4a178d1 [UPD] addons table in README.md 2022-04-03 12:02:39 +00:00
Pedro M. Baeza 4768925727 [FIX] mail_tracking_mailgun: Avoid infinite hangout registering hooks
We should put a timeout for isolated environments where there are no
external connection.

https://docs.python-requests.org/en/latest/user/quickstart/#timeouts
2022-04-03 14:02:28 +02:00
Enric Tobella 897bd6e344
Merge pull request #878 from tegin/13.0-gh
[IMP] repo: From Travis to GH Actions
2022-03-30 17:14:50 +02:00
Enric Tobella e96f2ead30 Updated from template 2022-03-30 17:02:58 +02:00
Akim Juillerat 5ef34dc308 mass_mailing_partner: Fix assignation of company name
Defining a res.company on a partner should not set the company_name
on a mailing contact as the mailing contact is not linked to a
res.company.
The company_name should instead be set according to the commercial
partner of the partner being modified if it's parent_id is changed.
2022-03-22 14:54:51 +01:00
OCA-git-bot 4e15f26e5b [ADD] setup.py 2022-03-11 14:44:01 +00:00
OCA-git-bot 63e6ebaa83 [UPD] README.rst 2022-03-11 14:44:01 +00:00
OCA-git-bot 79646ddb69 [UPD] addons table in README.md 2022-03-11 14:43:56 +00:00
oca-travis b8dbcd1052 [UPD] Update mail_activity_form.pot 2022-03-11 14:25:48 +00:00
OCA-git-bot c1d9f62dcb Merge PR #784 into 13.0
Signed-off-by rafaelbn
2022-03-11 13:46:18 +00:00
OCA-git-bot 02e2a5dc4f [UPD] addons table in README.md 2022-03-11 13:44:04 +00:00
OCA-git-bot 9b4eb4c55e mail_tracking 13.0.1.0.10 2022-03-11 13:43:59 +00:00
OCA-git-bot e702446620 Merge PR #847 into 13.0
Signed-off-by rafaelbn
2022-03-11 13:24:23 +00:00
tfo 9b90393cc9 Translated using Weblate (French)
Currently translated at 36.0% (9 of 25 strings)

Translation: social-13.0/social-13.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_activity_team/fr/
2022-03-10 07:30:37 +00:00
Bosd cafd0ff476 Translated using Weblate (Dutch)
Currently translated at 80.0% (4 of 5 strings)

Translation: social-13.0/social-13.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_debrand/nl/
2022-02-26 18:24:11 +00:00
sugapablo 5afacb7eab [FIX] mail_tracking: error when filtering by "Sent" 2022-02-17 09:17:17 -05:00
OCA-git-bot ad5d6c3e59 [ADD] setup.py 2022-02-16 09:20:32 +00:00
OCA-git-bot 20de47fcf0 [ADD] icon.png 2022-02-16 09:20:31 +00:00
OCA-git-bot b9cbff97f5 [UPD] README.rst 2022-02-16 09:20:30 +00:00
OCA-git-bot 3a124af83a [UPD] addons table in README.md 2022-02-16 09:20:25 +00:00
oca-travis 5dd9c82937 [UPD] Update mail_template_multi_attachment.pot 2022-02-16 08:57:37 +00:00
OCA-git-bot c9ca7d2498 Merge PR #728 into 13.0
Signed-off-by dreispt
2022-02-16 08:28:52 +00:00
jabelchi eb4879a948 Translated using Weblate (Catalan)
Currently translated at 100.0% (20 of 20 strings)

Translation: social-13.0/social-13.0-mail_autosubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_autosubscribe/ca/
2022-01-25 12:53:27 +00:00
jabelchi 12d5b9590f Added translation using Weblate (Catalan) 2022-01-25 12:46:06 +00:00
Pedro M. Baeza b9f967735e
Merge pull request #831 from Tecnativa/13.0-fix-mail_layout_preview
[13.0][FIX] mail_layout_preview: fix unit test
2022-01-14 20:13:09 +01:00
Ernesto Tejeda 64fcdaa042 [FIX] mail_layout_preview: fix unit test 2022-01-14 13:48:10 -05:00
tfo eeaaa80918 Translated using Weblate (French)
Currently translated at 32.0% (8 of 25 strings)

Translation: social-13.0/social-13.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_activity_team/fr/
2022-01-13 12:40:00 +00:00
tfo 30a6526510 Translated using Weblate (French)
Currently translated at 100.0% (18 of 18 strings)

Translation: social-13.0/social-13.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_activity_board/fr/
2022-01-13 12:39:59 +00:00
tfo db011e64a8 Added translation using Weblate (French) 2022-01-13 10:14:14 +00:00
tfo 66314148af Added translation using Weblate (French) 2022-01-13 09:09:49 +00:00
Pedro M. Baeza b1c5593ad4 [FIX] mail_tracking_mailgun: Proper migration script
Create must have a dictionary although empty
2021-11-25 14:37:57 +01:00
OCA Transbot b1cf214e23 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-13.0/social-13.0-mail_tracking_mailgun
Translate-URL: https://translation.odoo-community.org/projects/social-13-0/social-13-0-mail_tracking_mailgun/
2021-11-25 10:30:33 +00:00
OCA-git-bot ff958d8eb4 [UPD] README.rst 2021-11-25 10:30:22 +00:00
OCA-git-bot be43faed13 [UPD] addons table in README.md 2021-11-25 10:30:16 +00:00
oca-travis 624bf4c5fe [UPD] Update mail_tracking_mailgun.pot 2021-11-25 10:07:25 +00:00
OCA-git-bot c41f97408a Merge PR #804 into 13.0
Signed-off-by pedrobaeza
2021-11-25 09:46:48 +00:00
Jairo Llopis 8681bc0fc4 [IMP] mail_tracking_mailgun: refactor to support modern webhooks
Before this patch, the module was designed after the [deprecated Mailgun webhooks][3]. However Mailgun had the [events API][2] which was quite different. Modern Mailgun has deprecated those webhooks and instead uses new ones that include the same payload as the events API, so you can reuse code.

However, this was incorrectly reusing the code inversely: trying to process the events API through the same code prepared for the deprecated webhooks.

Besides, both `failed` and `rejected` mailgun events were mapped to `error` state, but that was also wrong because [`mail_tracking` doesn't have an `error` state][1].

So the logic of the whole module is changed, adapting it to process the events API payload, both through controllers (prepared for the new webhooks) and manual updates that directly call the events API.

Also, `rejected` is now translated into `reject`, and `failed` is translated into `hard_bounce` or `soft_bounce` depending on the severity, as specified by [mailgun docs][2]. Also, `bounced` and `dropped` mailgun states are removed because they don't exist, and instead `failed` and `rejected` properly get their metadata.

Of course, to know the severity, now the method to obtain that info must change, it' can't be a simple dict anymore.

Added more parameters because for example modern Mailgun uses different keys for signing payload than for accessing the API. As there are so many parameters, configuration is now possible through `res.config.settings`. Go there to autoregister webhooks too.

Since the new webhooks are completely incompatible with the old supposedly-abstract webhooks controllers (that were never really that abstract), support for old webhooks is removed, and it will be removed in the future from `mail_tracking` directly. There is a migration script that attempts to unregister old webhooks and register new ones automatically.

[1]: f73de421e2/mail_tracking/models/mail_tracking_event.py (L31-L42)
[2]: https://documentation.mailgun.com/en/latest/api-events.html#event-types
[3]: https://documentation.mailgun.com/en/latest/api-webhooks-deprecated.html
2021-11-25 10:41:08 +01:00
OCA-git-bot 2b3565f630 [ADD] setup.py 2021-11-24 21:33:28 +00:00
OCA-git-bot fa58325272 [UPD] README.rst 2021-11-24 21:33:28 +00:00
OCA-git-bot 745e418c0c [UPD] addons table in README.md 2021-11-24 21:33:24 +00:00
oca-travis d42205591e [UPD] Update mail_activity_creator.pot 2021-11-24 21:12:39 +00:00
OCA-git-bot 39931ad3b2 Merge PR #799 into 13.0
Signed-off-by dreispt
2021-11-24 20:54:47 +00:00
Jairo Llopis 66fb64d41a
[FIX] mail_tracking: process sent events
Up until now, the `sent` event type was never processed, probably because it "made no sense", as an unsent email would never trigger an event.

However, it makes sense to process it because you may have a local relay that transmits mails over to the mail provider. In those circumstances, you should have 2 "sent" events (one from the relay and another one from the provider).

Also marked some useless parts of code for removal.

@Tecnativa TT32365
2021-11-23 12:08:20 +00:00
Joan Mateu Jordi 7ee228bbc1 [MIG] mail_activity_creator: Migration to 13.0 2021-11-16 11:28:51 +01:00
Joan Mateu Jordi 2010edc8e8 [IMP] mail_activity_creator black, isort, prettier 2021-11-16 08:39:06 +01:00
OCA-git-bot 10baf7b536 [UPD] README.rst 2021-11-16 08:32:41 +01:00
oca-travis 1168d53c8f [UPD] Update mail_activity_creator.pot 2021-11-16 08:32:41 +01:00