Danny van Kooten
e92b4b9a29
clean-up route & func names
2018-11-14 11:47:47 +01:00
Danny van Kooten
2ca1e0f36e
switch to hourly storage for stats.
...
- allows showing an hourly chart on the 'today' view
- fixes timezone issues when in 'today' view #134
- increases size of stats tables by factor 24, but that should be less of an issue after dbcadcd73772258f2d2fd781673e559d5ed74dba
2018-11-13 15:23:18 +01:00
Danny van Kooten
d4176de238
get aggregator to take site ID's into account
2018-10-05 14:19:11 +02:00
Danny van Kooten
f0eecc04cd
add sites table & site_id columns for multi-site tracking #50
2018-09-25 15:03:07 +02:00
Danny van Kooten
2ccbfbf372
add tests for aggregating site-wide stats
2018-08-09 14:43:42 +02:00
Danny van Kooten
01474759c6
add stats command for getting site-wide stats via cli.
2018-08-01 14:03:44 +02:00
Danny
7bf8978cb6
use a single http request to fetch all data for left-sidebar
2018-06-04 12:53:17 +02:00
Danny
df7496a80d
add known_durations column and use that for calculating duration averages, instead of total # pageviews
2018-05-28 15:31:40 +02:00
Danny
624e1f353a
fix json tag in models struct
2018-05-09 08:34:48 +02:00
Danny van Kooten
a8edcee54e
store avg time on site as float to not race to 0
2018-05-08 20:16:31 +02:00
Danny
fe7eee2b73
clean-up data structure & add indices
2018-05-08 10:45:17 +02:00
Danny van Kooten
ca3d258174
fix params test
2018-05-08 09:11:32 +02:00
Danny
dac50c3da9
start cleaning up & implement page stats again
2018-05-07 17:01:20 +02:00
Danny van Kooten
082073afb8
[wip] move bulk of storage to client-side for improved scalability, simplicity and privacy. see #14 .
2018-05-06 11:53:19 +02:00