Commit graph

252 commits

Author SHA1 Message Date
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
3ce1874d3a Reset idle timer on character input
Requested by peterbjornx
2018-03-23 01:21:25 +01:00
Juerd Waalboer
c5c48dcd2c Split POD 2018-03-04 16:36:20 +01:00
Juerd Waalboer
4ad7129805 New hook: checkout_done 2017-05-10 22:08:33 +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
b22f281938 Shell-like '-c' for non-interactive commands 2017-03-12 21:19:21 +01:00
Juerd Waalboer
add3100401 New plugin: repeat (undocumented), new hook: "added" 2017-02-19 00:41:20 +01:00
Juerd Waalboer
b0ee7e88bf cwd is no longer in @INC in new perl versions 2017-02-18 22:31:19 +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
Juerd Waalboer
607b14f8dc Merge pull request #3 from psy0rz/master
first version completed
2015-02-20 22:33:41 +01: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
Edwin Eefting
bc103a242a highscore 2014-08-09 04:20:36 +02:00
Edwin Eefting
bea4b482b0 added scanfoo game :) 2014-08-09 03:53:10 +02:00
Juerd Waalboer
2ea1d736b0 A hook for beeping. 2014-01-11 21:37:44 +01:00
Juerd Waalboer
8f84891b0c Warn when someone leaves without paying. 2014-01-10 21:20:21 +01:00
RevBar
71817a0783 Fix a bug 2013-03-28 20:38:05 +01:00
Juerd Waalboer
e27106e5b5 Refactor "give", happens to fix bug :-) 2013-02-28 16:50:08 +01:00
Juerd Waalboer
6a614830a6 Wrong variable... 2013-02-28 16:36:48 +01:00
Juerd Waalboer
6372e30cac "give" now takes a reason like "take", only optional args between [] in help.
Contributed by BugBlue
2013-02-28 16:31:05 +01:00
Juerd Waalboer
7b088cb175 Tab completion improvements
A plugin can now specify &subroutine in the :Tab attribute; this sub will
be called as a method and can return a list of possible completions.
2013-02-28 16:04:36 +01:00
Juerd Waalboer
a9a04db525 stock: tab completion 2013-02-28 13:58:38 +01:00
Juerd Waalboer
05544439b9 New command: 'cash' to fake a checkout without any user paying for it. 2013-02-28 13:56:59 +01:00
Juerd Waalboer
c756ebe08b Pfand: tab completion 2013-02-28 13:47:50 +01:00
Juerd Waalboer
3c2fc67c9e There is no Pfand. 2013-02-28 13:36:00 +01:00
Juerd Waalboer
8a18ac38c6 pfand: metadata 2013-02-28 13:20:37 +01:00
Juerd Waalboer
972df6150d New plugin: pfand (to demonstrate the new "add" hook) 2013-02-28 13:16:48 +01:00
Juerd Waalboer
7c3f43f18a Let user be undef as per documentation 2013-02-28 13:13:26 +01:00
Juerd Waalboer
a1f20e67ce New hook: "add" 2013-02-28 13:02:28 +01:00
Juerd Waalboer
371b82baec Remove unused feature to retain compatibility with old Perl.
Blergh, Debian Squeeze (which we use on our revbank system) is still at Perl
5.10...
2013-02-28 02:16:30 +01:00
Juerd Waalboer
d11d31ec2e Negative balances in red. 2013-02-28 02:07:43 +01:00