Commit graph

465 commits

Author SHA1 Message Date
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
Juerd Waalboer
18d1a552fb Shebangs voor syntax highlighting 2013-02-26 04:42:45 +01:00
Juerd Waalboer
be519353c6 Symlink so github sees a README. 2013-02-26 04:32:26 +01:00
Juerd Waalboer
c157ea0214 RevBank 2.0, a rewrite. It's plugin based now. 2013-02-26 04:11:13 +01:00
Juerd Waalboer
b9a598fb69 Slightly better comments 2013-02-26 04:09:15 +01:00
RevBar
478c93cbeb Change 'take' prompt and strip whitespace from input 2011-06-10 01:31:46 +02:00
RevBar
35100c59ef Tab completion for yes/no ;) 2011-06-10 01:23:04 +02:00
RevBar
9b9c255a1c "ABORTING TRANSACTION" in bold + underline 2011-06-10 01:21:28 +02:00
RevBar
7cbedf40ea Commands case insensitive + whitespace allowed around abort 2011-06-10 01:09:36 +02:00
RevBar
f81996e6ac s/logline/printlog/g 2011-06-10 01:05:04 +02:00
RevBar
d91e8c09b6 Prompt decorations 2011-06-10 01:04:26 +02:00
RevBar
976c0e43da Merge branch 'master' of github.com:Juerd/revbank 2011-06-10 00:44:46 +02:00
Juerd Waalboer
56338792e0 Readline support with tab completion 2011-06-10 00:38:14 +02:00
bar
bdc428ff98 Hall of Shame 2011-05-18 02:52:05 +02:00
bar
e970a440fa Empty accounts file 2011-05-16 22:04:47 +02:00
bar
7d2e4e9c94 data voortaan alleen lokaal: geen git push 2011-05-16 22:03:27 +02:00
bar
fdd993714e s/production/example/ 2011-05-16 21:57:08 +02:00