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
Christophe Benz
d81f5dac7a
ObjectNotSupported is now an assertion
2010-08-12 16:45:05 +02:00
Christophe Benz
53f6571fee
implement max_results option and infinite search for youtube
2010-08-12 16:04:53 +02:00
Romain Bignon
7b0c91275f
ability to check caps of a backend against a string (not only a class)
2010-08-11 15:00:27 +02:00
Christophe Benz
a37e1a0018
indicate how to configure backends with qt gui
2010-08-02 16:35:19 +02:00
Christophe Benz
72dfd343c4
reparent -f option to formatting options group
2010-08-02 16:34:51 +02:00
Christophe Benz
d0ccc88201
s/weboobcfg/weboob-config
2010-07-29 19:25:29 +02:00
Romain Bignon
cd56abe724
Merge branch 'fillobj'
...
Conflicts:
weboob/backends/youjizz/backend.py
weboob/backends/youporn/backend.py
weboob/tools/application/console.py
2010-07-20 20:39:48 +02:00
Romain Bignon
1398c0f7d1
improvement of the fillobj
2010-07-20 20:37:37 +02:00
Christophe Benz
d067808416
rename exception
2010-07-20 16:47:30 +02:00
Romain Bignon
b1f688e6d5
wip (I commit everythings because my computer will die coming soon)
2010-07-19 22:03:24 +02:00
Christophe Benz
084d7ebd94
allow to specify order in --select option
2010-07-19 18:02:21 +02:00
Romain Bignon
edc83df3a1
new API for the fillobj feature and severaaal fixes
2010-07-18 00:35:07 +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
d64842a95f
missing enumeration
2010-07-15 22:08:25 +02:00
Christophe Benz
0733e35cd5
add --count option to console applications
2010-07-15 01:30:33 +02:00
Christophe Benz
3175883351
implement fillobj() browser method
2010-07-15 01:21:49 +02:00
Romain Bignon
0435cd7411
comments
2010-07-12 23:53:37 +02:00
Christophe Benz
c20ee8f99f
forgot rename
2010-07-12 23:36:14 +02:00
Christophe Benz
ddd0e22d6b
check there are selected fields
2010-07-12 14:02:34 +02:00
Christophe Benz
c7d9ef413f
do not fail if default formatter is unloadable
2010-07-12 03:24:54 +02:00
Christophe Benz
13137111e4
enhance formatters
2010-07-12 03:16:05 +02:00
Christophe Benz
4698a6c391
change vocabulary
2010-07-12 03:16:05 +02:00
Christophe Benz
5c2ab81e16
change vocabulary
...
s/module/backend
s/backend/configured_backend
s/frontend/application
2010-07-12 03:07:10 +02:00