Commit graph

829 commits

Author SHA1 Message Date
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Laurent Bachelier
a3306cc222 Add mpv to default players
It's another fork of mplayer, more active than mplayer2.
2014-01-08 08:06:18 +01:00
Florent
a5a4c2e44a Accept 0 and negative value for count
We already accept zero and negative value with the option -n, for
consistency it is good to accept it in interactive mode.
2014-01-07 18:59:19 +01:00
Florent
52111043e3 Revert part of e15b2a8473 2014-01-07 12:57:36 +01:00
Florent
9223d92fc8 restrict ls to 40 results by default 2014-01-06 17:13:16 +01:00
Florent
92dfab4069 More text in error 2014-01-06 15:26:09 +01:00
Florent
0b39d2d873 Coding style 2014-01-06 15:17:21 +01:00
Florent
af33442ba2 Catch error in condition evaluation
And return a better message to users
2014-01-06 15:02:04 +01:00
Florent
3bb4b50ba0 Fix bug introduced in ReplApplication.get_object refactoring
Ref e15b2a8473
    e0417f702d
    0668db2b5a
2014-01-06 14:58:29 +01:00
Pierre Mazière
0668db2b5a ReplApplication.get_object(): fix backend lookup
because self.enabled_backends contains BaseBackend objects
and not backend name strings

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
e0417f702d ReplApplication.get_object(): exclude backends which does not implement 'method'
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Pierre Mazière
e15b2a8473 ReplApplication.get_object(): return None if method does not exist
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Romain Bignon
818b756e27 json formatter: all subobjects are also encoded 2013-12-22 22:12:03 +01:00
Vincent Texier
148f6f3a2b Fixed thumbnail field returning always "id" with json formatter
Version development 0.h
2013-12-22 22:02:17 +01:00
Florent
3fa2a8ba8f Fix condition in non reply-application 2013-12-22 20:03:41 +01:00
Florent
105ec527b5 Sort results of ls by default
and replace option -s by option -U (same than the real ls command)
refs #1079
2013-12-17 15:21:25 +01:00
Florent
920e8edc44 Add documentation on conditions 2013-12-16 16:40:14 +01:00
Florent
505a5e9fef Add date to filter of expression
closes #1308

It is now possible to get a history in a range of date with something
like:
boobank history CC-1234@ing --condition "date>2013-12-01 AND date<2013-12-8"

It displays transactions done betwenn the 2th and the 7th december.
2013-12-16 15:22:47 +01:00
Romain Bignon
0513e86628 simplification of json formatter (refs #1294) 2013-12-16 15:10:07 +01:00
Florent
af5452091b Add -s option to ls (sort by backend/id)
closes #1079
2013-12-16 14:31:23 +01:00
Florent
3983590d76 Remove condition in format function
Forgot to clean it in a3e6e98b4e
2013-12-16 14:00:03 +01:00
Florent
ecddbd6be3 Fix JSON export
Closes #1294
2013-12-15 17:05:01 +01:00
Florent
a3e6e98b4e Move condition code in BaseApplication
The count parameter is now consistent with condition parameter
close #1289
2013-12-15 16:47:42 +01:00
Bezleputh
f21b5defb6 [boobcoming] move parse_date to weboob/tools/date.py 2013-12-15 16:10:10 +01:00
Laurent Bachelier
381c5a3847 Order choices 2013-12-10 19:48:34 +01:00
Romain Bignon
9fdc1b4d56 FrenchTransaction.parse_date isn't a class method anymore
This is because we call self._logger to log errors
2013-12-04 22:40:01 +01:00
Romain Bignon
1a581a1543 change FrenchTransaction.parse_date to be a class method 2013-11-29 15:14:57 +01:00
Florent
578216b55e Move the test on self.insecure to catch direct calls
Module likes societegenerale includes direct calls
on lowsslcheck, and the option -I (insecure) is not tested.
2013-11-26 18:39:34 +01:00
Florent
8b2ced6dc5 Do not return None objects on get_object
Fix the "bug" of passing urls to videoob with
multiple backends.
2013-11-07 09:15:58 +01:00
Florent
98a4d0547a Make a real link in signature 2013-10-30 15:02:40 +01:00
Florent
c712da56a3 Catch errors in boobill (cmds without args)
Closes #1303
2013-10-28 18:25:52 +01:00
Florent
9fee613cba Call self.weboob.do in ReplApplication.get_object_list 2013-10-28 17:00:02 +01:00
Laurent Bachelier
2406b26b02 Hide FormFieldConversionWarning too 2013-08-09 00:25:51 +02:00
Florent
9a0f9d0fc9 Remove condition from core 2013-08-06 19:05:21 +02:00
Florent
29567cffa4 Enable infinite search by default is condition is set 2013-08-06 18:54:49 +02:00
Florent
6b0930ffc5 Move condition from BCall to Repl 2013-08-06 18:45:03 +02:00
Florent
c97f33633a Fix the error message 2013-08-06 18:23:53 +02:00
Florent
78cfe65b2e Add the "grep" operator 2013-08-06 18:12:20 +02:00
Florent
8802d697ba Fix typo 2013-08-06 14:11:52 +02:00
Florent
bd48a75ade Rewrite conditions
Support < and > operators
Simplify some code
2013-08-06 13:46:45 +02:00
Florent
31016c4846 Rewriting of ResultsCondition, first part
Allow to give int, float, and not only strings
Fix AND/OR conditions
Add some comments to unterstand this fucking code
2013-08-05 17:06:16 +02:00
Florent
4dbe7b8c5d Fix OR condition
Return True at the first True result, return False if no condition
match

Closes #1288
2013-08-05 15:56:54 +02:00
Laurent Bachelier
bfe3ac6bcd Remove comments on deleted code
They were still there because the code was automatically removed.
2013-08-03 22:15:30 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
82fe5f7df0 several fixes about command helps
- add help on command help
- add bold in do_help instead of get_command_help
- get_commands_doc() returns full help
2013-08-03 12:28:05 +02:00
Laurent Bachelier
e78714b560 Reuse termcolor's environment variable to disable colors 2013-08-03 01:19:05 +02:00
Florent
33b682d24a Add a timeout to DNS values in cache 2013-08-02 13:09:31 +02:00
Florent
b058ef785e Add a local DNS cache in browser
Should solve BNP DNS errors
2013-08-02 12:59:12 +02:00
Romain Bignon
6a1ac6d6b6 FrenchTransaction.parse takes a new optional argument 'vdate' 2013-08-01 16:52:16 +02:00