Commit Graph
312 Commits
Author SHA1 Message Date
Tobias Kronthaler cb209eee81 Fix map display for DACH 2025-09-23 10:09:58 +02:00
Panagiotis 7d9fe30626 Resolve IPv6 address destruction 2025-09-21 22:56:59 +03:00
Mike Cao 2826daad1a Merge branch 'master' into fix-ip-header-ordering 2025-09-16 20:57:12 -07:00
Andrey Nering bfcc822b40 fix(geo): parse netlify ip header by default: x-nf-client-connection-ip
This header is not clearly documented, but it is mentioned in
semi-official sources, and I have tested it to ensure it's working
properly.

Without this, Umami is unable to detect geolocation by default if
deployed on Netlify.

* https://answers.netlify.com/t/is-the-client-ip-header-going-to-be-supported-long-term/11203/2
* https://httptoolkit.com/blog/what-is-x-forwarded-for/#and-others
2025-09-14 22:10:21 -03:00
Nick Maynard 2177256a2c Fix ordering to allow X-Forwarded-For to be correctly managed by Cloudflare 2025-09-08 23:05:22 +01:00
0xflotus de3e9d0be3 fix: put Google in the right order of grouped domains 2025-08-28 08:29:30 +02:00
Mike Cao 19a87388cd Merge pull request #3594 from 0xflotus/patch-2
chore: sort properties alphabetically
2025-08-27 20:41:27 -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
0xflotus ea2206f2e9 chore: sort properties alphabetically
I have sorted some of the properties alphabetically so that you can see more quickly in the future which ones may still be missing. I think it's easier to add some new ones this way.

I also fixed the `alibaba.com` domain from the typo `alibab.com`.
2025-08-25 21:02:13 +02:00
Mike Cao 827c1074b6 Merge branch 'dev' into analytics 2025-07-24 23:38:09 -07:00
Mike Cao 5b6292dd11 Converted variables to be runtime. 2025-07-24 22:41:23 -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
Francis Cao 2dcb9e21bd change pagestable to visitors and update clickhouse hostname column to array 2025-07-13 22:44:09 -07:00
Mike Cao b2a6e3f842 Merge pull request #3505 from eoussama/master
Added optional website ID for creation
2025-07-07 22:58:16 -07:00
Francis Cao e75d009df3 implement cohorts to clickhouse/pg library and all relevant queries 2025-07-03 12:06:49 -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
Francis Cao 657ae8ebdb udpate constants and references to filter groups 2025-06-24 11:09:36 -07:00
Francis Cao 5ffafc71fc finish segments, update migration from filters to parameters 2025-06-20 10:27:57 -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 8408bbd25c add api routes for segments 2025-06-17 10:08:08 -07:00
Francis Cao f61421b742 segments implementation and migration update. update getRequestFilters to include filter groups. 2025-06-13 07:34:54 -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
Francis Cao 1840b8b419 segment migration and support 2025-06-04 08:47:42 -07: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 3b24ea3175 remove split code 2025-05-08 09:06:27 -07:00
Francis Cao cd532fd53d fix minute x-axis date labels 2025-05-08 09:05:44 -07:00
Mike Cao 8ccaeb96b6 Fixed import. 2025-04-30 21:31:00 -07:00
Mike Cao 510503045b Prisma stuff. 2025-04-29 10:39:48 -07:00
Francis Cao c5efc27c07 distinct_id schema changes and search on sessions page 2025-04-29 08:57:58 -07:00
Mike Cao 5aaff55a70 Use custom path for generated Prisma client. 2025-04-28 16:51:24 -07:00
Mike Cao 5cbf5a567c Upgrade Prisma v6.6.0. 2025-04-26 21:25:55 -07:00
Mike Cao d44be466d8 Changed session id generation. 2025-04-25 21:48:59 -07:00
Mike Cao 02f0df3a2e Allow custom favicon URL. Closes #3365 2025-04-25 13:59:23 -07:00
Francis Cao 12b8ac4272 app and db schema - region rename, hostname move 2025-04-24 22:42:33 -07:00
Mike Cao 2c4c99f069 Updated report icon. Removed failing test. 2025-04-14 14:43:16 -07:00
Francis Cao 40ca861c69 Merge branch 'feat/attribution-report' into dev 2025-04-13 18:17:43 -07:00
Mike Cao 97b7a14a29 Fix test. 2025-03-31 22:49:34 -05:00
Mike Cao 0ad58ec07c Merge pull request #3323 from Cibiyanna26/auth-test
Added tests for /lib/charts
2025-03-31 20:25:36 -05:00
Cibiyanna26 42739c660e modifing yyy label, spy reset after each test gets finished 2025-03-25 14:01:03 +05:30
Cibiyanna26 85d89de072 Added tests for /lib/charts 2025-03-23 13:24:41 +05:30
Francis Cao 203e782530 Create attribution report template and parameters 2025-03-18 10:00:23 -07:00
Harry Oosterveen fa15a470fd Localized date and time in charts 2025-03-12 20:49:12 +01:00
Mike Cao abde966647 Fixed wrong country lookup. 2025-03-07 21:41:02 -08:00
Mike Cao 1b21f264b0 Added more paid ad params. Closes #3270 2025-03-07 13:37:19 -08:00
Francis Cao b1901c7278 update cypress tests, update zod validation error messaging to UI 2025-03-07 13:06:38 -08:00