Skip to content
  1. Dec 02, 2018
  2. Oct 09, 2018
    • ntome's avatar
      [cmso] when relogging for retry, clear headers else we're not logged out · 0d2fe29d
      ntome authored and Romain Bignon's avatar Romain Bignon committed
      The site sometimes returns unexplained 401, thus the @ReTry decorator
      was introduced. Unfortunately, the headers handling introduced later did
      not account for it correctly and thus we didn't re-log.
      Clear those headers to make sure we login again.
      0d2fe29d
    • Maxime Gasselin's avatar
      [cmso] Repair Market account duplicate · 4a422564
      Maxime Gasselin authored and Romain Bignon's avatar Romain Bignon committed
      For some connections we kept the account with unknown type.
      Consequently the iter history and invest broke. Here we prefer to keep
      the account scrapped into the market space with the good
      attributes to get history and invest.
      
      Closes: 16407@sibi
      4a422564
  3. Sep 16, 2018
    • Nicolas Gattolin's avatar
      [cmso] py3 port of some code blocks · 9c02f37a
      Nicolas Gattolin authored and Romain Bignon's avatar Romain Bignon committed
      - corrected usage of dicts in a compatible way
      - use unicode output of responses when not fed in a JSON decoder (which
      handles both)
      9c02f37a
    • Nicolas Gattolin's avatar
      [cmso] fixed a code smell (py3 port) · 299a4dc1
      Nicolas Gattolin authored and Romain Bignon's avatar Romain Bignon committed
      The lines "keys = ..." and "contacts = ..." execute in py2 but not in py3.
      Reason is: this code relies (not on pupose I think) on a feature
      that is implementation-specific (CPython 2.X): the leak of for loop
      iteration variables in local scope, thus permitting use of those variables after loop finished.
      
      In addition, the first line initializes a variable that shadows an
      existing non-local variable.
      
      This code magically worked for 2 years. But as Python3.X removes this
      specificity, this code is no longer valid.
      
      Blind fixes used:
      - replace keys local variable with keys_
      - change order of loop nesting to have fonctionnaly equivalent but
      functional code
      299a4dc1
    • Nicolas Gattolin's avatar
      [cmso] py3 port · 6b196229
      Nicolas Gattolin authored and Romain Bignon's avatar Romain Bignon committed
      - use unicode_literals
      - remove explicit unicode flag on all strings
      - add raw flag on most regexes that lacked it
      - use weboob compat classes
      6b196229
    • Quentin Defenouillere's avatar
      [cmso] confirmed investments list and added vdate and code_type · 6ee0d194
      Quentin Defenouillere authored and Romain Bignon's avatar Romain Bignon committed
      There was an assert in the cmso/pro/browser.py code to verify that the
      investements list appears correctly when there are more than one
      investment. The two investments of the concerned connection appear
      correctly in boobank so I deleted the assert.
      In addition, I completed the liquidities, vdate, code and code_type information
      for both PAR and PRO websites.
      6ee0d194
  4. Aug 18, 2018
  5. Jun 09, 2018
  6. Mar 31, 2018
  7. Mar 03, 2018
  8. Jan 14, 2018
  9. Dec 30, 2017
  10. Dec 16, 2017
  11. Nov 18, 2017
  12. Aug 30, 2017