Commit Graph

136 Commits

Author SHA1 Message Date
Carl-Gerhard Lindesvärd
2928857389 fix: more links 2025-10-18 10:33:09 +02:00
Carl-Gerhard Lindesvärd
c8bea685db fix: invalidate queries better 2025-10-17 11:01:20 +02:00
Carl-Gerhard Lindesvärd
afd3f24f70 fix: worker 2025-10-16 13:08:25 +02:00
Carl-Gerhard Lindesvärd
81a7e5d62e feat: dashboard v2, esm, upgrades (#211)
* esm

* wip

* wip

* wip

* wip

* wip

* wip

* subscription notice

* wip

* wip

* wip

* fix envs

* fix: update docker build

* fix

* esm/types

* delete dashboard :D

* add patches to dockerfiles

* update packages + catalogs + ts

* wip

* remove native libs

* ts

* improvements

* fix redirects and fetching session

* try fix favicon

* fixes

* fix

* order and resize reportds within a dashboard

* improvements

* wip

* added userjot to dashboard

* fix

* add op

* wip

* different cache key

* improve date picker

* fix table

* event details loading

* redo onboarding completely

* fix login

* fix

* fix

* extend session, billing and improve bars

* fix

* reduce price on 10M
2025-10-16 12:27:44 +02:00
Carl-Gerhard Lindesvärd
7d4a4c1944 bump groupmq 2025-10-09 10:10:30 +02:00
Carl-Gerhard Lindesvärd
e7c21bc92c fix: remove old event queue, cleaned up session handling, remove hacks 2025-10-09 09:25:52 +02:00
Carl-Gerhard Lindesvärd
a11f87dc3c improve: logging for session handling 2025-10-08 10:44:02 +02:00
Carl-Gerhard Lindesvärd
174a30d515 bump groupmq 2025-10-07 18:35:12 +02:00
Carl-Gerhard Lindesvärd
6bc4f6fbd2 bump groupmq 2025-10-07 12:59:13 +02:00
Carl-Gerhard Lindesvärd
af580333b4 fix: bump groupmq, fix stalled sessions in buffers, improve heavy event count 2025-10-06 22:20:14 +02:00
Carl-Gerhard Lindesvärd
d06589831d chore: update groupmq 2025-10-05 12:00:50 +02:00
Carl-Gerhard Lindesvärd
0b4fcbad69 feat: use groupmq instead of bullmq for incoming events (#206)
* wip

* wip working group queue

* wip

* wip

* wip

* fix: groupmq package (tests failed)

* minor fixes

* fix: zero is fine for duration

* add logger

* fix: make buffers more lightweight

* bump groupmq

* new buffers and bump groupmq

* fix: buffers based on comments

* fix: use profileId as groupId if exists

* bump groupmq

* add concurrency env for only events
2025-10-04 21:07:55 +02:00
Carl-Gerhard Lindesvärd
113ab0a28d chore: update bots and referrers 2025-07-02 12:16:01 +02:00
Carl-Gerhard Lindesvärd
92d62c3e5c improve: prepare for coolify and general self-hosting improvements (#175)
* fix(self-hosting): improve docker compose, add healthchecks, rename env SELF_HOSTED

* improve(db): improve initial migration when no data exists

* fix(db): misstakes were made

* improve(dashboard): better curl preview depending on project type

* fix(db): fix migrations

* fix(onboarding): ensure we publish event correctly

* wip

* fix: curl preview

* add coolify template

* fix(dashboard): page -> route

* fix

* fix env
2025-06-23 22:21:11 +02:00
Carl-Gerhard Lindesvärd
5445d6309e test: add vitest
* feature(root): add vitest and some basic tests

* fix(test): after rebase + added referrars test and more sites

* fix(test): test broken after rebase

* fix(test): provide db url to make prisma happy

* fix tests
2025-06-06 19:14:18 +02:00
Carl-Gerhard Lindesvärd
34414e1d3e feat(geo): make geo a package instead of service (#161) 2025-06-06 05:56:54 +02:00
Carl-Gerhard Lindesvärd
0d58a5bf0c improve(queue): how we handle incoming events and session ends 2025-06-03 21:19:01 +02:00
Carl-Gerhard Lindesvärd
d38ccb4717 fix(worker): better deletion of project 2025-04-01 10:40:59 +02:00
Carl-Gerhard Lindesvärd
a9c664dcfb feat(email): send trial ending soon mails 2025-03-30 20:58:17 +02:00
Carl-Gerhard Lindesvärd
e9133aa5a8 trigger(build) 2025-03-28 09:37:24 +01:00
Carl-Gerhard Lindesvärd
8a21fadc0d feature(dashboard): add conversion rate graph 2025-03-28 09:21:10 +01:00
Carl-Gerhard Lindesvärd
7c1d36a9f3 fix(worker): add validation to worker dockerfile 2025-03-20 10:13:47 +01:00
Carl-Gerhard Lindesvärd
563551992d trigger(build) 2025-03-20 09:47:48 +01:00
Carl-Gerhard Lindesvärd
a1eb4a296f feature(dashboard): refactor overview
fix(lint)
2025-03-20 09:40:01 +01:00
Carl-Gerhard Lindesvärd
75846f0f90 fix(worker): return any thing so cachable cache the request 2025-02-26 13:20:32 +01:00
Carl-Gerhard Lindesvärd
906a0d0bca fix(worker): remove clear cache for events count 2025-02-26 11:53:08 +01:00
Carl-Gerhard Lindesvärd
168ebc3430 feat(subscriptions): added polar as payment provider for subscriptions
* feature(dashboard): add polar / subscription

* wip(payments): manage subscription

* wip(payments): add free product, faq and some other improvements

* fix(root): change node to bundler in tsconfig

* wip(payments): display current subscription

* feat(dashboard): schedule project for deletion

* wip(payments): support custom products/subscriptions

* wip(payments): fix polar scripts

* wip(payments): add json package to dockerfiles
2025-02-26 11:24:00 +01:00
Carl-Gerhard Lindesvärd
bc311e35f7 chore(worker): add prom-client collectDefaultMetrics 2025-02-22 12:14:59 +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
Carl-Gerhard Lindesvärd
8e94ce5877 fix(buffer): merge events in queue and get last screen view from buffer instead of cache 2025-02-18 23:08:38 +01:00
Carl-Gerhard Lindesvärd
3fd4382c76 debug(buffer): log more and disable deletion of cache 2025-02-18 21:17:02 +01:00
Carl-Gerhard Lindesvärd
344bfd1687 fix(buffer): debug stalled events 2025-02-18 10:32:27 +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
af0f9717a8 improve(worker): handle sessions with unknown state 2025-02-09 20:39:52 +01:00
Carl-Gerhard Lindesvärd
ec8aaf24fb fix(buffer): move to redis again 😅 but better 2025-02-08 21:38:27 +01:00
Carl-Gerhard Lindesvärd
e3131ed72a improve(api): cache salts 2025-02-04 14:21:37 +01:00
Carl-Gerhard Lindesvärd
be83b484bc improve(buffer): better clean up 2025-02-03 21:50:35 +01:00
Carl-Gerhard Lindesvärd
10f648fa51 fix(ci): pnpm broken 2025-02-03 09:38:46 +01:00
Carl-Gerhard Lindesvärd
ff2dca42f6 improve(buffer): prep postgres buffer 2025-02-03 09:19:00 +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
ee0f7e7d75 fix(api,worker): general improvements for workers, debugging and logging 2024-12-03 13:25:05 +01:00
Carl-Gerhard Lindesvärd
a72ac97f93 chore(worker): disable bullboard as an option 2024-12-02 20:05:04 +01:00
Carl-Gerhard Lindesvärd
9ffa213fc2 improve(worker): add env variable to disable workers 2024-11-27 12:54:36 +01:00
Carl-Gerhard Lindesvärd
0221948aab fix(worker): minor improvements of graceful shutdown 2024-11-20 14:02:31 +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
a022cb4831 feature(public,docs): new public website and docs 2024-11-13 21:15:46 +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
2a9f7bbe4f fix(worker): get correct profile id for session end 2024-10-06 21:07:56 +02:00
Carl-Gerhard Lindesvärd
f9a0025c72 chore(api): update bots and referrers 2024-10-05 23:49:03 +02:00