Commit graph

465 commits

Author SHA1 Message Date
Juerd Waalboer
c3b0b86c97 No tab-completion for empty input
Old terminal takes about 1 minute to scroll the >9000 options...
2019-11-08 03:44:19 +01:00
Juerd Waalboer
da043ba2df New plugin: beep on error
If you computer beeps, that is. Most revbank setups run on raspberry pi's,
which don't beep...
2019-11-08 03:41:49 +01:00
Juerd Waalboer
354738fc02 New plugin: revspace_ascii 2019-11-07 04:07:31 +01:00
Juerd Waalboer
5840b7bbac Tiny refactor 2019-11-06 19:23:44 +01:00
Juerd Waalboer
464a6db78c Whitespace tweaks (newlines)
Consistency: empty line before each prompt, but not after.
2019-11-06 19:13:12 +01:00
Juerd Waalboer
32e84f3725 Fix that 'changed' would return true just because the attribute existed :)
Another option would have been to implement 'delete_attribute'.
2019-11-06 17:43:31 +01:00
Juerd Waalboer
bb8c52b593 Do provide final cart when no pending cart was ever shown... 2019-11-06 06:13:18 +01:00
Juerd Waalboer
f4eb91a22b Increase maximum multiplication factor (repeat limit)
The limit was mostly imposed because of the actually repeated
lines, which would scroll off the screen. Now that the quantity
is just displayed as a number, I don't really see any technical
reason for a low limit; maybe 200 is still too low.
2019-11-06 03:25:38 +01:00
Juerd Waalboer
1f21d49bb9 Drop details of final transaction
They're the same as the last "pending" display, anyway.
2019-11-06 03:24:35 +01:00
Juerd Waalboer
321ada19ae Fix bug introduced by code order swap 2019-11-06 03:00:58 +01:00
Juerd Waalboer
c9b704adca Make ">" prompt green 2019-11-05 06:16:54 +01:00
Juerd Waalboer
f1389c8c5c Fix bug: would eat its own queued entry, resulting in no-op
It would work for the first item because the size >= 2 guard prevented the rest
of the sub from running.
2019-11-05 05:42:54 +01:00
Juerd Waalboer
0354b3d740 Tweak whitespace
Most amounts will have 1 digit before the decimal point, and
I prefer 4 space indents :)
2019-11-05 05:27:37 +01:00
Juerd Waalboer
1a9044df4f repeat: prettier placeholder 2019-11-05 03:26:47 +01:00
Juerd Waalboer
60f413eb73 Change main prompt to "> ".
This shifts the reader's focus to the messages from plugins, such as the
instruction to enter your username to pay.

It also looks nicer next to the new cleaner transaction overviews.
2019-11-05 03:14:41 +01:00
Juerd Waalboer
7c32eaeb3f Remove dead code 2019-11-05 02:56:42 +01:00
Juerd Waalboer
a16348055f Bump version to 3 :) 2019-11-05 02:04:12 +01:00
Juerd Waalboer
08af3442a4 Restore # in logs (external tooling and plugin/users::recent depend on it) 2019-11-05 01:50:02 +01:00
Juerd Waalboer
c7b66a1084 Fix revspace_mqtt plugin after change to new api 2019-11-05 01:49:02 +01:00
Juerd Waalboer
9e5ac6eb06 Update documentation on deprecations 2019-11-05 01:36:21 +01:00
Juerd Waalboer
f9554ec463 Move old stuff to bottom of source file 2019-11-05 01:35:22 +01:00
Juerd Waalboer
89885a29c1 Remove last references to "EUR"
Except the one in the EPC QR code, because the specification says
that EUR is mandatory.
2019-11-05 01:33:31 +01:00
Juerd Waalboer
63f81e3711 Change logging of quantity: replace EUR field 2019-11-05 01:32:42 +01:00
Juerd Waalboer
1cbc906f1e Further update to new ledger-like internals 2019-11-05 00:57:39 +01:00
Juerd Waalboer
5a7a7184dd Refactor cart to use "entries" instead of "items" 2019-11-04 21:53:07 +01:00
Juerd Waalboer
ed03f09414 Class for transaction (cart) entries. 2019-11-04 19:44:08 +01:00
Juerd Waalboer
735009a02d Remove deprecated plugins 'nyan' and 'game' 2019-11-04 19:43:51 +01:00
Juerd Waalboer
d8dfc2cde2 Retry after REJECT: edit bad input instead of aborting 2019-11-03 00:13:43 +01:00
Juerd Waalboer
e00fc00664 Fix bug: warning when there is no acting user 2019-10-01 02:40:00 +02:00
Juerd Waalboer
9797e3c1c8 Add revspace specific plugins
Written by several authors. There is no log...
2019-09-23 21:12:03 +02:00
Juerd Waalboer
b6855df288 Make balance zero-crossing timestamp accessible 2019-09-21 01:38:07 +02:00
Juerd Waalboer
4178009405 Register timestamp of zero crossing in accounts file 2019-08-28 18:55:59 +02:00
Juerd Waalboer
fa60e1081a chmod 644 plugins/*
Undoes 714b337 because github seems to no longer require chmod +x
for syntax highlighting extensionless files.
2019-08-07 15:42:16 +02:00
Juerd Waalboer
0baa40b910 Ditch minor part of version number 2019-07-02 04:40:08 +02:00
Juerd Waalboer
9f905b84d5 Abort transaction on SIGINT 2019-07-02 04:38:21 +02:00
Juerd Waalboer
5d37f7af5b New plugin: tail (undocumented feature) 2019-07-02 03:52:57 +02:00
Juerd Waalboer
66e41c14aa Disable pfand plugin by default
It requires extra configuration and most users won't need it anyway.

(Reported by pietdv.)
2019-06-18 16:00:39 +02:00
Juerd Waalboer
e2c9fe30a4 Bugfix: partial rollback of 19691e07 (repeat plugin)
Check was necessary for market items (e.g. 6 * item) after all.

(Reported by Xesxen.)
2019-06-16 22:12:27 +02:00
Juerd Waalboer
cac85bc6bf Fix indent 2019-06-07 01:25:29 +02:00
Juerd Waalboer
ab724a03f9 Bug fix: passing unchecked user input led to persistent case change 2019-05-27 22:42:48 +02:00
Juerd Waalboer
adba63da57 Fix warning in deposit_iban_qr (undef in eq) 2019-05-23 20:49:22 +02:00
Juerd Waalboer
0bd9c807a1 Update description for deposit
Creating users with deposit is deprecated.
2019-05-15 01:45:49 +02:00
Juerd Waalboer
da11114b8f Deprecate nyan, game, and creating users via deposit. 2019-05-15 01:41:27 +02:00
Juerd Waalboer
07acf7f76e Merge branch 'master' of github.com:Juerd/revbank 2019-05-14 22:18:39 +02:00
Juerd Waalboer
07aa4ea106 SNS Bank doet ook EPC QR! 2019-05-14 22:18:29 +02:00
Juerd Waalboer
8fe15dc9ac ASN Bank doet ook EPC QR! 2019-05-14 22:17:21 +02:00
Juerd Waalboer
68539e9086
Merge pull request #10 from tmsbrg/pr
Add revbank.stock & voorraad to .gitignore
2019-05-14 19:08:28 +02:00
Thomas van der Berg
d3363df2de Add revbank.stock & voorraad to .gitignore 2019-05-14 18:58:39 +02:00
Juerd Waalboer
28e45dc8a2 Document console font requirement for QR code 2019-05-12 22:41:11 +02:00
Juerd Waalboer
a6ac9368dd pod2github
Because github's in-code pod support apparently is never going to be fixed.
2019-05-12 21:54:03 +02:00