Commit Graph

49 Commits

Author SHA1 Message Date
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
Carl-Gerhard Lindesvärd
0975a20e17 add long and lat to events 2024-05-09 21:49:56 +02:00
Carl-Gerhard Lindesvärd
3aecbfe627 get oldest delayed job 2024-05-05 15:20:55 +02:00
Carl-Gerhard Lindesvärd
215dac80ae better logging when promote does not work 2024-05-05 14:48:06 +02:00
Carl-Gerhard Lindesvärd
a877c44324 move all logic in event.controller to worker (speed up request) 2024-04-02 15:57:36 +02:00
Carl-Gerhard Lindesvärd
e6c0bc2ec8 rename mixan to OPENPANEL! 2024-03-11 13:40:46 +01:00
Carl-Gerhard Lindesvärd
8f03520645 fix api delayed jobs 2024-03-08 10:44:06 +01:00
Carl-Gerhard Lindesvärd
4d17a29c2e try fix event.controller 2024-03-07 22:18:50 +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
9c92803c4c a looooot 2024-02-22 21:50:30 +01:00
Carl-Gerhard Lindesvärd
95bc55b493 fix types and dockerfiles 2024-02-19 11:34:06 +01:00
Carl-Gerhard Lindesvärd
5afc49b7e4 dashboard: fix toaster 2024-02-12 07:43:33 +01:00
Carl-Gerhard Lindesvärd
85e4922dc3 new redis url parser 2024-02-11 22:31:22 +01:00
Carl-Gerhard Lindesvärd
ccd1a1456f a lot 2024-02-04 13:23:21 +01:00
Carl-Gerhard Lindesvärd
719a82f1c4 wip: docker 2024-01-14 07:39:02 +01:00