Danny van Kooten
e92b4b9a29
clean-up route & func names
2018-11-14 11:47:47 +01:00
Danny van Kooten
7ccdea4535
don't COALESCE when it's unnecessary
2018-11-14 10:27:14 +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
3c934b29fc
add is_finished column indicating whether a pageview is done (ready to be aggregated). closes #123
2018-10-10 10:27:55 +02:00
Danny van Kooten
051d0addb3
fix realtime visitor count query incl. bc for pageviews without an expliti site tracking ID
2018-10-10 09:45:17 +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
1b06bd3179
change precision on numeric columns for postgres so we don't have to apply rounding. closes #116
2018-10-09 13:27:50 +02:00
Danny van Kooten
0f0db205ae
account for empty site_tracking_id in realtime visitor query
2018-10-09 11:57:56 +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 van Kooten
2ff9676043
always show at least 1 visitor if there are pageviews. #129
2018-09-19 08:21:04 +02:00
Danny
42008ab83f
get rid of session_id and move knowledge of previous pageview to client. this also gets rid of the (only) index on the pageviews table, allowing for much faster INSERT's. closes #14
2018-07-11 15:03:56 +02:00
Danny
e2294c4b6c
fix postgres errors by converting to null in divisions. closes #54 relates to #52
2018-06-08 15:39:38 +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
7adc5d3bec
wip on chart implementation using d3
2018-05-22 12:23:17 +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