An error occurred fetching the project authors.
  1. 25 Apr, 2022 2 commits
  2. 21 Feb, 2022 1 commit
    • Gabriel Monnerat's avatar
      erp5_ingestion: Use script and type based method to add or not published state · 661a3bfe
      Gabriel Monnerat authored
      The initial idea was that publishing documents is something really exceptional, the "attach document" normal use case is typically use cases like attaching a PDF invoice to an invoice document in accounting, ie. most of the time it's with sensitive information that we don't want users to be mistakenly publish on the internet just because they selected a wrong value in the field.
      
      Now we have a project with use cases where the attached documents needs to be published, we did not change our mind that publishing an attached document is an exceptional case, but we want to make it possible to configure so that in certain contexts, publishing documents is possible.
      
      So we reuse the existing configuration by type based method idea and when the getPreferredAttachedDocumentPublicationState returns "published" we make it possible to publish by default.
      661a3bfe
  3. 26 May, 2021 1 commit
    • Jérome Perrin's avatar
      ingestion: review publication_state argument · 015bc1c1
      Jérome Perrin authored
      Changing state directly in Base_contribute was only functional for the case
      where metadata was discovered asynchronously. In the case of synchronous
      discovery, the state was first changed state, and Document_convertToBaseFormatAndDiscoverMetadata
      was executed - but this this was causing Unauthorized like this:
      
            Module script, line 10, in Document_convertToBaseFormatAndDiscoverMetadata
            - <PythonScript at /erp5/Document_convertToBaseFormatAndDiscoverMetadata used for /erp5/document_module/163>
            - Line 10
              return context.discoverMetadata(filename=filename,
          Unauthorized: You are not allowed to access 'discoverMetadata' in this context
      
      because once we have already changed state, regular user no longer have
      permission to access discoverMetadata, because that method needs ModifyPortalContent
      permission.
      
      Instead, of handling publication_state only in Base_contribute, treat it
      like others user input parameter and change state during discovery.
      
      Tests were also re-organised to move Base_contribute related test in testIngestion
      and also to run Base_contribute tests as a non-manager user.
      015bc1c1
  4. 23 May, 2018 1 commit
  5. 07 Jul, 2017 2 commits
  6. 23 Dec, 2016 1 commit
    • Vincent Pelletier's avatar
      Reduce reliance on Person.reference as a user id. · fe27a9c3
      Vincent Pelletier authored
      To prepare for moving user id to a different property.
      Mostly replacing getReference on Persons with Person_getUserId, and
      catalog searches with PAS API when it is meant to search for a user and
      not really a person by reference.
      fe27a9c3
  7. 23 Aug, 2016 1 commit
  8. 22 Aug, 2016 1 commit
  9. 15 Jan, 2016 1 commit
  10. 10 Mar, 2015 1 commit
  11. 23 Oct, 2014 1 commit
  12. 16 Oct, 2014 2 commits
  13. 04 Sep, 2014 1 commit
  14. 18 Jul, 2014 1 commit
  15. 06 Feb, 2014 2 commits
  16. 30 Jan, 2014 1 commit
  17. 12 Nov, 2013 1 commit
  18. 07 Nov, 2013 1 commit
  19. 05 Nov, 2013 1 commit
  20. 13 Jun, 2013 1 commit
    • Jérome Perrin's avatar
      Revert 3 latest commits · 228e3f79
      Jérome Perrin authored
      Revert "Test deferred style with converting to a format"
      
      This reverts commit cbfa8d56.
      -> pushed by mistake
      
      Revert "Set cloudoo on preferences in ERP5TypeTestCase"
      
      This reverts commit 28824962.
      -> pushed by mistake
      
      Revert "Listbox from Folder_viewWorkflowActionDialog has hidden columns"
      
      This reverts commit 802d3f53.
      -> a test is failing
      228e3f79
  21. 12 Jun, 2013 1 commit
  22. 15 May, 2012 1 commit
  23. 11 May, 2012 1 commit
  24. 08 Sep, 2011 1 commit
  25. 10 Jun, 2011 1 commit
  26. 16 Feb, 2011 1 commit
  27. 31 Dec, 2010 1 commit
  28. 22 Dec, 2010 1 commit
  29. 21 Dec, 2010 1 commit
  30. 01 Dec, 2010 1 commit
  31. 30 Sep, 2010 2 commits
  32. 28 Sep, 2010 1 commit
  33. 27 Sep, 2010 1 commit
  34. 20 Jul, 2010 1 commit
  35. 15 Jul, 2010 1 commit
    • Sebastien Robin's avatar
      sync with trunk@37114 · c1ae57b0
      Sebastien Robin authored
      Conflicts:
      	bt5/erp5_base/bt/revision
      	bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py
      	bt5/erp5_simulation/bt/revision
      	bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml
      	bt5/erp5_trade/bt/change_log
      	bt5/erp5_trade/bt/revision
      	products/ERP5/Document/BusinessPath.py
      	products/ERP5/Document/SimulationMovement.py
      	products/ERP5/Document/TradeCondition.py
      	products/ERP5/Document/TradeModelLine.py
      	products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
      	products/ERP5Type/ERP5Type.py
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
      c1ae57b0