Commit Graph

994 Commits (653d29197c92e43e5fd1cb45de9752b72b23afb6)

Author SHA1 Message Date
OCA-git-bot 653d29197c [UPD] README.rst 2021-10-28 11:20:49 +00:00
oca-travis f7c831523e [UPD] Update mail_tracking_mailgun.pot 2021-10-28 11:03:37 +00:00
OCA-git-bot cfd5cbd475 Merge PR #787 into 12.0
Signed-off-by pedrobaeza
2021-10-28 10:49:02 +00:00
Jairo Llopis 0f37487265
[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-10-28 11:33:59 +01:00
OCA-git-bot a523b5ddad [ADD] setup.py 2021-10-16 06:47:39 +00:00
Jairo Llopis 87de5ddb38
[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-10-15 11:58:00 +01:00
OCA Transbot f73de421e2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_board/
2021-09-24 14:26:07 +00:00
OCA-git-bot ed4034d8c6 [UPD] addons table in README.md 2021-09-24 14:25:56 +00:00
OCA-git-bot b95e5dc7ab mail_activity_board 12.0.1.1.0 2021-09-24 14:25:51 +00:00
oca-travis 32364e0999 [UPD] Update mail_activity_board.pot 2021-09-24 14:11:57 +00:00
OCA-git-bot 8baf240fc1 Merge PR #771 into 12.0
Signed-off-by dreispt
2021-09-24 13:59:56 +00:00
Dimitrios T. Tanis ed5946dba7 [12.0][IMP]mail_activity_board: Add action buttons in kanban view
Adds buttons to mark activity as done / mark as done + schedule next (as in activity window)
2021-09-23 09:08:41 +03:00
OCA-git-bot 8bc1318598 [UPD] addons table in README.md 2021-09-22 15:56:40 +00:00
OCA-git-bot 59cac779a9 mass_mailing_partner 12.0.1.0.9 2021-09-22 15:56:36 +00:00
OCA-git-bot 386dea1e10 Merge PR #777 into 12.0
Signed-off-by pedrobaeza
2021-09-22 15:42:59 +00:00
david e9c982882f [FIX] mass_mailing_partner: wrong company implementation
See issue https://github.com/OCA/social/issues/776
2021-09-22 17:35:54 +02:00
Pedro M. Baeza bbeac63118 [OU-REM] mail_activity_team: Migrations scripts from previous version 2021-09-03 11:31:55 +02:00
OCA-git-bot 29ec81afff [UPD] addons table in README.md 2021-08-14 04:57:03 +00:00
OCA Transbot d3dd8c4997 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-base_search_mail_content
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-base_search_mail_content/
2021-08-03 18:01:46 +00:00
OCA Transbot b8ced294f5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/
2021-08-03 18:01:44 +00:00
oca-travis eef5c251f1 [UPD] Update mail_tracking.pot 2021-08-03 18:01:26 +00:00
oca-travis b68f33409b [UPD] Update mail_private.pot 2021-08-03 18:01:22 +00:00
oca-travis 0d546a841e [UPD] Update base_search_mail_content.pot 2021-08-03 18:01:10 +00:00
Julie LeBrun d89811cc9c Translated using Weblate (French (France))
Currently translated at 100.0% (86 of 86 strings)

Translation: social-12.0/social-12.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe/fr_FR/
2021-08-03 17:49:20 +00:00
Julie LeBrun 3efe5c2e6d Translated using Weblate (French (Canada))
Currently translated at 100.0% (86 of 86 strings)

Translation: social-12.0/social-12.0-mass_mailing_custom_unsubscribe
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mass_mailing_custom_unsubscribe/fr_CA/
2021-08-03 17:49:20 +00:00
Hans Henrik Gabelgaard df812d4c97 Translated using Weblate (Danish)
Currently translated at 100.0% (19 of 19 strings)

Translation: social-12.0/social-12.0-mail_activity_board
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_board/da/
2021-07-13 09:55:58 +00:00
Hans Henrik Gabelgaard d41f69f4fc Translated using Weblate (Danish)
Currently translated at 100.0% (37 of 37 strings)

Translation: social-12.0/social-12.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_team/da/
2021-07-13 09:55:58 +00:00
Hans Henrik Gabelgaard 286d982942 Added translation using Weblate (Danish) 2021-07-13 09:47:08 +00:00
Lorenzo Battistini 47fe5f4af1 Translated using Weblate (Italian)
Currently translated at 82.4% (94 of 114 strings)

Translation: social-12.0/social-12.0-mail_tracking
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking/it/
2021-07-08 15:48:58 +00:00
OCA-git-bot ffcfd9e7d2 [ADD] setup.py 2021-07-05 08:58:22 +00:00
OCA-git-bot 1a305ecbaa [ADD] icon.png 2021-07-05 08:58:22 +00:00
OCA-git-bot 0cfde03274 [UPD] README.rst 2021-07-05 08:58:21 +00:00
OCA-git-bot ab941251dc [UPD] addons table in README.md 2021-07-05 08:58:16 +00:00
oca-travis 4cf4e09d1c [UPD] Update mail_show_follower.pot 2021-07-05 08:30:43 +00:00
OCA-git-bot bcb1bb5a13 Merge PR #711 into 12.0
Signed-off-by dreispt
2021-07-05 08:06:46 +00:00
eLBati 0249453ac3 IMP mail_show_follower metadata and style
Display CC according to notification_type
2021-06-30 14:52:28 +02:00
OCA Transbot 26358f90d1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_activity_team
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_team/
2021-06-17 11:35:41 +00:00
OCA-git-bot d940412181 [UPD] addons table in README.md 2021-06-17 11:35:27 +00:00
OCA-git-bot dce1882a23 mail_activity_team 12.0.1.2.3 2021-06-17 11:35:21 +00:00
oca-travis 62152e3a2e [UPD] Update mail_activity_team.pot 2021-06-17 11:09:09 +00:00
OCA-git-bot 8dc63c138c Merge PR #729 into 12.0
Signed-off-by pedrobaeza
2021-06-17 10:48:11 +00:00
david efd5b9540d [FIX] mail_activity_team: archived users
- If a user is archived but there's an automatic activity, the team
check wouldn't locate him. We have to ensure the context.
- When the automatic activity gets a user with no team, we should set
the team to a void one as well.

TT30470
2021-06-17 09:52:53 +02:00
Lorenzo Battistini a08d0f7ba7 Translated using Weblate (Italian)
Currently translated at 100.0% (4 of 4 strings)

Translation: social-12.0/social-12.0-mail_optional_follower_notification
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_optional_follower_notification/it/
2021-05-24 17:47:50 +00:00
Valentin Vinagre Urteaga 9e84e6ff7a ADD mail_show_follower copied from https://github.com/sygel-technology/sy-server-backend/tree/12.0/mail_show_follower 2021-05-17 11:59:44 +02:00
Pedro Castro Silva 37251d9c83 Translated using Weblate (Portuguese)
Currently translated at 100.0% (9 of 9 strings)

Translation: social-12.0/social-12.0-mail_activity_reminder
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_reminder/pt/
2021-05-11 13:47:46 +00:00
Pedro Castro Silva af90bb0d9e Translated using Weblate (Portuguese)
Currently translated at 100.0% (3 of 3 strings)

Translation: social-12.0/social-12.0-mail_activity_partner
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_partner/pt/
2021-05-11 13:47:46 +00:00
Pedro Castro Silva cd9f666d05 Added translation using Weblate (Portuguese) 2021-05-11 13:43:00 +00:00
Pedro Castro Silva ef48ad74d6 Added translation using Weblate (Portuguese) 2021-05-11 11:30:45 +00:00
Sergio Corato 93b90e74e9 Translated using Weblate (Italian)
Currently translated at 100.0% (5 of 5 strings)

Translation: social-12.0/social-12.0-mail_debrand
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_debrand/it/
2021-05-06 19:47:42 +00:00
OCA-git-bot 5a717a14bd [ADD] setup.py 2021-04-23 22:10:16 +00:00