Commit Graph

41 Commits

Author SHA1 Message Date
Chris Walsh
9cff025784
Add owner column to admin website settings table 2021-12-01 16:03:18 -08:00
Mike Cao
d4dd2069b6 Fix build issues. 2021-11-22 14:53:36 -08:00
Mike Cao
ebd52335bb Referrer filtering. 2021-11-21 22:00:14 -08:00
Meerfolk
373e46ad70 Add event_type filter for events endpoint 2021-09-29 11:38:52 +03:00
Chris Walsh
6e128b2f38
Add reset website statistics to settings 2021-08-10 14:03:55 -07:00
Mike Cao
b24b855006 Truncate strings. 2021-03-26 20:56:08 -07:00
formica2
97c0da8527 fix fields name at request 2021-03-25 15:44:37 +03:00
formica2
e6975b9afc decrease db query count 2021-03-24 12:58:08 +03:00
Mike Cao
247afc8c33 Truncate URL lengths. 2021-03-12 23:45:19 -08:00
Mike Cao
f7201c9cfc Remove domain parameter from queries. 2021-02-26 19:50:44 -08:00
Mike Cao
083ef2dc9c Updated method for getting event types. 2021-02-20 17:27:56 -08:00
Alexander Klein
8b6308d686 feature(lib): add event type query 2021-02-15 16:28:09 +01:00
Anders
edb9e36101
Update queries.js
Change findOne to findUnique (breaking change in Prisma 2.12.0)

Hopefully fixes #395
2020-12-01 21:29:36 +01:00
Mike Cao
b72a4c001c Refactored realtime API. Add dot component and colored dots in log. 2020-10-10 11:04:07 -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
dca51050e8 Removed disconnect code. 2020-10-07 08:31:44 -07:00
Mike Cao
77db711a67 Updated empty message for websites. 2020-10-01 17:32:49 -07:00
Mike Cao
e64b35f701 Updated prisma and added disconnect. 2020-09-29 21:39:51 -07:00
Mike Cao
11d8b19279 Updated query filters. Updated packages. 2020-09-28 20:23:42 -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
1dfa6d8b16 Refactor query methods. 2020-09-24 23:02:11 -07:00
Mike Cao
6833a5bdb0 Detect when postgres is used instead of postgresql. 2020-09-04 11:06:32 -07:00
Mike Cao
f17be19110 All queries should use runQuery. 2020-09-03 08:43:17 -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
7a81dda7b6 Update database detection. 2020-08-30 00:02:03 -07:00
Mike Cao
07cc61f5c3 Fixed date parsing in database queries. 2020-08-29 23:17:32 -07:00
Mike Cao
5a4cde854a Domain validation. Filter domain from referrers. 2020-08-28 21:34:20 -07:00
Mike Cao
ccb98f836f MySQL query optimization. Added loading component. 2020-08-27 23:45:37 -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
Mike Cao
2addb96e4b Fixed bounce rate calculation. 2020-08-27 19:11:35 -07:00
HipsterBrown
ef8da2fbcc update getDatabase to lookup DATABASE_TYPE env 2020-08-26 20:50:47 -04:00
Mike Cao
2d69b3087f Fix MySQL query. 2020-08-18 18:33:59 -07:00
Mike Cao
b96cb0d975 Show active visitor count. 2020-08-18 00:51:32 -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