Commit Graph

14 Commits

Author SHA1 Message Date
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 7dc7dee2f4 Get rid of /api/countries endpoint for now. 2016-12-24 15:11:36 +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 c07b220c2d Allow for `-port` CLI argument. 2016-12-24 11:00:29 +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 593b3563d6 gofmt project 2016-12-11 14:50:01 +01:00
Danny van Kooten 2f110fc059 abstract total visitor count away into count package 2016-12-11 11:53:03 +01:00
Danny van Kooten f25c18a7fe introduced table to x1000 UI performance when working with big datasets 2016-12-11 10:58:58 +01:00
Danny van Kooten f3e8731fae add /referrers endpoint and show table with referrers in period 2016-12-10 14:31:46 +01:00
Danny van Kooten a68c97e701 normalize data & seperate visitors into their own table 2016-12-10 14:16:05 +01:00
Danny van Kooten 963716b1be add tables for pages & sites & normalize data into those tables 2016-12-08 22:20:40 +01:00
Danny van Kooten 28a65501af add seed_database command 2016-12-08 21:07:24 +01:00
Danny van Kooten 549b4bb055 do not export commands & add delete_user command 2016-12-08 20:57:44 +01:00
Danny van Kooten 679dc190ae add CLI functionality to main package, with create_user command 2016-12-08 20:45:26 +01:00