Commit Graph

162 Commits

Author SHA1 Message Date
Carl-Gerhard Lindesvärd
86bf9dd064 remove(api): profile alias are no gone since not used 2025-02-24 23:24:25 +01:00
Carl-Gerhard Lindesvärd
6ad47c8bd1 improve(api): ensure we do 3 attempts to add events to the queue 2025-02-19 10:34:52 +01:00
Carl-Gerhard Lindesvärd
59012526e2 fix(worker): add reqId to logger for better traceability 2025-02-19 10:33:42 +01:00
André Brito
acc675bd36 style: formatted and added example env 2025-02-17 21:27:18 +01:00
Carl-Gerhard Lindesvärd
0ce963fc7e chore(api): update test mocks 2025-02-17 21:00:14 +01:00
Carl-Gerhard Lindesvärd
329c0885d4 improve(self-hosting): remove goose, custom migration, docs, remove zookeeper 2025-02-17 20:54:54 +01:00
Carl-Gerhard Lindesvärd
4bf55fe840 improve(api): cache geo 2025-02-11 21:57:07 +01:00
Carl-Gerhard Lindesvärd
3205ea0a31 fix(buffer): live counter 2025-02-11 21:39:10 +01:00
Carl-Gerhard Lindesvärd
848f475412 improve(db): do not use keys in redis 2025-02-11 21:39:10 +01:00
Carl-Gerhard Lindesvärd
0cf73e299a chore(root): clean up unused stuff 2025-02-11 12:07:57 +01:00
Carl-Gerhard Lindesvärd
18874405b9 fix(api): swift sdk has issues with double OpenPanel tags in user-agent, if so remove one 2025-02-09 21:56:58 +01:00
Carl-Gerhard Lindesvärd
af0f9717a8 improve(worker): handle sessions with unknown state 2025-02-09 20:39:52 +01:00
Carl-Gerhard Lindesvärd
2688a428d9 chore(api): add option to not add new jobs 2025-02-08 22:13:16 +01:00
Carl-Gerhard Lindesvärd
afef578389 build 2025-02-04 14:27:40 +01:00
Carl-Gerhard Lindesvärd
b3fc8ba850 fix(api): disable healthcheck 2025-02-04 11:09:45 +01:00
Carl-Gerhard Lindesvärd
10f648fa51 fix(ci): pnpm broken 2025-02-03 09:38:46 +01:00
Carl-Gerhard Lindesvärd
71bf22af51 feature(queue): use postgres instead of redis for buffer
* wip(buffer): initial implementation of psql buffer

* wip(buffer): add both profile and bots buffer
2025-01-30 22:50:57 +00:00
Carl-Gerhard Lindesvärd
2b5b8ce446 chore(api): remove console log 2025-01-30 22:50:24 +00:00
Carl-Gerhard Lindesvärd
0ffca70782 fix(api): use ping instead of keys for healtcheck 2025-01-29 16:07:43 +00:00
Carl-Gerhard Lindesvärd
7deee7e4c2 fix(api): handle common errors better 2025-01-28 07:14:35 +00:00
Carl-Gerhard Lindesvärd
8bbf36473b improve(export): improve docs for export and add some default values 2025-01-26 07:15:51 +00:00
Carl-Gerhard Lindesvärd
c4e815b405 fix(auth): improve oauth flow, fix invite flow (with google), add copy invite link 2024-12-30 20:09:25 +01:00
Carl-Gerhard Lindesvärd
e5b5a8af62 fix(api): better logging for verify oauth code 2024-12-29 09:28:45 +01:00
Carl-Gerhard Lindesvärd
7361ef3b79 fix(auth): make most of the fields optional instead of just nullable in oauth flow 2024-12-21 16:58:54 +01:00
Carl-Gerhard Lindesvärd
eb2abd6027 fix(auth): update provider id on sign in 2024-12-21 11:12:45 +01:00
Carl-Gerhard Lindesvärd
a32b8b37bd fix(auth): find account better 2024-12-21 10:45:17 +01:00
Carl-Gerhard Lindesvärd
b6ab9d3bb9 fix(auth): Better error logging 2024-12-21 10:20:30 +01:00
Carl-Gerhard Lindesvärd
3c9450c112 fix(auth): more schema validation fixes 2024-12-21 10:11:28 +01:00
Carl-Gerhard Lindesvärd
e6ca8a7999 fix(auth): github name can be null 2024-12-21 09:52:02 +01:00
Carl-Gerhard Lindesvärd
d31d9924a5 feature(auth): replace clerk.com with custom auth (#103)
* feature(auth): replace clerk.com with custom auth

* minor fixes

* remove notification preferences

* decrease live events interval

fix(api): cookies..

# Conflicts:
#	.gitignore
#	apps/api/src/index.ts
#	apps/dashboard/src/app/providers.tsx
#	packages/trpc/src/trpc.ts
2024-12-20 22:23:07 +01:00
Carl-Gerhard Lindesvärd
f28802b1c2 chore(cookies): debug (revert this) 2024-12-19 21:44:56 +01:00
Carl-Gerhard Lindesvärd
5d7bb48b4e fix(api): logs 2024-12-07 21:49:00 +01:00
Carl-Gerhard Lindesvärd
f4ad97d87d feature(dashboard): add ability to filter out events by profile id and ip (#101) 2024-12-07 21:34:32 +01:00
Carl-Gerhard Lindesvärd
27ee623584 chore(api): add logs when sdk request fails by auth 2024-12-07 20:31:20 +01:00
Carl-Gerhard Lindesvärd
6e57a8337e chore(api): update referrers list 2024-12-03 20:49:08 +01:00
Carl-Gerhard Lindesvärd
335fcf0f7a chore(api): update bots list 2024-12-03 20:43:42 +01:00
Carl-Gerhard Lindesvärd
ee0f7e7d75 fix(api,worker): general improvements for workers, debugging and logging 2024-12-03 13:25:05 +01:00
Carl-Gerhard Lindesvärd
afff099c5b fix(api): sending duplicated responses for bot events (improved code as well) 2024-11-30 21:40:25 +01:00
Carl-Gerhard Lindesvärd
ab8bce7752 chore(dashboard,db): prepping for migration time 2024-11-28 20:58:18 +01:00
Carl-Gerhard Lindesvärd
de5205040b improve(api): add cache headers for favicons 2024-11-24 21:55:34 +01:00
Carl-Gerhard Lindesvärd
cd16ac878d chore(root): rename organizationSlug to organizationId (#91) 2024-11-20 14:04:55 +01:00
Carl-Gerhard Lindesvärd
949278ff1c chore(api): clean up index file 2024-11-19 20:57:51 +01:00
Carl-Gerhard Lindesvärd
60525f8905 feature(api): override user-agent information 2024-11-19 11:13:24 +01:00
Carl-Gerhard Lindesvärd
106df70ee2 fix(worker): fail gracefully when setting redis config #82 2024-10-28 10:34:15 +01:00
Carl-Gerhard Lindesvärd
4fe338c628 feature(api,worker): Override default timestamp with a date from the past (#76)
* feature(worker,api): refactor incoming events and support custom timestamps from the past

* fix(queue): add retry logic to events queue

* fix(worker): remove properties when merging server events
2024-10-22 10:25:21 +02:00
Carl-Gerhard Lindesvärd
f977c5454a feature(dashboard): add new retention chart type 2024-10-16 10:18:16 +02:00
Carl-Gerhard Lindesvärd
1e3b90c971 feature(api): add rate limiter 2024-10-07 10:33:50 +02:00
Carl-Gerhard Lindesvärd
f9a0025c72 chore(api): update bots and referrers 2024-10-05 23:49:03 +02:00
Carl-Gerhard Lindesvärd
301d86aa71 fix(common): move ua parser to common and import isServer flag 2024-10-05 23:44:56 +02:00
Carl-Gerhard Lindesvärd
4329960bd9 fix(dashboard): remove popup from slack integrations 2024-10-03 20:16:03 +02:00