Commit Graph

11 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
clementmbr 97dd5cf84a [IMP] remove unnecessary comments 2024-01-26 15:38:18 -03:00
Florian da Costa deaa0b805f [MIG] attachment_synchronize : Migration to v16 2023-09-07 11:17:48 +02:00
Kevin Khao 7bf4c8a831 [IMP] Avoid using deprecated function _list, _delete and replace appropriately 2023-09-07 11:17:48 +02:00
Kevin Khao ea321d71ef [14.0][MIG] attachment_synchronize: migration to 14.0 2023-09-07 11:17:48 +02:00
Kevin Khao 3ef953ad91 [IMP] attachment_synchronize: pre-commit 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
Sébastien BEAU 75d7af3137 [REF] start cleanning 2023-09-07 11:17:48 +02:00
Florian da Costa f022064a47 Migrate and refactore external_file_location 2023-09-07 11:17:48 +02:00