Commit graph

130 commits

Author SHA1 Message Date
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
Laurent Bachelier
c8b013be53 Better handling of "tiny" choices, allow forcing 2013-07-19 19:25:38 +02:00
Romain Bignon
9731ae1b91 weboob-config edit: fix error if there are private attributes on backend
(for example _enabled or _proxy)
2013-04-10 17:40:23 +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
Florent
3296d57132 Remove useless TODO 2013-02-07 15:49:33 +01:00
Romain Bignon
47887d5560 add handler in applications 2012-11-10 13:25:07 +01:00
Laurent Bachelier
571db865ab Simpler acquire_input()
Might work with Python 2.5 as a side-effect of not using delete.
2012-10-21 18:02:06 +02:00
Romain Bignon
bf3206418b display a custom bold warning on SSLError 2012-09-01 13:37:18 +02:00
Romain Bignon
fa197cce6e correctly check new version of module 2012-05-05 16:26:00 +02:00
Romain Bignon
c498d41aef fix printing unicode error 2012-05-04 10:59:18 +02:00
Romain Bignon
3974355cec bug handler: update repositories only if module is on a remote one 2012-04-26 12:13:10 +02:00
Romain Bignon
13524cae32 when a bug occures in a module, suggest to update it 2012-04-25 13:45:52 +02:00
Roger Philibert
4b05f77329 [app/console] use EDITOR env variable to edit input 2012-04-01 19:28:11 +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
Romain Bignon
fbe9ccec04 fix crash when trying to add twice a same module 2012-02-25 13:43:58 +01:00
Romain Bignon
dfb52a2624 verbose error messages in Qt applications (closes #775) 2012-02-05 17:19:36 +01:00
Romain Bignon
de1326fcb2 improve message when trying to add a backend with missing dependancies 2012-01-29 14:16:16 +01:00
Romain Bignon
0c1b79cd42 enhancements of the 'a' choice in menu of first launch
- Don't add backends already existing
- ^C stop all backends adding
- Better presentation
- Exit menu after using 'a'
2012-01-29 12:05:22 +01:00
theo
6f27b02865 Add all backends at once
When no backends are loaded, a prompt pops up and
suggest to add some.

This patch adds the possibility to select all at once.

Signed-off-by: theo <theocrite@theocrite.org>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2012-01-29 11:53:24 +01:00
Romain Bignon
fd22eb5367 do not ask before installing a module 2012-01-19 10:50:27 +01:00
Romain Bignon
b3c797978a automatically install missing modules referenced in ~/.weboob/backends 2012-01-19 10:48:26 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Romain Bignon
d8a3a4360e fix unicode error 2011-12-07 15:07:16 +01:00
Romain Bignon
ddda7f88e4 sort backends by name when querying user to select one 2011-07-22 21:02:21 +02:00
Romain Bignon
90f9608ffa ask() writes on output with the right encoding 2011-07-14 16:25:44 +02:00
Romain Bignon
e731f42cb9 new method ConsoleApplication.acquire_input() to read stdin friendly 2011-07-11 22:18:25 +02:00
Romain Bignon
621fc4ba75 fix error when there isn't any backend given 2011-07-01 13:46:02 +02:00
Romain Bignon
2804867a97 print an error if a specified backend is not enabled or existant 2011-06-30 15:24:51 +02:00
Romain Bignon
a255916fa3 support new config management and login callback in applications 2011-05-21 10:28:27 +02:00
Romain Bignon
1dafee2b47 move repl code from ConsoleApplication to ReplApplication 2011-05-08 18:13:05 +02:00
Romain Bignon
2825ff643b pylint fixes 2011-05-08 17:51:06 +02:00
Laurent Bachelier
3154d7f79d Do not prompt to add backends if not in an interactive session 2011-05-06 00:57:03 +02:00
Laurent Bachelier
8075d538f0 Better messages and return codes in applications
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
3aa286fb94 factorize code to check loaded backends 2011-04-05 08:45:15 +02:00
Laurent Dufréchou
86937aef95 Modifications to support boobank under win32
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-03-17 11:55:46 +01:00
Romain Bignon
63c4a09a0d fix backends list displayed on first load 2011-03-14 18:42:04 +01:00
Romain Bignon
2ba3f46f3b split ReplApplication to create ConsoleApplication 2011-03-05 21:55:20 +01:00
Christophe Benz
7f755c660d del ConsoleApplication 2010-09-28 01:27:22 +02:00
Romain Bignon
aee0e49cc8 -b is handled by BaseApplication 2010-09-24 21:56:49 -04:00
Romain Bignon
0eba4302a5 override complete() to change the behaviour of Cmd completion 2010-09-24 13:56:24 -04:00
Romain Bignon
37a53b783a port every console applications to ReplApplication 2010-09-24 12:58:27 -04:00
Romain Bignon
65bcd201e0 fixes on console applications 2010-09-23 17:05:32 +02:00
Romain Bignon
17544397dd fix callback 2010-09-21 13:10:55 -04:00
Romain Bignon
54f9220555 fix output when no backends is configured 2010-09-17 19:08:04 -04:00
Romain Bignon
9f5c9aeebc renamed BackendsLoader to ModulesLoader 2010-08-24 11:03:39 +02:00
Romain Bignon
9581fa0b19 all loaded backends are now configured (refs #368) 2010-08-19 22:15:38 +02:00
Christophe Benz
8afff42465 compare instance to basestring instead of (str, unicode) 2010-08-17 19:33:06 +02:00
Romain Bignon
1fd52b7ba8 enhancement of backends configuration 2010-08-13 12:00:24 +02:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00