Danny van Kooten
02ba5b3793
use explicit route for index.html in case browser adds it. fixes #193
2018-12-10 09:32:38 +01:00
Danny van Kooten
e92b4b9a29
clean-up route & func names
2018-11-14 11:47:47 +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
c1367325e6
modify all routes & queries to take a site ID parameter
2018-10-05 13:09:58 +02:00
Danny van Kooten
3674855200
apply authorize middleware to site endpoints
2018-10-04 13:40:52 +02:00
Danny van Kooten
dc78bb45d9
add api routes + handlers for managing sites
2018-10-03 11:07:04 +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
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
844c5996ff
set 'Tk: N' header on resources loaded by client. #65
2018-06-13 11:15:18 +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
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
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
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
dbcc0545a2
add api routes for getting aggregated pageview sum for pages & referrers
2018-05-11 15:49:37 +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 van Kooten
9a9ea1687c
imment referrer stats api route
2018-05-07 19:20:58 +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