Commit graph

5,957 commits

Author SHA1 Message Date
Romain Bignon
22c436bcb8 documentation 2014-10-08 17:10:13 +02:00
Romain Bignon
a2a9db4f09 create PrintProgress class instead of using IProgress as default one 2014-10-08 17:10:13 +02:00
Romain Bignon
a8477c14f2 add __getitem__ on WebNip to get a loaded backend by name 2014-10-08 17:10:13 +02:00
Romain Bignon
1a8a0db712 WebNip.iter_backends takes a new optional parameter 'module' 2014-10-08 17:10:13 +02:00
Florent
f5e5584004 Prepare removing of backend in do calls 2014-10-08 17:04:40 +02:00
Florent
fab37e2533 Update send_mail to prepare removing of backend 2014-10-08 16:59:13 +02:00
Florent
93bc66fc60 Prepare to remove backend in do() calls 2014-10-08 16:51:29 +02:00
Laurent Bachelier
e52e85022a logging: Restore more discreet DEBUG color 2014-10-08 15:52:12 +02:00
Laurent Bachelier
72819cdb67 html2text: Use the class if possible 2014-10-08 15:45:40 +02:00
Laurent Bachelier
362b441445 newsfeed: No need for workaround with feedparser>=5.1 2014-10-08 15:45:40 +02:00
Romain Bignon
3ed6103740 use the new browser 2014-10-08 15:42:58 +02:00
Romain Bignon
65ece349db HTMLPage checks the inner charset and parse again document if it is not the same than Content-Type HTTP header 2014-10-08 15:42:58 +02:00
Florent
dea6f1cf76 Fix printing of categories 2014-10-08 14:52:45 +02:00
Bezleputh
d73c6b2245 Add a " LIMIT " keyword in conditions 2014-10-08 13:05:40 +02:00
Romain Bignon
e877f8faa6 fix parsing of huge account balances 2014-10-08 13:02:34 +02:00
Bezleputh
c2654ba06d [CapHousing] fix pep8 2014-10-08 10:45:31 +02:00
Bezleputh
6414d65d5d [leboncoin] remove commented code 2014-10-08 10:45:31 +02:00
Bezleputh
cdab615d92 [leboncoin] management of url field 2014-10-08 10:45:31 +02:00
Bezleputh
77995378c5 [housing] adding a url field in housing capability and management of it in flatboob 2014-10-08 10:45:31 +02:00
Bezleputh
c277d2dae7 [leboncoin] fix number of rooms select parsing 2014-10-08 10:45:31 +02:00
Bezleputh
d0bf9b0ec1 [leboncoin] fix pagination 2014-10-08 10:45:30 +02:00
Florent
3deb8c8fa5 Set an unique id on CIC 2014-10-08 10:43:01 +02:00
Florent
993307e553 Do not import Browser1 exception in twitter 2014-10-08 10:33:43 +02:00
Florent
e32a45b187 Update BrowserIncorrectPassword import 2014-10-08 10:27:59 +02:00
Laurent Bachelier
7be9a6468b logging: Create a new level DEBUG_FILTERS
This is a cleaner approach that requires less configuration
in other applications.
This also easily allows us to have another color.

Many checks were made on being exactly at the DEBUG level, they were
fixed to also check on being below DEBUG (i.e. DEBUG_FILTERS).
2014-10-07 17:11:09 +02:00
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