Commit graph

18 commits

Author SHA1 Message Date
Juerd Waalboer
38a0229899 Ditch floating point numbers, use cents instead; bump version to 3.2 2021-12-02 22:18:06 +01:00
Juerd Waalboer
2f182b34ed Support +1 and -1 2021-08-10 21:53:24 +02:00
Juerd Waalboer
cbaf86a23e Support non-repeatable entries 2021-07-28 00:40:36 +02:00
Juerd Waalboer
f7a7a19d8d Fix #7 2020-03-01 06:16:08 +01:00
Juerd Waalboer
73cfe8c0e4 There is no last item in an empty list 2020-01-29 01:12:06 +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
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
1a9044df4f repeat: prettier placeholder 2019-11-05 03:26:47 +01:00
Juerd Waalboer
7c32eaeb3f Remove dead code 2019-11-05 02:56:42 +01:00
Juerd Waalboer
1cbc906f1e Further update to new ledger-like internals 2019-11-05 00:57:39 +01: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
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
19691e07b8 Remove overzealous checks from repeat plugin
There are some cases where repetition can be used with multi user transaction,
specifically if the repetition is done before any multi user stuff is added...
2019-05-12 21:47:06 +02:00
Juerd Waalboer
b31b95ca37 Bugfix: 'stock' counted 1 after using 'repeat'
The 'stock' plugin uses the 'product_id' field in the cart item, but
this was not copied by the 'repeat' plugin. The confusion is caused by a
mismatch between the API for RevBank::Cart->add and the internal
representation.
2018-06-09 23:47:21 +02:00
Juerd Waalboer
60b50d6e42 Provide description for repetition commands 2017-04-24 22:29:48 +02:00
Juerd Waalboer
714b337ae2 For syntax highlighting 2017-03-26 23:02:53 +02:00
Juerd Waalboer
aa8c1c9f32 plugins/repeat: fix bad interaction with plugins/market 2017-03-26 21:01:34 +02:00
Juerd Waalboer
add3100401 New plugin: repeat (undocumented), new hook: "added" 2017-02-19 00:41:20 +01:00