Commit Graph

218 Commits

Author SHA1 Message Date
Carl-Gerhard Lindesvärd
bc84404235 wip 2025-12-17 09:18:31 +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
9bedd39e48 fix: remove groupmq from api 2025-12-09 22:45:09 +01:00
Carl-Gerhard Lindesvärd
7131e3f461 fix: log whats needed 2025-12-09 22:44:26 +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
969c0bc8fe fix: ensure job id is a clean string 2025-12-08 20:32:29 +01:00
Carl-Gerhard Lindesvärd
b421474616 feat: report editor
commit bfcf271a64c33a60f61f511cec2198d9c8a9c51a
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Wed Nov 26 12:32:40 2025 +0100

    wip

commit 8cd3b89fa3
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Tue Nov 25 22:33:58 2025 +0100

    funnel

commit 95af86dc44
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Tue Nov 25 22:23:25 2025 +0100

    wip

commit 727a218e6b
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Tue Nov 25 10:18:26 2025 +0100

    conversion wip

commit 958ba535d6
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Tue Nov 25 10:18:20 2025 +0100

    wip

commit 3bbeb927cc
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Tue Nov 25 09:18:48 2025 +0100

    wip

commit d99335e2f4
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Mon Nov 24 18:08:10 2025 +0100

    wip

commit 1fa61b1ae9
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Mon Nov 24 15:50:28 2025 +0100

    ts

commit 548747d826
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Mon Nov 24 13:17:01 2025 +0100

    fix typecheck events -> series

commit 7b18544085
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Mon Nov 24 13:06:46 2025 +0100

    fix report table

commit 57697a5a39
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Sat Nov 22 00:05:13 2025 +0100

    wip

commit 06fb6c4f3c
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Fri Nov 21 11:21:17 2025 +0100

    wip

commit dd71fd4e11
Author: Carl-Gerhard Lindesvärd <lindesvard@gmail.com>
Date:   Thu Nov 20 13:56:58 2025 +0100

    formulas
2025-11-26 12:33:41 +01:00
Carl-Gerhard Lindesvärd
c9cf0274af fix: reset exceeded at when upgrading account 2025-11-24 20:27:46 +01:00
Carl-Gerhard Lindesvärd
790801b728 feat: revenue tracking
* wip

* wip

* wip

* wip

* show revenue better on overview

* align realtime and overview counters

* update revenue docs

* always return device id

* add project settings, improve projects charts,

* fix: comments

* fixes

* fix migration

* ignore sql files

* fix comments
2025-11-19 14:27:34 +01:00
Carl-Gerhard Lindesvärd
aa8765d627 tmp logging 2025-11-17 14:44:37 +01:00
Carl-Gerhard Lindesvärd
10726bf373 fix: better support for custom timestamps 2025-11-17 13:56:55 +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
8fbe944df0 fix: use correct client ip header 2025-11-14 13:16:57 +01:00
Carl-Gerhard Lindesvärd
212254d31a feat: new importer (#214) 2025-11-05 09:49:36 +01:00
Carl-Gerhard Lindesvärd
c67f7f9578 fix: error when session expired 2025-11-01 12:35:23 +01:00
Carl-Gerhard Lindesvärd
f454449365 fix: read-after-write issues (#215)
* fix: read-after-write issues

* fix: coderabbit comments

* fix: clear cache on invite

* fix: use primary after a read
2025-10-31 09:56:07 +01:00
Carl-Gerhard Lindesvärd
ddc99e9850 feat: ignore secret or cors for client 2025-10-29 21:14:43 +01:00
Carl-Gerhard Lindesvärd
9790ba8937 feat: prepare supporter self-hosting 2025-10-22 09:44:56 +02:00
Carl-Gerhard Lindesvärd
84a3552daf fix: log session as well 2025-10-18 11:37:15 +02:00
Carl-Gerhard Lindesvärd
21fc076368 fix: checkout 2025-10-18 10:28: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
436e81ecc9 fix(api): allow multiple cors origins 2025-10-10 15:42:52 +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
5b2f09f29c fix: always use currentDeviceId on client request to make sure they arrive in same group 2025-10-08 07:46:50 +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
e4bc21fc2e fix: set random groupId if events from a server without a profile id 2025-10-07 09:57:12 +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
b3e06e985d chore: update bots and series icons 2025-10-05 12:01:06 +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
ca4a880acd feat: graceful shutdown (#205)
* feat: graceful shutdown

* comments by coderabbit

* fix
2025-10-02 11:03:54 +02:00
Carl-Gerhard Lindesvärd
df32bb04a0 feat(api): add insights endpoints 2025-09-08 22:07:09 +02:00
Carl-Gerhard Lindesvärd
113ab0a28d chore: update bots and referrers 2025-07-02 12:16:01 +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
5c5154ee86 fix: clear cache for organizations when subscriptions updates 2025-06-04 12:00:45 +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
95a30a660c fix(api): ensure we use correct date format to get chart (export) 2025-05-23 12:00:24 +02:00
Carl-Gerhard Lindesvärd
ce184b157f fix(api): filter events by profileId for export route 2025-05-21 20:52:26 +02:00
Carl-Gerhard Lindesvärd
89ab8d08de improve(api): increase limit 1000, allow both projectId and project_id 2025-04-16 21:40:22 +02:00
Carl-Gerhard Lindesvärd
34769a5d58 feat(ai): add ai chat to dashboard 2025-04-15 14:30:21 +02:00
Carl-Gerhard Lindesvärd
e9133aa5a8 trigger(build) 2025-03-28 09:37:24 +01:00
Carl-Gerhard Lindesvärd
1ce8ab8fc8 trigger build 2025-03-24 19:17:44 +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
08b07e42fb fix(buffer): do not update created_at for profiles since its our partition key 2025-03-06 11:07:09 +01:00