Commit Graph

1038 Commits (e7a2fdbcd3c3b9a6cc07e43ff56ffdf89da3256c)

Author SHA1 Message Date
Rafael Blasco e7a2fdbcd3
[12.0][mail_show_follower] Update version
[12.0][mail_show_follower] Update version
2022-03-01 09:54:40 +01:00
Rafael Blasco 421c129755
Update mail_show_follower/__manifest__.py
Co-authored-by: Miquel Raïch <miquel.raich@eficent.com>
2022-02-28 15:23:37 +01:00
Rafael Blasco 77fedd0f30
[12.0][mail_show_follower] Update version
As commented in https://github.com/OCA/social/pull/788 the PR should be merged manually but we should update the version of the module as a minor update

cc @ValentinVinagre @eLBati @MiquelRForgeFlow @HaraldPanten
2022-02-28 14:00:51 +01:00
Rafael Blasco 49531d69c3
Merge pull request #788 from eLBati/12.0-fix-mail_show_follower
[12.0] FIX mail_show_follower: ValueError: Expected singleton: res.users
2022-02-28 13:57:32 +01:00
eLBati fda230d16c FIX mail_show_follower: ValueError: Expected singleton: res.users 2022-02-17 15:20:03 +00:00
Yann Papouin 26a0f4b9f7 Translated using Weblate (French)
Currently translated at 100.0% (41 of 41 strings)

Translation: social-12.0/social-12.0-message_auto_subscribe_notify_own
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-message_auto_subscribe_notify_own/fr/
2022-01-20 10:40:03 +00:00
Yann Papouin 0befd90eda Translated using Weblate (French)
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/fr/
2022-01-20 10:40:03 +00:00
Yann Papouin 3d5ba5cf3e Translated using Weblate (French)
Currently translated at 100.0% (1 of 1 strings)

Translation: social-12.0/social-12.0-mail_track_diff_only
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_track_diff_only/fr/
2022-01-20 10:40:03 +00:00
Yann Papouin a2d6aa8c6e Translated using Weblate (French)
Currently translated at 100.0% (4 of 4 strings)

Translation: social-12.0/social-12.0-mail_restrict_follower_selection
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_restrict_follower_selection/fr/
2022-01-20 10:40:03 +00:00
Yann Papouin 7aa6bc5786 Added translation using Weblate (French) 2022-01-20 07:55:00 +00:00
Yann Papouin 2098851b09 Added translation using Weblate (French) 2022-01-20 07:45:58 +00:00
Yann Papouin 8a66e309eb Added translation using Weblate (French) 2022-01-20 07:45:32 +00:00
Yann Papouin cd13f75a09 Added translation using Weblate (French) 2022-01-20 07:45:01 +00:00
Yann Papouin 1f29db8744 Translated using Weblate (French)
Currently translated at 100.0% (22 of 22 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/fr/
2022-01-19 18:46:50 +00:00
Yann Papouin 29767a776e Translated using Weblate (French)
Currently translated at 100.0% (5 of 5 strings)

Translation: social-12.0/social-12.0-mail_history
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_history/fr/
2022-01-19 15:32:57 +00:00
Yann Papouin c360373e81 Translated using Weblate (French)
Currently translated at 100.0% (26 of 26 strings)

Translation: social-12.0/social-12.0-mail_private
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_private/fr/
2022-01-19 15:32:57 +00:00
Yann Papouin e44ee94968 Translated using Weblate (French)
Currently translated at 100.0% (22 of 22 strings)

Translation: social-12.0/social-12.0-mail_notification_custom_subject
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_notification_custom_subject/fr/
2022-01-19 15:32:57 +00:00
Yann Papouin e8df7f0952 Translated using Weblate (French)
Currently translated at 100.0% (14 of 14 strings)

Translation: social-12.0/social-12.0-mail_improved_tracking_value
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_improved_tracking_value/fr/
2022-01-19 15:32:57 +00:00
Yann Papouin 3d0dbdc2a5 Translated using Weblate (French)
Currently translated at 100.0% (7 of 7 strings)

Translation: social-12.0/social-12.0-mail_show_follower
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_show_follower/fr/
2022-01-19 15:32:56 +00:00
Yann Papouin a6b8d2561b Translated using Weblate (French)
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/fr/
2022-01-19 15:32:56 +00:00
Yann Papouin aaaeed2b63 Translated using Weblate (French)
Currently translated at 100.0% (17 of 17 strings)

Translation: social-12.0/social-12.0-mail_activity_done
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_activity_done/fr/
2022-01-19 15:32:56 +00:00
Yann Papouin 69161b362d Translated using Weblate (French)
Currently translated at 100.0% (3 of 3 strings)

Translation: social-12.0/social-12.0-mail_outbound_static
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_outbound_static/fr/
2022-01-19 15:32:56 +00:00
Yann Papouin 8aab97909b Added translation using Weblate (French) 2022-01-19 15:22:29 +00:00
Yann Papouin 81ac36f60d Added translation using Weblate (French) 2022-01-19 15:16:58 +00:00
Yann Papouin 81db31c13a Added translation using Weblate (French) 2022-01-19 15:12:26 +00:00
Yann Papouin 026ea1a993 Added translation using Weblate (French) 2022-01-19 15:06:21 +00:00
Yann Papouin 569ed93e49 Added translation using Weblate (French) 2022-01-19 14:56:57 +00:00
Yann Papouin 361c56f20c Added translation using Weblate (French) 2022-01-19 14:36:02 +00:00
Yann Papouin 5481900342 Added translation using Weblate (French) 2022-01-19 14:33:58 +00:00
Yann Papouin 655e77695d Added translation using Weblate (French) 2022-01-19 14:32:54 +00:00
Nils Nyman dc0e33cec2 Translated using Weblate (Swedish)
Currently translated at 74.4% (64 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/sv/
2022-01-12 15:39:58 +00:00
Nils Nyman 0e03d47399 Translated using Weblate (Swedish)
Currently translated at 70.9% (61 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/sv/
2022-01-12 09:40:02 +00:00
OCA Transbot 60e1ebd213 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking_mailgun
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking_mailgun/
2021-11-25 09:53:10 +00:00
oca-travis c514b081b9 [UPD] Update mail_tracking_mailgun.pot 2021-11-25 09:52:54 +00:00
OCA-git-bot 88d6b8073f [UPD] addons table in README.md 2021-11-25 09:39:02 +00:00
Pedro M. Baeza 1b41c804ad [FIX] mail_tracking_mailgun: Always browse integer
Sometimes, like in open event, the ID is a string, so we make sure it's
always an integer casting it.
2021-11-25 10:37:34 +01:00
Robin Chatfield 5fdc130980 Translated using Weblate (Swedish)
Currently translated at 67.4% (58 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/sv/
2021-11-15 10:36:31 +00:00
Robin Chatfield 0f75c66aac Translated using Weblate (Swedish)
Currently translated at 48.8% (42 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/sv/
2021-11-12 15:36:09 +00:00
Robin Chatfield cb21ae0d9e Translated using Weblate (Swedish)
Currently translated at 33.3% (2 of 6 strings)

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/sv/
2021-11-12 15:36:08 +00:00
Jairo Llopis 31dc61e687
[FIX] mail_tracking_mailgun: hotfix for migration script
It was failing with: `create() missing 1 required positional argument: 'vals_list'`

@Tecnativa TT32365
2021-11-02 11:43:24 +00:00
OCA Transbot 793a4137d6 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: social-12.0/social-12.0-mail_tracking_mailgun
Translate-URL: https://translation.odoo-community.org/projects/social-12-0/social-12-0-mail_tracking_mailgun/
2021-10-28 11:21:08 +00:00
OCA-git-bot 199064514b [UPD] addons table in README.md 2021-10-28 11:20:56 +00:00
OCA-git-bot 153b4fbeb3 mail_tracking_mailgun 12.0.2.0.0 2021-10-28 11:20:51 +00:00
OCA-git-bot a40f500641 mail_tracking 12.0.3.0.0 2021-10-28 11:20:49 +00:00
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