Commit graph

66 commits

Author SHA1 Message Date
Romain Bignon
8f282c9ae8 rename iter_operations to iter_coming 2012-03-23 17:07:34 +01:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
00c784e331 display 'category' in priority, 'type' otherwise 2012-02-28 13:54:26 +01:00
Romain Bignon
d8b1588db0 add a TransactionsFormatter for commands 'history' and 'coming' 2012-02-26 18:31:07 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Laurent Bachelier
bfb3689456 Add object type filtering to iter_resources 2012-02-05 13:30:02 +01:00
Romain Bignon
eb3f681136 bump to 0.a 2011-10-10 11:38:02 +02:00
Romain Bignon
51f8efc41d display the 'N' entry only when available 2011-09-09 09:54:07 +02:00
ffourcot
9d900578a3 Add a new field to Operations to permit a better export to qif
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-09-08 17:58:47 +02:00
Romain Bignon
5541107a7f fix: print the line '!type:Bank' only once 2011-09-07 10:16:47 +02:00
Romain Bignon
27a70e4525 add 'qif' formatter 2011-09-07 09:47:23 +02:00
Romain Bignon
4390dd9452 fix crash during transfer when given account backend is unknown 2011-08-16 12:55:13 +02:00
Romain Bignon
1e83aaa3ef oops typo 2011-08-16 09:41:25 +02:00
Romain Bignon
6c2dfef837 flush print total only when there are accounts in queue 2011-08-16 09:31:07 +02:00
Romain Bignon
c55ccd4ee4 restore the account_list formatter to the 'list' command 2011-05-11 16:22:22 +02:00
Romain Bignon
53e22d9f4b bump to 0.9 2011-05-08 18:31:44 +02:00
Romain Bignon
84f74f9f9f reintroduce the 'list' command on boobank 2011-05-08 17:25:43 +02:00
Romain Bignon
6772b4a987 ability to list recipients of a transfer 2011-05-07 14:24:00 +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
Christophe Benz
c7ff4640a0 Fix application descriptions. 2011-04-04 10:35:41 +02:00
Romain Bignon
31a0a0a8be bump to 0.8 2011-04-04 10:30:09 +02:00
Romain Bignon
bafbf3644a use IFormatter.(BOLD|NC) on every formatters 2011-03-09 09:26:55 +01:00
Romain Bignon
3cb6ca033f bump to 0.7 2011-03-01 13:57:23 +01:00
Romain Bignon
81f9980623 update copyrights 2011-01-14 23:03:52 +01:00
Romain Bignon
2ebb9a844d bump to 0.6 2011-01-08 12:30:28 +01:00
Christophe Benz
e9ede31053 fix parse_args conflict 2010-12-13 16:18:23 +01:00
Christophe Benz
5bdd1540fe s/parseargs/parse_args 2010-12-13 15:42:20 +01:00
Romain Bignon
78bfa70f23 set a description for every application 2010-12-09 12:03:38 +01:00
Romain Bignon
a83a81dde8 bump to 0.5 2010-12-01 19:55:59 +01:00
Christophe Benz
560798bf7d implement mandatory fields for custom formatters 2010-11-23 14:46:32 +01:00
Christophe Benz
e3cc16a156 check for account ID param 2010-11-16 15:30:12 +01:00
Romain Bignon
bea732d534 bump to version 0.4 2010-11-01 23:21:37 +01:00
Christophe Benz
b69a31e1b9 python2.5 compatibility (for maemo) 2010-11-01 16:48:17 +01:00
Romain Bignon
2e29dc6479 use a specific transfer formatter for the 'transfer' command 2010-10-31 10:26:18 +01:00
Romain Bignon
1e881da190 oops fix when coming is NotAvailable (closes #411) 2010-10-25 21:51:16 +02:00
Romain Bignon
cabdbe078f use a specific formatter for 'list' and ability to use previous # in interactive mode for other commands (closes #410) 2010-10-25 20:25:27 +02:00
Romain Bignon
3e643ef7ab use 'table' as default formatter in boobank 2010-10-16 18:59:45 +02:00
Romain Bignon
c959feacac bump version of backends and applications to 0.3 2010-10-11 10:31:44 +02:00
Romain Bignon
d351cd13f0 fix boobank when coming is not available 2010-10-09 09:03:41 +02:00
Romain Bignon
7fa04fe1d2 fix missing flush() calls 2010-10-08 13:46:00 +02:00
Romain Bignon
cd3c2ee787 do not reload specified backends in commands, but ask do() to call methods only on them (closes #405) 2010-10-07 15:34:31 +02:00
Romain Bignon
217b029a6f pyflakes fixes 2010-09-30 12:40:09 +02:00
Romain Bignon
6dfbda042c correctly handle BrowserUnavailable and BrowserIncorrectPassword exceptions in repl applications (closes #302)
It asks user to reconfigure backend when BrowserIncorrectPassword is
raised.
2010-09-30 11:59:12 +02:00
Nicolas Duhamel
935531c5ae Return transfer id Prevent when the two accounts aren't on the same backend
Signed-off-by: Nicolas Duhamel <nicolas@jombi.fr>
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2010-09-28 22:27:40 +02:00
Romain Bignon
7efc743694 store listed accounts and completion on 'coming', 'history' and 'transfer' commands 2010-09-27 00:05:33 +02:00
Romain Bignon
71f18ce7f6 bump version of every applications to 0.2 2010-09-25 07:39:40 +02:00
Romain Bignon
04037e7893 repl: interactive add of backends when no one is loaded at startup 2010-09-25 00:57:54 -04:00
Romain Bignon
d0730472d8 oops fix bad function name 2010-09-24 13:45:50 -04:00