Niklas Lausch and Claude Opus 4.8
ecf9b3b0a2
Resolve ALLOWED_FRAME_URLS from the runtime environment in Docker
...
The Content-Security-Policy is defined in next.config.ts headers(), which Next
serializes at build time, so ALLOWED_FRAME_URLS only takes effect when it is set
before `next build`. The published Docker images are built without it, so
frame-ancestors cannot be configured at runtime and iframe embedding requires a
custom image (#3793 , #2407 ).
Move the policy into a shared getContentSecurityPolicy() and set the header from
the Docker proxy (docker/proxy.ts) on every response, where runtime env such as
CORS_MAX_AGE and DISABLE_LOGIN is already handled. next.config.ts skips the
build-time CSP when the proxy is present, so exactly one header is sent.
Non-Docker builds are unchanged: the build-time CSP still applies and
ALLOWED_FRAME_URLS keeps working as a build-time variable there.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 13:31:37 +02:00
Francis Cao
42765249ee
remove shouldSkipSnapshot rule
2026-06-23 15:10:27 -07:00
Francis Cao
8a0bdc2727
heatmap migration/code clean-up
2026-06-23 15:01:00 -07:00
Francis Cao
3888ec6f4f
Allow legacy stateless tokens that were minted without a password fingerprint.
2026-06-23 13:24:55 -07:00
Francis Cao
9defe7e3e0
Only enforce password-change invalidation for sessions that include a password fingerprint.
2026-06-23 00:27:44 -07:00
Francis Cao
d4b6f3d25f
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-22 23:31:16 -07:00
Francis Cao
727490269b
Invalidate auth sessions after password changes
2026-06-22 23:31:12 -07:00
Mike Cao
ec56e58567
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-22 23:26:10 -07:00
Mike Cao
ced1107261
Use sunken styling for heatmap page buttons
2026-06-22 23:26:01 -07:00
Francis Cao
2e74b3ebae
sanitize logging of sensitive info.
2026-06-22 23:03:01 -07:00
Mike Cao
527ef9d769
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-22 22:34:21 -07:00
Mike Cao
ce3d928f77
Keep heatmap depth labels readable while scaling overlay
2026-06-22 22:32:05 -07:00
Francis Cao
86485e8b52
fix paths to orphaned team-owner
2026-06-22 22:13:55 -07:00
Francis Cao
129681ebd7
fix: harden analytics writes and hide internal server errors from client
2026-06-22 22:07:07 -07:00
Francis Cao
770b4d59d2
Merge pull request #4341 from Kyzenkms/fix/session-distinct-id-wrap
...
fix: wrap long distinct ids in session info
2026-06-22 21:59:39 -07:00
Francis Cao and greptile-apps[bot]
9fafd0cfd4
Apply suggestion from @greptile-apps[bot]
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-06-22 21:58:39 -07:00
Mike Cao
7d84c84d9a
Clip outlier heatmap clicks without stretching canvas
2026-06-22 21:48:29 -07:00
Mike Cao
a53996575e
Keep website filter dialog content within viewport
2026-06-22 21:34:38 -07:00
Mike Cao
eb2e271a08
Constrain filter edit tabs to scroll within the modal
2026-06-22 21:22:41 -07:00
Mike Cao
30ca4d6680
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-22 17:27:05 -07:00
Mike Cao
5ebb49a8f1
Group heatmap overlays by screen width
2026-06-22 17:26:51 -07:00
Francis Cao
bf886d6224
Merge pull request #4348 from KadirFiratFTW/fix/4347-information-disclosure-returned-in-response
...
fix: Information Disclosure: Internal Prisma & Database Errors Return…
2026-06-22 16:39:10 -07:00
kadirfiratftw
173f28c677
fix: Information Disclosure: Internal Prisma & Database Errors Returned in API Response
2026-06-23 01:51:44 +03:00
Mike Cao
cced845be1
Always render heatmap snapshots with their captured page URL
2026-06-22 11:56:25 -07:00
Mike Cao
1d71f9d069
Group heatmap clicks by selectable screen width
2026-06-22 09:57:00 -07:00
Mike Cao
beb4881c24
Fit heatmap canvases to viewport
2026-06-21 14:23:05 -07:00
Mike Cao
a0587f72e5
Switch heatmap snapshots to iframe previews
2026-06-20 22:51:45 -07:00
Francis Cao
05b9b42a8b
Fix column alais collision for session filters
2026-06-18 09:39:58 -07:00
Francis Cao
324e1d91a7
fix mobile layout for session replay filter button
2026-06-17 11:56:03 -07:00
Francis Cao
c61c01e3bb
implement session replay filters
2026-06-17 11:38:57 -07:00
Francis Cao
f3ce0e64ca
typescript fixes, replayer close error, show page toggle fix.
2026-06-17 10:02:12 -07:00
kyzenfr4
48f73b95ac
fix: wrap long distinct ids in session info
2026-06-17 16:23:31 +00:00
Mike Cao
10dced1049
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-16 13:19:04 -07:00
Mike Cao
212ea2d509
Handle rrweb full snapshots as separate replay chunks
2026-06-16 13:18:12 -07:00
Francis Cao
79460cac83
Merge branch 'self_host_heatmap' into dev
2026-06-16 12:28:08 -07:00
Francis Cao
0a7bd7e6c1
heatmap css fixes
2026-06-16 12:25:32 -07:00
Mike Cao
05cce05a11
Batch Kafka messages and drop oversized payloads
2026-06-15 22:02:08 -07:00
Mike Cao
5744f04833
Reduce side nav height and unify replay modal corners
2026-06-15 21:00:22 -07:00
Mike Cao
0130db32ac
Refine replay modal sheet styling
2026-06-15 20:14:53 -07:00
Mike Cao
95ece5ba56
Normalize replay events for rrweb-player playback
2026-06-15 20:08:53 -07:00
Mike Cao
a5f78e3e3d
Hardcode recorder API endpoints in build and runtime
2026-06-15 14:50:13 -07:00
Mike Cao
15038b09d9
Handle fragmented replay events in recording and playback
2026-06-15 13:46:24 -07:00
Francis Cao
b51e4b5d12
first pass for self-hosted heatmap rrweb
2026-06-15 10:54:45 -07:00
Mike Cao
f69f76b3b1
Handle invalid IPs and localhost lookup failures in location detection
2026-06-11 19:01:04 -07:00
Mike Cao
fa4318fb87
Tighten side nav spacing and remove extra bottom margin
2026-06-11 17:55:44 -07:00
Mike Cao
475d9548de
Reject oversized replay payloads and chunk recorder flushes
2026-06-10 23:18:50 -07:00
Mike Cao
c80e35efd7
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-06-10 20:26:09 -07:00
Mike Cao
38b5a8d25b
Flush replay events on pagehide with a shorter interval
2026-06-10 20:25:19 -07:00
Francis Cao
6837825512
Fix multiple rows per session bug. Add guard rails for bad data.
2026-06-10 09:44:48 -07:00
Francis Cao
f9cf213261
Add Session Activity guards for showing multiple records per result
2026-06-10 09:18:25 -07:00