12 Commits

Author SHA1 Message Date
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
dbcadcd737 normalize hostname and pathname columns
to save on disk storage
2018-11-12 14:45:21 +01:00
Danny van Kooten
2f64d56771 alter stats table constraints to take site_id column into consideration 2018-10-10 09:30:52 +02:00
Danny van Kooten
ce8f585827 sqlstore GetXStats funcs should return nil when there are 0 results. #50 2018-10-10 09:02:32 +02:00
Danny van Kooten
876309ae59 clean-up sqlstore pkg 2018-10-05 14:34:39 +02: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
c1367325e6 modify all routes & queries to take a site ID parameter 2018-10-05 13:09:58 +02:00
Danny
bc86088607 set group during aggregation 2018-06-01 11:44:20 +02:00
Danny
c8a6da13e6 TODO comments so we know where to pick up 2018-05-30 13:40:59 +02:00
Danny
071ea5ace0 split hostname and pathname in referrers table 2018-05-30 12:50:28 +02:00
Danny van Kooten
3b8a884991 godoc improvements 2018-05-21 11:54:01 +02:00
Danny
c30e5b3120 introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00