Commit Graph

59 Commits

Author SHA1 Message Date
Danny van Kooten 9d0bee4372 add test for respond func 2017-01-15 16:12:14 +01:00
Danny van Kooten 3a46eda0ee move pageviews struct to API endpoint 2017-01-13 16:46:09 +01:00
Danny van Kooten 626de69c95 generate unique visitor key from date + ip + user agent 2017-01-13 16:45:17 +01:00
Danny van Kooten 9200df8569 envelope all json responses in api endpoints 2017-01-13 12:46:54 +01:00
Danny van Kooten ec64757966 solve merge conflicts 2017-01-09 19:47:50 +01:00
Matthias Loibl 7c0cfd83a0
Run goimports on all files in the project to format imports 2016-12-25 16:37:45 +01:00
Danny van Kooten fd598da502 Add timestamp to Pageview model in collect method. 2016-12-24 15:57:04 +02:00
Danny van Kooten 68a7a0caa9 Add `count.RealtimeVisitors` func. 2016-12-24 15:12:01 +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 cd8e3c3d9a Get total # of visitors in each individual metric count func. 2016-12-24 15:11:15 +02:00
Danny van Kooten 86efee462a Don't export login struct. 2016-12-24 15:09:24 +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 d2ff7ede53 Add archive logic for referrers. 2016-12-24 10:00:45 +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 04a8f09e5e Remove stray fmt.Print call from screens API endpoint 2016-12-23 17:38:57 +02:00
Danny van Kooten e7cca8ee72 Add archive logic for screen sizes 2016-12-23 16:49:23 +02:00
Danny van Kooten 6b672c55b4 archive pageviews per page 2016-12-11 16:23:13 +01:00
Danny van Kooten 7104397afa add tests for parseMajorMinor func 2016-12-11 15:33:23 +01:00
Danny van Kooten 593b3563d6 gofmt project 2016-12-11 14:50:01 +01:00
Danny van Kooten 5e4b878d19 add tests for api request helper funcs 2016-12-11 14:43:11 +01:00
Danny van Kooten 4468b70601 Abstract calculating totals per category into count.Custom 2016-12-11 12:52:10 +01:00
Danny van Kooten 00f8d2cbba Use count package in /visitors/count and /pageviews/count endpoints. 2016-12-11 11:57:51 +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 9755b72ebf fix seed 2016-12-10 15:58:54 +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 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 87363cce67 return 1x1 transparent GIF in collect request 2016-12-08 12:10:13 +01:00
Danny van Kooten db819ff544 keep filling datapoints until date equals 2016-12-08 09:26:45 +01:00
Danny van Kooten 93ee878bd3 refactor db conn into db package 2016-12-08 09:16:43 +01:00
Danny van Kooten 06e9c5fdfd add limit choice to table overviews 2016-12-07 22:00:55 +01:00
Danny van Kooten a95096cee1 separate chart into component & don't redraw component, reuse chart elements 2016-12-05 21:48:33 +01:00
Danny van Kooten e314d0971f replace chartjs with d3 2016-12-04 13:23:09 +01:00
Danny van Kooten fded071f7a remove 'period' query parameter in favor of before & after 2016-11-26 17:19:15 +01:00
Danny van Kooten 512a256ebd add widget component for totals per period 2016-11-26 15:39:29 +01:00
Danny van Kooten 3c77eb14b1 add suport for x-forwarded-for header 2016-11-25 16:39:51 +01:00
Danny van Kooten 78932ede14 get secret & db creds from environment (file) 2016-11-25 16:30:38 +01:00
Danny van Kooten 11bf89350e general styling improvements 2016-11-25 13:38:20 +01:00
Danny van Kooten f767c8de9f add screen res component 2016-11-24 14:37:41 +01:00
Danny van Kooten a2a54482ff add sscreen-resolutions and countries endpoint 2016-11-24 14:18:40 +01:00
Danny van Kooten 516660b211 start table component & add languages endpoint 2016-11-24 13:55:59 +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 e0a6a16a0f clear canvas when updating chart. use stacked bar chart 2016-11-23 22:26:47 +01:00
Danny van Kooten 5c39e1f1df add period date picker 2016-11-23 21:29:54 +01:00
Danny van Kooten 11ad2d5da4 add pageviews to graph 2016-11-23 20:30:09 +01:00