Commit graph

22 commits

Author SHA1 Message Date
Juerd Waalboer
fffb2d72e9 Fix deduplication bug, refactor deduplication to own plugin
(Bumps version to 3.8 because admins should update the plugin list.)

Deduplication didn't work on quantified additions, i.e. if you added
"20x clubmate" when there was already clubmate in the cart, it would add
just ONE item, and have a lingering message that the next thing would be
multiplied by 20.

This old bug was especially annoying if there is a barcode "20x
clubmate" to scan 20 bottles (which is the size of a crate), and this is
repeated.

The fix also uncovered another bug: newly added entries were selected
too early. There are two hooks, hook_add_entry and hook_added_entry, and
of course the selection should happen in between, not before the former.
No entry in UPGRADING.md, because I think it is extremely unlikely that
any plugin author will have used the selection feature yet, which is
very new.
2023-02-12 17:53:14 +01:00
Juerd Waalboer
10d1965bf0 Add 'void' command 2023-01-19 05:26:58 +01:00
Juerd Waalboer
da523f8daa v3.6: products overhaul
New features, new documentation.
2022-12-25 05:32:00 +01:00
Juerd Waalboer
8998566068 Remove "pfand" plugin
Originally written as a proof of concept demo. Reportedly it's broken
and cumbersome to use anyway, because of the external config file.

I don't think anyone is actually using this right now.
2022-12-25 02:10:18 +01:00
Juerd Waalboer
064841c25e Add cash box tracking with new plugin "cash" 2022-06-11 21:16:47 +02:00
Juerd Waalboer
681db369e7 New command: skim, for adjusting the amount in the cashbox
Generally intended for board members only, so not listed in "help".
2022-06-11 20:02:42 +02:00
Juerd Waalboer
9b582d5f9b Different order needed for new +1/-1 feature 2021-08-10 21:55:03 +02:00
Juerd Waalboer
da043ba2df New plugin: beep on error
If you computer beeps, that is. Most revbank setups run on raspberry pi's,
which don't beep...
2019-11-08 03:41:49 +01:00
Juerd Waalboer
66e41c14aa Disable pfand plugin by default
It requires extra configuration and most users won't need it anyway.

(Reported by pietdv.)
2019-06-18 16:00:39 +02:00
Juerd Waalboer
da11114b8f Deprecate nyan, game, and creating users via deposit. 2019-05-15 01:41:27 +02:00
Juerd Waalboer
de01c5fa23 Microdocumentation :) 2019-05-12 21:45:44 +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
Juerd Waalboer
340bebf0d8 Nieuwe plugin: grandtotal
Idee van hobbybob @ bitlair
2015-07-05 21:15:24 +02:00
Edwin Eefting
bc103a242a highscore 2014-08-09 04:20:36 +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
Juerd Waalboer
972df6150d New plugin: pfand (to demonstrate the new "add" hook) 2013-02-28 13:16:48 +01:00
Juerd Waalboer
6a6ce32791 Stock plugin for hack42. 2013-02-28 01:52:43 +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
c157ea0214 RevBank 2.0, a rewrite. It's plugin based now. 2013-02-26 04:11:13 +01:00