Commit Graph

39 Commits

Author SHA1 Message Date
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
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
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
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
5c6ad93ff5 improve(api): how we check duplicate requests 2025-02-28 10:03:28 +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
44721f84da fix(buffer): ensure we don't have duplicate events 2025-02-27 12:48:43 +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
4bf55fe840 improve(api): cache geo 2025-02-11 21:57:07 +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
2688a428d9 chore(api): add option to not add new jobs 2025-02-08 22:13:16 +01:00
Carl-Gerhard Lindesvärd
f4ad97d87d feature(dashboard): add ability to filter out events by profile id and ip (#101) 2024-12-07 21:34:32 +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
25f329a4cd chore(buffer): iron out the buffer issues 2024-09-19 21:38:40 +02:00
Carl-Gerhard Lindesvärd
dfe00040de chore(buffer): final adjustments to buffer before deploy 2024-09-18 23:46:38 +02:00
Carl-Gerhard Lindesvärd
32e91959f6 chore(root): migrate to biome 2024-09-18 23:46:11 +02:00
Carl-Gerhard Lindesvärd
0e26ac6347 Revert "wip"
This reverts commit 336ba116a1.
2024-08-27 22:59:48 +02:00
Carl-Gerhard Lindesvärd
336ba116a1 wip 2024-08-26 13:14:36 +02:00
Carl-Gerhard Lindesvärd
ccfddc215f save sdk name and version 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
ddc2ce338f clean up 2024-07-18 21:44:17 +02:00
Carl-Gerhard Lindesvärd
5e225b7ae6 batching events 2024-07-17 17:27:19 +02:00
Carl-Gerhard Lindesvärd
42ede249ea test self-hosting 2024-07-03 15:15:37 +02:00
Carl-Gerhard Lindesvärd
b9736315b3 remove logs from event controller 2024-07-01 22:36:36 +02:00
Carl-Gerhard Lindesvärd
7572d27f77 Testing self-hosting 2024-07-01 11:14:33 +02:00
Carl-Gerhard Lindesvärd
41143ca5f8 ADD CROSS DOMAIN SUPPORT 2024-06-26 22:35:29 +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
b04b9d16c6 api: use request-ip 2024-03-31 22:19:00 +02:00
Carl-Gerhard Lindesvärd
edcc08e1df sdk: add express sdk 2024-03-31 15:19:03 +02:00
Carl-Gerhard Lindesvärd
ecf68463c9 🙊 escape sql strings 2024-03-28 15:57:13 +01:00
Carl-Gerhard Lindesvärd
444e553b74 🧹 clean up duty 🧹 2024-03-28 10:40:49 +01:00
Carl-Gerhard Lindesvärd
7300631630 api: improve ref parser 2024-03-14 09:50:23 +01:00
Carl-Gerhard Lindesvärd
996702437f fix dast 2024-03-13 11:18:46 +01:00
Carl-Gerhard Lindesvärd
48aecc4b37 format:fix 2024-03-13 08:55:24 +01:00
Carl-Gerhard Lindesvärd
558318c312 handle as server event if user-agent missing 2024-03-13 08:47:53 +01:00
Carl-Gerhard Lindesvärd
e6c0bc2ec8 rename mixan to OPENPANEL! 2024-03-11 13:40:46 +01:00
Carl-Gerhard Lindesvärd
6d4f9010d4 move sdk packages to its own folder and rename api & dashboard 2024-03-11 13:15:44 +01:00