Skip to content
  1. Feb 12, 2021
  2. Feb 01, 2021
  3. Jan 27, 2021
  4. Jan 18, 2021
    • Florent Viard's avatar
      browser.filters.json: remove confusing Dict class __getitem__ · e20c98e9
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      A metaclass was used with the Dict filter to be able to use it like that:
      Dict['hello'] instead of Dict('hello')
      
      It looks like to not be used.
      
      Thus, the code could be simplified, and "special" undocumented usages
      avoided. And so this filter will also not have a specificity compared to
      other filters.
      e20c98e9
    • hydrargyrum's avatar
      weboob.browser.cache: rename and move "is_updatable" field · c235e5de
      hydrargyrum authored
      Rename to the more explicit name cache_is_updatable. Move at class level
      so it can be overwritten without having to override __init__.
      c235e5de
    • Florent Viard's avatar
      weboob.tools.backend: Fixes AbstractModule CONFIG with multiple inheritance · d3bf131e
      Florent Viard authored and hydrargyrum's avatar hydrargyrum committed
      In the case of an AbstractModule A depending on another AbstractModule
      B.
      B.CONFIG could be broken if A is loaded before B, for example because an
      operation with A is requested first after weboob startup.
      
      The root cause of the issue is that, to load A, the call to its
      "__new__" function will rewrite the parents of B on the process but will
      not take care to setup it's CONFIG correctly.
      
      Then, if you try to create an instance of B to use it directly, it will
      not be considered as an AbstractModule and so it will not be initialized
      with AbstractModule.__new__() to setup its CONFIG.
      
      As an example, there is the case of the "caissedepargne" module that
      depends on "banquepopulaire", that itself depends on "stet".
      
      This change ensure that, if needed, any intermediary dependency is
      properly loaded.
      d3bf131e
  5. Jan 10, 2021
  6. Jan 09, 2021
  7. Jan 03, 2021
  8. Dec 27, 2020
  9. Dec 26, 2020
  10. Dec 11, 2020
  11. Nov 17, 2020
  12. Oct 28, 2020
  13. Oct 07, 2020
  14. Sep 23, 2020
  15. Sep 09, 2020
    • ntome's avatar
      weboob.capabilities.bank: add capability method for diffing accounts · 54c2d50e
      ntome authored and hydrargyrum's avatar hydrargyrum committed
      PFMs need to keep track of accounts, which is done using various generic
      methods. However, complicated cases may occur on some sites, where no generic
      method works, without harming other modules.
      
      A new capability method is introduced to allow module-specific diff behavior.
      Essentially, a diff consists in:
      - matching accounts, pairs of new/old objects
      - new accounts, that were not seen before and are known to be new
      - obsolete accounts, that are known to have disappeared
      - unknown accounts, which could simply not be matched, but may be mapped by
        another method or manually by a user
      54c2d50e
    • Sylvie Ye's avatar
      capabilities.bank.transfer: add new CapTransfer attributes · b95077ff
      Sylvie Ye authored and hydrargyrum's avatar hydrargyrum committed
      Add theses 2 new attributes in order to be more explicite about transfer behavior:
      * can_initiate_transfer_to_untrusted_beneficiary: the module can do transfer to untrusted beneficiary, for example:
              when module can't add new beneficiary without doing a transfer like n26
              or when module can do transfer to a beneficiary not listed in `iter_transfer_recipients` like for PSD2 modules
      * can_initiate_transfer_without_emitter: the module can do transfer without giving it the emitter, for example:
              there is only, and will be only, one account like wallet
              or when the module can initiate transfer without emitter and the emitter is chosen afterwards like for PSD2 modules
      b95077ff