Commit Graph
6327 Commits
Author SHA1 Message Date
Francis Cao 137fd6fd5c fix ambiguoius session_id errors 2026-04-15 15:12:02 -07:00
Francis Cao 9d477b25b4 Fix share page permissions 2026-04-15 14:55:28 -07:00
Mike Cao f41c0221c4 fix docker prisma migrate and remove stray query log 2026-04-15 14:22:04 -07:00
Mike Cao 1b6fc1bd51 Use local Link wrapper with cloud-mode prefetch default 2026-04-15 11:21:49 -07:00
Francis Cao 0b4d8040b7 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-04-15 11:03:19 -07:00
Francis Cao 28cfcd0c80 disable active link 2026-04-15 11:02:46 -07:00
Francis Cao 17a31820fa fix filters persisting across website change 2026-04-15 10:55:30 -07:00
Francis Cao 04eb4b675e 3.1 relational bug fixes 2026-04-15 10:31:21 -07:00
Francis Cao b7f51b3b01 clean-up stylelint dependencies. using biome 2026-04-14 09:42:54 -07:00
Francis Cao d116cf2b1f fix boards migration drift 2026-04-14 09:27:07 -07:00
Francis Cao a87d899e17 fix sharetoken permissions on mixed boards 2026-04-13 11:32:47 -07:00
Francis Cao 5e6f88f123 fix board share permissions 2026-04-13 11:15:28 -07:00
IEBqp 16f79a494a fix(i18n): update country name from Turkey to Türkiye
- Updates the English locale to reflect the official 2022 ISO 3166-1 name change.
- Uses the \u00fc Unicode escape sequence to ensure safe rendering.
2026-04-13 13:45:00 +03:00
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
Francis Cao 3a31ad35b0 revert tracker double init logic 2026-04-11 10:48:22 -07:00
lawrence3699 3f44ec7b7d fix: add explicit AS keyword for PostgreSQL column alias in session and event queries
The session and event expanded metrics queries use implicit column
aliasing (`${column} name`) which causes a PostgreSQL syntax error
when the column name (like `os`) is followed by `name` without `AS`.

PostgreSQL parses `os name` ambiguously and fails with:
  syntax error at or near "name"

The sibling file getPageviewExpandedMetrics.ts already uses the correct
`${column} as name` pattern. This applies the same fix to the session
and event queries.

Fixes #3970
2026-04-10 11:46:53 +10:00
Francis Cao 18a6c2995a move multiple init guard to be per website ID not window 2026-04-08 10:45:32 -07:00
seojcarlos c229f7466f fix: revert arrayMap on stats_hourly to avoid misaligned arrays
The website_event_stats_hourly materialized view stores url_path and
url_query as independently filtered arrays, so their indices do not
correspond event-by-event. Using arrayMap to zip them would produce
wrong URL pairings and silently drop entries.

Reverted the stats_hourly path to use arrayJoin(url_path) as before.
The url_query concatenation still works correctly on direct
website_event queries (both PostgreSQL and ClickHouse).
2026-04-08 08:22:49 +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
Niels Kaspers 7ca24786e8 fix: make username login case-insensitive (#3981)
Normalize usernames to lowercase on lookup, creation, and update.
Also fix variable shadowing bug and same-user update check in
the user update endpoint.
2026-04-08 09:14:41 +03: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 54d3c43300 Revert "Merge pull request #4048 from AlejandroGispert/fix/3981-login-email-case"
This reverts commit b6341596bf, reversing
changes made to 07356323c1.
2026-04-07 11:26:58 -07:00
seojcarlos 509a91b990 fix: include url_query in pages report display
Pages report now concatenates url_path and url_query when rendering
URLs, so pages like /viewtopic.php?t=1 and /viewtopic.php?t=2 are
shown as separate entries instead of collapsing into /viewtopic.php.

Applies to PostgreSQL and ClickHouse queries for path, entry, and
exit page types in both standard and expanded metrics views.

Fixes #4133
2026-04-07 19:56:33 +02:00
Francis Cao 6b13b1cc13 Fix catchall nav issue 2026-04-07 10:56:19 -07:00
Mike Cao 4ca7d53f81 Merge pull request #3642 from hilja/tracker-fetch-priority-low
Set tracker’s fetch call priority to low
2026-04-04 17:13:20 -04:00
Mike Cao f8f86d72aa Merge branch 'dev' into tracker-fetch-priority-low 2026-04-04 17:12:29 -04:00
Mike Cao 14ab228572 Revert next and next-intl patch updates 2026-04-02 14:03:59 -04:00
Mike Cao b6341596bf Merge pull request #4048 from AlejandroGispert/fix/3981-login-email-case
fix: make signin email case-insensitive
2026-04-01 23:25:56 -04:00
Maxime-J 5f6fc7ee42 Fix incomplete retention report 2026-04-01 22:13:03 +02:00
Mike Cao 07356323c1 Updated packages. 2026-03-31 21:15:12 -04:00
Mike Cao a24eb91046 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-03-31 18:56:00 -04:00
Mike Cao 030f842242 Updated packages. 2026-03-31 18:55:44 -04:00
Francis Cao edbb291628 fix undefined share params allowing access to pages 2026-03-31 15:15:39 -07:00
Francis Cao fc5edff02d Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-03-31 14:08:01 -07:00
Francis Cao 1d04a02fd8 Hide replays from share page 2026-03-31 13:43:03 -07:00
Francis Cao c0b17f7787 Fix session avatar href 2026-03-31 13:36:49 -07:00
Francis Cao 163e46d1f1 Fix session avatar href 2026-03-31 13:36:23 -07:00
Francis Cao 726ee586b0 sharePage hotfix 2026-03-31 13:20:46 -07:00
Francis Cao 26ced6cdf2 sharePage hotfix 2026-03-31 13:17:33 -07:00
Mike Cao 3f673557a9 Merge pull request #4112 from sputnik-mac/fix/revenue-chart-timezone-4107
fix: use settings timezone in revenue chart date range
2026-03-29 20:25:10 -07:00
Mike Cao c4e52e7dcd Remove fs-extra dependency in favor of native node:fs 2026-03-29 23:12:45 -04:00
Mike Cao 224bbbb8de Merge pull request #3606 from fauzora/fix/tracker-single-init
fix(tracker): prevent multiple initialization when script injected more than once
2026-03-29 20:05:32 -07:00
Francis Cao 09e5196ea3 Goal/Funnel mobile friendly changes. Polish event-data filters UI/UX 2026-03-28 10:28:59 -07:00
Francis Cao 35680918c0 add page icons to collapsed share menu 2026-03-26 15:30:11 -07:00
Mike Cao 9e76bd4cf8 More fixes. 2026-03-25 13:57:32 -07:00
Mike Cao b881ac5f34 Syntax fixes. 2026-03-25 13:54:23 -07:00
Mike Cao 9fd4fe628d Merge pull request #4054 from Yashh56/cache-control
feat: add cache control headers to GET response
2026-03-25 13:42:23 -07:00
Mike Cao 0500eaf3b5 Merge pull request #4090 from boutterudy/feat-funnel-per-step-filters
feat(funnels): add per-step event property filters
2026-03-25 13:40:48 -07:00
Mike Cao fb785180d5 Merge branch 'dev' into feat-funnel-per-step-filters 2026-03-25 13:40:12 -07:00
Francis Cao 54dbfe1ca9 Support wildcard for goals report Closes #4086 2026-03-25 09:19:08 -07:00