Commit Graph

8 Commits (5c5cbe0369f14f941f4ca871724f49aaa7905197)

Author SHA1 Message Date
Florian da Costa e6a8b97d5c [IMP] attachment synchronize : when importing files from a remote server :
If one task is failing, keep processing the others
Commit fir attachment imported after each file to be sure not to loose any data, when deleting on remote after import for example
2024-04-24 17:40:15 +02:00
Florian da Costa deaa0b805f [MIG] attachment_synchronize : Migration to v16 2023-09-07 11:17:48 +02:00
Kevin Khao 3ef953ad91 [IMP] attachment_synchronize: pre-commit 2023-09-07 11:17:48 +02:00
Sébastien BEAU e5c210661a [REF] refactor code, rename enabled to active, and simplifie run code 2023-09-07 11:17:48 +02:00
clementmbr cacacc99fb [IMP] rename check_duplicated_files and improve Task views 2023-09-07 11:17:48 +02:00
clementmbr 7bd7c02c89 [FIX] attachment_synchronize: fix tests
- correct `directory_output` value

- mute logger for desired raise exception

- change how the "already imported files" are checked when
"check_duplicated_files = True" :
It occurs that a task o2m field `attachment_ids` returns an empty record
when checked during the `_file_to_import()` method... but only when
the module `autovacuum_message_attachment` is installed !
2023-09-07 11:17:48 +02:00
Sébastien BEAU c616a4a6ee [REF] run black 2023-09-07 11:17:48 +02:00
Sébastien BEAU da74f9a7a5 [REF] refactor code and add test 2023-09-07 11:17:48 +02:00