Skip to content
  1. Apr 11, 2021
  2. Apr 08, 2021
    • Florent Viard's avatar
      [s2e] Only go back to history list from history details once per page · 2b1fc9e0
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      As the website is  stateful, after being on a "History list", if we do a
      request for the details of one entry of the list, we will have to send
      the "going back" request to have the "History list" page again.
      
      But, it is not needed to "go back" to see other "details" pages.
      So, this change improve the performance by only going back once before
      trying to go to the next page of a History list page.
      
      In addition, this might fix some nasty issues as the website is
      "unstable" and could easily have timeout issues. And in that case,
      missing any step could easily break next requests with strange errors.
      2b1fc9e0
    • Florent Viard's avatar
      [s2e] show_more should be ok if we already have the current number of items per page · 4a5bfd23
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      show_more() is called to select the number of items per page.
      It will return False if the selector was not found, and True if it was
      found and successfully changed to the request value.
      
      But, currently, if we found the selector but it was already on the
      correct value, we would return nothing, that would be equivalent to
      False for the "if" test that is used in the browser.py.
      
      This issue associated with a previous issue when "stay_or_go" was used,
      led to having the history entries returned only for a single time, for
      single account, but not for subsequent calls or different accounts.
      4a5bfd23
    • Florent Viard's avatar
      [s2e] Detect when incorrect page content is returned because of of disconnection · 2a33e0fc
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      Sometimes, instead of the expected content, an empty page with just a
      META redirection is returned when it looks like that the user was
      disconnected.
      
      Ex.:
      <!DOCTYPE html><html><head><META http-equiv="refresh" content="0;
      URL=/portal/salarie-axa/operations/consulteroperations"></head><body></body></html>
      
      A further request would encounter 302 redirections to the login page.
      
      In such a case, raise a "Loggedout" exception as previously it was just
      silently ignored and considered as a normal page.
      
      Note: check_disconnected as to be called manually in iter_history, as a
      simple "open" (compared to a "location") will not call the "on_load"
      function of the page.
      2a33e0fc
    • Florent Viard's avatar
      [s2e] Replace stay_or_go call to simple go · db2e9a74
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      The s2e website is stateful, and a lot of different content can match
      the same url, so it is safer to always go back to the inital page.
      
      By only using a go, we can be sure that the good page will be loaded in
      the correct state before trying to use any function of the page.
      db2e9a74
    • Florent Viard's avatar
      [s2e] Fixes profile when called first · 7a57c026
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      Also set the language when calling profile first before already having a
      cookie that had the correct language set by a call to accounts page.
      
      At the same time, to be future proof, add the xpath selectors for the us
      language version of the page.
      7a57c026
    • Florent Viard's avatar
      [s2e] Fill amundi funds with the proper isin code · 9314a85d
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      The extracting of the Amundi AMF code was broken as we were not trying
      to get it from the right page.
      
      But, as it looks like that the ISIN code is available, let's get that
      directly instead of the AMF Code.
      9314a85d
    • Florent Viard's avatar
      [s2e] Check an additional error in login page and retry once · c96c79aa
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      Sometimes, without logical reasons, we receive a broken login page.
      So detect this broken page as a BrowserUnavailable and attempt at least
      one retry.
      c96c79aa
    • Christophe François's avatar
      [s2e] New investments page for HSBC · 7d573f7c
      Christophe François authored and hydrargyrum's avatar hydrargyrum committed
      The old link returns 404. If we follow the investment's link, we arrive
      on a new page. It's filled using javascript and API calls, which we can
      replicate.
      7d573f7c
  3. Apr 04, 2021
  4. Feb 12, 2021
  5. Dec 07, 2020
    • Christophe François's avatar
      [s2e] Raise timeout to 60s · 7f42d5cb
      Christophe François authored and hydrargyrum's avatar hydrargyrum committed
      We have random timeout errors during history or investment fetching.
      It's most likely the website that can take some time to respond.
      
      Closes: 153753@sibi, 27253@zendesk
      7f42d5cb
  6. Nov 27, 2020
  7. Oct 28, 2020
  8. Oct 07, 2020
  9. Sep 23, 2020
  10. Sep 09, 2020
  11. Aug 26, 2020
  12. Aug 07, 2020
  13. Jul 15, 2020
  14. Jul 02, 2020
  15. May 22, 2020
  16. May 07, 2020
  17. Apr 08, 2020
  18. Mar 18, 2020
    • ntome's avatar
      [s2e] select documents tab before listing · 06841d71
      ntome authored and hydrargyrum's avatar hydrargyrum committed
      Warning: the documents tab doesn't have the same label on each child
      module, so it was needed to visit each sub site to find all possible
      labels
      06841d71
    • ntome's avatar
      [s2e] use "show all" button for documents + improvements · 0e817acc
      ntome authored and hydrargyrum's avatar hydrargyrum committed
      There might be more documents than displayed on the first documents
      page. A button "Afficher tout" exists which shows everything. It might
      be missing if we clicked it already (warning: the site is stateful for
      the session).
      
      Also, the id from URL might not reflect the document type, it has been
      observed to be "EDI/..." for various document types, without "RDC" or
      anything meaningful. So, type using the label instead.
      0e817acc
    • Ludovic LANGE's avatar
      [s2e] adding CapDocument · 7b3524cb
      Ludovic LANGE authored and hydrargyrum's avatar hydrargyrum committed
      As detailed in #198, adding CapDocument to s2e module allows us to list available
      PDF documents (operation statements, yearly reports) and download them.
      All "employee savings banks" that are using s2e module can benefit from this new
      capability : in order to do this, it's necessary to change the module definition
      of all these modules and have them inherit from CapDocument (otherwise the
      capability coming from the parent module -s2e- is not detected by weboob-config
      update).
      7b3524cb
    • Christophe François's avatar
      [s2e] Type PEE account · 8b2f013a
      Christophe François authored and hydrargyrum's avatar hydrargyrum committed
      Closes: 17765@zendesk
      8b2f013a
  19. Mar 05, 2020