Romain Bignon
a255916fa3
support new config management and login callback in applications
2011-05-21 10:28:27 +02:00
Romain Bignon
d600e763b3
do not run player in background ( closes #664 )
2011-05-18 11:44:20 +02:00
Romain Bignon
908e32a713
fix command 'inspect' to don't crash if there isn't any browser
2011-05-12 15:02:40 +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
Romain Bignon
daa524d75d
'ls' and 'cd' are now weboob commands
2011-05-08 17:25:32 +02:00
Romain Bignon
c587ce65b0
weboob-config can't be run in interactive mode anymore
2011-05-08 14:38:54 +02:00
Laurent Bachelier
05a6bb79e4
Also log redirects when saving responses and debugging (refs #398 )
...
set_debug_responses is not needed as we already save the responses in a
better way.
2011-05-08 13:55:41 +02:00
Romain Bignon
c159a5d43e
command 'ls' always refetch objects
2011-05-07 14:23:47 +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
Laurent Bachelier
7bf794b7e5
Add missing fillobj() call on get_object
...
fillobj was only called when getting previously fetched objects in
interactive mode.
This probably wasn't detected because most get_* backend functions
usually fill a lot of fields by themselves.
2011-04-21 22:59:30 +02:00
Romain Bignon
7098e44d9b
use CapResources for radios
2011-04-21 12:07:37 +02:00
Romain Bignon
c28d5a99c1
factorize ls and cd in ReplApplication
2011-04-21 11:01:50 +02:00
Nicolas Duhamel
6b3ac71621
mediaplayer fix license
2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8671361ede
fix mediaplayer
2011-04-20 09:26:32 +02:00
Romain Bignon
9afb301ebe
move select() in parser
2011-04-09 11:25:13 +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
99785b5a4d
open stty in a shell
2011-03-14 17:34:48 +01:00
Bluebird75
3f40fb2de7
- use an OS independant way of identifying base module directory - use a more portable way of reading stty output
2011-03-14 17:19:53 +01:00
Romain Bignon
bafbf3644a
use IFormatter.(BOLD|NC) on every formatters
2011-03-09 09:26:55 +01:00
juke
480e53cb00
no bold when -O
2011-03-09 09:26:02 +01:00
Romain Bignon
d6cb3f78ed
fix call to bcall_error_handler() on mother class
2011-03-05 23:56:47 +01:00
Romain Bignon
2ba3f46f3b
split ReplApplication to create ConsoleApplication
2011-03-05 21:55:20 +01:00
Romain Bignon
bd7809f22e
checks on given backends for 'backends <add|register>' subcommands
2011-03-01 11:06:39 +01:00
Romain Bignon
7bf2c007ff
fix missing import of with_statement
2011-02-28 10:51:05 +01: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
Romain Bignon
a84b3ea5a3
remove the useless '--to_file' parameter on boobmsg
2011-02-26 10:27:38 +01:00
Juke
1382b50a7d
cleaner solution to output to a file
2011-02-25 18:49:23 +01:00
juke
6a40375b6a
boobmsg can export to a file closes #490
2011-02-15 12:31:40 +01:00
juke
23009fe4a9
use stdout in format() closes #469
2011-02-11 18:52:08 +01:00
Juke
73e7d50e7f
use stderr closes #470
2011-02-10 17:16:07 +01:00
Christophe Benz
bc606d3640
add space to join for user message
2011-01-05 17:09:08 +01:00
Romain Bignon
1edaf7fd9f
fix return value of iter_city_search ( closes #457 )
2011-01-02 22:47:11 +01:00
Christophe Benz
638dc1f466
introduce unique_backend argument for parse_id
2010-12-13 16:43:27 +01:00
Christophe Benz
e9ede31053
fix parse_args conflict
2010-12-13 16:18:23 +01:00
Christophe Benz
5bdd1540fe
s/parseargs/parse_args
2010-12-13 15:42:20 +01:00
Romain Bignon
fbf74148a6
reintroduce the 'short' optional parameter for get_command_help()
2010-12-13 11:31:58 +01:00
Romain Bignon
0a4e05e509
do not print weboob commands when application is not REPL
2010-12-09 12:03:21 +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
5dae3e3c92
use specifics OptionParser and OptionFormatter to display commands list
2010-12-08 17:53:05 +01:00
Romain Bignon
e36251076c
fix calling _play_default() method ( closes #446 )
2010-12-08 10:09:41 +01:00
Romain Bignon
30db5a92a2
fix unicode issues
2010-11-29 21:07:28 +01:00
Christophe Benz
93f8a50b4f
clean media player code, ability to configure player in videoob and radioob
2010-11-29 07:25:13 +01:00