1. 25 Feb, 2024 4 commits
    • Jérome Perrin's avatar
      Base_asXML: sort properties in asXML · e15e284e
      Jérome Perrin authored
      The order is used during syncml and if "title" comes before "first_name"
      and "last_name", synchronizing persons causes conflicts (because title
      of persons is computed from first_name and last_name).
      Luckily, sorting properties gives an order that is OK for syncml tests,
      so we don't need to invent a new mechanism to control the order of
      properties in asXML.
      e15e284e
    • Jérome Perrin's avatar
      TextDocument: don't change xml documents content type · 6f71be92
      Jérome Perrin authored
      if their content type ended in xml ( such as image/svg+xml ),
      TextDocument._convertToBaseFormat was resetting the content type to
      application/xml.
      
      When doing something like:
      
        wp = web_page_module.newContent(
          portal_type='Web Page',
          content_type='image/svg+xml',
          text_content=svg
        )
      
      wp.getContentType() was sometimes 'image/svg+xml' sometimes
      'application/xml', depending on the order of edit.
      6f71be92
    • Jérome Perrin's avatar
      d3944847
    • Jérome Perrin's avatar
      *: refactor edit_order of Base._edit · c262380f
      Jérome Perrin authored
      c262380f
  2. 23 Feb, 2024 4 commits
  3. 22 Feb, 2024 8 commits
  4. 21 Feb, 2024 4 commits
  5. 16 Feb, 2024 1 commit
  6. 15 Feb, 2024 1 commit
  7. 13 Feb, 2024 1 commit
  8. 12 Feb, 2024 1 commit
    • Vincent Pelletier's avatar
      Base_getWorkflowHistoryItemList: Remove access override · 1532fabb
      Vincent Pelletier authored
      This script has no reason to be an exception to user's title retrieval
      permissions.
      Non-ERP5 users do not have applicable access control, so handle those
      cases specifically. Such users may be:
      - since-deleted ERP5 users
      - coming from acl_users/zodb_users
      Use a generic placeholder when the user is not allowed to see a
      transition's actor.
      1532fabb
  9. 09 Feb, 2024 7 commits
  10. 08 Feb, 2024 3 commits
  11. 07 Feb, 2024 1 commit
  12. 06 Feb, 2024 5 commits