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
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
Danny van Kooten
e6704faa66
add goreleaser config file
2018-10-30 19:26:01 +01:00
Danny van Kooten
17577d852b
fix timezone issue for dates coming from pikaday, which are not taking wintertime into account somehow. relates to #134
2018-10-30 16:27:17 +01:00
Danny van Kooten
69870d6fa8
fix watch task for gulp 4.x compat
2018-10-30 16:26:35 +01:00
Danny van Kooten
5c69fb61ec
update gulp to 4.x
2018-10-30 16:14:36 +01:00
Samuel Meuli
036c369333
make SiteSwitcher work on touch devices ( #164 )
1.1.1
2018-10-26 15:42:06 +02:00
Danny van Kooten
a9ed76f4d4
update js deps & stop failing on pikaday error for missing moment.js
2018-10-24 10:21:58 +02:00
Danny van Kooten
96dca09e2b
update link to wiki in readme
2018-10-24 10:09:57 +02:00
Danny van Kooten
e64fe5ec9a
Docs ( #171 )
...
* add docs dir
* update links in docs
* use relative links
2018-10-24 10:06:17 +02:00
tomasandrle
d5cdd91254
Mention NPM as requirement for building. ( #166 )
2018-10-19 09:55:56 +02:00
Danny van Kooten
15c1c07165
log level at server boot should be info
2018-10-19 09:05:20 +02:00
Danny van Kooten
22121a8f05
wait for document.body to load before appending tracking img, #165
2018-10-19 09:05:07 +02:00
Danny van Kooten
5e700a2cd8
namespace tracker js to get out of global scope. fixes #163
2018-10-17 13:32:10 +02:00
Danny van Kooten
9b6c102b74
provide static builds for linux/arm64 and linux/386. closes #158
2018-10-16 09:36:30 +02:00
Danny van Kooten
7472325503
timestamp asset url's to always bust cache when rebuilding. closes #157
2018-10-16 09:03:46 +02:00
Danny van Kooten
04c5a8cf33
Merge branch 'master' of https://github.com/usefathom/fathom
...
* 'master' of https://github.com/usefathom/fathom :
fix navigation with arrow keys (#160 )
fix URL encoding of site switcher arrows (#159 )
2018-10-16 08:51:33 +02:00
Danny van Kooten
4189fc544b
add noscript tag to main html page
2018-10-16 08:51:32 +02:00
Samuel Meuli
43160ea288
fix navigation with arrow keys ( #160 )
...
* fix navigation with arrow keys
* replace deprecated KeyboardEvent.keyCode
2018-10-15 22:31:23 +02:00
Samuel Meuli
2d4eb154df
fix URL encoding of site switcher arrows ( #159 )
2018-10-15 20:49:22 +02:00
Danny van Kooten
e42b58c2b5
minor readme improvements
2018-10-15 09:22:03 +02:00
Danny van Kooten
b448dd5ea7
bump version to v1.1.0
1.1.0
2018-10-15 08:52:05 +02:00
Danny van Kooten
fc5bd47f53
move table components to row 1 if showing less than 1 day of data
2018-10-10 16:43:36 +02:00
Danny van Kooten
f92d04a4ba
default value for pageview.IsBounce should be true, not false.
2018-10-10 16:38:29 +02:00
Danny van Kooten
6bc1af3564
set sqlite _busy_timeout to 5s to handle database is locked errors
2018-10-10 11:59:21 +02:00
Danny van Kooten
3b99e78135
set sqlite _busy_timeout to 5s to handle database is locked errors
2018-10-10 11:59:17 +02:00
Danny van Kooten
00b0261bc3
remove tracking snippet from README as it's now obsolete (dashboard shows tracking snippet)
2018-10-10 10:58:53 +02:00
Danny van Kooten
39a7fd249d
re-use img.onload and use timeout as failsafe to always remove img from DOM. #148
2018-10-10 10:57:45 +02:00
Danny van Kooten
470db5189d
get rid of some column placeholders so we can increase buffer cap #132
2018-10-10 10:50:05 +02:00
Danny van Kooten
e82e363613
Merge branch 'master' of https://github.com/usefathom/fathom
...
* 'master' of https://github.com/usefathom/fathom :
remove tracking image after it finished loading
2018-10-10 10:28:13 +02:00