Commit Graph

350 Commits

Author SHA1 Message Date
Danny van Kooten 50be39ff37 Tracking snippet only needs one URL change. #42 2018-05-31 08:45:46 +02:00
Danny van Kooten 7a8a351f02 use fixed graph height. fixes #41 2018-05-31 08:44:28 +02:00
Danny 2c1edc6aeb update readme 2018-05-29 15:46:45 +02:00
Danny 32693be2b0 add make dist task && separate assets build from binary build 2018-05-29 14:52:34 +02:00
Danny 2aac3d211f fix alignment in table component when there's no data 2018-05-29 13:57:59 +02:00
Danny df7496a80d add known_durations column and use that for calculating duration averages, instead of total # pageviews 2018-05-28 15:31:40 +02:00
Danny 4cf8f029af parse server-side timezone into local timezone date. closes #39 2018-05-28 04:11:09 -08:00
Danny f822dbbdb7 convert unix timestamps to local timezone for chart x-axes. fixes #39 2018-05-28 23:30:59 +12:00
Danny bf817eff8e revert padding in left sidebar 2018-05-28 23:30:21 +12:00
Danny 3d9d09f2a7 print absolute path to database if db is sqlite 2018-05-28 13:03:28 +02:00
Danny 5a89bc6f48 parse dates in preparedata function, compare using local date objects. #39 2018-05-25 05:53:17 -08:00
Danny f70a492f09 set input value property on pikaday element to make sure we have a data in initial view 2018-05-25 15:03:36 +02:00
Danny ab7f36757a choose a random port between 9000 and 9100 to decrease chance of clashing with previous installer runs... 2018-05-25 14:48:37 +02:00
Danny 116cd3cd0f write fathom version to log whenever fathom boots 2018-05-25 14:29:07 +02:00
Danny 3f97ad2557 lead-up questions with an explanation of what input is requested 2018-05-25 14:28:55 +02:00
Danny eddb1e9566 write info level after connecting to database 2018-05-25 14:12:32 +02:00
Danny a853a9f831 Merge branch 'master' of github.com:usefathom/fathom 2018-05-25 14:04:28 +02:00
Danny 6ae4a54730 set working dir in systemd file 2018-05-25 14:03:48 +02:00
Danny 60ee0d9fcb use absolute path to database in install script 2018-05-25 14:01:26 +02:00
Danny van Kooten e7e693a71c clean-up state & props delegation. destroy pikaday on unmount. 2018-05-24 17:02:19 +02:00
Danny van Kooten b414f10348 ensure pikaday date is updated when we choose a preset date range 2018-05-24 13:46:26 +02:00
Danny van Kooten a00e72f81d smart date formatting on chart x-axis 2018-05-24 13:35:43 +02:00
Danny van Kooten d4bd700513 add echo statements to install script 2018-05-24 09:38:51 +02:00
Danny 67bbdf34eb ask for letsencrypt cert installation 2018-05-23 16:14:26 +02:00
Danny 813eb460a3 increase left-margin of chart to allow for larger numbers on y-axis 2018-05-23 16:06:20 +02:00
Danny f1b2ba1775 use real cli flags for email & password args 2018-05-23 15:39:55 +02:00
Danny a152331ca8 create new fathom user after setting up config 2018-05-23 14:57:47 +02:00
Danny 05b2cc53a2 only turn relative path into absolute path 2018-05-23 14:52:38 +02:00
Danny fb36c6ae6c don't exit install script on err 2018-05-23 13:44:35 +02:00
Danny d13e31ef18 check if running install script as root 2018-05-23 13:30:19 +02:00
Danny 9752ebda94 add quick installer script 2018-05-23 13:26:24 +02:00
Danny e2218d0736 fix chart padding 2018-05-23 11:12:05 +02:00
Danny b8f0369724 add basic tooltips in chart 2018-05-23 09:56:33 +02:00
Danny c5b0d051a2 stretch totals sidebar to top, move chart to right area 2018-05-23 09:24:55 +02:00
Danny 11b4e5e5b3 print message if using default config 2018-05-23 09:11:28 +02:00
Danny fc35d68926 output log messages during bootstrap, eg with config file location 2018-05-23 09:03:42 +02:00
Danny 7c3cecad09 use errorf log when database migrations fail 2018-05-22 16:20:43 +02:00
Danny 60008aa205 show pageview & visitor chart for week/month/year periods 2018-05-22 16:01:59 +02:00
Danny 0101afdc9f fill dates with no data with zeroes & add d3-transition 2018-05-22 15:45:22 +02:00
Danny 7adc5d3bec wip on chart implementation using d3 2018-05-22 12:23:17 +02:00
Danny da19c116b7 strip AMP & UTM vars from referrer urls. closes #37 2018-05-22 10:30:35 +02:00
Danny van Kooten 3b8a884991 godoc improvements 2018-05-21 11:54:01 +02:00
Danny van Kooten 72c2952e15 use singular if visitor count == 1. closes #34 2018-05-21 11:37:12 +02:00
Danny van Kooten 4806de98fe include node-sass in npm deps 2018-05-21 11:36:58 +02:00
Danny van Kooten da93f5a397 Merge branch 'master' of https://github.com/usefathom/fathom
* 'master' of https://github.com/usefathom/fathom:
  hide custom date nav on very small screens, #32
  Fix missing script id attribute in README
2018-05-21 11:31:40 +02:00
Danny ae74bb39cc hide custom date nav on very small screens, #32 2018-05-18 11:04:16 +02:00
Danny van Kooten b8eecf77a0
Merge pull request #35 from lovethebomb/fix-readme-script-id
Fix missing script id attribute in README
2018-05-18 08:27:55 +02:00
Lucas Heymès aa0edc9f6c
Fix missing script id attribute in README
When `setTrackerUrl` method is not called before `trackPageView`, the tracker will [try to find its location](https://github.com/lovethebomb/fathom/blob/master/assets/js/tracker.js#L46-L49) based on the script element with id attribute of `fathom-script`. 

This id attribute was missing in the README snippet.
2018-05-17 14:01:52 +02:00
Danny van Kooten 6a48275821 update js deps 2018-05-16 20:01:59 +02:00
Danny 16d9fdcf6c minor styling changes to datepicker elements 2018-05-16 17:37:10 +02:00