Commit graph

104 commits

Author SHA1 Message Date
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +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
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +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
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
Florent
5a1d83b567 Rename BaseModule to Module and Module to LoadedModule 2014-09-26 10:18:12 +02:00
Florent
f3aeddffbc Rename backend.py to module.py 2014-09-26 10:18:12 +02:00
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
3ecb491c1c s/BACKEND/MODULE/ 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
0008cf17f1 order transactions by date to prevent LinearDateGuesser to be duped by the f*cking website 2014-07-01 12:10:17 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
6808ac471f fix parsing dates in labels (compatibility with Perigord) 2014-02-16 21:52:45 +01:00
Romain Bignon
8fdbf330dd improvements on transaction and account types detection 2014-02-16 21:04:46 +01:00
Romain Bignon
5b03648b68 add Account.TYPE_CARD 2014-02-02 10:50:01 +01:00
Romain Bignon
945ea4cc15 fix encoding issues 2014-01-23 09:17:25 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Romain Bignon
c1f8c08196 better description and field labels for french banks 2013-12-14 18:22:31 +01:00
Romain Bignon
9221f12fdf account IDs can contain anything else than digits 2013-11-26 12:32:26 +01:00
Romain Bignon
2a9978989a fix crash when there are only three columns in card transactions list 2013-10-08 18:34:15 +02:00
Romain Bignon
2a071a2ec6 correctly set cards' Transaction.date to the debit date 2013-09-06 17:59:40 +02:00
Romain Bignon
19807e1f96 fix parsing of card accounts in particular cases 2013-08-09 11:33:19 +02:00
Romain Bignon
e1eb1b80af do not follow spam links 2013-08-07 19:06:34 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
04df80d22b cragr: fix parsing cards 2013-08-01 18:08:13 +02:00
Romain Bignon
1282a32cb1 cragr: do not fallback on mobile website when homepage isn't the accounts list 2013-07-28 22:56:55 +02:00
Noé Rubinstein
f1d3f03a92 cragr: add support for credit cards 2013-07-26 22:56:10 +02:00
Romain Bignon
f79ae2d566 do not consider accounts without balance 2013-07-26 15:09:30 +02:00
Romain Bignon
0419556b1b ignore accounts without balance 2013-07-25 15:27:35 +02:00
Christophe Lampin
f6b35956e7 fix conversion warning
Signed-off-by: Christophe Lampin <weboob@lampin.net>
2013-07-23 13:10:45 +02:00
Romain Bignon
faea86ad73 support special login URLs on some regions 2013-07-16 09:52:17 +02:00
Kitof
e3485fb185 Bug fix to use web site instead of mobile website for ca-centrest, and probably others (Fix #1035)
Signed-off-by: Kitof <git@kitof.net>
Signed-off-by: Romain Bignon <romain@budget-insight.com>
2013-07-15 14:15:00 +02:00
Romain Bignon
8597a3102b better detection of useful label 2013-06-22 10:46:08 +02:00
Romain Bignon
8cd0dff1df do not raise BrowserIncorrectPassword when the website displays an useless "urgent message" on login 2013-05-30 14:24:16 +02:00
Romain Bignon
1c2ab28382 support account where name contains the owner 2013-05-20 21:10:21 +02:00
Romain Bignon
66cac07bbc an account owner name can start with Mle 2013-05-20 20:58:42 +02:00
Laurent Bachelier
c157557501 Use new-style classes 2013-04-03 19:04:55 +02:00
Romain Bignon
ff5de14bf3 add regions to cragr 2013-03-28 15:04:26 +01:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Romain Bignon
510fc6461f fix detection of old website 2013-03-26 16:11:22 +01:00
Romain Bignon
d17dda5965 detect when credentials are wrong 2013-03-21 13:21:42 +01:00
Romain Bignon
a8d2d86c6e the fucking columns heads are not same size than data columns 2013-03-21 12:35:13 +01:00
Romain Bignon
17d2c732a8 fix parsing of CEL accounts 2013-03-21 12:23:17 +01:00
Romain Bignon
9ce8385e3e fix heritage 2013-03-21 11:59:29 +01:00
Romain Bignon
325405b6a1 support some variants of website 2013-03-21 11:44:26 +01:00