Commit graph

281 commits

Author SHA1 Message Date
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
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
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
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
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
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
28e45dc8a2 Document console font requirement for QR code 2019-05-12 22:41:11 +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
ad54918c3d Rename plugin; Add text to side of QR code 2019-05-12 21:45:27 +02:00
Juerd Waalboer
49e41ea0ea Change from Term::QRCode to qrencode; minimize QR
It's more likely that people will manage to install qrencode, than the 0.01
perl module from 2008 with broken dependencies.

Also, by eliminating optional parts of the EPC QR data, the resulting code
fits on fewer lines.
2019-05-12 21:43:16 +02:00
Wouter
edca797fe5
Add deposit method to card metadata 2019-05-12 15:59:57 +02:00
Wouter
43501201c3
Add EPC QR deposit method 2019-05-12 15:59:49 +02:00
Juerd Waalboer
37fd6cb899 Add 'split' command 2019-04-21 01:58:57 +02:00
Juerd Waalboer
3489793a97 New command: adduser
Creating users with 'deposit' was hard to explain.
2019-03-09 22:47:50 +01:00
7387b874a7 plugin/grandtotal: Initialize variables 2019-01-16 21:08:49 +01:00
Juerd Waalboer
3e49346bc5 Add "donate" command 2019-01-02 17:36:22 +01:00
Juerd Waalboer
9ef84285a4 Disable local echo during animation 2018-09-04 23:34:14 +02:00
Juerd Waalboer
7ec4d31219 Animate text 2018-09-04 23:27:18 +02:00
Juerd Waalboer
a9482754eb Support whitespace and escaped slashes in /regex/ 2018-09-04 23:17:03 +02:00
Juerd Waalboer
feddb8c788 Formatting in warning 2018-09-03 22:29:42 +02:00
Juerd Waalboer
faa1504d63 New plugin: warnings 2018-09-03 03:50:12 +02:00
Juerd Waalboer
1b744e421d Pipe 'help' through a pager. 2018-08-03 02:00:05 +02:00
Juerd Waalboer
997917ae82 New plugin: "unlisted"
Lets the user provide a description for deducting arbitrary amounts.
2018-08-03 00:58:19 +02:00
Juerd Waalboer
5c16008038 Deposit method instructions are now part of the prompt
This hides the instructions if the answer is already given in the input line.
2018-07-22 23:08:49 +02:00
Juerd Waalboer
2fbc833011 Optional extra questions after 'deposit'
Made for Bitlair but PAY ATTENTION... the IBAN in this repo is RevSpace's ;)
2018-07-22 22:52:49 +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
a9889ecefb Improve command descriptions 2017-04-24 22:22:16 +02:00
Juerd Waalboer
7247862dcc Space saving measures in help output
Underline parameters, shorten instructions.
2017-04-24 22:17:11 +02:00
Juerd Waalboer
af4d05c4da Round amounts in prompt for give/take reason 2017-04-24 21:49:20 +02:00
Juerd Waalboer
0ca37f34d8 Plugin for funding cooking supplies
Has been in use at revspace for quite a while now.
2017-04-24 21:47:39 +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
Juerd Waalboer
5a10c8f8a2 Fix over-escaping in recent transactions
Recently a bug was fixed by escaping input, but that escaping only does the
right thing in double quotes (qq).
2015-11-04 21:12:04 +01:00
Juerd Waalboer
863e4f6e91 SECURITY: fix arbitrary code injection in recent transactions list. 2015-10-20 22:12:37 +02:00
Juerd Waalboer
1f658524f0 Fix bug: "undo ?" would undo EVERYTHING.
Reported by qguv.

Cause: user input used in a regex without validation or escaping.
2015-10-01 15:48:27 +02:00
Juerd Waalboer
4b433a15aa Recent transactions for user 2015-09-20 00:13:37 +02:00
Juerd Waalboer
340bebf0d8 Nieuwe plugin: grandtotal
Idee van hobbybob @ bitlair
2015-07-05 21:15:24 +02:00
Edwin Eefting
e617466049 highscores 2014-08-09 15:46:32 +02:00
Edwin Eefting
eb7f748737 highscores 2014-08-09 15:45:27 +02:00
Edwin Eefting
c14c335689 official input method 2014-08-09 14:27:26 +02:00