Commit Graph
119 Commits
Author SHA1 Message Date
Magnús Bergsson 2cfd5421eb Add ISK (Icelandic Króna) to revenue currencies 2026-09-05 15:05:51 +00:00
Francis Cao b3aec54bb3 Fix excludeBounce query, simplify bounce definition for SPA websites, query routing for performance, add tests 2026-07-30 09:34:35 -07:00
Federico D'Eredità 82a5a12208 refactor(constants): simplify BOUNCE_THRESHOLD parsing
`parseInt(undefined, 10)` returns NaN and the `|| 1` fallback already
covers it, so the `|| '1'` default was redundant.
2026-07-26 18:49:59 +02:00
Federico D'Eredità 19fcde2c9c refactor(queries): replace hardcoded event types with constants
Replaced hardcoded `event_type` values with named constants from
`EVENT_TYPE`, as in #3614. Added the `BOUNCE_THRESHOLD` constant and
documented it in `docker-compose.yml`.
2026-07-26 18:49:58 +02:00
Mike Cao fb56a8f922 Merge branch 'dev' into fix/improve-ir-fa-support 2026-07-25 10:42:33 -07:00
Francis Cao 735d85c7af fix channel attribution for organic Facebook traffic. Closes #4297 2026-07-02 11:51:46 -07:00
Francis Cao 129681ebd7 fix: harden analytics writes and hide internal server errors from client 2026-06-22 22:07:07 -07:00
Mike Cao 46819a4443 Enforce team role hierarchy on user updates and removals 2026-06-02 21:32:34 -07:00
Mike Cao 8bc49a29e3 Fix share token confusion vulnerability
Cache tokens from /api/send and share tokens were both signed with the same secret and parsed without distinguishing claim types, allowing a public cache token to be replayed as x-umami-share-token to read any website's analytics. Add explicit token type claims (share/cache) and require the matching type when parsing each.
2026-06-02 14:45:21 -07:00
Mohamad Jahani e347f767a7 Add IRR (Iranian Rial) to supported currencies 2026-06-02 04:14:18 +03:30
Francis Cao 3230f6596f add more truncation fields on save 2026-05-16 17:44:53 -07:00
Francis Cao 21b56d2922 add LLM channel logic 2026-05-11 10:31:04 -07:00
Mike Cao 216cf6c448 Migrate test suite from Cypress and Jest to Playwright and Vitest 2026-05-09 01:23:20 -07:00
Francis Cao fa182d0947 implement URL pageview metric/expanded metric 2026-05-07 16:59:30 -07:00
Mike Cao 6c2155d496 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-05-07 14:54:25 -07:00
Mike Cao 6672ea04f0 Label generic browser as unknown 2026-05-07 14:30:43 -07:00
Francis Cao fbac7518fc Add MAX_PAGING_RESULTS on hooks for performance improvements. 2026-05-04 15:43:05 -07:00
Mike Cao a6b13b71db Add click heatmaps report
Extracts click events from rrweb session-replay buffers at write time
into a new heatmap_event table (Prisma + ClickHouse). New /heatmaps
report shows a page picker plus an overlay of click density on the
dominant viewport, with an optional iframe of the live page behind.
2026-04-27 22:20:38 -07:00
Francis Cao 9d477b25b4 Fix share page permissions 2026-04-15 14:55:28 -07:00
Mike Cao 7582aed67b Update session replay payload to use { type, payload } format 2026-03-23 16:30:53 -07:00
Francis Cao f6a6d2cc31 performance updates checkpoint 2026-03-05 10:12:30 -08:00
Mike Cao e2ab4af493 Merge branch 'performance' into dev 2026-02-25 02:27:46 -08:00
Francis Cao f2cf071523 add regex operators 2026-02-20 13:43:16 -08:00
Mike CaoandClaude Opus 4.6 ce9e2416fb Add Web Vitals performance tracking (LCP, INP, CLS, FCP, TTFB)
End-to-end performance metrics tracking: dedicated database table with
percentile aggregation, tracker collection behind data-perf attribute,
/api/send handling, report API endpoints, and Performance dashboard page
with threshold-based metric cards, time-series chart, and per-page breakdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:25:20 -08:00
Francis Cao 49adaa32d0 implement UTM filters and fields 2026-02-05 16:30:46 -08:00
Francis Cao 7bb30443a8 Add distinct ID to filters/expanded metrics. Closes #3861 2026-01-26 11:05:20 -08:00
Francis Cao 889a404650 share table schema + migration 2026-01-14 15:33:06 -08:00
Yash 4eddac21c7 feat: Add default currency support and update currency handling in Revenue component 2025-12-25 20:41:14 +05:30
Mike Cao ef3f7274e3 Remember last team. 2025-11-17 19:12:25 -08:00
Francis CaoandOm Mishra 839bf3898f add canonicalizeTimezone conversions
Co-authored-by: Om Mishra <contact@om-mishra.com>
2025-11-10 17:27:45 -08:00
Mike Cao 8115709a8b Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	src/app/(main)/teams/TeamsDataTable.tsx
#	src/app/(main)/teams/TeamsJoinButton.tsx
#	src/app/(main)/teams/[teamId]/TeamSettings.tsx
2025-09-23 23:10:05 -07:00
Mike Cao 3afe843461 Fixed ISO countries. 2025-09-23 17:49:36 -07:00
Mike Cao c51dd7e606 Merge branch 'master' into dev
# Conflicts:
#	.github/workflows/cd-manual.yml
#	.github/workflows/cd.yml
#	.github/workflows/ci.yml
#	src/lib/detect.ts
2025-09-23 17:43:24 -07:00
Francis Cao 1a5c7df671 Fix broken icons, remove showActions from TeamsTable, fix margins for pixel/link overview 2025-09-23 13:55:27 -07:00
Mike Cao f639bb07f4 Added menu options for cloud mode. Async fixes. 2025-09-23 09:14:01 -07:00
Tobias Kronthaler cb209eee81 Fix map display for DACH 2025-09-23 10:09:58 +02: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
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 f9442001e4 Updated cohort processing. 2025-08-27 14:05:46 -07: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 08f9adaddf Updated expanded view. Some style fixes. 2025-08-23 03:05:21 -07:00
Mike Cao 0ac8bd41b6 Pixel route. 2025-08-18 15:49:10 -07:00
Mike Cao 5f4b83b09c Link editing. 2025-08-15 11:11:24 -07:00
Francis Cao 38f251ead5 finish expanded queries and ui. 2025-08-07 09:47:18 -07:00
Francis Cao 0a0c1f27c6 implement pageviews, events, and channels queries 2025-08-05 00:37:44 -07:00
Mike Cao b552868e0a Merge branch 'dev' into jajaja
# Conflicts:
#	next.config.ts
#	src/app/(main)/settings/preferences/LanguageSetting.tsx
#	src/components/hooks/useConfig.ts
2025-07-27 02:11:32 -07:00