Commit graph

5,932 commits

Author SHA1 Message Date
Laurent Bachelier
822c1a3607 Proper English 2014-10-07 16:47:28 +02:00
Laurent Bachelier
a330b08262 logging: Better colors
Inspired by https://github.com/borntyping/python-colorlog
INFO had no colors.
You can run weboob/tools/log.py to test them.
2014-10-07 16:44:39 +02:00
Laurent Bachelier
24aea160b1 logging: Output to stderr, not stdout 2014-10-07 16:10:51 +02:00
Romain Bignon
7bb4aff1b3 fix parsing of transaction amounts (strip nbsp) 2014-10-07 12:25:34 +02:00
Romain Bignon
e0d2d33299 increase timeout because of slow website 2014-10-07 11:48:24 +02:00
Bezleputh
73c3786a3d [arretssurimages] site changed 2014-10-07 10:21:10 +02:00
Bezleputh
951356a6d7 [feedly] fix unicode warning 2014-10-07 10:21:10 +02:00
Romain Bignon
5bd70c564f os.isatty is now forbidden (as stream.fileno() is not implemented by StringIO)
Use stream.isatty() instead.
2014-10-07 09:39:12 +02:00
Romain Bignon
8508f951f5 fix docstrings and add weboob.browser.* in nosetests 2014-10-07 09:31:10 +02:00
Romain Bignon
c281d7a255 fix doctests 2014-10-07 09:20:07 +02:00
Romain Bignon
860492b091 fix certificate hash 2014-10-07 08:46:14 +02:00
Romain Bignon
47c2257490 add Investment.description field 2014-10-07 00:36:29 +02:00
Romain Bignon
9a176bde5f remove weboob.capabilities.bank from tested modules 2014-10-07 00:30:11 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
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
2014-10-07 00:30:07 +02:00
Romain Bignon
1f95e7631f works with adopteunmec via https 2014-10-06 17:37:52 +02:00
Romain Bignon
c6c856fa86 fix crash if departure time is not available 2014-10-06 17:31:18 +02:00
Romain Bignon
a443bc6ca1 fix crash on late departures 2014-10-06 17:30:45 +02:00
Romain Bignon
f1b6d27823 remove useless features of module that don't work anymore 2014-10-06 17:22:40 +02:00
Romain Bignon
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +02:00
Vincent Paredes
1eb96574d0 Revert "the account information div's id change, so we look for the dom structure"
This reverts commit 12d26a64a9. Because they switch back to old site version
2014-10-06 17:02:04 +02:00
Vincent Paredes
c64e8d598b login form is now the second form on the page 2014-10-06 17:02:04 +02:00
Vincent Paredes
63c934f889 adding new md5 for virtkeyboard 2014-10-06 17:02:04 +02:00
Laurent Bachelier
a64787f7f7 Add some previous fixes to pyflakes.sh checks 2014-10-06 17:00:26 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Laurent Bachelier
d22656308a debpydep: Use Python3-compatible syntax 2014-10-06 14:05:03 +02:00
Laurent Bachelier
0db5282f1e quvi: Force relative import 2014-10-06 14:04:50 +02:00
Laurent Bachelier
dadf0f59ae ovs: Force relative import 2014-10-06 14:04:01 +02:00
Laurent Bachelier
140195790e lacentrale: Fix deprecated has_key 2014-10-06 14:03:28 +02:00
Laurent Bachelier
13b58b9fd7 videoobmc: Force relative imports 2014-10-06 14:00:49 +02:00
Laurent Bachelier
719435c3d7 Force absolute import 2014-10-06 13:56:24 +02:00
Florent
5e832eb235 Fix select parameters 2014-10-03 15:58:29 +02:00
Bezleputh
8816be46f5 [leboncoin] fix select values 2014-10-03 15:58:28 +02:00
Bezleputh
f89f3a83ee [filters] missing parameters in select method 2014-10-03 15:58:28 +02:00
Romain Bignon
78f6127f9e remove lot of fucking shit and keep card transactions in separate card accounts 2014-10-03 15:56:08 +02:00
Florent
9e61376aa6 Update AUTHORS 2014-10-03 12:51:45 +02:00
Samuel Loury
e6bcec87f5 Fix the example of call to ListPage
The defined method is called iter_accounts and not
iter_accounts_list.
2014-10-03 12:50:56 +02:00
Florent
9949bbf919 Move exceptions to weboob.core.exceptions 2014-10-02 11:04:14 +02:00
Florent
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Florent
990bb056eb Replace -D with -dd 2014-10-02 10:56:11 +02:00
Florent
cba66416b2 Expand html/xml in debug mode 2014-10-02 10:56:11 +02:00
Florent
bdd2be4d4b introduce an incremental id to help the debug reading 2014-10-02 10:56:11 +02:00
Florent
ef9e45a544 Print obj.attr first 2014-10-02 10:56:11 +02:00
Florent
20b5a534c5 Display results in debug only once 2014-10-02 10:56:11 +02:00
Florent
5a4920748d Get objects id and attribut name in debug 2014-10-02 10:56:11 +02:00
Florent
dbc33de235 Use %r and not %s 2014-10-02 10:56:11 +02:00
Florent
a3d8217fb7 Add the type in formatting 2014-10-02 10:56:11 +02:00
Florent
d89ef22772 Make some attribute private 2014-10-02 10:56:11 +02:00
Florent
b84b25db66 Fix formatting and add some black magic to @debug 2014-10-02 10:56:11 +02:00
Florent
5daba0f8ab Add debug on some standards filters 2014-10-02 10:56:11 +02:00
Florent
23aec4046c Add -D option to base applications 2014-10-02 10:56:11 +02:00