Commit Graph
565 Commits
Author SHA1 Message Date
Francis Cao 264466191e deterministic order for getReports. Closes #4323 2026-06-05 09:53:45 -07:00
Mike Cao a52f32604a Fixed channel metrics queries. 2026-06-04 02:08:01 -07:00
Mike Cao 306ca4a435 Lint format files. Updated rng function. 2026-06-02 22:35:07 -07:00
Francis Cao c4b1452c29 apply path filter to heatmap pages 2026-06-01 14:23:27 -07:00
Francis Cao 4d831a97a4 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-06-01 12:43:57 -07:00
Francis Cao 169387958e fix snapshot URL builder 2026-06-01 09:44:37 -07:00
Francis Cao 60ec6d2e91 fix snapshot retrieval URL 2026-06-01 09:26:31 -07:00
Mike Cao e28309f8f7 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-05-28 13:37:42 -07:00
Francis Cao 1a6f494754 add back PLAYWRIGHT_URL implementation 2026-05-27 16:24:01 -07:00
Francis Cao cf7b722fe6 revert playwright core changes 2026-05-27 16:21:31 -07:00
Francis Cao d803eb7210 fix import errors for playwright test 2026-05-27 16:04:39 -07:00
Francis Cao c3cddcb774 fix playwright service createSnapshotBrowser 2026-05-27 16:00:28 -07:00
Francis Cao 39ef9a757b capture heatmap snapshot error 2026-05-27 15:52:46 -07:00
Francis Cao 824b3ff966 update playwright as seperate service 2026-05-27 15:35:07 -07:00
Francis Cao bb31fc7388 implement fix for playwright docker build 2026-05-27 13:46:14 -07:00
Mike Cao aba1fea238 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-05-26 20:45:25 -07:00
Mike Cao c41bf7c93e Enforce cloud website limits by subscription tier 2026-05-26 20:45:07 -07:00
Francis Cao 7ac3f1eecc fix export build errors 2026-05-26 16:00:46 -07:00
Francis Cao a63c769ab6 fix error messaging. 2026-05-26 15:57:00 -07:00
Francis Cao b5d56a2a29 remove unused replay snapshot path before merge 2026-05-22 11:09:57 -07:00
Francis Cao 462be82782 swap out S3 for R2 for heatmap storage 2026-05-22 10:47:56 -07:00
Francis Cao 07e40db5f4 add clickhouse+s3 workflow for heatmaps 2026-05-19 22:41:59 -07:00
Francis Cao afab485874 polish UI/UX color bands, add install-heatmap command 2026-05-19 12:11:48 -07:00
Francis Cao 6de5adaefc POC for playwright based screenshots for heatmaps 2026-05-19 11:32:15 -07:00
Francis Cao 1f3f805a30 WIP heatmap full-page coordinate and replay rendering work 2026-05-19 09:05:11 -07:00
Francis Cao a7a0d73dd7 fix PieChart rendering issues by giving default height. 2026-05-18 23:06:47 -07:00
Francis Cao 3230f6596f add more truncation fields on save 2026-05-16 17:44:53 -07:00
Mike Cao 1dda7bddcd Merge pull request #4142 from nielskaspers/fix/issue-3981-case-insensitive-login
fix: make username login case-insensitive
2026-05-14 23:49:04 -04:00
Francis Cao aa9b6c0ca3 heatmaps UI polish, finish feature gate + messaging, overlay bug fixes 2026-05-14 15:18:29 -07:00
Francis Cao cd20b3aafd Heatmaps bug fixes, update schema to match overlay, use react-zen component to match ui/ux, polish 2026-05-14 14:23:41 -07:00
Francis Cao b7e1d902f4 seperate revenue queries for better api/performance. Fix realtime css/ui issues. 2026-05-12 16:44:12 -07:00
Francis Cao 21b56d2922 add LLM channel logic 2026-05-11 10:31:04 -07:00
Francis Cao fa182d0947 implement URL pageview metric/expanded metric 2026-05-07 16:59:30 -07:00
Francis Cao 73c045118b Merge branch 'dev' into fix/pages-url-query 2026-05-07 16:15:46 -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 9b18511af0 Merge branch 'heatmaps' into dev
# Conflicts:
#	db/clickhouse/schema.sql
2026-05-07 14:49:21 -07:00
Francis Cao 17e7a4a63a exclude performance events from non-performance metrics/lists 2026-05-07 14:17:03 -07:00
Mike Cao abac89b57f Fix heatmap snapshot timestamp query 2026-05-07 14:01:45 -07:00
Mike Cao 923b94ae8e Render heatmaps from replay snapshots 2026-05-07 13:59:30 -07:00
Francis Cao b7084bb90a Merge branch 'dev' into fix/delete-cascade 2026-05-07 13:58:29 -07:00
Francis Cao 5ccfb6d0a5 implement datatable sorting on non-analytics tables. (website/board/link/pixel/team/admin) 2026-05-07 10:46:03 -07:00
Stanislaw 71ee000f21 fix: avoid restamping deletedAt + skip Redis DEL for already-soft-deleted slugs
Address Greptile review feedback on #4243.

- Cloud-mode link.updateMany / pixel.updateMany now filter where: { ..., deletedAt: null } so a previously soft-deleted row keeps its original deletion timestamp instead of being restamped with the current time.
- Pre-transaction findMany now selects deletedAt; the Redis invalidation list filters to only live slugs, avoiding harmless but wasted DEL calls for already-soft-deleted entries.

Note: the share.deleteMany cleanup still uses the broad entityId list (not filtered by deletedAt) so that orphan share rows of already-soft-deleted links/pixels are still cleaned up. Filtering the prefetch itself, as Greptile's exact suggestion proposed, would skip those shares while link.deleteMany still hard-deletes the rows, leaving orphan share rows behind. Verified empirically with a 3-scenario reproduction.
2026-05-07 04:14:38 +02:00
Stanislaw a57abbe039 fix: clean up link, pixel, board rows on user/team deletion
deleteUser and deleteTeam left link/pixel/board rows (and their share rows)
in the database after the owner was removed. /q/<slug> and /p/<slug>
also kept serving deleted entries because the routes did not filter
deletedAt and Redis cached lookups for 24h.

- deleteUser: clean up link/pixel/board + shares for the deleted user.
  Cloud mode: soft-delete link/pixel, hard-delete board, only userId-owned.
  Non-cloud: hard-delete everything matching userId or owned teamIds.
- deleteTeam: same cleanup, scoped to teamId.
- /q and /p route handlers: filter deletedAt: null at the call sites
  (not in findLink/findPixel helpers, which would null-deref the
  permission checks at src/permissions/link.ts and pixel.ts).
- Post-transaction Redis invalidation mirrors deleteWebsite.
2026-05-07 03:37:22 +02:00
Francis Cao f463a4ce3f rename propertyName parameter 2026-05-05 10:48:56 -07:00
Mike Cao 1b69ce6e90 Add scroll heatmaps. 2026-05-05 10:43:39 -07:00
Mike Cao 0e586dc2f9 Merge pull request #4223 from JLUpengjiaji/V1.0
Remove redundant search logic
2026-05-04 19:37:17 -04:00
Francis Cao fbac7518fc Add MAX_PAGING_RESULTS on hooks for performance improvements. 2026-05-04 15:43:05 -07:00
Francis Cao a8c1f26775 remove duration from session property stats 2026-05-04 14:26:27 -07:00
Francis Cao 946a969df6 fix syntax error 2026-05-01 13:25:54 -07:00
Francis CaoandCopilot 00c0273500 fix clickhouse filtering on event_name
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 13:16:30 -07:00