Commit graph

30 commits

Author SHA1 Message Date
ae3cc20c74 Bitlair plugins 2025-03-29 16:11:47 +01:00
Juerd Waalboer
bf4ec30642 nomoney plugin
Prevents (parts of) transactions if a user does not have sufficient
money.

The default configuration allows negative balances for buying products
and for multi-user takes.
2024-11-17 02:52:38 +01:00
Juerd Waalboer
4664245b8b Add plugin 'sighup' 2023-11-02 03:12:17 +01:00
Juerd Waalboer
e613ff28e6 Update default/example revbank.plugins 2023-09-20 20:13:16 +02:00
Juerd Waalboer
8f781dae6c Add simple GS1 "Digital Link" and "Element String" support
Also has a regex for some known promotional URLs that don't adhere to
the Digital Link standard.
2023-09-18 01:37:35 +02:00
Juerd Waalboer
0dcacfc659 Upstream support for angel-foo input as alias for foo.
This replaces the revspace_angel plugin at RevSpace.
2023-09-18 01:35:11 +02:00
Juerd Waalboer
d0f3debbe5 New plugin: cash_drawer (example code; incomplete) 2023-02-14 00:31:41 +01:00
Juerd Waalboer
3127212fad revbank.plugins overhaul
For a slightly better experience for new installations. Admins of
existing revbank installations should read UPGRADING.md for information
on how to update the revbank.plugins file.

- withdraw is now under the specific commands
- more non-commands things moved to the first category
- some plugins added, defaults changed
2023-02-12 22:01:55 +01:00
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