1. 29 Apr, 2022 1 commit
  2. 28 Apr, 2022 1 commit
  3. 27 Apr, 2022 5 commits
    • Arnaud Fontaine's avatar
      593b6cf6
    • Arnaud Fontaine's avatar
      Cosmetic. · 445df739
      Arnaud Fontaine authored
      445df739
    • Arnaud Fontaine's avatar
      Fix typo (df85ef46). · 3130fbc7
      Arnaud Fontaine authored
      3130fbc7
    • Vincent Pelletier's avatar
      Products.CMFActivity.ActivityTool: Store user object in activity. · f363ac65
      Vincent Pelletier authored
      When spawning an activity, store the current security context's user in
      the Message object itself, so the activity security context can be
      re-created with the same security during activity execution.
      This allows a user to be modified (different groups, global roles, maybe
      removed altogether) after they spawned activities and before these activities
      could run.
      It also means that any temporary custom group or global role granted to
      that user (by a privilege elevation mechanism out of the scope of this
      change) will still be effective during the activity execution.
      This follows the principle that
        foo.activate(...).bar(...)
      should be equivalent to its "immediate execution" version
        foo.bar(...)
      by ensuring that the security context of the activity is the same as the
      one which was applied to the code which spawned that activity,
      independently of any intermediate configuration change - hence improving
      (deferred and fragmentary) transaction isolation.
      
      This also removes the need to look the user up, then looking up their
      assignments (and other documents involved in group computation), etc,
      saving the cost of these calls.
      
      Also, remove redundant user_name argument of Message.changeUser method.
      f363ac65
    • Jérome Perrin's avatar
      *: remove remaining bits of old PDF preview · 428833f3
      Jérome Perrin authored
      The action was removed in 6dce55b0 (dms: drop PDF thumbnail view, 2021-06-01)
      but some CSS declarations were not removed.
      
      Also remove some old commented out javascript that was referencing the
      old PDF preview
      428833f3
  4. 26 Apr, 2022 5 commits
  5. 25 Apr, 2022 4 commits
  6. 22 Apr, 2022 7 commits
  7. 21 Apr, 2022 3 commits
  8. 18 Apr, 2022 1 commit
  9. 15 Apr, 2022 10 commits
  10. 14 Apr, 2022 3 commits