Juerd Waalboer
df8c84672d
tail/users: fix warning when used with old log files
2023-11-02 04:45:03 +01:00
Juerd Waalboer
0f5cdca0f9
users: add missing tab completion for 'log' command
2023-11-02 03:58:02 +01:00
Juerd Waalboer
0202ab38ac
users: color negative balance red
2023-07-11 22:41:39 +02:00
Juerd Waalboer
be204b9ad8
users: reformat user log view
...
Shaves 7 characters off for most lines, and gets rid of infamous
GAIN/LOSE display.
The terms "GAIN" and "LOSE" were originally introduced because having
negative numbers everywhere would look too, er, negative, and having a
"+" for positive numbers would get hard to notice in a right aligned
list. The visibility of the "+" was fixed a while ago, simply by adding
a space between the sign and the number, and now the same style is
applied to the user log view.
Old:
2023-07-05 06:24:54 LOSE 2 1.80 Example [2x 0.90]
2023-07-07 20:55:53 GAIN 1 20.00 Received from someone (example)
New:
2023-07-05 06:24:54 1.80 2x Example [2x 0.90]
2023-07-07 20:55:53 + 20.00 Received from someone (example)
2023-07-11 03:37:09 +02:00
Juerd Waalboer
b19609c6f6
Show deposit tokens on user info
...
Also, singular without s
2023-01-17 20:29:17 +01:00
Juerd Waalboer
e748566913
Silence warnings if there are <10 transactions
2022-12-25 02:10:22 +01:00
Juerd Waalboer
a2e0512ff5
Add help2 line for log
2022-11-14 20:34:40 +01:00
Juerd Waalboer
ad168a87e1
Tab completion for log command
2022-11-01 18:51:52 +01:00
Juerd Waalboer
50675af660
Case insensitive sort
2022-11-01 04:50:52 +01:00
Juerd Waalboer
4613a14a9f
pager: don't scroll down for non-log
...
+ some code moved around in TextEditor
2022-11-01 04:48:49 +01:00
Juerd Waalboer
a18ef9939a
Sort shame
2022-11-01 04:45:59 +01:00
Juerd Waalboer
900539af5a
Use internal pager + new command "log"
...
No pager for "shame" because Curses::UI::TextEditor doesn't do color. If
it doesn't fit on the screen, you have bigger problems anyway.
2022-11-01 04:34:16 +01:00
Juerd Waalboer
3a07b8eadb
Use string amounts for balance
...
Doesn't change anything in practice
2022-06-12 02:17:44 +02:00
Juerd Waalboer
441bf05fde
Bump to v3.4; make all transactions balanced using hidden accounts
...
See UPGRADING.md for details.
2022-06-11 18:51:26 +02:00
Juerd Waalboer
f262bce57c
Split "help" into "help" and "help2"; ditch pager
2022-06-11 16:31:44 +02:00
Juerd Waalboer
eed0db7897
Cleanup: use subroutine signatures, remove deprecated methods.
...
The signatures feature has been "experimental" since Perl 5.20 (May 2014), but
expected to stay. After 8 years I'm ready to take the risk :)
Have added Perl v5.28 (June 2018) as the minimum requirement, even though the
current revbank should work with 5.20, to see if this bothers any users. Perl
v5.28 is in Debian "buster", which is now oldstable.
2021-12-03 18:00:34 +01:00
Juerd Waalboer
f7a7a19d8d
Fix #7
2020-03-01 06:16:08 +01:00
Juerd Waalboer
bb8c52b593
Do provide final cart when no pending cart was ever shown...
2019-11-06 06:13:18 +01:00
Juerd Waalboer
1f21d49bb9
Drop details of final transaction
...
They're the same as the last "pending" display, anyway.
2019-11-06 03:24:35 +01:00
Juerd Waalboer
fa60e1081a
chmod 644 plugins/*
...
Undoes 714b337
because github seems to no longer require chmod +x
for syntax highlighting extensionless files.
2019-08-07 15:42:16 +02:00
Juerd Waalboer
5a10c8f8a2
Fix over-escaping in recent transactions
...
Recently a bug was fixed by escaping input, but that escaping only does the
right thing in double quotes (qq).
2015-11-04 21:12:04 +01:00
Juerd Waalboer
863e4f6e91
SECURITY: fix arbitrary code injection in recent transactions list.
2015-10-20 22:12:37 +02:00
Juerd Waalboer
4b433a15aa
Recent transactions for user
2015-09-20 00:13:37 +02:00
Juerd Waalboer
d11d31ec2e
Negative balances in red.
2013-02-28 02:07:43 +01:00
Juerd Waalboer
cf266153da
Shame: negative amounts in red, sort.
2013-02-26 14:50:47 +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
c157ea0214
RevBank 2.0, a rewrite. It's plugin based now.
2013-02-26 04:11:13 +01:00