Samuel Loury
bd7891f202
Allow ResultsCondition to compare timedelta
...
The user may now use conditions on durations (from the audio and the video
capabilities) in repl applications.
The documentation has been updated to take this change into account.
2014-11-28 14:55:55 +01:00
Bezleputh
d73c6b2245
Add a " LIMIT " keyword in conditions
2014-10-08 13:05:40 +02:00
Bezleputh
017c6f7e54
handle datetime in condition argument
2014-10-01 17:43:21 +02:00
Florent
b8453fb0a8
Do not import Date in results header
...
Actually, the condition are not widely used. Do not load the datetime
module if we don't run it.
2014-07-09 11:43:48 +02:00
Florent
7555938470
Test the id and the fullid in condition
...
And use obj.to_dict instead of dict(obj.iter_fields())
2014-04-09 10:30:19 +02:00
Florent
92dfab4069
More text in error
2014-01-06 15:26:09 +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
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
Florent
9a0f9d0fc9
Remove condition from core
2013-08-06 19:05:21 +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
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
c644aacd29
fix: use ResultsCondition in BackendsCall instead of hack in Weboob (refs #372 )
2010-11-14 21:46:48 +01:00
Christophe Benz
041e80e85d
remove unused class
2010-11-14 15:04:20 +01:00
Romain Bignon
572d5c1061
fix things related to conditions
2010-11-01 10:37:07 +01:00
Christophe Benz
13a1f2a8a5
enhance select command, add condition command
2010-09-23 13:24:59 -04:00
Romain Bignon
2377824691
strings are unmutable objects
2010-07-12 23:53:37 +02:00
Christophe Benz
470f2a9fe2
use real comments for licence header
2010-06-22 16:27:33 +02:00
Christophe Benz
2ed5c7f5e5
add more user-friendly message on condition parsing error
2010-06-21 17:50:50 +02:00
Christophe Benz
2ddc249b2b
enhance formatters
2010-05-21 19:19:28 +02:00
Christophe Benz
57b2243ada
implement where condition
2010-05-15 04:55:30 +02:00
Christophe Benz
40d5cc3e0e
change Results API
2010-05-11 16:55:55 +02:00
Christophe Benz
73ffa6c6f1
Results API
2010-05-05 19:03:38 +02:00