Commit graph

2006 commits

Author SHA1 Message Date
Mike Cao
c9f6653b62 Redirect to single allowed section on share page. 2026-01-24 02:21:51 -08:00
Mike Cao
fd2e2047cd Restrict x-umami-client-* headers to cloud mode only.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2026-01-23 20:52:39 -08:00
Mike Cao
fbd0564133 Add x-umami-client-* headers as highest priority source for client detection. 2026-01-23 20:04:01 -08:00
Francis Cao
355fa1e9a9 increase minimum unit for day. Last 6 months includes current month
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-23 11:42:12 -08:00
Francis Cao
a2f0066c42 clear unit param on nav, fix more import, fix NaN animation error 2026-01-23 11:19:19 -08:00
Francis Cao
e73432dd26 Add unit select and backend implementation. Fix compare for websitestats. Remove unused params from stats, metrics, weekly 2026-01-23 10:08:47 -08:00
Francis Cao
3f173889ea Fix "name" alias for relational query to be compatible with Postgres 12. Closes #3970
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-22 22:04:11 -08:00
Mike Cao
af7f7adf5b Add name field to share feature and require at least one item selection.
- Add name field to ShareCreateForm and ShareEditForm
- Add name column to SharesTable
- Update API routes to handle name field
- Require at least one item to be selected before saving
- Display parameters in responsive 3-column grid in edit form

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 20:17:45 -08:00
Francis Cao
7a89bbf19f render links in event, session activity, realtime activity using hostname instead of domain.
Closes #2861
2026-01-22 19:29:25 -08:00
Mike Cao
4c9b2f10da Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-01-22 19:17:22 -08:00
Mike Cao
adea3e9b1c Merge branch 'analytics' into dev
# Conflicts:
#	.gitignore
#	src/app/api/share/[slug]/route.ts
#	src/app/share/[...shareId]/SharePage.tsx
2026-01-22 17:44:45 -08:00
Francis Cao
3fc41bdd08 clean-up canViewWebsite, use getEntity 2026-01-22 16:37:53 -08:00
Francis Cao
f4eaa9fd0d update segmentParamSchema, add typing to getEntity 2026-01-22 16:32:06 -08:00
Francis Cao
d4ff7c8e3f tighten zod validation for segment parameters
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-22 12:53:44 -08:00
Francis Cao
6fd428683d update timezone zod validation to use timezoneParam 2026-01-22 12:02:08 -08:00
Francis Cao
a1efb2d86a check for explicit teamCreate permissions for global role in canCreateTeam 2026-01-22 11:53:11 -08:00
Francis Cao
8b2196b97a fix showDeleted reversed logic. Show non-deleted user as default query 2026-01-22 11:18:14 -08:00
Francis Cao
8f55ed9da9 security advisory fixes opened by kolega-ai-dev 2026-01-22 09:24:08 -08:00
Mike Cao
518f0b66c6 Don't render link on share page.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2026-01-22 03:02:15 -08:00
Mike Cao
f84e67b0e6 White-label support. 2026-01-22 01:50:24 -08:00
Indra Gunawan
14012ed68e fix inconsistent date format 2026-01-21 22:28:55 +08:00
Mike Cao
dd8888cfcf Update share form defaults to only select overview and events
Some checks are pending
Node.js CI / build (push) Waiting to run
Changed default selected items for new shares from all items to only
overview and events. Also fixed checkbox text size in create form.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 00:19:08 -08:00
Francis Cao
52d9dd2871 pass unit into revenue report
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2026-01-20 19:11:00 -08:00
Francis Cao
d47ee6e8e8 Merge branch 'dev' of https://github.com/umami-software/umami into dev
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-20 19:10:14 -08:00
Francis Cao
52f812d9e5 pass unit into revenue report 2026-01-20 19:09:23 -08:00
Mike Cao
f2c49845d0 Add filtered navigation to share pages
- Update share API to return websiteId and parameters
- Create ShareNav component that filters nav items based on parameters
- Update SharePage to include navigation sidebar and route to correct page
- Support all website pages: overview, events, sessions, realtime, compare,
  breakdown, goals, funnels, journeys, retention, utm, revenue, attribution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 18:12:33 -08:00
Mike Cao
ef3aec09be Add display options form for website shares
Allow users to select which navigation items to display when creating
or editing a share. Options include traffic, behavior, and growth
sections with checkboxes for each nav item (excluding segments/cohorts).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:23:15 -08:00
Mike Cao
0eb598c817 implement website share functionality using share table
- Add support for multiple share URLs per website with server-generated slugs
- Create shares API endpoint for listing and creating website shares
- Add SharesTable, ShareEditButton, ShareDeleteButton components
- Move share management to website settings, remove header share button
- Remove shareId from website update API (now uses separate share table)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 17:23:14 -08:00
Francis Cao
3a498333a6 Merge branch 'analytics' of https://github.com/umami-software/umami into dev
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-19 12:51:38 -08:00
Francis Cao
cd6a28ea4a improve revenue joins and event_data joins to website_event
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2026-01-19 12:46:21 -08:00
Mike Cao
63c9cf2e30
Merge pull request #3954 from maennenajere/dev
Some checks failed
Node.js CI / build (push) Has been cancelled
Update fi-FI.json
2026-01-16 22:15:10 -08:00
Francis Cao
520c91c621 fix share api routes
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-16 16:29:08 -08:00
Francis Cao
29f2c7b7d4 share api, queries, permissions, migration, entity lib
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-15 16:25:56 -08:00
Mike Cao
a270b0afea
Merge pull request #3956 from Nayrode/master
Some checks are pending
Node.js CI / build (push) Waiting to run
Fix autofill styling inconsistency in dark theme
2026-01-14 21:34:52 -08:00
Francis Cao
889a404650 share table schema + migration
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-14 15:33:06 -08:00
Francis Cao
2bd0734162 Revert "refactor 6 month retention. use auth instead of cache:website". Fix share page retention bug.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
This reverts commit 741c6039e6.
2026-01-14 11:06:33 -08:00
Francis Cao
b6013c3ee8 Revert "refactor 6 month retention. use auth instead of cache:website". Fix share page retention bug.
This reverts commit 741c6039e6.
2026-01-14 10:28:48 -08:00
Dorian TETU
ebfbc282ee fix: autofill background color 2026-01-13 16:39:39 +01:00
Jere Mäennenä
1a664d8719 Update fi-FI.json 2026-01-11 14:25:41 +02:00
Mike Cao
6d480d9c36
Merge pull request #3950 from AymanAlSuleihi/fix/compare-metrics
Some checks failed
Node.js CI / build (push) Has been cancelled
Fix metrics bar not updating on compare mode switch
2026-01-10 18:56:54 -08:00
AymanAlSuleihi
a049fbb5b0 Update compare parameter to use enum for valid values 2026-01-09 23:41:16 +00:00
AymanAlSuleihi
6420f2c813 Remove redundant compare param definition 2026-01-09 22:54:50 +00:00
AymanAlSuleihi
fbf03d6563 Fix metrics bar not updating on compare mode switch 2026-01-09 19:35:48 +00:00
Francis Cao
fbe031bfe9 update pixel/link edit form on save.
Some checks failed
Node.js CI / build (push) Has been cancelled
2026-01-07 09:30:59 -08:00
Mike Cao
5213e04f44
Merge pull request #3866 from RaenonX/master
Some checks are pending
Node.js CI / build (push) Waiting to run
Added custom slug for links
2026-01-06 18:23:28 -08:00
Mike Cao
17d24bf8e2
Merge pull request #3872 from GochoMugo/fix/denied-storage-access
fix: handle denied storage access
2026-01-06 18:03:16 -08:00
Mike Cao
767fda21cd
Merge pull request #3874 from maphubs/fix-session-error
fix prisma session race condition error
2026-01-06 18:01:09 -08:00
Mike Cao
c122fb718b
Merge pull request #3875 from FEgor04/master
fix(events): use correct key for event values
2026-01-06 17:50:24 -08:00
Mike Cao
5506314e54
Merge pull request #3891 from journry789/master
This resolves the issue of being unable to obtain the client's IP add…
2026-01-06 17:46:04 -08:00
Mike Cao
e90b2201ca
Merge pull request #3917 from Mintimate/master
feat: add EdgeOne CDN geolocation headers support
2026-01-06 17:32:48 -08:00