Commit graph

68 commits

Author SHA1 Message Date
Romain Bignon
15a58d5647 import browser exceptions from weboob.tools.exceptions 2014-05-17 14:56:07 +02:00
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +02:00
Romain Bignon
46d9acd37e display a message when more results are available (closes #1038) 2013-07-27 23:40:24 +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
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Romain Bignon
0a603ff42a qt: display a dialog to ask user to update repositories at run if error 2013-03-26 09:53:17 +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
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +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
Romain Bignon
47887d5560 add handler in applications 2012-11-10 13:25:07 +01:00
Laurent Bachelier
3a66728392 Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Clément Schreiner
76795b27a2 Ask for correct login information (for example "Account ID" in boobank) instead of always asking for "Password". 2012-03-25 12:51:38 +02:00
Laurent Bachelier
062f2c4c3e Fix Python 2.5 support
And fix some PEP8 style issues (mostly about spaces) while I was there.

refs #806
2012-03-13 12:36:02 +01:00
Romain Bignon
3eddf8e6dd fix unicode issue 2012-02-19 18:34:33 +01:00
Romain Bignon
07f105910e add new application qflatboob 2012-02-16 16:29:40 +01:00
Laurent Bachelier
c805f4c866 Information is an uncountable noun 2012-02-10 01:28:40 +01:00
Romain Bignon
dfb52a2624 verbose error messages in Qt applications (closes #775) 2012-02-05 17:19:36 +01:00
Romain Bignon
10215d1e4c add a repositories editor in weboob-config-qt 2012-02-02 17:18:15 +01:00
Romain Bignon
8bf985ad86 do not prompt password when empty 2012-02-02 15:57:34 +01:00
Romain Bignon
33d7a8d466 fetch icons asynchronously (closes #756) 2012-02-02 15:36:36 +01:00
Romain Bignon
fd22eb5367 do not ask before installing a module 2012-01-19 10:50:27 +01:00
Romain Bignon
ae2f417e0b fix crash when trying to edit a backend of an unexistant module 2012-01-18 00:13:46 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Romain Bignon
a698e16104 sort backends list by names 2011-08-27 18:35:35 +02:00
Romain Bignon
a255916fa3 support new config management and login callback in applications 2011-05-21 10:28:27 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
01fcd0bed9 fix when trying to add an already existing backend 2011-02-26 18:28:43 +01:00
Romain Bignon
3ca779c8ca change default size of box 2011-02-26 11:19:33 +01:00
Christophe Benz
851b2d34ca code clean, split too long lines 2010-12-08 18:10:44 +01:00
Christophe Benz
3dd50f363d remove unnecessary brackets 2010-12-08 18:10:42 +01:00
Christophe Benz
f1a43f1101 sort backends alphabetically in right order 2010-12-08 18:10:40 +01:00
Romain Bignon
fb5e8cfbaa remove 'ICap' string from displayed capabilities names 2010-11-27 21:22:52 +01:00
Romain Bignon
c83c923e3d moved ICapDating.get_status() and ICapMessagesPost.get_status() into ICapAccount.get_account_status() 2010-11-20 20:52:53 +01:00
Romain Bignon
b6821b0567 fixes related to ModuleLoadError 2010-11-17 19:43:25 +01:00
Romain Bignon
0746942e02 accept backends name with only letters and digits 2010-11-14 22:18:56 +01:00
Romain Bignon
8997b1fe27 enhancements of register 2010-10-27 23:45:28 +02:00
Romain Bignon
a792b6601c support new Values* classes and ICapAccount with a 'Register' button (closes #390) 2010-10-26 21:02:45 +02:00
Romain Bignon
41827c4160 show a messagebox on bcall errors instead of console print 2010-09-30 20:13:06 +02:00
Romain Bignon
9f5c9aeebc renamed BackendsLoader to ModulesLoader 2010-08-24 11:03:39 +02:00
Romain Bignon
f0ea8829a2 display weboob-config-qt at launch on Qt applications when there are no configured backends 2010-08-20 12:22:04 +02:00
Romain Bignon
31445de767 qweboobcfg: display website of backend in description in any 2010-08-20 09:19:21 +02:00
Romain Bignon
9581fa0b19 all loaded backends are now configured (refs #368) 2010-08-19 22:15:38 +02:00
Romain Bignon
d864233a91 do not display the config frame of a backend when enabling/disabling it (refs #348) 2010-08-14 17:51:07 +02:00
Romain Bignon
ffd75dc2b5 can enable/disable backends, and support choices fields (refs #348) 2010-08-14 17:46:10 +02:00
Romain Bignon
404d7290ba a lot of pyflakes and pylint fixes 2010-08-13 22:23:10 +02:00
Romain Bignon
7859aa0ba6 unload and load removed/updated/added configured backends (refs #334) 2010-08-03 20:17:35 +02:00
Christophe Benz
eca1e59191 handle the case a backend is configured but not installed 2010-08-03 17:36:09 +02:00
Romain Bignon
fc4badf88e merge do_caps() and do_backends() into do() (optional keyword params 'backends' and 'caps') 2010-07-17 13:48:32 +02:00
Romain Bignon
41317e5029 fix QtScheduler and use it instead of QTimer 2010-07-13 23:44:22 +02:00