1. 02 Aug, 2023 2 commits
  2. 01 Aug, 2023 2 commits
  3. 28 Jul, 2023 7 commits
  4. 27 Jul, 2023 9 commits
  5. 18 Jul, 2023 2 commits
  6. 13 Jul, 2023 5 commits
  7. 07 Jul, 2023 1 commit
  8. 04 Jul, 2023 2 commits
  9. 03 Jul, 2023 2 commits
  10. 28 Jun, 2023 2 commits
  11. 26 Jun, 2023 1 commit
  12. 22 Jun, 2023 1 commit
  13. 21 Jun, 2023 1 commit
  14. 20 Jun, 2023 3 commits
    • Jérome Perrin's avatar
      openid_connect,google_login: increase cache duration to 10 days · 3304ea33
      Jérome Perrin authored
      Because these two plugins implement the refresh of the authentication
      token (unlike the facebook plugin), we can use a longer cache here.
      With the previous value of 1 day, when not using the site for more than
      1 day, token would expire from cache and user have to authenticate again.
      Because the scenario of "access is revoked from authorization server"
      is handled by refreshing the access token, we can use a longer duration
      here, so that user do not have to login again after not using for two
      days.
      3304ea33
    • Jérome Perrin's avatar
      ERP5Security: fix some typos · 36d7f81e
      Jérome Perrin authored
      36d7f81e
    • Jérome Perrin's avatar
      ZMySQLDA: reconnect on mariadb's Connection was killed · 831627bf
      Jérome Perrin authored
      After server restarts, mariadb uses an error 1927 which is mariadb
      specific, with no corresponding constant in CR module when server
      restart. This is the case at least with mariadb 10.3.38.
      
      This fix the following problem:
       - start zope and use mariadb connection
       - restart mariadb
       - use mariadb connection again, see an error:
          Error Type: OperationalError
          Error Value: (1927, 'Connection was killed')
      
      This change to treat 1927 as an error for which we can reconnect and
      retry the query. Some other connectors do it, for example sqlalchemy in
      https://github.com/sqlalchemy/sqlalchemy/issues/5493
      831627bf