1. 06 Mar, 2020 1 commit
  2. 04 Mar, 2020 1 commit
  3. 03 Mar, 2020 8 commits
  4. 02 Mar, 2020 5 commits
  5. 28 Feb, 2020 3 commits
    • Georgios Dagkakis's avatar
    • Vincent Pelletier's avatar
      ERP5Type.mixin.ResponseHeaderGenerator: New class. · 50c48dbd
      Vincent Pelletier authored
      Make ERP5Type.Base and ERP5.ERP5Site inherit from it.
      50c48dbd
    • Vincent Pelletier's avatar
      ERP5Type.Core.Folder.Folder: Inherit from our classes first. · 133d6655
      Vincent Pelletier authored
      Allows Base to consistently override methods which are also overridden in
      CMF where CMF implementation does not propagate the call to other
      superclasses (ex: __before_publishing_traverse__ as of CMFCore-2.2.10).
      Also allows simplifying several inheritance fixups.
      Also, use super() instead of explicit resolution to Base.
      
      Also: testBusinessTemplate: drop dead monkey-patch.
      _getCopy is called during BusinessTemplate installation, but not the one
      on this class. Which prevents reordering class inheritance between
      SimpleItem and copy support classes.
      So this is dead code which is not even explaining what it is trying to do
      (ex: what document should it really not be called on ? what effect of this
      method is undesired ? why is the method attached to this class ? why is
      the cleanup restoring the original method, when this class does not have
      this method to begin with but it merely gets it from its superclasses
      which are re-inherited from by documents hence overriding it anyway ?,
      and it is getting in the way of reordering class inheritance so it goes
      away.
      
      Also: ERP5Type.patches.CMFBTreeFolder: Fold patch onto ERP5Type.Core.Folder.
      All ERP5UI-visible (hence needing to call allowedContentTypes) BTReeFolder2
      instances should already inherit ERP5Type.Core.Folder, removing the need
      for this monkey-patch.
      133d6655
  6. 27 Feb, 2020 5 commits
  7. 26 Feb, 2020 5 commits
  8. 25 Feb, 2020 4 commits
    • Jérome Perrin's avatar
      accounting_l10n_fr_pca: add new accounts from 2018 · ecc2097e
      Jérome Perrin authored
      Add missing ones from
      RÈGLEMENT N° 2018-06 du 5 décembre 2018
      LIVRE III – TENUE, STRUCTURE ET FONCTIONNEMENT DES COMPTES
      Titre II – Nomenclature des comptes
      Art. 320-2
      
      /reviewed-on !1060
      ecc2097e
    • Jérome Perrin's avatar
      Activity Family for deferred style · e37e1288
      Jérome Perrin authored
      Example configuration:
      
      from `portal_activities/manageLoadBalancing`:
      
      ![image](/uploads/11e614bf8723e3cb81c7bac714a383b7/image.png)
      
      in preferences:
      
      ![image](/uploads/9f8691ac140aab45904b98ce46aa11b4/image.png)
      
      This way when users request lots of reports we always have at least one activity node to process other activities. ( document_conversion is a fictional example at this point )
      
      /reviewed-on !1057
      e37e1288
    • Jérome Perrin's avatar
      Enable coding style for erp5_xhtml_style · c27b84a4
      Jérome Perrin authored
      /reviewed-on !1048
      c27b84a4
    • Jérome Perrin's avatar
      hal_json_style: support a custom status message/level on edit · 159daa14
      Jérome Perrin authored
      This allow edit scripts or interactions to change the status message or
      the status level using the same way as workflow scripts: script can set
      the status text in request['portal_status_message'] and the status level
      in request['portal_status_level'].
      
      Note that part of this was already checked in accidentally in 97c40dcb
      
      /reviewed-on !1052
      159daa14
  9. 21 Feb, 2020 1 commit
    • Vincent Pelletier's avatar
      ERP5Type.patches.User: Scope role cache per user id. · 0b4fe995
      Vincent Pelletier authored
      When running test.erp5.testHalJsonStyle live tests, the same transaction
      seems to be seeing two different users. This cause an incorrect cache hit
      with the second user, which then retrieves values computed by & for the
      first user.
      Fix this by scoping the cache by user id, causing different cache entries
      to be used.
      0b4fe995
  10. 20 Feb, 2020 7 commits