1. 02 Jul, 2024 2 commits
    • Vincent Pelletier's avatar
      Products.CMFActivity.SQLBase: Always commit before returning · 966fb6a0
      Vincent Pelletier authored
      Committing serves two purposes:
      - obviously: it makes any transactional data change persistent
      - less obviously: it releases the database transactional snapshot taken by
        any previously issued query, allowing that snapshot and all snapshots
        after it to be also freed (ex: garbage collecting the data records that
        no other transaction can see)
      In the current state of the code flow, this does not change much: after
      this method returns the code flow should quickly hit a commit anyway,
      either in dequeueMessage or before handing control back to timerserver,
      thereby ending the Zope-initiated transaction.
      But this will not be true in a future version of the code.
      966fb6a0
    • Vincent Pelletier's avatar
      Products.CMFActivity: Inverse dequeueMessage return value · 02791ba1
      Vincent Pelletier authored
      dequeueMessage used to return False when something was done, and True
      otherwise. The only caller which uses that value then reverses it, causing
      a double-negative which makes the code confusing to read.
      Inverse the meaning of the return value, getting rid of this double-
      negation.
      02791ba1
  2. 01 Jul, 2024 3 commits
  3. 28 Jun, 2024 1 commit
  4. 27 Jun, 2024 5 commits
  5. 26 Jun, 2024 2 commits
  6. 25 Jun, 2024 2 commits
  7. 24 Jun, 2024 1 commit
  8. 20 Jun, 2024 1 commit
  9. 19 Jun, 2024 4 commits
  10. 18 Jun, 2024 3 commits
  11. 17 Jun, 2024 1 commit
  12. 11 Jun, 2024 2 commits
  13. 09 Jun, 2024 2 commits
    • Jérome Perrin's avatar
      d885e20e
    • Jérome Perrin's avatar
      oauth_google_login: reimplement with oauthlib/requests · c3488a67
      Jérome Perrin authored
      Because the librairies used here were never ported to python3.
      
      Notable changes:
      
        - ERP5Site_createGoogleUserToOAuth is dropped
        - internal API changed radically, so customizations made by overriding
          scripts are broken.
        - the core logic is now implemented in a connector class (still in
          portal_oauth for simplicity, but it would be simpler to move it to
          portal_web_services)
      
      No changes required in the google console, the redirect uri is still
      ERP5Site_receiveGoogleCallback
      c3488a67
  14. 06 Jun, 2024 3 commits
  15. 05 Jun, 2024 6 commits
  16. 04 Jun, 2024 2 commits