Commit Graph

25 Commits

Author SHA1 Message Date
Danny van Kooten ec64757966 solve merge conflicts 2017-01-09 19:47:50 +01: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
Matthias Loibl bf0252cabb
Fix missing import for randomdata deleted by goimports 2016-12-25 17:11:37 +01:00
Matthias Loibl 7c0cfd83a0
Run goimports on all files in the project to format imports 2016-12-25 16:37:45 +01:00
Matthias Loibl 5824435243
Minor improvements to the Go code
* Don't log.Fatal if there's no .env, there won't be a .env if you run
with ENV variables
* Make the DSN multiline so it's easier to read
2016-12-25 16:24:40 +01:00
Danny van Kooten 4454b044d4 Add DROP TABLE statements for new total tables. 2016-12-24 15:12:55 +02:00
Danny van Kooten 68ab7985c8 Add options table. 2016-12-24 15:12:17 +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 0289ba8cfe Create `pages` table before adding foreign key restraint on `pageviews`. 2016-12-23 16:02:49 +02:00
Danny van Kooten 8ca48819d3 return error from db.SetupDatabaseConnection 2016-12-11 15:37:51 +01: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 f304b082a5 add loading indicator to most widgets 2016-12-10 18:19:44 +01:00
Danny van Kooten c79e8407a0 link to referrer site 2016-12-10 16:07:03 +01:00
Danny van Kooten 9755b72ebf fix seed 2016-12-10 15:58:54 +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 f7a1d7ff35 fix pageviews data retrieval for new table structure 2016-12-08 22:33:36 +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 265e7a2973 fix POST requests in client & add DB migrations for user tables 2016-12-08 18:44:49 +01:00
Danny van Kooten 93ee878bd3 refactor db conn into db package 2016-12-08 09:16:43 +01:00
Danny van Kooten f1c037864b replace screenshot with new graph pic 2016-12-05 17:16:14 +01:00
Danny van Kooten ab770c6c21 add country flags to country overview 2016-11-26 16:17:52 +01:00
Danny van Kooten fda7f64714 don't redraw canvas when choosing same data point 2016-11-24 13:10:40 +01:00
Danny van Kooten bdcdd95d93 initial commit 2016-11-19 22:35:23 +01:00