1. 29 Jan, 2021 14 commits
  2. 19 Jan, 2021 3 commits
    • Łukasz Nowak's avatar
      Update Open Order simulation in alarm. · 3cccb99f
      Łukasz Nowak authored
      Also minimise activity hurricane by calling expand directly.
      
      Open Orders are searched using indexation timestamp, which allows to see them
      in "windows", and does not repeat expand if not needed.
      
      Generate activities and allow to pass the tag. Use search and activate
      everywhere which will allow to walk through objects without killing the cluster
      even in case of really big documents.
      
      Avoid calling isDivergent which can take few minutes to finish.
      
      causality_state comes from well designed causality workflow, which informs
      enough about delivery state. Fetching causality_state property is extremely
      fast.
      3cccb99f
    • Rafael Monnerat's avatar
      Remove most disguised interactions related to simulation. · 45ac7c6d
      Rafael Monnerat authored
      Notes:
      
      Do nothing on 'calculate' instead of disabling *_causality_interaction_workflow as
      these interaction workflows do not generate activities directly, and do work
      that can't be postponed.
      
      By contrast, 'calculate' transition of delivery_causality_workflow is modified
      so that no 'updateCausalityState' activity is created by default.
      
      This commit also update list of method_id which should not call calculate_causality
      45ac7c6d
    • Romain Courteaud's avatar
      Proxy role is needed to access the site message context. · d5422c88
      Romain Courteaud authored
      Conflicts:
      	bt5/erp5_crm/bt/revision
      d5422c88
  3. 18 Jan, 2021 2 commits
    • Vincent Pelletier's avatar
      CMFActivity: Optimise validation queries. · a016ed04
      Vincent Pelletier authored
      See SQLBase._getExecutableMessageSet for operation principle.
      Removes the notion of order_validation_text: activity validation is no
      longer evaluated per-activity , but per-dependency for multiple activities
      at a time. In this context, order_validation_text does not make sense as
      it flattens all dependency types for a given activity.
      Rework activity-dependency-to-SQL methods: use a dict rather
      dynamically-generated method names.
      Based on initial work by Julien Muchembled.
      a016ed04
    • Vincent Pelletier's avatar
      CMFActivity.Activity.SQLBase: Properly release reserved messages when load raises. · f09e1a36
      Vincent Pelletier authored
      Seen happen on SQLDict with 94 indexation activities being stuck assigned
      to a processing node on which load failed because of an SQL deadlock.
      f09e1a36
  4. 14 Jan, 2021 3 commits
  5. 13 Jan, 2021 7 commits
  6. 12 Jan, 2021 4 commits
  7. 11 Jan, 2021 2 commits
  8. 08 Jan, 2021 2 commits
  9. 06 Jan, 2021 3 commits
    • Jérome Perrin's avatar
      authentication_policy: fix UnicodeDecodeError with invalid password messages · 28ef4724
      Jérome Perrin authored
      When new password does not match policy, in reset password and change
      password dialogs, we used u' '.join([str(message) ...]) to join all
      translated messages in a string, but this construct will decode the
      str(message) to unicode using ascii, so it will fail when these messages
      contain some multi bytes characters.
      
      Extend test coverage to check that these dialogs uses translations and use
      non ascii messages in the tests, to make sure we don't have regressions
      with this issue.
      28ef4724
    • Georgios Dagkakis's avatar
      Validation message translation · 0aeea3c4
      Georgios Dagkakis authored
      See merge request !1001
      0aeea3c4
    • Tristan Cavelier's avatar
      erp5_base: drop create_user_action · 1b11dd03
      Tristan Cavelier authored
      ERP5 does not handle user "account" anymore, it handles "login".
      Please use "Add ERP5 Login" or any other login you need instead.
      
      See discussions on !547
      1b11dd03