Commit graph

506 commits

Author SHA1 Message Date
Romain Bignon
a86a6b2669 rewrite formatters management in repl
Commands can use specific default formatters, user can redefine formatters
per commands or globally.
2010-10-14 20:09:32 +02:00
Romain Bignon
fa24395efb unused import 2010-10-13 09:34:10 +02:00
Christophe Benz
5b014361af forget \n 2010-10-12 19:43:48 +02:00
Christophe Benz
bd447b3cf2 simplify code 2010-10-12 19:43:48 +02:00
Romain Bignon
d351cd13f0 fix boobank when coming is not available 2010-10-09 09:03:41 +02:00
Romain Bignon
0ebf8d579d add class attribute to disable REPL behaviour 2010-10-08 10:52:35 +02:00
Romain Bignon
a36aa0d56e handle errors during loading and ask users to reconfigure backend 2010-10-01 20:17:23 +02:00
Romain Bignon
ad588d5d1d rename -S(--save-responses) to -a 2010-10-01 17:14:36 +02:00
Laurent Bachelier
da55da0d9d Optional global argument to save responses
By adding -S or --save-responses to an application's arguments, every
response will be saved in /tmp/weboob. This is best used with the
-d/--debug option.
It might be interesting to add the headers to the saved response.
2010-09-30 23:28:33 +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
217b029a6f pyflakes fixes 2010-09-30 12:40:09 +02:00
Romain Bignon
a8b6594af0 add help for logging command, and set it as a weboob command 2010-09-30 12:28:46 +02:00
Romain Bignon
37266a7945 add 'logging' command 2010-09-30 12:23:38 +02:00
Romain Bignon
c76e5f9e6a new command 'backends edit' 2010-09-30 12:07:53 +02:00
Romain Bignon
6dfbda042c correctly handle BrowserUnavailable and BrowserIncorrectPassword exceptions in repl applications (closes #302)
It asks user to reconfigure backend when BrowserIncorrectPassword is
raised.
2010-09-30 11:59:12 +02:00
Romain Bignon
17f6df1e30 pyflakes fix 2010-09-28 11:58:23 +02:00
Romain Bignon
0ce8b12c32 stop scheduler when an application exits 2010-09-28 11:29:32 +02:00
Christophe Benz
9da22142be fix spawnlp usage 2010-09-28 02:26:05 +02:00
Christophe Benz
7004c1d669 move video player tool to external file 2010-09-28 02:16:18 +02:00
Christophe Benz
3939cf1039 fix bug when keyup:keydown in history 2010-09-28 01:27:44 +02:00
Christophe Benz
7f755c660d del ConsoleApplication 2010-09-28 01:27:22 +02:00
Christophe Benz
1fd34fe715 avoid python side effect 2010-09-27 14:57:26 +02:00
Christophe Benz
b896f5f75c use jquery chaining 2010-09-27 14:57:26 +02:00
Christophe Benz
d384a10810 reset queue before return 2010-09-27 14:57:26 +02:00
Romain Bignon
4f73e8535e catch every CallErrors errors in repl applications 2010-09-27 13:17:08 +02:00
Romain Bignon
95c445223c change output of 'backends list' command 2010-09-27 00:18:04 +02:00
Laurent Bachelier
79ab361d54 Fix startup error 2010-09-26 20:19:30 +02:00
Romain Bignon
f4f9ef25f4 fixes when no backends are loaded 2010-09-25 02:16:07 -04:00
Romain Bignon
4d5a5003a7 load backends before calling main() 2010-09-25 01:28:34 -04:00
Romain Bignon
1e6de0f12e add commands 'backends add' and 'backends remove' 2010-09-25 01:17:06 -04:00
Romain Bignon
04037e7893 repl: interactive add of backends when no one is loaded at startup 2010-09-25 00:57:54 -04:00
Romain Bignon
aee0e49cc8 -b is handled by BaseApplication 2010-09-24 21:56:49 -04:00
Romain Bignon
27be2bdb25 use bold in prompt 2010-09-24 15:00:31 -04:00
Romain Bignon
96a9bb4b8f completion of command 'formatter' 2010-09-24 14:19:46 -04:00
Romain Bignon
0eba4302a5 override complete() to change the behaviour of Cmd completion 2010-09-24 13:56:24 -04:00
Romain Bignon
86acc67ccc remove PromptApplication (replaced by ReplApplication) 2010-09-24 13:04:15 -04:00
Romain Bignon
37a53b783a port every console applications to ReplApplication 2010-09-24 12:58:27 -04:00
Christophe Benz
06cbda9d4d implement formatter options 2010-09-24 18:03:50 +02:00
Christophe Benz
4f4897e0f2 add formatter command 2010-09-23 19:48:52 -04:00
Christophe Benz
13a1f2a8a5 enhance select command, add condition command 2010-09-23 13:24:59 -04:00
Romain Bignon
65bcd201e0 fixes on console applications 2010-09-23 17:05:32 +02:00
Romain Bignon
6bbc6f599e fix things related to help output, completion and intro 2010-09-21 19:49:04 -04:00
Romain Bignon
17544397dd fix callback 2010-09-21 13:10:55 -04:00
Christophe Benz
9e2345eeb9 implement select command 2010-09-21 13:10:52 -04:00
Christophe Benz
ab4a427586 new ReplApplication base class 2010-09-21 13:10:48 -04:00
Romain Bignon
54f9220555 fix output when no backends is configured 2010-09-17 19:08:04 -04:00
Romain Bignon
64d5f75be2 multiline formatter do not display not loaded fields 2010-08-27 09:49:07 +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