642 Commits

Author SHA1 Message Date
Danny van Kooten
eb2eb726f3 keep running aggregator job until pageview pool is emptied. 2018-12-24 09:41:11 +01:00
Danny van Kooten
634baac518 explicitly declare innodb as storage engine for mysql databases & only index first 100 chars of index columns. closes #198 2018-12-24 09:10:11 +01:00
Danny van Kooten
67277ec26f increase busytimeout for sqlite to 10s 2018-12-24 09:09:22 +01:00
Danny van Kooten
e7b661316c Merge branch 'master' of github.com:usefathom/fathom 2018-12-17 10:14:14 +01:00
Danny van Kooten
c82f27f139 specify packr location instead of dotdotdot syntax. closes #196 2018-12-17 10:03:15 +01:00
Danny van Kooten
1b7ecfe34b
Merge pull request #195 from ericand/relative_url
relative url for api/session calls #77
2018-12-17 09:41:43 +01:00
Eric Andersson
360ae968bb testing fix for issue #77 2018-12-15 21:17:00 +01:00
Danny van Kooten
d6f207d1bc fallback Date constructor argument in case URL doesn't have custom period parameters 2018-12-10 09:35:42 +01:00
Danny van Kooten
02ba5b3793 use explicit route for index.html in case browser adds it. fixes #193 2018-12-10 09:32:38 +01:00
Danny van Kooten
97b17e0284 parse hash fragment for datepicker state (incl. custom dates & group by option) 2018-12-04 11:53:40 +01:00
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 v1.2.1 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 v1.2.0 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 dbcadcd73772258f2d2fd781673e559d5ed74dba
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