]> git.proxmox.com Git - pmg-gui.git/commit
statistics: use new api call for detailed stats
authorStoiko Ivanov <s.ivanov@proxmox.com>
Tue, 2 Feb 2021 13:03:17 +0000 (14:03 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 10 Feb 2021 09:45:08 +0000 (10:45 +0100)
commit367681b75020a4fc7080dddb9489f9b3450b3093
treee6d64038459501137c029b180b957a3dcc0821e3
parent27be7394e531103762c52623378fe9fee7513cd0
statistics: use new api call for detailed stats

the new /statistics/detail api calls takes the type (contact, sender,
receiver) and address for which to display the statistics as explicit
parameter instead of path-component.

This makes it possible to accept '/' as part of an e-mail address
which is allowed (in the local-part by RFC5322 [0], and accepted by
postfix.

[0] https://tools.ietf.org/html/rfc5322

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
js/ContactStatistics.js
js/ReceiverStatistics.js
js/SenderStatistics.js
js/StatStore.js