Commit Graph

686 Commits

Author SHA1 Message Date
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
Danny 44ae5d38f2 move custom date selector to far right, #32 2018-05-16 17:25:50 +02:00
Danny bcae762a35 update document title with realtime visitor count 2018-05-16 17:25:29 +02:00
Danny 0ecd4ec251 use pikaday for the date component, closes #32 2018-05-16 17:02:46 +02:00
Danny f082231b12 implement logic to get a working html5 input date. #32 2018-05-16 13:54:52 +02:00
Danny a0bb890210 wip... show input date field 2018-05-16 12:57:03 +02:00
Danny 7d8d0b9c42 show current date range in date-nav, #32 2018-05-16 11:51:40 +02:00
Danny 50771a6314 browser offset should be substracted, not added #31 2018-05-16 03:26:56 -06:00
Danny f0d255c26b limit animation progress to 1 in case tab loses focus or lags 2018-05-16 03:26:44 -06:00
Danny 9cb8d443ec add local timezone offset to utc timestamps we send to server. #31 2018-05-16 11:10:53 +02:00
Danny 0caf52b780 use local timezone in client, utc timezone on server. should close #31 2018-05-16 03:54:51 -05:00
Danny fc552b0508 set start variable outside of tick loop 2018-05-16 10:16:13 +02:00
Danny 9f6684f0fb fix rounding issue for percentage values 2018-05-16 10:10:23 +02:00
Danny van Kooten ce00a975b4 animate numbers in count widget 2018-05-15 22:26:24 +02:00
Danny f1a85e7d01 move gulp into build task to ensure latest assets are packrd 2018-05-15 14:41:08 +02:00