Skip to content
  1. Mar 15, 2020
  2. Feb 12, 2020
  3. Jan 25, 2020
  4. Dec 18, 2019
  5. Dec 15, 2019
  6. Sep 10, 2019
  7. Dec 29, 2018
  8. Sep 16, 2018
  9. Jul 30, 2018
  10. Dec 29, 2016
  11. Dec 24, 2016
    • Phyks (Lucas Verney)'s avatar
      Gitlab-CI continuous integration · 434c0f15
      Phyks (Lucas Verney) authored
      This commit adds the necessary files to run the CI using Gitlab-CI. For
      now, it checks that Weboob builds, then runs the linting script
      (checking that every module as an icon and some tests + PyFlakes) and
      the unittests. Most of modules unittests cannot run because there is no
      backend configured.
      
      Some changes were needed in the pre-existing scripts:
      * Edit `weboob_lint` to exit with non-zero code if it finds modules
      without icons or tests, so that the build could fail in such a case.
      * Edit `run_tests.sh` to set correct exit code on failure and rework
      generation of XUNIT output. Also added some doc about useful environment
      variables. Added a way to generate an xunit output file when running modules
      unittests, passing a `XUNIT_OUT` env variable to `run_tests.sh` script.
      * Modification of `setup.cfg` and `run_tests` scripts to handle code
      coverage generation. The matching regex in Gitlab for the total code
      coverage is `TOTAL: (\d+\%\s*)$)`.
      
      I also added a script to generate a JSON module status matrix from
      modules unittests, ready to be sent to a
      [Weboob-CI](https://github.com/Phyks/weboob-ci) instance.
      
      NOTE: Required Python modules are taken from the `setup.py` script.
      `.ci/requirements.txt` contains the requirements to run the unittests
      and the CI, whereas `.ci/requirements_modules.txt` contains the specific
      Python modules required at runtime by Weboob modules. The latter could
      eventually be replaced by a proper call to `debpydep` script.
      434c0f15
  12. Oct 18, 2014
  13. Oct 13, 2014
  14. Oct 10, 2014
  15. Oct 07, 2014
  16. Oct 06, 2014
    • Romain Bignon's avatar
      9a176bde
    • Romain Bignon's avatar
      rename things related to browsers · d61e15cf
      Romain Bignon authored
      weboob.tools.browser -> weboob.deprecated.browser
      weboob.tools.parsers -> weboob.deprecated.browser.parsers
      weboob.tools.mech -> weboob.deprecated.mech
      weboob.browser2 -> weboob.browser
      weboob.core.exceptions -> weboob.exceptions
      
      Also, the new tree for browser2 is:
      
      weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
      weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
      weboob.browser.url: the URL class
      weboob.browser.profiles: all Profile classes
      weboob.browser.sessions: WeboobSession and FuturesSession
      weboob.browser.cookies: that's a cookies thing
      weboob.browser.pages: all Page and derivated classes, and Form class
      weboob.browser.exceptions: specific browser exceptions
      weboob.browser.elements: AbstractElement classes, and 'method' decorator
      weboob.browser.filters.*: all filters
      d61e15cf
  17. Oct 02, 2014
  18. Sep 03, 2014
  19. Aug 30, 2014
  20. Aug 05, 2014
  21. Jun 22, 2014
  22. Feb 05, 2013
    • Laurent Bachelier's avatar
      More robust currency guessing · 81e3da8b
      Laurent Bachelier authored
      This allows to parse PayPal balances which includes both symbol and letters, for
      instance "$ 42,00 USD".
      Also, it does not require adding any new symbols to the regular
      expression.
      It might break modules, though numerous cases were tested.
      81e3da8b
  23. Oct 13, 2012