Commit Graph

59 Commits (56132a00baeb66141c04f7edb42d70482bd6c56b)

Author SHA1 Message Date
Holger Brunn 368d9a56bf [FIX] don't rollback() transation, use savepoint. This fixes concurrency
issues with long running cron threads as rollback also releases the lock
2024-04-25 13:22:22 +02:00
Holger Brunn 9f5b3c8299 [IMP] make fetch_mail's refactoring more useful by returning the ids of
mails creates/objects matched
[ADD] preliminary docstrings
2024-04-25 13:22:22 +02:00
Holger Brunn ec5ee38423 [FIX] attach mail attachments to matched object in non-OpenERP case 2024-04-25 13:22:21 +02:00
Holger Brunn edc73926ff [IMP] refactored fetch_mail
[IMP] also log when we're done with one folder
2024-04-25 13:22:21 +02:00
Holger Brunn 189799de9b [ADD] msg_state field for folders - set the state of messages fetched
from imap servers
[IMP] clean up the folders' treeview
2024-04-25 13:22:21 +02:00
Holger Brunn f7bbee385c [IMP] autopep8
[IMP] more efficient sorting of algorithms
[IMP] improve readability of help strings
2024-04-25 13:22:21 +02:00
Ronald Portier 7b19bb6d7f [IMP] - convert mailadresses to lowercase to increase change for match
- handle situation that optional mail address componenents not present in mail
      - slight reorganisation of code to aid debugging and made pep8 compliant as well.
2024-04-25 13:22:21 +02:00
Holger Brunn 7f167a7580 [MRG] lp:~therp-nl/therp-addons/fetchmail_attach_from_folder rev 89 2024-04-25 13:22:21 +02:00
Holger Brunn cfe406a223 [ADD] make retrieval configurable per folder; use msgid to exclude
duplicates; don't break existing configurations
2024-04-25 13:22:21 +02:00