Commit Graph

9 Commits

Author SHA1 Message Date
Stoiko Ivanov
367681b750 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>
2021-02-10 10:45:08 +01:00
Thomas Lamprecht
c87d46fbe8 tree wide: eslint --fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:17:15 +02:00
Dominik Csapak
c17f9fe4d0 jslint: if needs a block
single statements after if can be confusing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:30:58 +02:00
Dietmar Maurer
c1a5d15012 StatStore: new flag autoReload
So that we can disable listening to pmgStatTimeSelectorUpdate events.
2017-09-06 09:32:09 +02:00
Dietmar Maurer
89399b2f84 StatStore.setUrl - abort pending request, clear data, do not call reload 2017-09-06 08:57:20 +02:00
Dietmar Maurer
d6d1af0e2b cleanup: use Ext.data.Proxy.Ajax.abort() 2017-09-06 07:22:39 +02:00
Dietmar Maurer
4423074471 StatStore.js: allow store with undefined staturl, implement setUrl helper 2017-09-05 10:17:37 +02:00
Dietmar Maurer
3b560b747d StatStore.js: new flag includeTimeSpan 2017-08-31 10:45:11 +02:00
Dietmar Maurer
42a0470de2 add store to read statistics using timeframe from StatTimeSelector 2017-08-31 06:24:13 +02:00