Commit graph

81 commits

Author SHA1 Message Date
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
Juerd Waalboer
6a6ce32791 Stock plugin for hack42. 2013-02-28 01:52:43 +01:00
Juerd Waalboer
4df8d427ed Optimize select_items for the most common use case: key exists. 2013-02-28 01:44:46 +01:00
Juerd Waalboer
551c22c8ba Product ID in cart items internal metadata + alias support.
The alias support is implemented in products, but not in market.

The product ID in the cart items is useful for plugins that hook the checkout.
2013-02-28 01:42:33 +01:00
Juerd Waalboer
788dc3dc12 Internal metadata in cart items + smart matching for items. 2013-02-28 01:22:31 +01:00
Juerd Waalboer
c1db0fc1e9 Treat product database as user input. 2013-02-27 23:12:13 +01:00
Juerd Waalboer
ac1c7235f7 Prevent negative prices for products 2013-02-26 23:06:55 +01:00
Juerd Waalboer
240ae5f205 Formatting 2013-02-26 23:06:37 +01:00
Juerd Waalboer
7321b99c6b New plugin: market
Hackerspace members sell their surplus components, space profits.
2013-02-26 23:05:37 +01:00
Juerd Waalboer
b3e2dd9a68 nyan 2013-02-26 21:16:00 +01:00
Juerd Waalboer
f29078d173 Merge pull request #2 from praseodym/nyan
NYAN NYAN NYAN NYAN NYAN NYAN
2013-02-26 12:14:05 -08:00
Mark Janssen
5c51ed182b NYAN NYAN NYAN NYAN NYAN NYAN 2013-02-26 20:32:52 +01:00
RevBar
596563c50e Merge branch 'master' of github.com:Juerd/revbank 2013-02-26 20:27:17 +01:00
RevBar
116be18b2f WTH, no $EDITOR :) 2013-02-26 20:26:45 +01:00
Juerd Waalboer
567ab6651b Undo's ook ignoren 2013-02-26 19:32:52 +01:00
Mark Janssen
3573403a4a gitignore log file 2013-02-26 19:28:23 +01:00
Juerd Waalboer
620f31bd82 Typo.
I was also editing Trello cards when writing this :). Still, this is
definitely a cart, not a card.
2013-02-26 14:52:47 +01:00
Juerd Waalboer
cf266153da Shame: negative amounts in red, sort. 2013-02-26 14:50:47 +01:00
Juerd Waalboer
2020bfea20 Use canonical username, not the raw user input. 2013-02-26 13:02:22 +01:00
Juerd Waalboer
3f32f020c8 Hide "Enter username to pay/finish" when cart is emptied. 2013-02-26 13:00:42 +01:00
Juerd Waalboer
2575468cf3 Allow withdrawing 0.00 because it can be useful. 2013-02-26 12:58:15 +01:00
Juerd Waalboer
4995e84b83 Git highlight alleen met +x? Okay, dan doen we +x :-) 2013-02-26 04:44:29 +01:00