Commit Graph

15 Commits

Author SHA1 Message Date
Danny van Kooten 13216033b8 update readme with new db migration & vendor sync command 2017-01-09 21:07:41 +01:00
Danny van Kooten 7be11887ad Calculate point percentages separately & query total of metric. 2016-12-25 18:47:11 +02:00
Danny van Kooten 3d93e03e13 When running `-archive_data` multiple times a day, recount current day & update previous archived values. 2016-12-25 18:24:53 +02:00
Danny van Kooten 4a7dcf9439 Instead of querying total, calculate it from row values instead. 2016-12-24 15:57:37 +02:00
Danny van Kooten 3a99939800 Store `last_archived` option after storing aggregated daily totals & use that when re-running `-archive_data` command. This speeds up the archive command considerably & allows for multiple runs a day. 2016-12-24 15:14:25 +02:00
Danny van Kooten 1b107a55d5 Get rid of `archive` table & introduce `total_*` tables for each metric. 2016-12-24 13:07:33 +02:00
Danny van Kooten 84bc9e6e99 Remove `count.CreateArchives` func since we never want to call that from anything other than CLI anyway. 2016-12-24 10:00:16 +02:00
Danny van Kooten 0156385be1 Add archive logic for browser names 2016-12-23 17:52:08 +02:00
Danny van Kooten 4dd16daa98 Add archive logic for browser languages 2016-12-23 17:39:55 +02:00
Danny van Kooten e7cca8ee72 Add archive logic for screen sizes 2016-12-23 16:49:23 +02:00
Danny van Kooten 1d75102d5f Fix gometalinter issues throughout count package. 2016-12-23 16:03:11 +02:00
Danny van Kooten 6b672c55b4 archive pageviews per page 2016-12-11 16:23:13 +01:00
Danny van Kooten 593b3563d6 gofmt project 2016-12-11 14:50:01 +01:00
Danny van Kooten 526a9aae28 add test for count.fill func 2016-12-11 14:33:05 +01:00
Danny van Kooten 4468b70601 Abstract calculating totals per category into count.Custom 2016-12-11 12:52:10 +01:00