Find a file
Juerd Waalboer a7a5f14e0c Introduce 'withdraw', remove "withdrawal or unlisted" feature.
This should have been done much earlier, but wasn't done for nostalgic reasons.
To new users, it didn't make sense that you could just enter an amount, and
revbank would just accept that as "withdrawal or unlisted product". It existed
for backwards compatibility with the very first revbank version, which didn't
have a product list, and which was not yet used with a barcode scanner. You
would simply enter the amount and your name, and there were no further
statistics.

Nowadays, there are statistics that are messed up if you don't use the product
codes. And some people were looking for a withdrawal command, and try 'take' as
that seems closest to it, but which instead transfers money to another account.

Additionally, some texts were changed for improved clarity. ("Enter username to
pay", when withdrawing, was confusing: one expects money back, not to pay more.)
2022-06-04 02:41:17 +02:00
lib/RevBank Introduce 'withdraw', remove "withdrawal or unlisted" feature. 2022-06-04 02:41:17 +02:00
plugins Introduce 'withdraw', remove "withdrawal or unlisted" feature. 2022-06-04 02:41:17 +02:00
t Ditch floating point numbers, use cents instead; bump version to 3.2 2021-12-02 22:18:06 +01:00
.gitignore Add revbank.stock & voorraad to .gitignore 2019-05-14 18:58:39 +02:00
README.md README 2021-12-02 23:07:44 +01:00
revbank Introduce 'withdraw', remove "withdrawal or unlisted" feature. 2022-06-04 02:41:17 +02:00
revbank.accounts Empty accounts file 2011-05-16 22:04:47 +02:00
revbank.market New plugin: market 2013-02-26 23:05:37 +01:00
revbank.plugins Different order needed for new +1/-1 feature 2021-08-10 21:55:03 +02:00
revbank.products Slightly better comments 2013-02-26 04:09:15 +01:00
UPGRADING.md Introduce 'withdraw', remove "withdrawal or unlisted" feature. 2022-06-04 02:41:17 +02:00

revbank - Banking for hackerspace visitors

Upgrading

When upgrading from a previous version, please refer to the file UPGRADING.md because there might be incompatible changes that require your attention.

Installing

  1. Install the Perl module Term::ReadLine::Gnu
Debian:  apt install libterm-readline-gnu-perl
Generic: cpan Term::ReadLine::Gnu
  1. Clone the repository, run revbank :)

Using revbank

Type help.

Even more helpful text is available on the the RevBank page on the RevSpace wiki.

Writing plugins

Read RevBank::Plugins and RevBank::Amount.

Exiting revbank

Exiting is not supported because it's desigend to run continuously. But if you run it from a shell, you can probably stop it using ctrl+Z and then kill the process (e.g. kill %1). RevBank does not keep any files open, so it's safe to kill when idle.