Commit Graph

632 Commits

Author SHA1 Message Date
Danny van Kooten e88bf64a39 set default period correctly 2018-12-04 11:09:01 +01:00
Danny van Kooten e2fb3aa942 re-add today view to date presets (1d) 2018-12-04 11:05:16 +01:00
Danny van Kooten 8f436eeb33 get rid of references to latest-development. #191 2018-12-03 09:15:15 +01:00
Danny van Kooten 8f7c6d2e45 don't track request if page is served from local filesystem (instead of over http). closes #190 2018-11-30 10:19:36 +01:00
Danny van Kooten 9b7acf21e4 improve chart ticks & tooltip content 2018-11-30 10:14:43 +01:00
Danny van Kooten be3b39e669 fix to 1st of month when grouping chart by month 2018-11-30 09:30:20 +01:00
Danny van Kooten 3656fef69d discard requests to /collect with missing requried query vars 2018-11-26 10:37:52 +01:00
Danny van Kooten d62c9b9f81 add chart group options to navbar (hour, day, month).
we should probably enforce 1st of month date when choosing 'month'
2018-11-23 14:10:29 +01:00
Danny van Kooten cae987cfbf show less ticks in chart x-axes when viewing 15-31 data points 2018-11-23 11:21:36 +01:00
Danny van Kooten f5cd87feb9 pretty number format in chart y-axes 2018-11-23 08:49:38 +01:00
Danny van Kooten a8e2989f3a center-align text in date picker inputs 2018-11-23 08:44:51 +01:00
Danny van Kooten d884567574 update npm lock file 2018-11-22 21:39:13 +01:00
Danny van Kooten a04307e0de use LIMIT #, OFFSET # syntax for compat across all database drivers. fixes #188 2018-11-22 21:19:52 +01:00
Danny van Kooten 239f880c73 clean-up state from date range timestamps 2018-11-21 14:41:01 +01:00
Danny van Kooten 5143265dee change date preset options + styling. closes #149 2018-11-21 14:12:40 +01:00
Danny van Kooten 072addddaf only show pagination row when table rows are at limit OR when in paginated result already 2018-11-20 15:10:27 +01:00
Danny van Kooten 019b7c9743 show pagination arrows in table component which allows paginating the table results. closes #153 2018-11-20 12:11:35 +01:00
Danny van Kooten e24c06aadd correctly set version, commit & date through ldflags in goreleaser config. closes #186 2018-11-20 09:25:24 +01:00
Danny van Kooten 0888451e70 Trigger Docker auto-build.. 2018-11-19 14:10:10 +01:00
Danny van Kooten a802b90003 rm unused dependencies 2018-11-19 11:31:09 +01:00
Danny van Kooten 1d29956651 rm db from repo 2018-11-19 11:29:44 +01:00
Danny van Kooten 6f456ff496 fix goreleaser arguments 2018-11-19 11:27:56 +01:00
Gero Gerke a66f9ed867 Improve Accessibility (#184) 2018-11-17 22:11:25 +01:00
Danny van Kooten da87d2a173 fix aggregate queries for postgresql 2018-11-14 14:14:19 +01:00
Danny van Kooten dfa56ccb12 revert updates for packr... 2018-11-14 13:44:03 +01:00
Danny van Kooten da6ffde2ea speed up host & pathname migration by using UNION. perform VACUUM for SQLite migrations. 2018-11-14 12:40:01 +01:00
Danny van Kooten 00d265764a update go deps 2018-11-14 12:02:41 +01:00
Danny van Kooten f5ddb54828 call binary directly in dockerfile 2018-11-14 11:48:54 +01:00
Danny van Kooten e92b4b9a29 clean-up route & func names 2018-11-14 11:47:47 +01:00
Danny van Kooten 9be2f9df99 merge visitor & pageview bar in graph so we get a stacked bar chart, as visitors # will always be lower or equal. closes #119 2018-11-14 10:41:14 +01:00
Danny van Kooten 7ccdea4535 don't COALESCE when it's unnecessary 2018-11-14 10:27:14 +01:00
Danny van Kooten 5610a0a4f2 Merge branch 'hourly-storage' 2018-11-14 10:04:16 +01:00
Danny van Kooten 06cf98b520 include hourly ticks in the right hour range 2018-11-14 09:59:25 +01:00
Danny van Kooten bdd0c5a5c0 set local timezone to UTC on app boot 2018-11-14 09:31:47 +01:00
Danny van Kooten b5ee8ea5f0 in postgresql, pageviews.timestamp column should be without timezone 2018-11-14 09:31:34 +01:00
Vincent 40ba2e26da Adding gzip compression for HTTP and Headers for tracker's sec (#181)
Thanks @ViBiOh!
2018-11-13 15:25:55 +01:00
Danny van Kooten 2ca1e0f36e switch to hourly storage for stats.
- allows showing an hourly chart on the 'today' view
- fixes timezone issues when in 'today' view #134
- increases size of stats tables by factor 24, but that should be less of an issue after dbcadcd737
2018-11-13 15:23:18 +01:00
Danny van Kooten 21c0f97b1b cannot vacuum from inside a transaction 2018-11-13 11:16:23 +01:00
Danny van Kooten dbcadcd737 normalize hostname and pathname columns
to save on disk storage
2018-11-12 14:45:21 +01:00
Danny van Kooten 69986d9215 Merge branch 'master' of github.com:usefathom/fathom 2018-11-09 10:39:21 +01:00
Danny van Kooten bca066b614 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
Tom McCleery 825792474c Update README.md (#179)
Added 3rd level heading so separate production and development installation section.
2018-11-05 19:56:43 +01:00
Danny van Kooten 9589072e42 use relative url for loading assets. closes #77 2018-11-02 13:40:01 +01:00
Danny van Kooten cb25b267da show only database name and maybe host when logging successful db connection. #174 2018-11-02 12:30:34 +01:00
Danny van Kooten 4dec431c4b use unexported values for sqlstore.Config struct fields 2018-11-02 11:50:43 +01:00
Danny van Kooten dc1573cc56 allow passing vars to fathom('trackPageview') which override parsed data. see #178 2018-11-02 11:35:50 +01:00
Danny van Kooten fa46af7864 provide prebuilt binaries for openbsd & freebsd too 2018-11-01 09:36:11 +01:00
Danny van Kooten cd1392f095 switch to plain css so we can get rid of gulp-sass / node-sass 2018-10-31 19:56:42 +01:00
Christopher "Chief" Najewicz acd182689b Obfuscate DSN password when logging connection details, fixes #174 (#176) 2018-10-30 20:10:21 +01:00
Danny van Kooten 02c2eb93f2 move cmd into pkg/cli and simplify entry point. add goreleaser configuration for automated dist releases. 2018-10-30 20:08:48 +01:00