revbank/lib/RevBank
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
..
Cart More contrast 2023-02-12 17:51:17 +01:00
Amount.pm Suppress warning when -cash does not yet exist 2022-06-12 02:31:29 +02:00
Amount.pod typo 2022-06-12 02:34:34 +02:00
Cart.pm Fix deduplication bug, refactor deduplication to own plugin 2023-02-12 17:53:14 +01:00
Eval.pm cwd is no longer in @INC in new perl versions 2017-02-18 22:31:19 +01:00
FileIO.pm Release locks on abort 2023-01-16 01:17:33 +01:00
FileIO.pod Implement global advisory lock 2022-08-29 17:50:12 +02:00
Global.pm Implement global advisory lock 2022-08-29 17:50:12 +02:00
Messages.pm Bump to v3.4; make all transactions balanced using hidden accounts 2022-06-11 18:51:26 +02:00
Plugin.pm Cleanup: use subroutine signatures, remove deprecated methods. 2021-12-03 18:00:34 +01:00
Plugins.pm Allow hook_prompt to mutate the prompt, like before, and use that 2023-01-19 03:04:35 +01:00
Plugins.pod Document hook_checkout_prepare 2023-01-16 04:00:20 +01:00
TextEditor.pm pager: don't scroll down for non-log 2022-11-01 04:48:49 +01:00
TextEditor.pod bump to v3.5; add built-in editor 2022-08-30 20:45:01 +02:00
Users.pm Implement global advisory lock 2022-08-29 17:50:12 +02:00