Commit graph

46 commits

Author SHA1 Message Date
Christophe Benz
5fc8c14b2d fix #372 conditions should not be treated by formatters 2010-11-14 15:04:20 +01:00
Christophe Benz
cfb4bf4ab5 fix webkit formatter 2010-11-14 14:26:32 +01:00
Romain Bignon
6b25131bf5 check also if stdin is a tty to enable the pager 2010-11-11 13:23:42 +01:00
Romain Bignon
572d5c1061 fix things related to conditions 2010-11-01 10:37:07 +01:00
Romain Bignon
16b7b1d9be do not display columns with only None values 2010-10-27 23:45:48 +02:00
Romain Bignon
d6e28f60a5 add CSV formatter (closes #350) 2010-10-27 08:24:16 +02:00
Romain Bignon
0b646e0e14 do not display columns when all values are NotLoaded or NotAvailable 2010-10-17 15:01:32 +02:00
Romain Bignon
2968b4f7b6 fix: class attributes are shared between instances, do not use them here 2010-10-16 19:00:03 +02:00
Romain Bignon
e114fb654f correctly remove the '--Press a key to continue--' line 2010-10-16 15:02:46 +02:00
Romain Bignon
d2c70b7e98 in a tty, ask user to press <Enter> when text exceed the term height 2010-10-16 12:11:30 +02:00
Romain Bignon
24e3671f27 video_list formatter display count in interactive mode, the full ID otherwise 2010-10-15 10:12:44 +02:00
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
d351cd13f0 fix boobank when coming is not available 2010-10-09 09:03:41 +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
Christophe Benz
4f4897e0f2 add formatter command 2010-09-23 19:48:52 -04:00
Christophe Benz
9e2345eeb9 implement select command 2010-09-21 13:10:52 -04:00
Romain Bignon
64d5f75be2 multiline formatter do not display not loaded fields 2010-08-27 09:49:07 +02:00
Romain Bignon
404d7290ba a lot of pyflakes and pylint fixes 2010-08-13 22:23:10 +02:00
Romain Bignon
3d97a99cee pyflakes 2010-08-12 18:28:11 +02:00
Romain Bignon
3bf7975ad1 display a 'Total' line on command 'list' 2010-08-12 18:17:19 +02:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00
Christophe Benz
6069d2b5b8 code clean 2010-08-12 16:04:53 +02:00
Christophe Benz
e20425952c check condition before fields selection 2010-08-02 17:04:33 +02:00
Christophe Benz
cea76a076d bugfix with args 2010-08-02 16:35:29 +02:00
Romain Bignon
07a9450d58 fix commit of cbenz: please, test you changes before pushing! 2010-07-20 20:52:01 +02:00
Christophe Benz
084d7ebd94 allow to specify order in --select option 2010-07-19 18:02:21 +02:00
Christophe Benz
13137111e4 enhance formatters 2010-07-12 03:16:05 +02:00
Christophe Benz
5547e14e11 enhance formatters 2010-07-11 22:00:18 +02:00
Christophe Benz
e4b789d340 enhance --select, add --no-header option 2010-07-10 03:27:41 +02:00
Christophe Benz
6b885044aa fix imports 2010-07-08 14:02:33 +02:00
Christophe Benz
eecd1a40ca add webkit dependency 2010-07-07 19:50:52 +02:00
Christophe Benz
41eea192f4 formatters accept no backend name 2010-07-07 17:20:17 +02:00
Christophe Benz
5bbe266c8c new HTML formatter using webkit 2010-06-30 20:20:25 +02:00
Christophe Benz
470f2a9fe2 use real comments for licence header 2010-06-22 16:27:33 +02:00
Christophe Benz
504b6c4c77 return if no columns (if no results) 2010-06-22 16:26:24 +02:00
Christophe Benz
83f6fa21b6 handle case id is not a string 2010-06-21 17:50:38 +02:00
Christophe Benz
a0f8137fc5 id decoration belongs to formatter 2010-06-17 15:47:05 +02:00
Christophe Benz
fe61b5ea3a oops 2010-06-02 16:48:47 +02:00
Christophe Benz
3e6ac8c53f handle import error for prettytable 2010-06-02 16:48:44 +02:00
Christophe Benz
676a95047d enhance formatters, add table formatter 2010-06-02 02:01:33 +02:00
Christophe Benz
2ddc249b2b enhance formatters 2010-05-21 19:19:28 +02:00
Christophe Benz
b6f3b39744 fix pyflakes errors 2010-05-19 11:16:06 +02:00
Christophe Benz
57b2243ada implement where condition 2010-05-15 04:55:30 +02:00
Christophe Benz
27242e80ba fix imports 2010-05-11 17:07:23 +02:00
Christophe Benz
40d5cc3e0e change Results API 2010-05-11 16:55:55 +02:00