Skip to content
  1. Jan 11, 2024
  2. Oct 17, 2023
  3. Jun 01, 2023
  4. May 23, 2023
  5. May 12, 2023
  6. May 02, 2023
    • jlouvel's avatar
      [axabanque] Handle random failed redirections · 8d20286b
      jlouvel authored and Quentin Defenouillere's avatar Quentin Defenouillere committed
      AxaBanqueBrowser must go to a redirection bouncer to know if the user
      has his insurances on regular space or on outremer space. This bouncer
      is supposed to redirect us to specific URLs that allows us to know which
      space is used. Sometimes, it randomly gets the user to
      AxaAssuranceBrowser homepage instead of AxaAssuranceBrowser insurances
      pages. It can even happen when browsing on a regular browser. Going to
      insurances a second time seems to be enough to get the real redirection.
      8d20286b
    • jlouvel's avatar
      [axabanque] Add __states__ to preexisting __states__ · b2ecb27a
      jlouvel authored and Quentin Defenouillere's avatar Quentin Defenouillere committed
      Instead of redefining __states__ in AxaBanqueBrowser, we keep the
      __states__ from cmso and add new states to it. It seems that states from
      cmso are still used for axabanque because a few 400 errors are triggered
      since a few weeks, making some connections fail at first
      synchronization.
      b2ecb27a
    • jlouvel's avatar
      [axabanque] Handle 401 errors · 21fe8c17
      jlouvel authored and Quentin Defenouillere's avatar Quentin Defenouillere committed
      If the user
      tried to synchronize within 5 minutes after a first synchronization, he
      would get a 401 because authorization token would not be set in the
      header (it is only set after regular login or SMS handling and not kept
      in the state). After 5 minutes, the STATE_DURATION would make the state
      expire and the user reconnect, making him have a new fresh token.
      Updated the STATE_DURATION to 10 minutes like it really lasts on the
      website and also skipped locate_browser to avoid loading URLs that must
      be accessed with the token, provoking 401 errors. Authorization could be
      stored in the state but then it would only be useful for users that need
      to do two synchronizations in less than 10 minutes. Instead, if they
      have to do this, module will relogin. refresh_access_token from parent
      allianzbanque can't be used for axabanque.
      21fe8c17
  7. Apr 14, 2023
  8. Apr 08, 2023
  9. Mar 28, 2023
  10. Mar 05, 2023
  11. Feb 12, 2023
  12. Feb 11, 2023
  13. Feb 04, 2023
  14. Jan 29, 2023
  15. Jan 26, 2023
    • Thomas Toumeyragues's avatar
      [axabanque] update loginpage methods · 8d61f366
      Thomas Toumeyragues authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      Response's dict after login submission can
      be like : '{"url":"/mosaique","isRedirect":false}'
      so we need to adapt to this format.
      Also need to handle new response when credentials
      are invalid.
      8d61f366
    • jlouvel's avatar
      [axabanque] Handle more switching cases between browsers · 9d747704
      jlouvel authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      We can't guarantee the order of iter_accounts. From that order depends
      which browsers will be called first (AXABanqueBrowser, AXABourseBrowser
      or AXAAssuranceBrowser). Some rare cases were not covered. For example
      if the user has a bourse account, then it is possible that we switch to
      the bourse browser first. Since no switching method was used in this
      bourse browser, if the user had an insurance account, bourse browser
      would try to get insurance investments or history through its own
      methods.
      9d747704
    • jlouvel's avatar
      [axabanque] Handle insurances from AxaBanqueBrowser · a7072571
      jlouvel authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      Axa has three spaces, insurances only, bank only and bank and
      insurances. For bank space users, insurances accounts were not fetched
      since they were located on the insurance space. Browser switching now
      correctly fetches these insurances. The tricky part is that insurance
      space can itself have two spaces (metropolitan and overseas
      territories). We can call some URL from the AxaBanqueBrowser to
      determine on which space we're gonna land. We keep this information in
      the state of the browser to pass it to the AxaAssuranceBrowser.
      a7072571
    • sfartit's avatar
      [axabanque] Missing quantity from invests · e8fa5990
      sfartit authored and Antoine Le Gonidec's avatar Antoine Le Gonidec committed
      In the investments details page, the investment label has one more space
      than what we previously got:
      `JPMF Global Natural Resources  A Acc EUR` instead of
      `JPMF Global Natural Resources A Acc EUR`
      
      This made us miss it when calling `fill_investment`.
      e8fa5990
  16. Sep 05, 2022
  17. Aug 22, 2022
    • jlouvel's avatar
      [axabanque] Update password regex · ae00c0c1
      jlouvel authored and ntome's avatar ntome committed
      Axa recently changed their policy for passwords. Regex had been
      modified accordingly from accepting only 6 digits to accepting any
      alphanumerical character. Problem is that some user say they have
      special characters in their passwords and our current regex does not
      takes them so it has been updated to take a wider range of characters.
      ae00c0c1
  18. Aug 08, 2022
  19. Jul 11, 2022
  20. Jul 04, 2022
    • Damien Mat Jedrzejewski's avatar
      [axabanque] add missing ValueTransients · e3ef583d
      Damien Mat Jedrzejewski authored and ntome's avatar ntome committed
      Although browser is inheriting from CMSO,
      AXABanqueModule is a dedicated module,
      where 'code' and 'request_information' were missing
      in order to work with 2FA process made upward in
      TwoFactorBrowser.
      e3ef583d
    • Thomas Touhey's avatar
      [axabanque] Remove AddRecipient from module capabilities · 2f66b27d
      Thomas Touhey authored and ntome's avatar ntome committed
      It seems as though AxaBanqueModule has had the
      CapBankTransferAddRecipient capability without having
      any of its browsers implement the new_recipient method,
      or any equivalent method for that matter.
      
      This commit downgrades the capability of the
      module to CapBankTransfer to only support transfers
      to already created recipients.
      2f66b27d
  21. Jun 27, 2022
  22. Jun 22, 2022
  23. Jun 13, 2022
  24. Apr 29, 2022
  25. Apr 28, 2022
    • kmartins's avatar
      [axabanque] Check balance before iter_investments · c93d0328
      kmartins authored and ntome's avatar ntome committed
      Some account exist without investment, that was
      leading us to a crash. We now check the account
      before iter_investments to verify if the balance > 0.
      if the balance is <= 0 there's no investments to get.
      c93d0328
  26. Mar 29, 2022
  27. Mar 16, 2022
  28. Feb 28, 2022