Commit Graph

391 Commits

Author SHA1 Message Date
Mike Cao
b72a4c001c Refactored realtime API. Add dot component and colored dots in log. 2020-10-10 11:04:07 -07:00
Mike Cao
69b317386a Updated fetch hook API. 2020-10-09 12:39:03 -07:00
Mike Cao
5dd3110fbf Updated log merge logic to prevent duplicates. 2020-10-09 10:48:47 -07:00
Vito Botta
89843f62ee Fix CORS error when IGNORE_IP is set 2020-10-09 20:48:09 +03:00
Mike Cao
9737127bb1 Updated polling logic. 2020-10-09 01:04:06 -07:00
Mike Cao
fdc92d087b Update realtime chart. 2020-10-08 23:26:05 -07:00
Mike Cao
e64a555652 Renamed methods. Initial work on realtime dashboard. 2020-10-08 15:02:48 -07:00
Mike Cao
4cafa68e23 Add force SSL check. 2020-10-03 21:54:21 -07:00
Mike Cao
fc22f5969c Added IP address ignore list. 2020-10-03 19:07:56 -07:00
Mike Cao
3d1dc08491 Implement session caching. 2020-10-02 20:33:46 -07:00
Mike Cao
5068ab12a9 Support basePath in all queries. 2020-09-30 22:34:16 -07:00
Mike Cao
11d8b19279 Updated query filters. Updated packages. 2020-09-28 20:23:42 -07:00
Mike Cao
6bb34cd3a5 Moved files around. Updated test page. 2020-09-27 00:51:29 -07:00
Mike Cao
35b921bdb4 Convert buttons to links. 2020-09-25 23:38:28 -07:00
Mike Cao
4fded49b03 URL filter functionality. 2020-09-25 22:31:18 -07:00
Mike Cao
a24bee815c Update queries to calculate correct metrics. 2020-09-25 00:15:58 -07:00
Mike Cao
023adafa39 Refactor tracker. 2020-09-18 13:40:46 -07:00
Mike Cao
c932dc2810 Fix non-admin dashboard. 2020-09-18 00:34:22 -07:00
Mike Cao
96bd7e5b47 Use token authentication for API requests. 2020-09-17 22:52:20 -07:00
Mike Cao
bff8806b61 Update security for dashboard and details pages. 2020-09-17 11:40:04 -07:00
Mike Cao
ecd2593063 Removed console logs. 2020-09-17 00:25:13 -07:00
Mike Cao
7f598fa84d Updated profile settings. Refactored locale saving. 2020-09-17 00:17:11 -07:00
Mike Cao
53c23a280b Added router navigation for settings and details. 2020-09-16 21:55:32 -07:00
Mike Cao
81789d6723 Fix API check. 2020-09-16 13:13:50 -07:00
Mike Cao
bde1949e8f Fix password change issue. 2020-09-15 08:50:05 -07:00
Mike Cao
5b4a012f0b Fix 401 on share url. 2020-09-14 08:46:35 -07:00
Mike Cao
f59594e4cd Calendar updates. Responsive CSS updates. 2020-09-13 11:33:57 -07:00
Mike Cao
a0cb278463 Fix display of years. 2020-09-13 01:38:14 -07:00
Mike Cao
8e3286179a API security updates. 2020-09-11 13:49:43 -07:00
Mike Cao
5a22be5efa Allow admins to view account websites. 2020-09-10 23:55:29 -07:00
Mike Cao
943c2c73d4 Added check for bots. 2020-09-10 20:37:07 -07:00
Mike Cao
52acb691ad Added useLocale hook. 2020-09-08 20:46:31 -07:00
Mike Cao
ff854150ae Date formatting using locale. 2020-09-07 19:48:40 -07:00
Mike Cao
987fdfd57d Added support for zh-CN locale. 2020-09-07 15:25:09 -07:00
Mike Cao
e8538f6e23 Support i18n. 2020-09-07 01:22:16 -07:00
Mike Cao
f0ac9b6522 Convert text for internationalization. 2020-09-05 17:27:01 -07:00
Mike Cao
cb48acde55 Error handling for queries. 2020-08-31 21:11:53 -07:00
Mike Cao
d0ca0819c6 Added useFetch hook. Updated database check. 2020-08-30 15:29:31 -07:00
Mike Cao
5a4cde854a Domain validation. Filter domain from referrers. 2020-08-28 21:34:20 -07:00
Mike Cao
a7e7469d22 Bar chart styling. 2020-08-27 19:11:37 -07:00
Mike Cao
4618dc7f15 Events chart. 2020-08-27 19:11:36 -07:00
Mike Cao
5206622d5a Events table. 2020-08-27 19:11:36 -07:00
PabloSz
0787818bc8 share page loading
since there isn't a spinner, just returning null, just like pages/dashboard.js
2020-08-22 17:32:27 -04:00
Mike Cao
5cade59111 Removed session code. 2020-08-20 19:17:27 -07:00
Mike Cao
343e59e6ff Add SameSite to auth cookie. 2020-08-20 10:34:02 -07:00
Mike Cao
c5d7d5dea2 Fix not found appearing on share pages. 2020-08-19 14:42:54 -07:00
Mike Cao
b96cb0d975 Show active visitor count. 2020-08-18 00:51:32 -07:00
Mike Cao
9f6e17b986 Responsive tables. 2020-08-17 22:47:58 -07:00
Mike Cao
d3514cfc5f Updated forms. 2020-08-16 21:28:54 -07:00
Mike Cao
560f1316c1 Enable public website sharing. 2020-08-15 01:17:15 -07:00
Mike Cao
f4ca353b5c Refactor database queries. 2020-08-11 22:24:41 -07:00
Mike Cao
a248f35db2 Add support for MySQL. 2020-08-11 20:05:40 -07:00
Mike Cao
b392a51676 Account editing and change password. 2020-08-09 02:03:37 -07:00
Mike Cao
b5cf9f8719 Account settings page. 2020-08-08 23:48:43 -07:00
Mike Cao
58a1be7a30 Added tracking code form. 2020-08-07 20:36:57 -07:00
Mike Cao
c4b75e4aec Handle website delete. Added response helper functions. 2020-08-07 17:19:42 -07:00
Mike Cao
00e232fee8 Website edit functionality. 2020-08-07 02:27:12 -07:00
Mike Cao
a09867f28c Form components. New login page. 2020-08-06 22:03:02 -07:00
Mike Cao
9d09d89aef Update device filtering. 2020-08-06 19:37:19 -07:00
Mike Cao
6e23a8a53b Added user button and menu. 2020-08-05 23:03:07 -07:00
Mike Cao
a5930f1772 Use css variables. 2020-08-05 19:04:02 -07:00
Mike Cao
5d4ff5cfa4 Implement redux. 2020-08-04 22:45:05 -07:00
Mike Cao
a2db27894f Refactor components and styles. 2020-08-03 18:12:28 -07:00
Mike Cao
9c5762b8a2 Sticky metrics header. CSS updates. 2020-08-01 21:20:52 -07:00
Mike Cao
a65f637df2 Added world map component. 2020-08-01 03:34:56 -07:00
Mike Cao
ac2612924e Details page. 2020-07-31 19:05:14 -07:00
Mike Cao
5b45301178 Added year option. 2020-07-30 23:08:33 -07:00
Mike Cao
9f112c8cc9 DropDown component. Renamed files. 2020-07-30 20:11:43 -07:00
Mike Cao
ff4492ffb5 Add quick filter buttons. 2020-07-30 01:08:21 -07:00
Mike Cao
344ffeb658 Fixed summary query. 2020-07-30 00:06:29 -07:00
Mike Cao
efdbd1c632 Updated summary query. Added visit time. 2020-07-29 21:40:26 -07:00
Mike Cao
f9a6f5f637 Added summary stats query. 2020-07-29 00:16:02 -07:00
Mike Cao
ce92c7897d Display page views and unique visitors. 2020-07-28 19:04:45 -07:00
Mike Cao
bdcdcd9d13 Website components. Update chart component. 2020-07-28 01:17:45 -07:00
Mike Cao
d81ee3932d Auth and session middleware. 2020-07-27 23:52:14 -07:00
Mike Cao
590a70c2ff Chart component. Update web utils. 2020-07-26 00:12:42 -07:00
Mike Cao
f947c7770b Login/logout process. 2020-07-25 16:31:07 -07:00
Mike Cao
49a55b40b4 Accounts and login. 2020-07-23 19:56:55 -07:00
Mike Cao
f3f0ad15f2 Changed JWT implementation. 2020-07-22 21:33:17 -07:00
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
132bbcbe0d Refactored session and collect process. 2020-07-20 01:54:21 -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
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
631d124a61 Add cors headers. Updated fetch. 2020-07-18 03:33:33 -07:00
Mike Cao
822d46a2e0 Added country lookup for ip. 2020-07-18 00:25:29 -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