Commit Graph
49 Commits
Author SHA1 Message Date
Mike Cao fd2e2047cd Restrict x-umami-client-* headers to cloud mode only. 2026-01-23 20:52:39 -08:00
Mike Cao fbd0564133 Add x-umami-client-* headers as highest priority source for client detection. 2026-01-23 20:04:01 -08:00
Mike CaoandGitHub 23ff20a10b Merge pull request #3809 from RaenonX/master
Allow `browser` / `os` / `device` override in `payload` & return `cache` from `/api/batch`
2025-12-03 00:01:30 -08:00
RaenonX 805bc57bbb Added browser / os / device override in payload 2025-12-01 04:06:17 +08:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao 684863d6c7 Added laptop detection. Reorganized IP headers. 2025-11-03 16:44:01 -08:00
Mike Cao 067567cbf6 Force geo build with BUILD_GEO env var. 2025-10-31 00:13:02 -07:00
Mike Cao 1b400da7b2 Fixed share page. Updated device detect. Updated teams fetch. 2025-09-25 11:21:44 -07:00
Mike Cao a4a9d6c227 Added stripPort function. Reorganized constants. 2025-09-16 21:23:08 -07:00
Mike Cao 04c06443a8 Merge branch 'master' into dev
# Conflicts:
#	.github/workflows/ci.yml
#	src/lang/es-ES.json
#	src/lang/sl-SI.json
#	src/lib/constants.ts
#	src/lib/detect.ts
#	src/queries/sql/reports/getRevenue.ts
2025-09-16 21:11:12 -07:00
Michael Wallner 58c2d068e7 refactor getLocation to use lookup array for cleaner header extraction 2025-08-27 17:47:24 +02:00
Michael Wallner 8df72c55e5 add support for CloudFront headers in getLocation 2025-08-26 17:28:13 +02:00
Mike Cao 0ac8bd41b6 Pixel route. 2025-08-18 15:49:10 -07:00
Francis Cao 90682b79d2 Merge branch 'dev' of https://github.com/umami-software/umami into analytics 2025-07-17 11:22:21 -07:00
Mike Cao 5ed1d710cb Merge branch 'master' into jajaja
# Conflicts:
#	package.json
#	pnpm-lock.yaml
#	src/lib/detect.ts
2025-07-08 18:45:02 -07:00
Mike CaoandGitHub b2a6e3f842 Merge pull request #3505 from eoussama/master
Added optional website ID for creation
2025-07-07 22:58:16 -07:00
Alex EscalanteandGitHub 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 8abb470234 Merge branch 'dev' into jajaja 2025-06-18 21:43:58 -07:00
Mike CaoandGitHub 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
Mike Cao 0027502707 Merge branch 'dev' into jajaja
# Conflicts:
#	src/lib/detect.ts
#	src/queries/sql/reports/getRevenue.ts
2025-06-08 22:26:26 -07:00
undefinedandGitHub 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
Mike Cao c969603001 Converted global to globalThis. 2025-04-28 23:05:18 -07:00
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