Commit Graph

64 Commits

Author SHA1 Message Date
9b197abcfa chore:little fixes and formating and linting and patches 2026-03-31 15:50:54 +02:00
Carl-Gerhard Lindesvärd
11e9ecac1a feat: group analytics
* wip

* wip

* wip

* wip

* wip

* add buffer

* wip

* wip

* fixes

* fix

* wip

* group validation

* fix group issues

* docs: add groups
2026-03-20 10:46:09 +01:00
Carl-Gerhard Lindesvärd
4483e464d1 fix: optimize event buffer (#278)
* fix: how we fetch profiles in the buffer

* perf: optimize event buffer

* remove unused file

* fix

* wip

* wip: try groupmq 2

* try simplified event buffer with duration calculation on the fly instead
2026-03-16 13:29:40 +01:00
Carl-Gerhard Lindesvärd
271d189ed0 feat: added google search console 2026-03-09 20:47:02 +01:00
Carl-Gerhard Lindesvärd
928c44ef6a fix: duplicate session start (race condition) + remove old device id handling 2026-02-27 09:56:51 +01:00
Carl-Gerhard Lindesvärd
aa81bbfe77 feat: session replay
* wip

* wip

* wip

* wip

* final fixes

* comments

* fix
2026-02-26 14:09:53 +01:00
Carl-Gerhard Lindesvärd
ee27568824 feat: backfill profile id on events 2026-02-18 17:42:17 +01:00
Carl-Gerhard Lindesvärd
860223f22e chore: use ultacite 2026-02-14 10:42:38 +00:00
Carl-Gerhard Lindesvärd
e645c094b2 feature: onboarding emails
* wip

* wip

* wip

* fix coderabbit comments

* remove template
2026-01-22 10:38:05 +01:00
Carl-Gerhard Lindesvärd
3c085e445d fix: better validation of events + clean up (#267) 2026-01-07 11:58:11 +01:00
Carl-Gerhard Lindesvärd
5f38560373 feat: insights
* fix: migration for newly created self-hosting instances

* fix: build script

* wip

* wip

* wip

* fix: tailwind css
2025-12-19 09:37:15 +01:00
Carl-Gerhard Lindesvärd
d7c6e88adc fix: change order keys for clickhouse tables
* wip

* rename

* fix: minor things before merging new order keys

* fix: add maintenance mode

* fix: update order by for session and events

* fix: remove properties from sessions and final migration test

* fix: set end date on migrations

* fix: comments
2025-12-16 12:48:51 +01:00
Carl-Gerhard Lindesvärd
28692d82ae fix: add groupmq back to api 2025-12-14 11:34:43 +01:00
Carl-Gerhard Lindesvärd
d2b22867b9 fix: bump groupmq 2025-12-09 13:29:33 +01:00
Carl-Gerhard Lindesvärd
2b8bcf1ed7 fix: bump groupmq 2025-12-08 22:13:04 +01:00
Carl-Gerhard Lindesvärd
da59622dce fix: overall perf improvements
* fix: ignore private ips

* fix: performance related fixes

* fix: simply event buffer

* fix: default to 1 events queue shard

* add: cleanup scripts

* fix: comments

* fix comments

* fix

* fix: groupmq

* wip

* fix: sync cachable

* remove cluster names and add it behind env flag (if someone want to scale)

* fix

* wip

* better logger

* remove reqid and user agent

* fix lock

* remove wait_for_async_insert
2025-11-15 22:13:59 +01:00
Carl-Gerhard Lindesvärd
212254d31a feat: new importer (#214) 2025-11-05 09:49:36 +01:00
Carl-Gerhard Lindesvärd
e3d3627c16 fix: broken integration 2025-10-22 17:18:49 +02:00
Carl-Gerhard Lindesvärd
9790ba8937 feat: prepare supporter self-hosting 2025-10-22 09:44:56 +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
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
52b86682e2 fix: ensure we dont bloat notification table with any other notification than app 2025-09-03 21:39:21 +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
0d58a5bf0c improve(queue): how we handle incoming events and session ends 2025-06-03 21:19:01 +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
a1eb4a296f feature(dashboard): refactor overview
fix(lint)
2025-03-20 09:40:01 +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
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
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
f65a633403 feature(dashboard): add integrations and notifications 2024-10-02 22:41:35 +02:00
Carl-Gerhard Lindesvärd
ea141e99a2 fix(worker): handle edge cases when jobs are not delayed 2024-09-25 09:11:54 +02:00
Carl-Gerhard Lindesvärd
545cbfd520 feature(worker+api): improve buffer 2024-09-18 23:46:37 +02:00
Carl-Gerhard Lindesvärd
32e91959f6 chore(root): migrate to biome 2024-09-18 23:46:11 +02:00
Carl-Gerhard Lindesvärd
df05e2dab3 Self-hosting! (#49)
* added self-hosting
2024-08-28 09:28:44 +02:00
Carl-Gerhard Lindesvärd
ccfddc215f save sdk name and version 2024-08-09 23:00:38 +02:00
Carl-Gerhard Lindesvärd
15e997129a initial for v1 2024-08-09 23:00:38 +02:00
Carl-Gerhard Lindesvärd
0fea45c9f7 rename IServiceCreateEventPayload 2024-07-21 23:55:04 +02:00
Carl-Gerhard Lindesvärd
f2298a1b05 init redis lazy 2024-07-20 20:17:32 +02:00
Carl-Gerhard Lindesvärd
492141547d improve session end 2024-07-20 16:34:31 +02:00
Carl-Gerhard Lindesvärd
ec39b1fccc change imports 2024-07-17 22:00:50 +02:00
Carl-Gerhard Lindesvärd
5e225b7ae6 batching events 2024-07-17 17:27:19 +02:00
Carl-Gerhard Lindesvärd
41143ca5f8 ADD CROSS DOMAIN SUPPORT 2024-06-26 22:35:29 +02:00
Carl-Gerhard Lindesvärd
f1fc54e23a filter out keys that does not end with a timestamp 2024-05-29 20:51:37 +02:00
Carl-Gerhard Lindesvärd
494044a3e2 speed up worker 2024-05-13 22:43:07 +02:00