Commit Graph

62 Commits

Author SHA1 Message Date
Francis Cao
55a586fe27 add subdivision1/2, cities to query logic 2023-02-20 09:04:20 -08:00
Mike Cao
cad0b73e42 Refactored useApi usage. 2022-12-27 20:20:44 -08:00
Mike Cao
b57ecf33e6 Updated roles and permissions logic. 2022-12-06 18:36:41 -08:00
Mike Cao
1a8c7c42f4 Updated Clickhouse session logic. 2022-11-08 17:11:08 -08:00
Brian Cao
c2df477374 skip session check if using clickhouse 2022-11-08 15:50:34 -08:00
Mike Cao
f118bc95c1 Refactored redis usage. Added lib/cache. 2022-11-07 22:35:51 -08:00
Brian Cao
17041efaae use uuid 2022-10-31 23:42:37 -07:00
Mike Cao
ac070d3ce9 Fixed change password issue. API refactoring. Closes #1592. 2022-10-25 10:45:56 -07:00
Mike Cao
c33729e185 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2022-10-11 23:48:05 -07:00
Brian Cao
07d003e858 fix collect 2022-10-11 23:09:06 -07:00
Mike Cao
5e2d23f18f Refactor auth logic. 2022-10-11 21:48:33 -07:00
Mike Cao
edd1751b81 Merge changes 2022-10-10 21:38:02 -07:00
Brian Cao
78338205a3
Feat/um 62 prisma property names (#1562)
* checkpoint

* fix pg schema

* fix mysql schema

* change property names
2022-10-10 13:42:18 -07:00
Mike Cao
e442617421 Add connect methods to libraries. 2022-10-06 15:00:16 -07:00
Brian Cao
6bb61d7a53 Revert "remove postgres collect"
This reverts commit 86bd9a7793.
2022-10-06 13:48:24 -07:00
Brian Cao
0e10470c02 Revert "break CH fetch"
This reverts commit 5dd395918f.
2022-10-06 13:47:40 -07:00
Brian Cao
f53ea06c23 Revert "reject"
This reverts commit 5fd3ba3809.
2022-10-06 13:47:34 -07:00
Brian Cao
5fd3ba3809 reject 2022-10-06 13:35:38 -07:00
Brian Cao
5dd395918f break CH fetch 2022-10-06 13:29:55 -07:00
Brian Cao
86bd9a7793 remove postgres collect 2022-10-06 13:13:44 -07:00
Brian Cao
0387cf0da0 remove CH import 2022-10-06 12:49:49 -07:00
Brian Cao
c73d07d329 clarified var 2022-09-13 09:16:21 -07:00
Brian Cao
52e036964b Merge Session/Event/Pageview CH 2022-09-12 09:55:34 -07:00
Brian Cao
99914d6e98 Add retry connection to redis. Clean up up redis/session logic 2022-09-05 22:47:45 -07:00
Brian Cao
42bdfccdf4 Fix website get during collection/session check 2022-09-05 11:36:57 -07:00
Brian Cao
f18b5a20e3 remove bigint 2022-08-30 13:56:37 -07:00
Brian Cao
45e928c3a0 remove bigint convert 2022-08-29 16:46:28 -07:00
Brian Cao
b6cd9f305b add db call as fallback 2022-08-29 13:04:58 -07:00
Brian Cao
48fe6ebcc5 configure redis 2022-08-29 10:47:01 -07:00
Mike Cao
f4e0da481e Use next-basics package. 2022-08-28 20:20:54 -07:00
Brian Cao
54ade11a98 fix send message. look at redis on session create 2022-08-26 21:10:46 -07:00
Brian Cao
10cc6616c5 add redis placeholder 2022-08-25 23:12:47 -07:00
Brian Cao
bb50753704 split db files 2022-08-25 22:04:32 -07:00
Mike Cao
c0276db6e3 Fixed session check logic. Closes #1340. 2022-08-11 12:11:43 -07:00
Brian Cao
f189035a73 fix CH return. 2022-07-25 09:47:11 -07:00
Kevin Van Ryckegem
5ef979d61d #1340 : Fix when session received is not an array, but the direct object 2022-07-25 00:44:53 +02:00
Brian Cao
aa8057f9fe fix stats query 2022-07-22 17:47:26 -07:00
Brian Cao
65910c7348 clickhouse inserts 2022-07-22 14:43:19 -07:00
Brian Cao
8aec6d7406 move queries 2022-07-12 14:14:36 -07:00
Mike Cao
3fab09d626 Check for no session. Closes #1075 2022-04-08 17:17:07 -07:00
Mike Cao
7cf0927741 Enabling caching in tracker script. 2022-03-18 22:26:23 -07:00
Mike Cao
128f15092e Update session hash calculation. 2022-03-14 11:14:05 -07:00
Mike Cao
17790aa5a8 Fix issue with sendBeacon request. 2022-03-10 19:01:33 -08:00
Mike Cao
56cf55e053 Handle unique session errors. 2022-01-06 01:21:05 -08:00
Mike Cao
3d1dc08491 Implement session caching. 2020-10-02 20:33:46 -07:00
Mike Cao
96bd7e5b47 Use token authentication for API requests. 2020-09-17 22:52:20 -07:00
Mike Cao
5cade59111 Removed session code. 2020-08-20 19:17:27 -07:00
Mike Cao
d4ca02f110 Use portal for modals. Prisma disconnect after query. 2020-08-18 23:35:26 -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