fathom/pkg/api
Danny van Kooten 5610a0a4f2 Merge branch 'hourly-storage' 2018-11-14 10:04:16 +01:00
..
api.go introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29 2018-05-15 13:30:37 +02:00
auth.go return json error when authorization middleware fails 2018-10-09 11:17:13 +02:00
auth_test.go sanitize email address before saving to datastore 2018-09-10 09:26:15 +02:00
collect.go improved referrer parsing. match hostname against blacklist using community-maintained blacklist file graciously provided by Matomo (https://github.com/matomo-org/referrer-spam-blacklist). closes #170 relates to #154 2018-11-09 10:39:14 +01:00
collect_test.go strip AMP & UTM vars from referrer urls. closes #37 2018-05-22 10:30:35 +02:00
health.go Adding /health endpoint and using it in container 2018-09-17 17:20:48 +02:00
http.go Adding gzip compression for HTTP and Headers for tracker's sec (#181) 2018-11-13 15:25:55 +01:00
http_test.go update test for respond func 2018-09-21 10:50:34 +02:00
page_stats.go modify all routes & queries to take a site ID parameter 2018-10-05 13:09:58 +02:00
params.go modify all routes & queries to take a site ID parameter 2018-10-05 13:09:58 +02:00
params_test.go fix params test 2018-05-08 09:11:32 +02:00
referrer_stats.go modify all routes & queries to take a site ID parameter 2018-10-05 13:09:58 +02:00
routes.go switch to hourly storage for stats. 2018-11-13 15:23:18 +01:00
site_stats.go switch to hourly storage for stats. 2018-11-13 15:23:18 +01:00
sites.go default to site_id 1, even though it may not exist yet 2018-10-05 16:07:15 +02:00