Commit Graph

610 Commits

Author SHA1 Message Date
Danny van Kooten 4b855c6d05 add site related func to sqlstore 2018-10-03 10:44:31 +02:00
Danny van Kooten 9b0d831f9e only show gearwheel if dashboard is not public 2018-10-02 13:58:56 +02:00
Danny van Kooten c0448d9719 add functioning modal that opens on gearwheel click 2018-10-02 13:41:47 +02:00
Danny van Kooten 6db0edc8dc add-in non-functional UI components 2018-10-02 11:57:16 +02:00
Danny van Kooten 26d7ba5578 Merge branch 'master' into multiple-sites
* master:
  use classnames to determine main-col
  add actual lib 😅
  use classNames for table row width
  use classname for active state
  use classnames for loading state
  add classnames as a dependency
  update README on new user command
  rework user cli management
2018-10-02 11:02:19 +02:00
Danny van Kooten c9b95fa728
Merge pull request #144 from Gaya/classnames
Use classnames lib for dynamic CSS classes. Thanks @Gaya!
2018-10-01 15:38:39 +02:00
Gaya Kessler b85f2f490b use classnames to determine main-col 2018-10-01 15:33:02 +02:00
Gaya Kessler c3db9377b1 add actual lib 😅 2018-10-01 15:29:57 +02:00
Gaya Kessler 72489baaef use classNames for table row width 2018-10-01 15:29:19 +02:00
Gaya Kessler 0136d1aaee use classname for active state 2018-10-01 15:23:20 +02:00
Gaya Kessler 213c169616 use classnames for loading state 2018-10-01 15:21:24 +02:00
Gaya Kessler 45b8555181 add classnames as a dependency 2018-10-01 15:19:09 +02:00
Danny van Kooten cce5d1da06
Merge pull request #139 from usefathom/cli-user-management
rework user cli management
2018-09-26 14:53:52 +02:00
Danny van Kooten fe62c65cac update README on new user command 2018-09-26 14:46:21 +02:00
Danny van Kooten 7c3adcb10b rework user cli management 2018-09-26 14:44:13 +02:00
Danny van Kooten f0eecc04cd add sites table & site_id columns for multi-site tracking #50 2018-09-25 15:03:07 +02:00
Danny van Kooten bbdf67ff5a take timezone offset into account to fix today view. stick to utc for those ahead of utc... see #134 (needs a better fix) 2018-09-21 06:52:34 -07:00
Danny van Kooten 5507fbcd92 update test for respond func 2018-09-21 10:50:34 +02:00
Danny van Kooten 734d32082a client-side error handling structure incl. better error message for invalid login details. #131 2018-09-21 10:45:47 +02:00
Danny van Kooten d116f1fd70 limit buffer capacity to 99 pageviews, hotfix for #132 2018-09-21 09:30:05 +02:00
Danny van Kooten 966a4addab change style of footer hint 2018-09-19 08:23:12 +02:00
Danny van Kooten 2ff9676043 always show at least 1 visitor if there are pageviews. #129 2018-09-19 08:21:04 +02:00
Danny van Kooten 0f08d8ed1d decrease animation duration to 600ms. relates to #125 2018-09-18 14:46:03 +02:00
Danny van Kooten 193ee0a76c bump version to 1.0.1 2018-09-18 14:33:22 +02:00
Danny van Kooten e7de28ffa7 show shortkey possibility for cycling through date ranges. #126 2018-09-18 13:42:02 +02:00
Danny van Kooten 369fca8710 cycle through next/previous date-range using ALT + arrow keys. closes #126 2018-09-18 13:30:35 +02:00
Danny van Kooten ad80a83f9d Merge branch 'master' of https://github.com/usefathom/fathom
* 'master' of https://github.com/usefathom/fathom:
  Adding /health endpoint and using it in container
2018-09-18 12:03:49 +02:00
Danny van Kooten c66e69b797 remember view when loading dashboard without explicit period in location hash. closes #128 2018-09-18 12:03:45 +02:00
Danny van Kooten 4d94f64f28
Merge pull request #127 from ViBiOh/adding_health_endpoint
Adding /health endpoint and using it in Docker container.
2018-09-17 19:48:20 +02:00
Vincent Boutour e712f0fcdd
Adding /health endpoint and using it in container 2018-09-17 17:20:48 +02:00
Danny van Kooten d1728ba501 resolve now at runtime to make sure it always points to today (for when fathom tab is not closed over several days) 2018-09-17 16:26:46 +02:00
Danny van Kooten fc2e9d2fd1 host overpass font locally 2018-09-14 10:41:44 +02:00
Danny van Kooten 4d2e8b5f6d update to babel v8 2018-09-14 10:25:31 +02:00
Danny van Kooten b75506ce8f simplify tracker to not depend on modules, we want this file as small as possible anyway. prevents #124 2018-09-14 10:25:21 +02:00
Danny van Kooten 86e50ca573 get rid of timezone offset as we're already populating date object from timestamp 2018-09-13 11:47:48 +03:00
Danny van Kooten 5ef2b166ab last 7 & last 30 days should be today-6 and today-29 2018-02-01 22:01:19 -09:00
Danny van Kooten 4028dcab68 expire tracking cookie at local midnight, not utc midnight. fixes issue with immediate cookie expiration on negative utc offsets 2018-02-01 21:51:12 -09:00
Danny van Kooten 0d5c5066aa update readme with link to public roadmap 2018-09-12 10:39:43 +02:00
Danny van Kooten 221e6394de assume dashboard is public when there are no users in connected datastore. #117 2018-09-12 09:36:59 +02:00
Danny van Kooten 291d53fcaf add CountUsers func to sqlstore 2018-09-12 09:11:50 +02:00
Danny van Kooten b860937107 always clear request context, even for unauthorized requests 2018-09-12 09:07:55 +02:00
Danny van Kooten 3b721b88a8 sanitize email address before saving to datastore 2018-09-10 09:26:15 +02:00
Danny van Kooten 20f79b5b97
Merge pull request #113 from ViBiOh/adding_csp_directives
Adding CSP directives in README
2018-08-27 09:23:25 +02:00
Vincent Boutour 0a708af9bc
Adding CSP directives in README 2018-08-26 18:43:03 +02:00
Danny van Kooten b6aa00caef add tests for aggregating referrer stats 2018-08-09 15:04:38 +02:00
Danny van Kooten 8313c64610 add tests for aggregating page-specific stats 2018-08-09 14:57:35 +02:00
Danny van Kooten 2ccbfbf372 add tests for aggregating site-wide stats 2018-08-09 14:43:42 +02:00
Danny van Kooten 064b5cb038 re-use buffer (to get rid of allocation) & separate inserts vs. updates early on in collect handler. 2018-08-08 09:43:06 +02:00
Danny van Kooten c09fda89a3 refactor date logic for preset periods. switch out this week and this month for last-7 and last-30. closes #43 2018-08-07 09:20:22 +02:00
Danny van Kooten 720fa4a5da clear gorilla context after request is handled 2018-08-07 08:48:22 +02:00