1. 20 Sep, 2021 6 commits
  2. 17 Sep, 2021 1 commit
  3. 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
  4. 14 Sep, 2021 1 commit
  5. 10 Sep, 2021 3 commits
  6. 08 Sep, 2021 1 commit
  7. 03 Sep, 2021 8 commits
  8. 01 Sep, 2021 1 commit
  9. 20 Aug, 2021 1 commit
  10. 19 Aug, 2021 1 commit
  11. 18 Aug, 2021 1 commit
  12. 17 Aug, 2021 11 commits
  13. 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
  14. 11 Aug, 2021 2 commits