Commit Graph

17 Commits

Author SHA1 Message Date
Danny 958e653b1f set explicit charset for mysql tables to workaround key limit of 7xx bytes. #58 2018-06-13 09:56:32 +02:00
Danny 50c0d9ccd0 add NULLIF in group statement because of go null values = empty string 2018-06-08 16:00:32 +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
Jay Nagpaul 0ab5d12e1b Fix Postgres Migration 2018-06-07 16:36:31 -04:00
Danny 7bf8978cb6 use a single http request to fetch all data for left-sidebar 2018-06-04 12:53:17 +02:00
Danny a72df6274f generate sql statement dynamically 2018-06-01 13:21:54 +02:00
Danny 8c6e07255f failsafe sql for referrer migrations 2018-06-01 13:21:40 +02:00
Danny c9213b0b72 set pipe concat mode when using mysql 2018-06-01 11:44:11 +02:00
Danny 6f45edc790 fix groupby with null values 2018-06-01 11:43:59 +02:00
Danny b856477d2a fix sqlite datastore compat, concat does note xist there 2018-05-30 13:29:20 +02:00
Danny 071ea5ace0 split hostname and pathname in referrers table 2018-05-30 12:50:28 +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 eddb1e9566 write info level after connecting to database 2018-05-25 14:12:32 +02:00
Danny fc35d68926 output log messages during bootstrap, eg with config file location 2018-05-23 09:03:42 +02:00
Danny 7c3cecad09 use errorf log when database migrations fail 2018-05-22 16:20:43 +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