Commit Graph

29 Commits (27fa5f1f3e93f99593a62eacf28c1625a32f8e16)

Author SHA1 Message Date
trisdoan 82e66467ea [FW] port missing commits from 14.0 to 17.0 2024-10-03 11:41:51 +07:00
Henry Backman 01d268512c mail_tracking: add garbage collection
Add autovacuum to mail_tracking_email that removes old records based on new configuration variable mail_tracking_email_max_age_days.
Due to possibly a large number of records to be deleted on first run, set a default limit of 5000 per run.
2024-10-03 11:40:14 +07:00
Cyril VINH-TUNG ac625ad136 [IMP] Add option to keep aliases in mail tracking 2024-10-03 11:40:14 +07:00
David e981f3cc6d [MIG] mail_tracking: Migration to 17.0
TT49060
2024-06-11 10:08:14 +02:00
payen000 f25a4a31e6 [MIG] mail_tracking: Completed migration to 16.0
The following changes were implemented:

1 - Added Failed Message component and related components to reuse the
    Message component when rendering failed messages. This allows us to
    dispose of the messagefailed JS model altogether, since failed messages
    are now just regular messages that were marked as failed.

2 - Added Owl reactivity to failed message actions so that browser does
    not have to be reloaded each time a message is marked as reviewed or
    resent.

3 - Fixed 'Retry' and 'Set as reviewed' flows for failed messages.

4 - Fixed `Failed sent messages` filter on models by overriding `get_view`
    instead of `_fields_view_get`

5 - Refactored folder structure to more closely resemble the `mail`
    module's folder structure.

6 - Refactored module to utilize `Command` as a means to create, write,
    etc. instead of `[0, ...]`, `[4, ...]`.

7 - Fixed and added unit tests.

8 - Removed dead/unused code from `v15`.
2024-06-11 09:51:53 +02:00
David 0de49f2acd [FIX] mail_tracking: failed messages in thread
- Recover the failed messages box in the mail.thread
- Fix failed message box template issues
- Remove dead code
- Fix send_email() method signature
- Fix patch methods js files paths
- Update roadmap

TT44683
2024-06-11 09:51:53 +02:00
david 4cc3d4dc32 [FIX] mail_tracking: permissions
Refine which mail tracking record is allowed to see. We can rely on the
ACLs of the related records so we minimize inconvenient message subject
leaks.

A regular user can read these mail.tracking.email records:

- Those with a linked mail.message that the user can read
- Those with a linked mail.mail that the user can read
- Those with no message/mail link but a linked partner that the user can
read.
- Those with no linked records.

TT31399
2024-06-11 09:51:53 +02:00
sugapablo b760f0780e [FIX] mail_tracking: error when filtering by "Sent" 2024-06-11 09:51:53 +02:00
Jasmin Solanki 5e9998e324 [MIG] mail_tracking: Migration to 15.0 2024-06-11 09:51:53 +02:00
Fernanda Hernández 4e20cb65aa [FIX] mail_tracking: use recipient_address to search emails
This commits is using the field recipient_address in filter of search view
of mail.tracking.email in order to use the same field used in computed
method:

147eda96a5/mail_tracking/models/res_partner.py (L27)
2024-06-11 09:51:53 +02:00
houssine baa05ca8ab [PORT] porting js code to comply with OWL 2024-06-11 09:51:53 +02:00
Jorge Luis Quinteros b8600c8cb5 [FIX] Change operator to 'ilike' 2024-06-11 09:51:53 +02:00
angelJuaGar 2505952391 [FIX] mail_tracking: Added restriction on email search.
A filter_domain was added in the sender and recipient fields to be able to handle a more specific filter when using mail tracking.
2024-06-11 09:51:53 +02:00
Areeb Siddiqi bb40ec162c [MIG] mail_tracking: Migration to 14.0 2024-06-11 09:51:53 +02:00
Alexandre D. Díaz feb6c1c9a2 [IMP] Apply pre-commit changes: Resolve conflicts 2024-06-11 09:51:44 +02:00
nmadhoc 41824cf401 [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
2024-06-11 09:51:44 +02:00
Alexandre Díaz c3d54d0784 [MIG] mail_tracking: Migration to 13.0 2024-06-11 09:42:19 +02:00
Alexandre Díaz b5ee63dec6 [IMP] mail_tracking: Failed Messages to 12.0 2024-06-11 09:42:19 +02:00
David 2d0c3b7633 [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.
2024-06-11 09:42:19 +02:00
ernesto 8ab506bed7 [MIG] mail_tracking: Migration to 12.0 2024-05-30 13:53:46 +02:00
Pedro M. Baeza d5c757c00c [IMP] mail_tracking: Put button box at the end of the view
For giving more priority to other buttons like the invoices one.
2024-05-30 13:53:46 +02:00
David 0fd3693074 [MIG] mail_tracking: Migration to 11.0 2024-05-30 13:53:46 +02:00
Carlos Dauden e413b11cf1 [9.0][IMP] mail_tracking: Improve view with error details 2024-05-30 13:53:46 +02:00
Juan Jose Scarafia ef032736b0 [FIX][9.0] partner buttons view on enterprise 2024-05-30 13:53:46 +02:00
Antonio Espinosa ad25c28ae0 [FIX] Sender label is repeated in search fields 2024-05-30 13:53:46 +02:00
Antonio Espinosa d607b97fdb [IMP] mail_tracking performance and bounce process (#103) 2024-05-30 13:53:46 +02:00
Damien Bouvy ae82c2790e [MIG] mail_tracking: Migrated to 10.0 2024-05-30 13:53:46 +02:00
Antonio Espinosa 80e3341234 [MIG] mail_tracking
* Improve tests
* Show trackings even if partner removed
* Disable CSRF protection to webhooks controllers
2024-05-30 13:53:46 +02:00
Antonio Espinosa dcf1274ca1 [8.0][ADD] mail_tracking addon (#67)
* [ADD] mail_tracking addon

* Add description icon

* Fixes remarked

* Fix Travis error

* Remarks fixed
2024-05-30 13:53:46 +02:00