Commit graph

116 commits

Author SHA1 Message Date
Baptiste Delpey
3b71bfa104 cragr fix account list parsing, skip irrelevant account 2015-06-15 21:42:15 +02:00
Romain Bignon
c2bc351e4e Revert "Refactor"
This reverts commit a6e3064cfc.
2015-06-10 21:37:58 +02:00
Baptiste Delpey
a531d94571 cragr add new labels to market type 2015-06-10 20:57:20 +02:00
Pierre-Louis Bonicoli
a6e3064cfc Refactor 2015-06-10 20:57:20 +02:00
Pierre-Louis Bonicoli
7629ef1735 Detect connection errors 2015-06-10 20:57:20 +02:00
Romain Bignon
dcbab3fdca cragr: get IBAN on accounts 2015-02-25 17:40:01 +01:00
Romain Bignon
8972743bd7 handle useless pages to prevent being redirected to mobile version 2014-12-04 08:50:50 +01:00
Romain Bignon
f1c2b3ea34 fix parsing of raw transaction text 2014-11-04 16:13:22 +01:00
Romain Bignon
5e1f313efb fix the fix, because old website version had also a colspan but in the other side 2014-10-28 18:31:32 +01:00
Romain Bignon
d26180c5a8 fix parsing of labels with new crédit agricole website
To determinate what is the index of label column, we have to consider the
'colspan' attribute of header
2014-10-28 10:10:11 +01:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Vincent Paredes
b699ddc3f9 Regexp for checking password 2014-10-13 22:46:57 +02:00
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