Commit Graph

6 Commits

Author SHA1 Message Date
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
60525f8905 feature(api): override user-agent information 2024-11-19 11:13:24 +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
f43c875b53 fix(common): handle iPadOS version number 2024-10-07 20:27:15 +02:00
Carl-Gerhard Lindesvärd
a831081b2d fix(common): parse user agent better 2024-10-06 21:07:38 +02:00
Carl-Gerhard Lindesvärd
301d86aa71 fix(common): move ua parser to common and import isServer flag 2024-10-05 23:44:56 +02:00