Danny van Kooten
|
927c50b419
|
add & delete sites through api
|
2018-10-03 15:27:36 +02:00 |
|
Danny van Kooten
|
dc78bb45d9
|
add api routes + handlers for managing sites
|
2018-10-03 11:07:04 +02: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 |
|
Vincent Boutour
|
e712f0fcdd
|
Adding /health endpoint and using it in container
|
2018-09-17 17:20:48 +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
|
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
|
720fa4a5da
|
clear gorilla context after request is handled
|
2018-08-07 08:48:22 +02:00 |
|
Danny van Kooten
|
33ffa557ee
|
move setting pwd & comparing into user model + tests
|
2018-08-01 13:13:42 +02:00 |
|
Danny van Kooten
|
2ef550bc27
|
reduce number of memory allocations in hot path
|
2018-07-15 10:05:03 +02:00 |
|
Danny van Kooten
|
e6ee4d0a2e
|
increase buffer size & buffer timeout for collecting pageviews
|
2018-07-15 07:34:06 +02:00 |
|
Danny van Kooten
|
82e1216bb3
|
discard http requests coming from browser prerenders. closes #13
|
2018-07-12 14:06:07 +02:00 |
|
Danny van Kooten
|
f2683d1f0c
|
buffer insert & updates of pageviews for performance gain under heavy load. closes #24
|
2018-07-12 13:30:32 +02:00 |
|
Danny
|
42008ab83f
|
get rid of session_id and move knowledge of previous pageview to client. this also gets rid of the (only) index on the pageviews table, allowing for much faster INSERT's. closes #14
|
2018-07-11 15:03:56 +02:00 |
|
Danny van Kooten
|
9b47ee27ef
|
parse hostname from client instead of relying on http header. fixes #79
|
2018-06-28 10:37:02 +02:00 |
|
Danny
|
844c5996ff
|
set 'Tk: N' header on resources loaded by client. #65
|
2018-06-13 11:15:18 +02:00 |
|
Danny
|
42cd00b8cd
|
disregard requests to /collect with DNT header set to '1'.
|
2018-06-13 10:44:33 +02:00 |
|
Danny
|
7bf8978cb6
|
use a single http request to fetch all data for left-sidebar
|
2018-06-04 12:53:17 +02:00 |
|
Danny
|
c8a6da13e6
|
TODO comments so we know where to pick up
|
2018-05-30 13:40:59 +02:00 |
|
Danny
|
32693be2b0
|
add make dist task && separate assets build from binary build
|
2018-05-29 14:52:34 +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
|
0039683b74
|
set header code when sessionstore returns err
|
2018-05-15 14:20:05 +02:00 |
|
Danny
|
c30e5b3120
|
introduce datastore interface & stop relying on package var to retrieve db conn. relates to #29
|
2018-05-15 13:30:37 +02:00 |
|
Danny
|
69fc3e7aa1
|
implement results type container
|
2018-05-14 15:31:33 +02:00 |
|
Danny
|
73e011b6cc
|
implement notfound handler with simple 404 page, closes #19
|
2018-05-14 12:08:18 +02:00 |
|
Danny
|
6482378734
|
serve assets from /assets subdir and re-use packr box for index.html & tracker.js
|
2018-05-14 11:17:41 +02:00 |
|
Danny
|
2c09050d74
|
move should-collect logic into func so it can be tested
|
2018-05-14 10:14:43 +02:00 |
|
Danny
|
05a159da7f
|
skip missing referrer values. closes #26
|
2018-05-14 10:06:53 +02:00 |
|
Danny
|
dbcc0545a2
|
add api routes for getting aggregated pageview sum for pages & referrers
|
2018-05-11 15:49:37 +02:00 |
|
Danny van Kooten
|
e2d45dbc40
|
check errors returned by sessionstoreE
|
2018-05-10 22:21:44 +02:00 |
|
Danny
|
e73a205d26
|
run the aggregator every minute since we only need the last pageview of every visitor for determining distinct realtime visitor count
|
2018-05-09 10:36:05 +02:00 |
|
Danny
|
0683cac2bf
|
use packr to embed migration files & web assets into binary. closes #8
|
2018-05-08 14:57:08 +02:00 |
|
Danny
|
b8ceff621d
|
store hostname so we can track multiple subdomains in one fathom instance, if needed
|
2018-05-08 13:08:16 +02:00 |
|
Danny
|
0a0476b5ae
|
store accurate new session count & use that to determine bounce rate
|
2018-05-08 11:52:01 +02:00 |
|
Danny van Kooten
|
ca3d258174
|
fix params test
|
2018-05-08 09:11:32 +02:00 |
|
Danny van Kooten
|
8e99bc5896
|
add test for GetRequestParams
|
2018-05-08 08:22:21 +02:00 |
|
Danny van Kooten
|
9a9ea1687c
|
imment referrer stats api route
|
2018-05-07 19:20:58 +02:00 |
|
Danny van Kooten
|
872bdd6141
|
define struct for all api params
|
2018-05-07 18:59:52 +02:00 |
|
Danny
|
dac50c3da9
|
start cleaning up & implement page stats again
|
2018-05-07 17:01:20 +02:00 |
|
Danny
|
433c6e2f4d
|
get general data flow up & running again for site stats
|
2018-05-07 16:05:53 +02:00 |
|
Danny van Kooten
|
082073afb8
|
[wip] move bulk of storage to client-side for improved scalability, simplicity and privacy. see #14.
|
2018-05-06 11:53:19 +02:00 |
|
Danny
|
5a403d536a
|
first stab at time on site tracking. #20
|
2018-05-04 15:43:05 +02:00 |
|
Danny
|
86e5a7a957
|
simple bounce rate implementation. #21
|
2018-05-04 12:20:37 +02:00 |
|
Danny van Kooten
|
760780f07b
|
use limit from request when getting pageviews
|
2018-05-03 21:01:51 +02:00 |
|
Danny
|
d76cb6f24d
|
stop storing ip address & browser version details.
|
2018-05-02 15:33:01 +02:00 |
|