Commit graph

91 commits

Author SHA1 Message Date
Romain Bignon
bdf4c13f4e remove useless calls to ReplApplication.flush() (closes #812) 2013-07-27 19:00:58 +02:00
Romain Bignon
8b803e7c39 fix crash when Account.coming or Account.balance are unavailable 2013-07-27 18:48:32 +02:00
Romain Bignon
97ade8e4ec add parameter END_DATE to 'history' and 'coming' commands (closes #1150)
It iterates on all transactions until the specified date
2013-07-27 18:44:16 +02:00
Romain Bignon
ee1728b27f colorize output of boobank 2013-07-27 18:10:52 +02:00
Romain Bignon
9094294683 default behavior is to unlimit results, except for explicit commands (searches or history)
closes #1139
2013-07-27 15:56:45 +02:00
Romain Bignon
234e22a255 in interactive mode, 'transfer' commands asks confirmation (refs #1077) 2013-07-27 14:29:04 +02:00
Florent
9d6eff0252 Do not flush twice 2013-07-09 09:53:21 +02:00
Florent Fourcot
40b784913c Better formatter for investment 2013-07-09 00:25:12 +02:00
Florent Fourcot
f4c5df891a Add investment command to boobank 2013-07-08 21:43:51 +02:00
Stefano Zacchiroli
88908f358e boobank: avoid blank lines between entries in (pretty_)qif formatting
rationale: empty lines between entries do not seem to be supported by
the spec
http://web.archive.org/web/20100222214101/http://web.intuit.com/support/quicken/docs/d_qif.html
and I have found at least one application reading QIF that works properly
without the blank lines, and fail to work with the blank lines

also: most QIF files generated by other apps in the wild seem not to have
any empty lines between entries
2013-05-10 09:00:26 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
ae06ae3384 Add missing "whatis entry" to man pages
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Romain Bignon
63dc4e05da support empty dates for transactions 2013-02-08 14:46:01 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
5b1260b7da transfer: do not crash with an incorrect amount value (closes #888) 2012-10-28 08:55:22 +01:00
Florent
2676966a71 Update standard formater 2012-09-27 13:14:03 +02:00
Alexandre Franke
cc3ba3a263 QIF spec requires capitalized "type"
close #898
2012-07-16 17:58:55 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
f5625240cc use get_object() instead of inner functions 2012-04-28 15:26:00 +02:00
Florent
80c0f88474 Add new qif formatter: use label and rdate if exist 2012-04-27 13:33:52 +02:00
Pierre Mazière
8d13282dab boobank: never convert a float to decimal
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-04-18 00:55:49 +02:00
Romain Bignon
9e6fb48dee fix transfer formatter 2012-04-04 09:14:35 +02:00
Romain Bignon
fc849995f4 rewrite of the formatters system 2012-04-03 22:40:38 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
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