Arthur Sepiol
5874cf80f5
Add authentication, Redis pub/sub, and error handling to SSE
...
Improvements:
- Add Redis pub/sub support for multi-server deployments
- Add authentication check to SSE stream endpoint
- Add 30s heartbeat keepalive for long-lived connections
- Implement exponential backoff reconnection logic in client
- Fix TypeScript types (websiteId optional, timer types)
- Use specific query key invalidation instead of broad match
- Fix undefined access in session-events listener map
2025-12-10 16:06:18 +03:00
Arthur Sepiol
ef9a382cdd
Add real-time session updates via Server-Sent Events
...
Implements push-based real-time updates for the Sessions page. New sessions now appear instantly without manual reload or polling.
Changes:
- Add SSE event emitter for session creation notifications
- Create SSE stream endpoint at /api/websites/[id]/sessions/stream
- Emit session events in tracking endpoint when sessions are created
- Add useSessionStream hook to connect to SSE and invalidate queries
- Fix LoadingPanel to prevent flicker during background refetches
2025-12-10 16:02:44 +03:00
Mike Cao
1483241494
Merge branch 'dev' of https://github.com/umami-software/umami into dev
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-12-03 18:39:45 -08:00
Mike Cao
33cb195fd0
Merge remote-tracking branch 'origin/dev' into dev
...
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# 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
Mike Cao
41d2a24f9d
Merge branch 'master' into dev
...
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts:
# src/components/common/PageHeader.tsx
# src/components/metrics/ActiveUsers.tsx
2025-12-03 00:17:44 -08:00
Mike Cao
16cae691f6
Don't prefetch links/pixels. Closes #3814
2025-12-03 00:03:56 -08:00
Francis Cao
b0f38b266b
truncate large legend labels
...
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Closes #3813
2025-12-02 14:44:10 -08:00
Mike Cao
f5896f071b
Handle user account redirect.
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-12-01 23:33:57 -08:00
Mike Cao
3071ee8b88
Merge branch 'dev' into 3802-team-to-user-switch
2025-12-01 10:12:19 -08:00
Mike Cao
875c03bca1
Merge pull request #3801 from Lokimorty/skip-realtime-anim
...
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
fix: skip realtime chart animation when data unchanged
2025-11-29 23:31:36 -08:00
Prince EKPINSE
beb2bc0a06
feat: improve mobile navigation with clickable page elements ( #3770 )
2025-11-29 13:53:32 +01:00
Mike Cao
d7fd22645c
Fixed nav menus.
2025-11-28 00:33:53 -08: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
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
b9d52af215
Updated prisma.
2025-11-21 21:35:11 -08:00
Francis Cao
af958b6462
fix DateDistance null logic
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-20 11:24:59 -08:00
Mike Cao
cb63e49a9b
Fixed triggered event lookup. Closes #3742 .
2025-11-14 15:42:23 -08:00
Francis Cao
6751bf88bb
fix chart and timezone issues, pass consistent dates to DB.
...
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Closes #3700
2025-11-13 15:52:24 -08:00
Maxime-J
4531538ad3
Restore OS formatting in tables
2025-11-13 15:46:05 +01:00
Mike Cao
97ebdc1bab
Merge remote-tracking branch 'origin/dev' into dev
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-12 16:40:50 -08:00
Mike Cao
8a66603d32
Responsive fixes.
2025-11-12 16:39:58 -08:00
Francis Cao
3aa09572f5
Merge branch 'master' of https://github.com/umami-software/umami into dev
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-11 21:40:28 -08:00
Francis Cao
bf498d9239
add RealtimeData to types
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-11 13:45:41 -08:00
Francis Cao
30781430c5
remove timezone from realtime. Closes #3700
2025-11-11 13:13:25 -08:00
Mike Cao
3d8402d2f1
Merge branch 'master' into dev
2025-11-10 22:44:36 -08:00
Mike Cao
a6e130ab2e
Fix DownloadButton to avoid duplicate downloadCsv call
...
Removed redundant downloadCsv call from handleClick.
2025-11-10 22:43:22 -08:00
Mike Cao
4fe4bb99b7
Apply suggestion from @greptile-apps[bot]
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-11-10 22:42:20 -08:00
Francis Cao
839bf3898f
add canonicalizeTimezone conversions
...
Co-authored-by: Om Mishra <contact@om-mishra.com>
2025-11-10 17:27:45 -08:00
Francis Cao
49e1582c28
implement generateTimeSeries for eventsChart
2025-11-10 15:36:43 -08:00
Francis Cao
64a6379c3c
fix realtime logs for mobile
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-10 01:07:11 -08:00
Prince EKPINSE
c3f3a7db3f
Fix: disable download button when no data available
2025-11-08 18:17:22 +01:00
Francis Cao
a6d4519a98
set maxHeight for DialogButton. remove from individual buttons
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-04 09:34:37 -08:00
Mike Cao
b08a6e1113
Don't prefetch pixel links.
2025-10-30 17:05:11 -07:00
Francis Cao
6eefb4173c
add improved truncation between tablets and phones
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-27 13:54:15 -07:00
Francis Cao
74972bccb1
add isMobile truncation logic to ListTable
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-27 13:18:26 -07:00
Francis Cao
1d3e980eed
revert saveLocale change
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-22 16:40:14 -07:00
Francis Cao
d87ae84a29
fix reports permissions, long team overflow, language settings
2025-10-22 16:09:31 -07:00
Francis Cao
533a42eb2e
clean-up session api endpoints and queries
2025-10-21 19:54:50 -07:00
Francis Cao
b7747b33e4
clean-up hooks for passing uneccessary date params
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-21 16:52:04 -07:00
Mike Cao
ddc7affa6a
More mobile fixes.
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-18 02:20:11 -07:00
Mike Cao
9a5604f236
Fixes for mobile.
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-18 01:12:45 -07:00
Mike Cao
bcafa12349
Small fixes.
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-17 16:54:33 -07:00
Mike Cao
40492ec7c4
Added DialogButton to handle mobile.
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-16 23:59:18 -07:00
Mike Cao
036748cdeb
Merge remote-tracking branch 'origin/dev' into dev
...
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
# Conflicts:
# src/app/(main)/websites/[websiteId]/ExpandedViewModal.tsx
# src/app/(main)/websites/[websiteId]/WebsiteExpandedView.tsx
2025-10-16 02:43:43 -07:00
Mike Cao
4d2a7ea947
Responsive everything.
2025-10-16 02:42:13 -07:00
Francis Cao
f23d5694ec
clean up events/event-data endpoints
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-15 16:44:14 -07:00
Francis Cao
a2b1089e62
clean-up event/event-data endpoints. fix for expanded view for mobile
2025-10-15 11:32:19 -07:00