Commit Graph

470 Commits

Author SHA1 Message Date
Mike Cao
cb0c912c5b Switch to json web tokens. 2020-07-22 20:45:09 -07:00
Mike Cao
5219582803 Cookie authentication. 2020-07-22 15:46:05 -07:00
Mike Cao
0edf87941a Minor tweaks. 2020-07-20 19:24:33 -07:00
Mike Cao
132bbcbe0d Refactored session and collect process. 2020-07-20 01:54:21 -07:00
Mike Cao
e58aa9e90f Updated scripts. 2020-07-19 13:11:08 -07:00
Mike Cao
ed22d33d97 Reload events after pushState. 2020-07-19 13:08:13 -07:00
Mike Cao
9cb08956c0 Updated event handling. 2020-07-19 02:23:15 -07:00
Mike Cao
9f3acd1583 Add event collection. 2020-07-19 01:57:01 -07:00
Mike Cao
1ca72cbd9c Send page view after session create. 2020-07-19 00:31:16 -07:00
Mike Cao
d8c8df2955 Updated schema. 2020-07-18 23:54:25 -07:00
Mike Cao
eebf145efc Capture pushState events. 2020-07-18 22:51:17 -07:00
Mike Cao
58a1c63407 Added CORS middleware. Updated umami script. 2020-07-18 10:36:46 -07:00
Mike Cao
bb04015b46 Send raw JSON. 2020-07-18 03:44:54 -07:00
Mike Cao
631d124a61 Add cors headers. Updated fetch. 2020-07-18 03:33:33 -07:00
Mike Cao
70a239b0dc Removed public script. Added no-cors to fetch. 2020-07-18 03:01:18 -07:00
Mike Cao
822d46a2e0 Added country lookup for ip. 2020-07-18 00:25:29 -07:00
Mike Cao
e6908d9e04 Improve hash validation. 2020-07-17 21:01:49 -07:00
Mike Cao
c681441601 Add indexes to tables. 2020-07-17 19:33:40 -07:00
Mike Cao
11f1afe5c3 Collection API. 2020-07-17 19:15:29 -07:00
Mike Cao
f7f0c05e12 Initial commit. 2020-07-17 01:03:38 -07:00