1. 15 Sep, 2021 1 commit
    • Nicolas Wavrant's avatar
      erp5_discussion: discover metadata synchronously of discussion thread's attachment · e08ace32
      Nicolas Wavrant authored
      When some types of files are attached to a forum thread, they may be
      subjected to a portal type migration. This is the case of CSV files, for exemple. What
      happens in that case, is that the document D1 is created with portal_type PT1, then
      discoverMetadata is called, which triggers a portal type migration. Then D1 is deleted, and
      recreated as D2 with portal type D2. The problem is that the migration happens after D1 was attached to
      the Discussion Post (in a different transaction), so the relation between both is broken.
      e08ace32
  2. 14 Sep, 2021 1 commit
  3. 10 Sep, 2021 3 commits
  4. 08 Sep, 2021 1 commit
  5. 03 Sep, 2021 8 commits
  6. 01 Sep, 2021 1 commit
  7. 20 Aug, 2021 1 commit
  8. 19 Aug, 2021 1 commit
  9. 18 Aug, 2021 1 commit
  10. 17 Aug, 2021 11 commits
  11. 16 Aug, 2021 2 commits
    • Nicolas Wavrant's avatar
      erp5_web_service: add also prefix when writing temporary file · 94d2ec4c
      Nicolas Wavrant authored
      See merge request !1481
      94d2ec4c
    • Nicolas Wavrant's avatar
      erp5_web_service: add also prefix when writing temporary file · 005273dd
      Nicolas Wavrant authored
      In practice, SFTP-based client processes often use a prefix based
      filter when retrieving files on the server.
      
      ie: there is one SFTP server between 2 systems, used for different
      exchanges. The SFTP client will do something like (found in the wild):
      process1(file_list=sftp.list(path, prefix='PROCESS_1'))
      process2(file_list=sftp.list(path, prefix='PROCESS_2'))
      
      Our implementation of temporary_file_on_write only sets a suffix,
      which doesn't work for the previous SFTP client. So let's add also a
      prefix when writing temporary files.
      005273dd
  12. 11 Aug, 2021 2 commits
  13. 10 Aug, 2021 7 commits