Skip to content
  1. Jan 05, 2019
  2. Jan 02, 2019
  3. Dec 30, 2018
  4. Dec 29, 2018
  5. Dec 21, 2018
    • Laurent Bachelier's avatar
      json: Force Decimal as str with simplejson · 81b12994
      Laurent Bachelier authored and Romain Bignon's avatar Romain Bignon committed
      simplejson has an internal way of formatting Decimal so it bypasses our
      formatter.
      Since weboob often deals with money, floats are not a good idea.
      
      Previousl:
      Decimal('1.1') => 1.1 with simplejson+WeboobEncoder
      Decimal('1.1') => '1.1' with json+WeboobEncoder
      Now both give '1.1'.
      
      Under simplejson:
      Using dump(cls=...) always initialize the Encoder class with the
      use_decimal=True argument (unless the argument is provided in the dump
      function, but that requires a lot of alteration in Weboob, and I would
      rather remove simplejson support altogether). So when present, we force it.
      
      Under json:
      There is no use_decimal, so we already go to the default() method of the
      Encoder.
      81b12994
    • Laurent Bachelier's avatar
      obj_to_filename: Better handling of unfilled values · 48cb8122
      Laurent Bachelier authored and Romain Bignon's avatar Romain Bignon committed
      48cb8122
  6. Dec 17, 2018
  7. Dec 02, 2018
  8. Nov 20, 2018
  9. Nov 10, 2018
  10. Oct 11, 2018
  11. Sep 16, 2018
  12. Aug 13, 2018
  13. Jul 30, 2018
  14. Jul 29, 2018
    • ntome's avatar
      nss: check appropriate nss db file to initialize cert db · 1b58a401
      ntome authored and Romain Bignon's avatar Romain Bignon committed
      NSS uses different filenames for its certificate database depending on
      its version (cert8.db before NSS 3.35, cert9.db after).
      This filename is checked to determine if the certificate db must be
      created, so we need to find the correct filename.
      1b58a401
  15. Jun 29, 2018
  16. Jun 09, 2018
  17. May 12, 2018