Commit graph

31 commits

Author SHA1 Message Date
Mike Cao
b2a6e3f842
Merge pull request #3505 from eoussama/master
Added optional website ID for creation
2025-07-07 22:58:16 -07:00
Alex Escalante
26ddfd5a80
Sanitize IP to remove port for geolocation lookup
Sanitize IP address to remove port number before geolocation lookup. This ensures proper MaxMind database resolution in setups where IP:PORT is passed by the proxy.
2025-06-30 18:40:21 -06:00
Francis Cao
a753809a74 Merge branch 'dev' of https://github.com/umami-software/umami into feat/add-segments 2025-06-26 09:12:51 -07:00
Mike Cao
f41c9a635f
Merge pull request #3456 from vedantbhavsar26/feat-1
fix: decode location fields in user detection
2025-06-18 14:30:24 -07:00
Francis Cao
1ccc8a1a86 Merge branch 'dev' of https://github.com/umami-software/umami into feat/add-segments 2025-06-11 06:46:31 -07:00
undefined
826f29bbc0
chore: allow custom geolite database path 2025-06-05 17:34:09 +01:00
Exlaso
bf94c5dc73 fix: use safeDecodeURIComponent for location fields in user detection 2025-06-04 12:43:02 +05:30
Exlaso
0736289ce1 fix: handle unknown location fields in user detection 2025-05-30 11:19:19 +05:30
Exlaso
ebdd9095ab fix: decode location fields in user detection 2025-05-30 11:14:03 +05:30
Francis Cao
12b8ac4272 app and db schema - region rename, hostname move 2025-04-24 22:42:33 -07:00
Mike Cao
abde966647 Fixed wrong country lookup. 2025-03-07 21:41:02 -08:00
Mike Cao
0aad3d8e05 Lookup location for payload IPs. Removed hostname from session id. 2025-02-21 18:11:52 -08:00
Mike Cao
88227b6b29 Updated maxmind lookup. 2025-02-06 10:25:09 -08:00
Mike Cao
7e2d257293 Fixed tests. 2025-02-01 20:04:43 -08:00
Mike Cao
f3e733dea3 Updated report schemas. Removed yup. 2025-01-31 23:46:23 -08:00
Mike Cao
aaf8b1935f Fixed auth check. 2025-01-31 00:27:22 -08:00
Mike Cao
85382e25af Refactored send. Purged pages api routes. 2025-01-31 00:15:39 -08:00
Mike Cao
c0a67dadd5 Updated send logic. 2025-01-08 17:00:59 -08:00
Pawel Romanski
6138acc14a fix cf header encoding 2024-12-08 17:39:29 +01:00
Mike Cao
d501410a63 Fixed console command. Updated packages. 2024-07-04 15:55:06 -07:00
Mike Cao
4ca4be4445 Added types for session data. 2024-04-18 14:23:14 -07:00
Mike Cao
698f0c6bbd Changed getClientInfo method. Refactored send logic. 2024-04-05 01:48:59 -07:00
Mike Cao
a933f5b4a0 Lowercase before checking headers. Closes #2634. 2024-03-27 20:13:31 -07:00
Mike Cao
3d343991dc Added tests for IP detection. 2024-03-04 16:08:39 -08:00
Ben
ebb29b8207 Allow setting visitor IP when registering event through API 2024-01-24 13:25:37 +01:00
Maxime-J
a34747578f ensure country in region code 2023-11-08 18:49:30 +00:00
Mike Cao
620011a837 Removed getJsonBody. 2023-08-30 16:40:32 -07:00
Mike Cao
61df80112a Updated subdivision check. 2023-08-30 15:43:39 -07:00
Francis Cao
50b4ac9889 add optional check for subdivision 2023-08-30 09:52:24 -07:00
Mike Cao
4b0118dce1 Ensure region code includes country. 2023-08-27 22:36:37 -07:00
Mike Cao
ede658771e Moved code into src folder. Added build for component library. 2023-08-21 02:06:09 -07:00
Renamed from lib/detect.ts (Browse further)