Skip to content
  1. Oct 17, 2023
  2. May 05, 2023
  3. Mar 13, 2023
  4. Jan 10, 2023
  5. Dec 09, 2022
    • Heddy's avatar
      [societegenerale] update loan · 2a4d722f
      Heddy authored
      To fetch loans details, we now use a new json page
      that includes all the loans with missing fields and
      with better information quality.
      
      And add Mortgage type.
      2a4d722f
  6. Aug 12, 2022
    • sfartit's avatar
      [societegenerale] Handle "Credit de tresorerie" loans · a1a0ce1c
      sfartit authored and ntome's avatar ntome committed
      Crédit de trésorerie loans are a special type of loans given to
      companies. The api can return codeFamille='PR_IMMO' for them.
      
      Usually 'PR_IMMO' loans details are available on :
      `listeRestitutionPretsNET.json?a100_isPretConso=False`
      
      But for `Crédit de trésorerie` we find them on:
      `listeRestitutionPretsNET.json?a100_isPretConso=True`
      a1a0ce1c
  7. Jul 04, 2022
    • Thomas Touhey's avatar
      [societegenerale] Add a retry when getting sign info · a42e218b
      Thomas Touhey authored and ntome's avatar ntome committed
      Getting this page sometimes result in getting a 'nok'
      page with an 'err_tech' reason, which is the temporary
      error code for Société Générale's website.
      
      We add a retry and ensure that the 'nok' is detected
      even if Python is optimized to the point it removes
      asserts.
      a42e218b
  8. Jun 27, 2022
  9. Jun 13, 2022
    • npaillasson's avatar
      [societegenerale] handling new errors · d5247813
      npaillasson authored and ntome's avatar ntome committed
      Management of unhandled errors in the spge part of the module.
      Sometimes in the spge part of the module,
      we get the value 'nok' for the key ‘state’ in the json
      for different 'reasons', which can be
      ENCADREMENT_KYC_PREAVIS, ENCADREMENT_KYC_POST_PREAVIS, INSCRIP_OBL,
      in this case we raise ActionNeeded because the user has to fill in
      some information on the bank website.
      We also manage the ‘err_is’ and ‘err_tech’ cases in which we
      raise BrowserUnavailabe as in the browser of the main module.
      Sometimes the key 'reason' has the value 'FIABILISATION_TS'.
      To manage this case in the main module there is a function named
      check_skippable_action_needed.
      However, in some cases the function does not seem to be sufficient
      to pass FIABILISATION_TS state.
      In this case, we have the key 'chgtnivauth' in the returned json.
      During login, this key is also present when an SCA is required.
      It is likely that, in some cases, an SCA is also required to pass
      the 'FIABILISATION_TS' state.
      So, in the main module, I add the possibility to trigger
      an SCA if the json obtained in the check_skippable_action_needed
      function contains the chgtnivauth key.
      We do not have a PSU to test the solution regarding FIABILISATION_TS.
      d5247813
    • sfartit's avatar
      [societegenerale] Scrap insurance_amount for loans · 7ed839bf
      sfartit authored and ntome's avatar ntome committed
      7ed839bf
  10. Feb 28, 2022
    • jlouvel's avatar
      [societegenerale] Handle new URL for bills · 8b138db2
      jlouvel authored and ntome's avatar ntome committed
      When trying to access the bills listing page, we can be redirected to a
      new URL. Added the new URL along the other ones already handled in
      bank_statement_search.
      8b138db2
  11. Jan 13, 2022
  12. Dec 18, 2021
  13. Nov 24, 2021
  14. Sep 13, 2021
  15. Aug 13, 2021
  16. Jun 30, 2021
  17. May 10, 2021
  18. May 07, 2021
    • sinopsysHK's avatar
      [societegenerale] CB statements download · 0a2f81c4
      sinopsysHK authored and hydrargyrum's avatar hydrargyrum committed
      Fixing issue #329
      - Seek for child credit cards within each SG prestation as they
           are not managed as standalone prestations
      - Reference credit card with their last 4 digits for searching
      - Enable passing over periods without statements specifically
           for credit cards as statement is provided only when
           operations are recorded
      0a2f81c4
    • Ludovic LANGE's avatar
      [societegenerale] Remove a harmless warning · 088d4a1b
      Ludovic LANGE authored and hydrargyrum's avatar hydrargyrum committed
      An unimportant warning was being displayed when trying to coerce an image
      into an HTMLPage object.
      The image is now mapped to a RawPage (not really necessary, as it could also
      been left unhandled - but it looks better to have less unhandled pages)
      088d4a1b
  19. Apr 26, 2021
  20. Apr 04, 2021
  21. Mar 24, 2021
  22. Feb 12, 2021
    • Damien Mat Jedrzejewski's avatar
      [societegenerale] Fix: handle Secure Access on Ent · ffecc268
      Damien Mat Jedrzejewski authored and hydrargyrum's avatar hydrargyrum committed
      Secure Access is a kind of AppVal and is the 2FA method for Ent users.
      It was implemented with the common SocieteGeneraleTwoFactorBrowser.
      
      But it a systematic 2FA and
      it could not work with the backend for several reasons:
      - when entering the handle_polling,
      first URL to be called, when loading state, was initiating a second 2FA;
      - only one user's device name was displayed in the validation prompt,
      although there could be several;
      - after validation, we must to end up on a LoggedPage to
      avoid triggering a chained init_login();
      - once in background sync, load_state was starting at last url,
      altough it needs to start at login to be able to raise NeedInteractiveFor2FA;
      - also, since SGProfessionalBrowser is inheriting from
      SGEnterpriseBrowser, we must be revert in it some of the discussed
      changes made in SGEnterpriseBrowser.
      ffecc268
  23. Jan 27, 2021
  24. Jan 18, 2021
  25. Nov 27, 2020
    • Damien Mat Jedrzejewski's avatar
      [societegenerale] Fix: Handle Entreprise 2FA login · 2ba0b712
      Damien Mat Jedrzejewski authored
      2FA has been activated for Entreprises clients.
      We can abstract Particuliers handling of TwoFactorBrowser,
      the same way it is done for Pro clients.
      
      Also Pro and Ent browsers needed some refactoring.
      Common login part in SGPEBrowser now uses
      login and 2FA handling from Par browser for both.
      2ba0b712
  26. Oct 28, 2020
  27. Jul 02, 2020