Commit graph

30 commits

Author SHA1 Message Date
Florent
f805284567 Change selection of keyboard (more generic) 2014-10-22 17:22:09 +02:00
Florent
32d792ba4c Coding style 2014-10-22 16:00:57 +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
9949bbf919 Move exceptions to weboob.core.exceptions 2014-10-02 11:04:14 +02:00
Florent
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +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
e434bb90e2 all browser2 modules may import exceptions from weboob.tools.exceptions 2014-05-17 14:27:56 +02:00
Florent
a5e55208ae Support pagination in iter_bills 2014-04-01 15:14:28 +02:00
Florent
c34ef464ab Factorize code of virtual keyboard 2014-04-01 14:42:43 +02:00
Florent
1994970385 Simplify the code 2014-04-01 12:59:13 +02:00
Florent
2ab48d4800 Some pep8 cleaning 2014-04-01 11:56:15 +02:00
Florent
15ca64f3d9 First step on ING with Browser2
Login and listing of accounts work
2014-03-28 14:16:23 +01: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
Florent
a92e78343b Fix FormFieldConversionWarning (unicode to string) 2013-05-27 13:45:19 +02:00
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Florent
8c66ca83c8 Remove unused imports 2013-03-02 10:31:34 +01:00
Florent
9dc9157062 Prevent useless debug folders 2013-03-01 13:41:50 +01:00
Romain Bignon
2ef5791cf8 merge LoginPage and Login2Page to prevent problems when the website fails with 500 2013-02-10 18:54:30 +01:00
Florent
5b6e475428 Pep8 cleaning 2013-01-25 10:56:21 +01:00
Romain Bignon
1c4416b4cf ok directly raise the error 2013-01-19 19:39:49 +01:00
Romain Bignon
3cf99f7b46 support the question page 2013-01-19 19:35:42 +01:00
Romain Bignon
eac8a7a0e4 fix name of login field to remember client number 2012-12-10 10:54:20 +01:00
Laurent Bachelier
541d080c9d Use flake8 if available instead of pyflakes
With flake8, we can check for more issues and ignore those who are not
real issues.

This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.

Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Florent
c861da55f9 Full support of transfer 2012-09-27 13:14:03 +02:00
Florent
dae0cdf513 Remove unused code 2012-09-27 13:14:02 +02:00
Florent
e64c31ef44 Get the confirm page for transfer 2012-09-27 13:14:02 +02:00
Florent
4fe8f13984 Catch error on password/birthday/login as BrowserIncorrectPassword 2012-05-04 15:01:08 +02:00
Florent
a0d81b0ae1 Pep8 cleanups for ING module 2012-03-13 14:56:36 +01:00
Florent
35bbb38e85 ING: find the keyboard in case of webiste announcement
Signed-off-by: Florent <weboob@flo.fourcot.fr>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2012-01-28 11:53:58 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Renamed from weboob/backends/ing/pages/login.py (Browse further)