120 Commits

Author SHA1 Message Date
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
Gero Gerke
a66f9ed867 Improve Accessibility (#184) 2018-11-17 22:11:25 +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
06cf98b520 include hourly ticks in the right hour range 2018-11-14 09:59:25 +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
9589072e42 use relative url for loading assets. closes #77 2018-11-02 13:40:01 +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
cd1392f095 switch to plain css so we can get rid of gulp-sass / node-sass 2018-10-31 19:56:42 +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
Samuel Meuli
036c369333 make SiteSwitcher work on touch devices (#164) 2018-10-26 15:42:06 +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
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
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
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
d3dfcf649d
Merge pull request #148 from lucasfischer/remove-image-on-load
remove tracking img on load, thanks @lucasfischer
2018-10-10 09:52:42 +02:00
Danny van Kooten
051d0addb3 fix realtime visitor count query incl. bc for pageviews without an expliti site tracking ID 2018-10-10 09:45:17 +02:00
Lucas Fischer
f0c6232162 remove tracking image after it finished loading 2018-10-09 23:38:26 +02:00
Danny van Kooten
901e09bcac modify realtime component to work properly from componentWillReceiveProps 2018-10-09 17:05:49 +02:00
Danny van Kooten
6f97341e42 fix paramsChanged func in realtime component 2018-10-09 16:53:49 +02:00
Danny van Kooten
7cf241ecf0 use dashboard domain in tracking snippet 2018-10-09 14:06:53 +02:00
Danny van Kooten
371c3a2a39 bc for setTrackerUrl command 2018-10-09 11:49:44 +02:00
Danny van Kooten
266d05019a return json error when authorization middleware fails 2018-10-09 11:17:13 +02:00
Danny van Kooten
b254b1a3ee default to site with ID 1, improve insert/update logic client-side 2018-10-09 10:37:31 +02:00
Danny van Kooten
adb26ad32f don't show site switcher if there's only 1 site with no option to add more 2018-10-09 10:00:18 +02:00
Danny van Kooten
41331598b9 show selected site name in top left 2018-10-09 09:55:38 +02:00
Danny van Kooten
3e06bea6c7 open site settings when there are 0 sites in db 2018-10-09 09:50:03 +02:00
Danny van Kooten
e4e4bfdea6 update to latest css 2018-10-08 14:12:13 +02:00
Danny van Kooten
ed21a80df9 add site-id flag to stats command 2018-10-08 12:30:43 +02:00
Danny van Kooten
fdfaa058df remember selected site in localstorage 2018-10-08 12:21:30 +02:00
Danny van Kooten
47a1f5908d use onFocus for texarea select all 2018-10-05 16:18:06 +02:00
Danny van Kooten
09149e5d00 show text creating or updating site 2018-10-05 16:16:17 +02:00
Danny van Kooten
3cd7bcb53d make things work when there are no sites yet 2018-10-05 16:11:49 +02:00
Danny van Kooten
21371e2c30 close site settings when pressing ESC 2018-10-05 15:59:36 +02:00
Danny van Kooten
53c1702d0d only re-fetch data when needed 2018-10-05 15:13:48 +02:00
Danny van Kooten
d4176de238 get aggregator to take site ID's into account 2018-10-05 14:19:11 +02:00
Danny van Kooten
c1367325e6 modify all routes & queries to take a site ID parameter 2018-10-05 13:09:58 +02:00
Danny van Kooten
dc8bf7fdc3 modify tracker.js to take a siteId and insert that into pageviews table. add siteId to tracking snippet. 2018-10-05 10:07:00 +02:00
Danny van Kooten
5abd1a7a8a Merge branch 'master' into multiple-sites
* master:
  Use arrows (without alt) to go through date ranges
2018-10-05 08:56:56 +02:00
Frederik Creemers
181bee780a Use arrows (without alt) to go through date ranges
fixes #138
2018-10-04 19:32:06 +02:00
Danny van Kooten
ac140fcbb0 improve text when deleting a site 2018-10-04 13:41:47 +02:00
Danny van Kooten
4a4e5267fa don't show add site link if dashboard is public 2018-10-04 13:40:11 +02:00
Danny van Kooten
e51bbe047d update state after adding, updating or deleting a site 2018-10-04 13:37:46 +02:00