1. 06 Apr, 2019 1 commit
  2. 28 Mar, 2019 1 commit
  3. 24 Feb, 2019 5 commits
  4. 05 Feb, 2019 1 commit
    • Vincent Ardisson's avatar
      weboob.capabilities.bank: rename diff_percent and keep a compat alias · 2c3d462d
      Vincent Ardisson authored
      diff_percent was a misleading name because the ratio was expressed on 1,
      not on 100, thus it wasn't a percentage.
      
      For reference to suckers: a percentage is a ratio multiplied by 100.
      We create a temporary alias so apps using the old field have compatibility.
      "diff_percent" will soon be removed.
      2c3d462d
  5. 23 Jan, 2019 1 commit
  6. 05 Jan, 2019 6 commits
  7. 17 Dec, 2018 1 commit
  8. 10 Nov, 2018 2 commits
  9. 11 Oct, 2018 3 commits
  10. 09 Oct, 2018 1 commit
  11. 16 Sep, 2018 6 commits
  12. 29 Jul, 2018 1 commit
  13. 19 Jun, 2018 1 commit
  14. 16 Jun, 2018 3 commits
  15. 09 Jun, 2018 1 commit
    • Quentin Defenouillere's avatar
      [capabilities.base] Inverted iteration loops for get_currency · 292c72c3
      Quentin Defenouillere authored
      Since the currencies dictionary is ordered, it is preferable to first
      iter over this dictionary and then iter over the curtexts in order to
      prevent mismatches.
      For example, the get_currency method selected the 'PEN' currency in several
      cases: if the text contains 'en EUR', the curtexts list will be
      ['en', 'EUR'] and if we iterate over curtexts first, 'en' will be
      matched with 'PEN' because of the "if curtext in currency" line without
      ever trying to match 'EUR' with 'EUR'.
      
      Therefore, curtexts are now strictly matched with currencies since
      most websites use the ISO-4217 norm anyways and because it is better to
      return None than to match wrong currencies such as peruvian sols.
      Example: if the text contains 'CHAUDE', it will match it with 'AUD'
      (australian dollars) with is wrong, whereas "if curtext == currency" is
      stricter but avoids false matches.
      
      Closes: 5548@zendesk
      292c72c3
  16. 28 May, 2018 1 commit
  17. 05 May, 2018 2 commits
  18. 26 Apr, 2018 1 commit
  19. 15 Apr, 2018 1 commit
  20. 06 Apr, 2018 1 commit