32 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
a1ce71ffb6 fix:buffers
* wip

* remove active visitor counter in redis

* test

* fix profiel query

* fix
2026-03-24 13:54:00 +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
860223f22e chore: use ultacite 2026-02-14 10:42:38 +00:00
Carl-Gerhard Lindesvärd
2d0478d626 fix(redis): avoid info command for sub/pub redis 2026-02-05 21:24:10 +00: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
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
d8a297edf2 fix: fix project access cache issue 2025-10-18 15:00:00 +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
e7c21bc92c fix: remove old event queue, cleaned up session handling, remove hacks 2025-10-09 09:25:52 +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
e5cacb73df fix(api): ensure we always have profile in cache (before inserted to clickhouse) 2025-08-13 20:57:42 +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
7750ca117f improve(api): update api to fastify v5 2025-02-28 09:19:27 +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
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
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
32e91959f6 chore(root): migrate to biome 2024-09-18 23:46:11 +02:00
Carl-Gerhard Lindesvärd
bda0204205 fix get profile id function 2024-08-09 23:00:38 +02:00
Carl-Gerhard Lindesvärd
b02cbb2946 add better cache for getProfileId 2024-08-09 23:00:38 +02:00
Carl-Gerhard Lindesvärd
41e46570b7 improvements while testing 2024-08-09 23:00:38 +02:00
Carl-Gerhard Lindesvärd
f2298a1b05 init redis lazy 2024-07-20 20:17:32 +02:00
Carl-Gerhard Lindesvärd
5e225b7ae6 batching events 2024-07-17 17:27:19 +02:00
Carl-Gerhard Lindesvärd
1e6cd0dee2 add better access control 2024-06-05 23:47:45 +02:00
Carl-Gerhard Lindesvärd
72981f0c83 add connection timeout for redis 2024-06-03 22:57:21 +02:00
Carl-Gerhard Lindesvärd
e6c0bc2ec8 rename mixan to OPENPANEL! 2024-03-11 13:40:46 +01:00
Carl-Gerhard Lindesvärd
43b2fbe7e4 remove sdk/types package and move it to main sdk package 2024-02-28 11:09:51 +01:00
Carl-Gerhard Lindesvärd
484a6b1d41 server side events and ui improvemnt 2024-02-09 15:05:59 +01:00
Carl-Gerhard Lindesvärd
fcbc73e5b1 add envs to api dockerfile 2024-02-05 21:22:18 +01:00
Carl-Gerhard Lindesvärd
ccd1a1456f a lot 2024-02-04 13:23:21 +01:00