Commit Graph
1879 Commits
Author SHA1 Message Date
seojcarlos dbcd51ac2c fix: guard toISOString against Invalid Date in Firefox
Wrap toISOString calls with try-catch to prevent TypeError when
date-fns-tz localToUtc returns Invalid Date in Firefox. Falls back
to the original pre-conversion date if conversion fails.
2026-04-12 09:45:43 +02:00
seojcarlos 816b51096d fix: guard toISOString calls against Invalid Date in Firefox
The previous fix guarded startAt/endAt numeric values but left
startDate/endDate calling .toISOString() on the potentially invalid
result of localToUtc(), which throws TypeError in Firefox when
zonedTimeToUtc returns Invalid Date. Now falls back to raw date
.toISOString() when the UTC conversion is invalid.
2026-04-08 08:22:16 +02:00
seojcarlos 2cd9657ae1 fix: prevent NaN timestamps from breaking event charts in Firefox
When date-fns-tz zonedTimeToUtc returns Invalid Date in Firefox,
the unary + operator produces NaN, which gets sent as "NaN" in
query parameters. Routes using z.coerce.number().int() validation
(events/series, event-data/properties) reject NaN as non-integer,
returning 400 errors and showing "Something went wrong".

This fix:
- Falls back to raw date timestamps when timezone conversion
  produces NaN in useDateParameters
- Filters out NaN values in getQueryString to prevent invalid
  parameters from reaching the server

Fixes #4121
2026-04-07 21:24:11 +02:00
Francis Cao 2260520ae5 Revert "Fix TypeScript type errors across multiple files"
This reverts commit a3733b0424.
2026-02-16 16:20:04 -08:00
Mike Cao a3733b0424 Fix TypeScript type errors across multiple files 2026-02-05 21:25:46 -08:00
Mike Cao 33e927ed1f Bump version 3.0.2. 2025-12-03 23:01:22 -08:00
Mike Cao 1483241494 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-03 18:39:45 -08:00
Mike Cao c427c6f547 Fixed replica logic. 2025-12-03 17:05:14 -08:00
Mike Cao 33cb195fd0 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	package.json
#	pnpm-lock.yaml
#	src/app/(main)/links/[linkId]/LinkHeader.tsx
#	src/app/(main)/pixels/[pixelId]/PixelHeader.tsx
2025-12-03 15:13:50 -08:00
Mike Cao 64767b1896 Updated next. Fixed link RSC fetch. 2025-12-03 15:11:40 -08:00
Francis Cao dae7327ed3 Fix date range increment function
Closes #3828
2025-12-03 14:47:56 -08:00
Francis Cao 6b584338e3 fix PageHeader type errors 2025-12-03 11:06:03 -08:00
Mike Cao 41d2a24f9d Merge branch 'master' into dev
# Conflicts:
#	src/components/common/PageHeader.tsx
#	src/components/metrics/ActiveUsers.tsx
2025-12-03 00:17:44 -08:00
Mike Cao 1ae13513d2 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2025-12-03 00:16:22 -08:00
Mike Cao 32aee652a5 Merge pull request #3824 from IndraGunawan/disable-prefetch-view-link
fix: disable prefetch for Links view button
2025-12-03 00:14:11 -08:00
Mike Cao 16cae691f6 Don't prefetch links/pixels. Closes #3814 2025-12-03 00:03:56 -08:00
Mike Cao 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
Indra Gunawan 89b985652a fix: disable prefetch for Links view button 2025-12-03 15:31:54 +08:00
Francis Cao f47e1072d9 remove locale code from SharePage 2025-12-02 16:10:11 -08:00
Francis Cao 22f1b7d7c9 add theme and locale url parameter options to share page
Closes #3754
2025-12-02 15:57:45 -08:00
Francis Cao b0f38b266b truncate large legend labels
Closes #3813
2025-12-02 14:44:10 -08:00
Mike Cao e7cb613cec Merge remote-tracking branch 'origin/dev' into dev 2025-12-02 13:47:01 -08:00
Mike Cao 170821e2f9 Populate teams on login.
Closes #3796
2025-12-02 13:45:49 -08:00
Francis Cao 935517ce3a add cascading deletes to revenue/segment table
Closes #3798
2025-12-02 09:41:46 -08:00
Mike Cao f5896f071b Handle user account redirect. 2025-12-01 23:33:57 -08:00
Mike Cao 06251e1317 Merge pull request #3803 from imsyedabdullah/3802-team-to-user-switch
Issue#3802 - Team to user switch fixed
2025-12-01 23:15:00 -08:00
Mike Cao 9a2827b50d Merge pull request #3811 from IndraGunawan/support-uuidv7
add support for UUID v7
2025-12-01 23:11:23 -08:00
Mike Cao f5d6d0ebaf Merge branch 'dev' into feat/thumbnail-team-memory 2025-12-01 10:43:48 -08:00
Mike Cao 3071ee8b88 Merge branch 'dev' into 3802-team-to-user-switch 2025-12-01 10:12:19 -08:00
Indra Gunawan b16b98ffe8 Merge branch 'dev' into support-uuidv7 2025-12-01 17:02:26 +08:00
Indra Gunawan 4d70c3baf1 add support for UUID v7 2025-12-01 16:48:58 +08:00
RaenonX c86ea1a74f Updated /api/batch to return cache 2025-12-01 04:06:17 +08:00
RaenonX 805bc57bbb Added browser / os / device override in payload 2025-12-01 04:06:17 +08:00
RaenonX 92a7355ce3 Fixed /api/batch request recreation failure 2025-12-01 04:06:10 +08:00
Mike Cao 875c03bca1 Merge pull request #3801 from Lokimorty/skip-realtime-anim
fix: skip realtime chart animation when data unchanged
2025-11-29 23:31:36 -08:00
Prince EKPINSE e5a5aeecb5 feat(#3748): redirect user to last selected team on login 2025-11-29 16:54:45 +01:00
Prince EKPINSE 046cb6ef62 feat(#3748): restore favicon icons in websites list 2025-11-29 16:43:21 +01:00
Prince EKPINSE beb2bc0a06 feat: improve mobile navigation with clickable page elements (#3770) 2025-11-29 13:53:32 +01:00
Prince EKPINSE 776e404c6f fix: [#3778] update 'Edit' word to support translation 2025-11-29 12:40:22 +01:00
Mike Cao 3379cc6e89 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	pnpm-lock.yaml
2025-11-28 00:34:12 -08:00
Mike Cao d7fd22645c Fixed nav menus. 2025-11-28 00:33:53 -08:00
Syed Abdullah 50bfee3328 Moved the redirect to else statement 2025-11-28 06:30:22 +00:00
Syed Abdullah a645dc7ba5 Issue#3802 - Team to user switch fixed 2025-11-28 06:10:19 +00:00
Arthur Sepiol f5b5f159ec fix: skip realtime chart animation when data unchanged 2025-11-28 02:17:16 +03:00
Francis Cao 5c9403f748 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2025-11-26 11:03:50 -08:00
Francis Cao ac6ed9d762 add case-insensitivity to currency comparison 2025-11-26 11:01:58 -08:00
Mike Cao dcc1ae1864 Merge pull request #3787 from RaenonX/master
Fixed `/api/batch` request recreation failure
2025-11-25 16:08:02 -08:00
Mike Cao 5a44e6deb2 Merge pull request #3791 from travzhang/master
fix: fix SQL syntax error in getPageviewExpandedMetrics query
2025-11-25 16:05:58 -08:00
Travis Zhang 67e1af7e55 fix: fix SQL syntax error in getPageviewExpandedMetrics query 2025-11-25 21:13:35 +08:00
RaenonX 2b34cbeb37 Fixed /api/batch request recreation failure 2025-11-24 08:07:31 +08:00