Commit Graph

39 Commits

Author SHA1 Message Date
Jairo Llopis
814329c55a [FIX] mail_tracking: reduce spammy score
Fix https://github.com/OCA/social/issues/701, following idea from https://kb.mailwizz.com/articles/low-score-in-spamassassin-because-of-the-rand_mktg_header-rule/ to avoid matching the regexp explained in https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7888#c5

@Tecnativa TT29674
2022-04-20 14:46:21 +05:30
simonev
7f964d9386 [14.0][MIG] mail_tracking 2022-04-20 14:46:21 +05:30
Areeb Siddiqi
c721351a9c [IMP] mail_tracking: black, isort, prettier 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
bb633d22c5 [FIX] mail_tracking: Store cc 2022-04-20 14:46:21 +05:30
Alexandre D. Díaz
6b55471fc3 [IMP] mail_tracking: Discuss failed messages: Button and domain 2022-04-20 14:46:21 +05:30
nmadhoc
a8631c588f [FIX] mail_tracking
When a user try to resend message gets an error stating that it's only allowed for users who belong to the Administration/Settings group
2022-04-20 14:46:21 +05:30
Wolfgang Pichler
26c6cd33af [FIX] re.search will return None when nothing found. So we have to check for this 2022-04-20 14:46:21 +05:30
Alexandre Díaz
7e271bb5ca [IMP] mail_tracking: Ignore catchall 2022-04-20 14:46:21 +05:30
Alexandre Díaz
bedeb56759 [IMP] mail_tracking: Store To recipients and omit aliases 2022-04-20 14:46:21 +05:30
Alexandre Díaz
db068ba018 [FIX] mail_tracking: Changed injection method for 'failed_message_ids' field
Before this commit, some methods with views crashes trying to
process 'failed_message_ids' field.
After this commit the 'failed_message_ids' field description
is properly generated.
2022-04-20 14:46:21 +05:30
Alexandre Díaz
fc7d2e9f3a [MIG] mail_tracking: Migration to 13.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
200e016ab8 [IMP] mail_tracking: black, isort 2022-04-20 14:46:21 +05:30
Alexandre Díaz
5f9e8ff95e [FIX] mail_tracking: Refresh thread widget when sets a message as reviewed
Previous this commit, failed messages widget data wasn't updated properly when you
set as reviewed/retry the last message displayed.

This commit resolve the problem and improves the "set as reviewed" action to avoid
multi-user inconsistencies (don't toggle the value).
2022-04-20 14:46:21 +05:30
Alexandre Díaz
eba1e0de8a [IMP] mail_tracking: Failed Messages to 12.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
5ec699ab9a [IMP] mail_tracking: translations 2022-04-20 14:46:21 +05:30
Alexandre Díaz
d3ddffb54b [IMP] mail_tracking: Convert 'partner_trackings' to dict 2022-04-20 14:46:21 +05:30
Alexandre Díaz
7ef6c69205 [IMP] mail_tracking: Cc name & check if mail is Cc 2022-04-20 14:46:21 +05:30
David
61463fc530 [IMP] mail_tracking: mail.thread filter for tracking errors
- Any model inheriting from mail.thread will have a filter available to
obtain records with errors in their messages trackings.
- The messages can be marked as done to avoid false positives when the
issues are solved.
2022-04-20 14:46:21 +05:30
Alexandre Díaz
ef83aacf9a [FIX] mail_tracking: Repeated suggested cc emails 2022-04-20 14:46:21 +05:30
Alexandre Díaz
6513662533 [MIG] mail_tracking: Adapt Cc to 12.0 2022-04-20 14:46:21 +05:30
Alexandre Díaz
c2fd8c95fc [IMP] mail_tracking: Cc 2022-04-20 14:46:21 +05:30
Pedro M. Baeza
71b67a5475 [FIX] mail_tracking: Don't call write inside other write
Or infinite recursions will happen on other `write` overwrites, like the one that happens
on `mass_mailing_partner`.
2022-04-20 14:46:21 +05:30
ernesto
cd1d3be640 [MIG] mail_tracking: Migration to 12.0 2022-04-20 14:46:21 +05:30
David Vidal
f1259fc0ec [IMP] mail_tracking: email score performance (#299) 2022-04-20 14:46:21 +05:30
David
4c0a9e46c9 [MIG] mail_tracking: Migration to 11.0 2022-04-20 14:46:21 +05:30
eLBati
86031a98a9 IMP mail_tracking performances
On our server,
queries based on "mail_tracking_event"."tracking_email_id" improved from 501,924 ms to 1,840 ms
queries based on "mail_tracking_email"."mail_message_id" improved from 167,436 ms to 3,223 ms

The last ones are run several times when a thread has many messages
2022-04-20 14:46:21 +05:30
Antonio Espinosa
2c5a5647db [FIX] mail_tracking: bugfixes (#199)
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
2022-04-20 14:46:21 +05:30
Pedro M. Baeza
adbd66323f [FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
2022-04-20 14:46:21 +05:30
Antonio Espinosa
3cfe3a2234 [9.0][FIX][mail_tracking] Control exception when mail_message was removed (#132) 2022-04-20 14:46:21 +05:30
Antonio Espinosa
3b5ee4cd61 [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2022-04-20 14:46:21 +05:30
Antonio Espinosa
527a8d09c5 Add access to portal/public user to his own email trackings 2022-04-20 14:46:21 +05:30
Antonio Espinosa
bc98b9d162 [IMP] mail_tracking: Allow to define a custom mail_tracking base url 2022-04-20 14:46:21 +05:30
Antonio Espinosa
6e5de16361 [IMP] mail_tracking performance and bounce process (#103) 2022-04-20 14:46:21 +05:30
Damien Bouvy
4798d3c817 [MIG] mail_tracking: Migrated to 10.0 2022-04-20 14:46:21 +05:30
Pedro M. Baeza
8ec641e750 [FIX] mail_tracking: Typo 2022-04-20 14:46:21 +05:30
Antonio Espinosa
022cb28145 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2022-04-20 14:46:21 +05:30
Antonio Espinosa
1d01bf8fb7 [FIX] Update email_score when email changes 2022-04-20 14:46:21 +05:30
Antonio Espinosa
7a684c6e66 [8.0][IMP][mail_tracking] Speed installation time and discard concurrent events (#82)
[IMP] mail_tracking: Speed installation time, discard concurrent events and other fixes
2022-04-20 14:46:21 +05:30
Antonio Espinosa
3d302148c1 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2022-04-20 14:46:21 +05:30