Skip to content
  1. Mar 06, 2021
  2. Mar 05, 2021
  3. Mar 03, 2021
  4. Mar 01, 2021
  5. Feb 27, 2021
  6. Feb 26, 2021
  7. Feb 12, 2021
  8. Feb 01, 2021
  9. Jan 27, 2021
  10. 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