Skip to content
  1. Jan 11, 2024
  2. Oct 17, 2023
  3. Aug 25, 2023
  4. Jun 21, 2023
  5. May 05, 2023
    • npaillasson's avatar
      [bp] Fix BrowserIncorectPassword if wrong website · 16c015ae
      npaillasson authored and Alexandre BONIN's avatar Alexandre BONIN committed
      Due to the encoding, website_error and error_message strings
      can be slightly different, for example 'é' can become 'é'.
      This can prevent us from raising the BrowserIncorectPassword.
      So we decode website_error with the self.encoding encoding
      in the condition.
      16c015ae
  6. May 02, 2023
  7. Apr 11, 2023
  8. Apr 08, 2023
  9. Mar 13, 2023
  10. Mar 01, 2023
  11. Feb 28, 2023
  12. Feb 11, 2023
  13. Feb 01, 2023
  14. Jan 26, 2023
  15. Dec 02, 2022
  16. Oct 07, 2022
    • jlouvel's avatar
      [bp] Handle life insurance history page params dynamically · 387f6abb
      jlouvel authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      We assumed life insurances could only have one product code. It appears
      that there are at least 4 different types of life insurances, each with
      its own product code. Plus, if there is more than one life insurance of
      the same type for one account, the life insurances coming after the
      first one have their product code incremented by one each time there is
      one more life insurance. We now fetch the "codeProduit" and
      "identifiantContrat" dynamically. Wrong URL we used caused errors 500.
      387f6abb
    • npaillasson's avatar
      [bp] update module after website evolution · 1ec3c94c
      npaillasson authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      modification of xpath and url in the iter_accounts
      methods and modification of the parsing of
      LifeInsuranceHistory following an evolution of
      la banque postale website
      1ec3c94c
    • jlouvel's avatar
      [bp] Handle new cachemire account investments page · f0c744fb
      jlouvel authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      Cachemire account investments were partially parsed among other types of
      accounts. Now, cachemire accounts have their own page with a specific
      JSON to parse.
      f0c744fb
    • Thomas Touhey's avatar
      [bp] Remove check on debit account for transfers · 58457424
      Thomas Touhey authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      BP's interface doesn't communicate (anymore?) enough
      information for us to confirm that the right debit
      account has been selected.
      
      This commit removes the check for now, until we find
      a better solution.
      58457424
    • Thomas Touhey's avatar
      [bp] Add a dedicated unavailable page · 96830591
      Thomas Touhey authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      We had an unavailable page on the transfer confirm page
      on a given transfer.
      
      Since both transfer confirm and transfer summary pages
      share some URL patterns, they both define an is_here,
      leading to the unavailable page being matched in neither,
      causing the on_load raising the BrowserUnavailable not
      to be called.
      
      This commit adds a separate unavailable page which is
      loaded for every URL, and for which the presence is
      checked with only an is_here checking for the
      unavailable message.
      96830591
  17. Aug 12, 2022
    • Damien Mat Jedrzejewski's avatar
      [bp] better handle account.ownership · fa6c0eb4
      Damien Mat Jedrzejewski authored and ntome's avatar ntome committed
      Since caf373631c6ef4b1b1bd2e3f5131360a215a54db
      account._account_holder is now used
      to guess ownership in fill_account.
      But some remaining accounts missed that new attribute.
      
      Set it to NotAvailable or inform it when available.
      fa6c0eb4
    • Damien Mat Jedrzejewski's avatar
      [bp] properly implement fill_account · 1593bf5f
      Damien Mat Jedrzejewski authored and ntome's avatar ntome committed
      Used to retrieve account.ownership.
      This prevents whole iter_accounts to break
      when bug is situated on the get_profile method.
      Tested on accounts with/out ownership, Par and Pro.
      This is a follow up to 3a1a9cb059becfc5affdb9e7ae3d41d47ff47fa7
      but make it more resilient.
      1593bf5f
  18. Aug 08, 2022
  19. Aug 05, 2022
    • jlouvel's avatar
      [bp] Handle new profile page · 6353d658
      jlouvel authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      Profile page is now a JSON page. Its URL and way of accessing it has
      changed. Some headers must be present for that specific request or we'll
      get a ClientError 400 response.
      6353d658
  20. Jul 11, 2022
  21. Jun 27, 2022
  22. Jun 13, 2022
  23. May 30, 2022
    • jlouvel's avatar
      [bp] Handle new 2FA activation message · 02d3aad1
      jlouvel authored and ntome's avatar ntome committed
      Since a few weeks, SCA activation is mandatory for users
      on La Banque Postale. They added some details on why and how this
      activation works but the messages we were catching to handle this
      page were not exactly the same as the one they display today.
      
      Message is:
      
      "Votre Espace client change. Pour renforcer votre sécurité, en
      conformité avec la directive européenne DSP2, une authentification forte
      est désormais nécessaire pour piloter votre compte. Découvrez ci-dessous
      comment adopter l'authentification forte."
      02d3aad1
  24. May 05, 2022
    • jlouvel's avatar
      [bp] Remove URL used to skip SCA · 521727bc
      jlouvel authored and hydrargyrum's avatar hydrargyrum committed
      SCA is mandatory on La Banque Postale website since 25/04/2022. They
      removed an URL that was used to skip the SCA, causing the module to
      crash since the XPath does not exist anymore.
      521727bc
  25. Apr 28, 2022
    • nvergnac's avatar
      [bp] Fetch missing loans · 19c3bacc
      nvergnac authored and ntome's avatar ntome committed
      get_error method assumed loans details were not available
      
      but the checks were not consistent enough.
      
      we were missing loans because of "false" error detection.
      19c3bacc