Commit graph

36 commits

Author SHA1 Message Date
Caram Dache
8dcc28a705 bp: better card number detection 2015-07-30 23:06:28 +02:00
Caram Dache
f9f933c32b boobank OFX export: Identify credit card for each transaction 2015-07-22 19:57:45 +02:00
Romain Bignon
39e00ab2a1 set type of accounts on professional accounts 2015-06-21 18:07:55 +02:00
Baptiste Delpey
ce82d99c2b catch a no online banking service at login 2015-06-10 20:57:22 +02:00
Romain Bignon
00ce46ea0b fix parsing of virtual keyboard url 2015-04-30 09:56:13 +02:00
Vincent Paredes
1122cbe977 handling when website have an error 2015-03-31 18:03:37 +02:00
Romain Bignon
f0aed18233 oops, forgot to add a file for a32776787a 2014-10-21 18:02:35 +02:00
Romain Bignon
a32776787a support professional accounts 2014-10-21 17:58:48 +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
Laurent Bachelier
e783f2c821 Remove tuple method parameters
They can be found through autopep8 (W690) or python-modernize.
Variables manually renamed.

This is because Python 3 does not support tuple unpacking:
http://legacy.python.org/dev/peps/pep-3113/
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
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
Vincent Paredes
095ad4aedf new login image for virtkeyboard 2014-06-19 16:35:18 +02:00
Romain Bignon
d3332deb14 an account type mustn't be None 2014-02-16 22:57:04 +01:00
Romain Bignon
8fdbf330dd improvements on transaction and account types detection 2014-02-16 21:04:46 +01:00
Florent
edec95bc5d List market account in bp
closes #1298
2014-01-31 15:04:08 +01:00
Jerem
a495fb96c9 img hashes update for bp module
Signed-off-by: Jerem <jer151@gmail.com>
2013-09-02 11:43:48 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
87aeb395a8 support new authentication (with an unique image) 2013-04-10 16:07:00 +02:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +01: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
07038a9989 support deferred debit 2013-01-15 15:39:56 +01:00
Romain Bignon
e67e316c05 support page delestage 2013-01-03 11:42:05 +01:00
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Romain Bignon
5ac2a7cf18 use FrenchTransaction and parse labels 2012-05-15 15:38:14 +02:00
Romain Bignon
2d4635b3e6 don't list bourse accounts 2012-04-23 11:00:39 +02:00
Gabriel Kerneis
38da7e2565 boursorama and bp: convert labels to unicode 2012-04-01 15:55:25 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
35688f58c9 Account.link_id becomes a private attribute 2012-03-10 09:03:26 +01:00
Romain Bignon
679177d450 store transactions dates as datetime.date objects 2012-03-09 13:20:47 +01:00
Romain Bignon
be14595308 apply changes to ICapBank API 2012-02-26 18:30:40 +01:00
Romain Bignon
ac1a5b1efd fix parsing accounts in particular cases 2012-02-08 14:09:23 +01:00
Camille Baldock
54b7d45d25 fix bp bug (closes #758) 2012-02-01 23:07:01 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00