Commit graph

48 commits

Author SHA1 Message Date
Laurent Bachelier
7aeb3e942e pep8: Fix indentation is not a multiple of four
autopep8 -a -r -i --select E111 .

Manual check.
2014-10-11 01:41:00 +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
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
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +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
Romain Bignon
4422b207e1 support loan payment type 2014-09-03 10:19:03 +02:00
Romain Bignon
e1e4213c75 remove spaces in IDs 2014-09-02 16:54:14 +02:00
Romain Bignon
0b7a499eeb display check number in label (closes #1027) 2014-09-02 12:19:41 +02:00
Romain Bignon
6cafeb7a4b strip displayed balance at end of transaction labels 2014-09-02 12:10:48 +02:00
Romain Bignon
bfd09a2383 if an account type is not supported, raise NotImplementedError instead of BrokenPageError 2014-03-30 14:06:05 +02:00
Romain Bignon
7c64ad162c fix parsing accounts on specific regions 2014-03-01 18:14:03 +01:00
Romain Bignon
5345645b0f fix accounts parsing 2014-02-27 08:28:25 +01:00
Romain Bignon
8fdbf330dd improvements on transaction and account types detection 2014-02-16 21:04:46 +01:00
Romain Bignon
1c0f2432e2 fix crash when there is the coming column with empty value 2013-12-09 09:32:08 +01:00
Romain Bignon
b8a622590a fix getting history on some special workflow 2013-12-04 18:25:13 +01:00
Romain Bignon
d68de0d0d7 support defered cards 2013-11-29 15:28:34 +01:00
Romain Bignon
95edea1f07 fix crash on special account histories 2013-11-26 11:55:58 +01:00
Romain Bignon
5ff52844a5 fix connection on other kind of accounts 2013-11-23 13:08:12 +01:00
Romain Bignon
a84979a927 fix authentication on banquepopulaire 2013-11-23 12:47:46 +01:00
Romain Bignon
8d8ee80770 do not crash with market accounts 2013-10-23 14:51:12 +02:00
Romain Bignon
8d04e22703 support accounts with empty balance 2013-10-23 14:51:12 +02:00
Romain Bignon
56e9476e3a spport loan accounts 2013-10-12 12:28:10 +02:00
Romain Bignon
1c71ab7a76 do not crash when there is no full list page 2013-10-12 12:25:34 +02:00
Romain Bignon
5c5cb5da8e do not crash if there is no operations 2013-10-10 09:53:53 +02:00
Romain Bignon
1707494747 get list of all accounts 2013-10-09 18:25:23 +02:00
Laurent Bachelier
23a71d847b Code style fixes, mostly whitespace 2013-08-04 20:00:19 +02:00
Romain Bignon
c3f87ad78f banquepop: store vdate 2013-08-01 16:52:47 +02:00
Romain Bignon
efa39af957 sort entries by value date (taken for Transaction.date) 2013-07-28 18:55:51 +02:00
Romain Bignon
70812252f1 Revert "use the operation date, not value one"
This reverts commit 04a3995416.
2013-05-22 12:52:55 +02:00
Romain Bignon
04a3995416 use the operation date, not value one 2013-05-20 20:59:01 +02:00
Romain Bignon
fa6dd0b28d support new authentication on some regions 2013-05-20 20:12:53 +02:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Romain Bignon
a263c266af update regexps 2013-02-06 15:01:03 +01:00
Romain Bignon
89e5a20cb1 fix parsing of some card transactions 2013-02-06 13:06:55 +01:00
Romain Bignon
d0b546cc15 catch the right exception 2013-01-08 23:09:24 +01:00
Romain Bignon
ec05550073 raise BrowserUnavailable on unavailable page 2013-01-07 22:12:06 +01:00
Romain Bignon
391edde943 fix crash where there is no transactions for an account 2012-12-10 14:05:59 +01:00
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Romain Bignon
636c5c4bd5 fix parsing banquepopulaire accounts with no link 2012-12-06 08:35:17 +01:00
Romain Bignon
6de98cff0c fix retrieve of more transactions (stop when next button is disabled) 2012-12-03 16:12:52 +01:00
Romain Bignon
52aaefe6ec get the full label of an account 2012-11-28 14:57:14 +01:00
Romain Bignon
e7c6e6b4ab correctly encode login and password 2012-11-09 13:31:29 +01:00
Romain Bignon
db739f9eef update transaction regexps 2012-11-06 18:08:04 +01:00
Romain Bignon
57bdc89b91 support unavailable page 2012-10-27 09:45:41 +02:00
Romain Bignon
be801532d3 add some patterns 2012-10-16 14:47:39 +02:00
Romain Bignon
bd001f631e fix retrieve of accounts 2012-10-16 14:47:31 +02:00
Florent
ede3d4fd5e Clean amount on banquepopulaire 2012-07-21 09:47:53 +02:00
Romain Bignon
d4df7c6277 add module banquepopulaire (closes #835) 2012-07-20 16:51:25 +02:00