Commit graph

334 commits

Author SHA1 Message Date
Romain Bignon
3a3bbd377e support XDG Base Directory Specification (closes #765) 2012-01-27 17:34:08 +01:00
Romain Bignon
5bd0aeed41 setup a default logging handler at app startup, before parsing args (-vdq) 2012-01-27 17:34:08 +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
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
d8a3a4360e fix unicode error 2011-12-07 15:07:16 +01:00
Romain Bignon
b0d84fff2a fix unicode issue (closes #703) 2011-10-04 08:57:04 +02:00
Romain Bignon
5337e53b49 split BaseBrowser into new class StandardBrowser which is usable without inheriting it 2011-09-23 09:59:12 +02:00
Romain Bignon
a698e16104 sort backends list by names 2011-08-27 18:35:35 +02:00
Romain Bignon
367d996d50 get_object doesn't request the backend name in IDs (dedicated to fucking nigger pankkake) 2011-08-12 15:46:40 +02:00
Romain Bignon
18dd9e2b8f always flush formatter after calling a command 2011-08-12 09:56:30 +02: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
9e3b1a049e get_object() method requires an unique backend ID 2011-07-11 22:17:40 +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
f99c6b31a8 reorganize players order 2011-06-30 15:21:30 +02:00
Romain Bignon
090fb38feb ability to enter the backend name 2011-06-26 23:33:34 +02:00
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