Commit Graph

43 Commits (fb18d2014db8a8786d8dfd0ea88fc3db9a004639)

Author SHA1 Message Date
Jasmin Solanki e8b450d383 [MIG] mail_tracking: Migration to 15.0 2023-09-25 07:40:35 -07:00
Jasmin Solanki 90d158f1a7 [IMP] mail_tracking: black, isort, prettier 2023-09-25 07:40:35 -07:00
houssine 2c35e9bede [PEP8] pre-commit 2023-09-25 07:40:35 -07:00
houssine ec8b389096 [PORT] porting js code to comply with OWL 2023-09-25 07:40:35 -07:00
Jairo Llopis 28a54498fe [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
2023-09-25 07:40:35 -07:00
simonev 9f5a34ac64 [14.0][MIG] mail_tracking 2023-09-25 07:40:35 -07:00
Areeb Siddiqi 5a096c4724 [IMP] mail_tracking: black, isort, prettier 2023-09-25 07:40:35 -07:00
Alexandre D. Díaz c1499d8025 [FIX] mail_tracking: Store cc 2023-09-25 07:40:35 -07:00
Alexandre D. Díaz 98778b3caa [IMP] mail_tracking: Discuss failed messages: Button and domain 2023-09-25 07:40:35 -07:00
nmadhoc 6c742b521f [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
2023-09-25 07:40:35 -07:00
Wolfgang Pichler 8c51374370 [FIX] re.search will return None when nothing found. So we have to check for this 2023-09-25 07:40:35 -07:00
Alexandre Díaz 104ea90bd3 [IMP] mail_tracking: Ignore catchall 2023-09-25 07:40:35 -07:00
Alexandre Díaz 7a099500e4 [IMP] mail_tracking: Store To recipients and omit aliases 2023-09-25 07:40:35 -07:00
Alexandre Díaz 25a6f0ac22 [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.
2023-09-25 07:40:35 -07:00
Alexandre Díaz 4acc95a031 [MIG] mail_tracking: Migration to 13.0 2023-09-25 07:40:35 -07:00
Alexandre Díaz 6b980a571d [IMP] mail_tracking: black, isort 2023-09-25 07:40:35 -07:00
Alexandre Díaz 107bf807bc [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).
2023-09-25 07:40:35 -07:00
Alexandre Díaz 8100ec4899 [IMP] mail_tracking: Failed Messages to 12.0 2023-09-25 07:40:35 -07:00
Alexandre Díaz 17f8d93879 [IMP] mail_tracking: translations 2023-09-25 07:40:35 -07:00
Alexandre Díaz ce8f865e03 [IMP] mail_tracking: Convert 'partner_trackings' to dict 2023-09-25 07:40:35 -07:00
Alexandre Díaz 8ef81f2e01 [IMP] mail_tracking: Cc name & check if mail is Cc 2023-09-25 07:40:35 -07:00
David 8a52d2a98a [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.
2023-09-25 07:40:35 -07:00
Alexandre Díaz 40c31292ac [FIX] mail_tracking: Repeated suggested cc emails 2023-09-25 07:40:35 -07:00
Alexandre Díaz 592b9d12ca [MIG] mail_tracking: Adapt Cc to 12.0 2023-09-25 07:40:35 -07:00
Alexandre Díaz 270697712c [IMP] mail_tracking: Cc 2023-09-25 07:40:35 -07:00
Pedro M. Baeza d324aa1f04 [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`.
2023-09-25 07:40:35 -07:00
ernesto d6d4142cd9 [MIG] mail_tracking: Migration to 12.0 2023-09-25 07:40:35 -07:00
David Vidal c2eda72bc0 [IMP] mail_tracking: email score performance (#299) 2023-09-25 07:40:35 -07:00
David 715618fcb0 [MIG] mail_tracking: Migration to 11.0 2023-09-25 07:40:35 -07:00
eLBati 210de915b1 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
2023-09-25 07:40:35 -07:00
Antonio Espinosa 5987c3f903 [FIX] mail_tracking: bugfixes (#199)
* [FIX] Only one data-odoo-tracking-email tag in each email
* [FIX] Get status even in multicompany instances
2023-09-25 07:40:35 -07:00
Pedro M. Baeza a564869578 [FIX] mail_tracking: Obtain outgoing server with sudo
As regular users can't access this object.
2023-09-25 07:40:35 -07:00
Antonio Espinosa 7c9aabebfd [9.0][FIX][mail_tracking] Control exception when mail_message was removed (#132) 2023-09-25 07:40:35 -07:00
Antonio Espinosa 12b34c5347 [8.0][FIX][mail_tracking] Use event recipient address to find partners and contacts to bounce (#133) 2023-09-25 07:40:35 -07:00
Antonio Espinosa fc64f5ce1d Add access to portal/public user to his own email trackings 2023-09-25 07:40:35 -07:00
Antonio Espinosa 4dce9c0104 [IMP] mail_tracking: Allow to define a custom mail_tracking base url 2023-09-25 07:40:35 -07:00
Antonio Espinosa d9e6e655dc [IMP] mail_tracking performance and bounce process (#103) 2023-09-25 07:40:35 -07:00
Damien Bouvy dcee7f8373 [MIG] mail_tracking: Migrated to 10.0 2023-09-25 07:40:35 -07:00
Pedro M. Baeza cf37bee08a [FIX] mail_tracking: Typo 2023-09-25 07:40:35 -07:00
Antonio Espinosa be492793f3 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2023-09-25 07:40:35 -07:00
Antonio Espinosa 59001b4af5 [FIX] Update email_score when email changes 2023-09-25 07:40:35 -07:00
Antonio Espinosa a8b8a25a11 [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
2023-09-25 07:40:35 -07:00
Antonio Espinosa 0ddcb83ef2 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2023-09-25 07:40:35 -07:00