1. 10 Aug, 2021 4 commits
  2. 09 Aug, 2021 1 commit
  3. 06 Aug, 2021 1 commit
  4. 05 Aug, 2021 4 commits
  5. 02 Aug, 2021 1 commit
    • Jérome Perrin's avatar
      odt_style: Fix hierarchy of ReportSection(title=) · 1e82948c
      Jérome Perrin authored
      When using report sections with title, this is supposed to create outline
      in PDF, but this seem to became broken somewhere in the last 10 years.
      
      This repair by using text:h instead of text:p and by setting
      text:outline-level
      1e82948c
  6. 29 Jul, 2021 3 commits
  7. 28 Jul, 2021 9 commits
  8. 27 Jul, 2021 3 commits
    • Xiaowu Zhang's avatar
      erp5_core: fix "Update Security Roles" on workflow · 738b7e0c
      Xiaowu Zhang authored
      See merge request !1469
      738b7e0c
    • Jérome Perrin's avatar
      core/mrp: make sure getAggregatedAmountList return amounts in order · 1c1ec0bc
      Jérome Perrin authored
      For some reports displaying transformations result to end users, it's much
      better to have amount ordered in the same order as the model lines.
      
      AmountGeneratorMixin was already sorting the lines, but the order was lost
      during aggregation, because we used a dict, which on python2 does not
      retain order. Switch to using an OrderedDict to keep the order.
      1c1ec0bc
    • Jérome Perrin's avatar
      Minimal fixes for xhtml front page RSS reader gadget · dade8d98
      Jérome Perrin authored
      This makes RSS reader somehow usable for support request RSS.
      
      One important think to keep in mind is that because of a bug in how URL characters are (not) escaped in the dialog to edit character is that editing the feed URL should be edited from knowledge pad module, and not directly from front page. Also this should be edited by clicking Edit button, not by pressing enter.
      
      See merge request !1467
      dade8d98
  9. 26 Jul, 2021 3 commits
  10. 21 Jul, 2021 4 commits
  11. 20 Jul, 2021 5 commits
  12. 19 Jul, 2021 2 commits
    • Jérome Perrin's avatar
      ERP5Security: ignore leading/trailing spaces in usernames · 81a6500d
      Jérome Perrin authored
      We received a few support requests from users who are able to change their
      password but not to log in afterwards. These users probably copy and pasted
      their user name with an extra leading or trailing space. In the reset
      password dialog, these spaces are stripped, because Formulator by default
      strips the input (unless "whitespace preserve" is on, but we usually don't
      set it except in text areas).
      
      Historically we have been completely avoiding the extra spaces and made the
      login/user_id case sensitive, because login and user id were the same thing
      and there have been issues when looking up user id in mariadb because of
      mariadb collations, so we took the easy way of saying "logins are case
      sensitives and spaces also mater", but with separate login / user id,
      this can be revisited, because the login is only used to check the password
      and find an user ID.
      
      Stripping spaces from logins is a common thing these days (google, twitter,
      facebook strip logins) which simplifies user experience and reduces support.
      
      The risk of conflicts seems very low, if users are created with ERP5 Forms
      Formulator already had stripped the login anyway. After this change in case
      of two user names ('alice' and ' alice ') conflict, none of them would be
      able to login.
      We keep compatibility with users with trailing spaces, so if there is only
      a user named ' alice ', without other users that would conflict (for
      example 'alice' or ' alice'), this user remain able to login anyway. This
      last part is probably not so important in reality, it is for compatibility
      with testPasswordTool.TestPasswordTool.test_login_with_trailing_space
      81a6500d
    • Jérome Perrin's avatar
      Update Graph Editor · 8127666c
      Jérome Perrin authored
      * Fixes https://erp5js.nexedi.net/#/bug_module/20160609-11B02E6 and https://erp5js.nexedi.net/#/bug_module/20210517-F12266
      * Support ERP5JS
      * Improve test coverage
      * Small CSS changes
      * Fix bug editing business process when erp5_graph_editor was installed 
      
      See merge request !1461
      8127666c