Mike Cao
d2b4aa174e
Rate limit dynamic client registration per source address
...
Replace the process-wide registration counter used without Redis with a
shared per-key fixed-window limiter, so one requester can no longer
exhaust the registration budget for every other client on the process.
The in-memory fallback is bounded (expired windows are swept, then the
oldest keys are shed) so memory stays constant under key churn.
Also fixes checkMcpRateLimit inverting redis.rateLimit's result: it
resolves true once the counter reaches its threshold, so with Redis the
MCP endpoint was denying requests below the limit and allowing those
above it. Both call sites now share the same limiter and semantics.
2026-09-05 17:57:20 -07:00
Mike Cao
67449d76ef
Harden OAuth metadata fetching and make token rotation transactional
2026-09-05 14:09:33 -07:00
Mike Cao
65bf19e067
Add OAuth-protected MCP server with generated API client packages
2026-09-03 16:58:47 -07:00
Mike Cao
f1c5b4f7bb
Add account API key management
2026-09-01 21:50:07 -07:00
Mike Cao
8d0229b598
Remove autogenerated operation descriptions from OpenAPI contracts
2026-09-01 16:07:08 -07:00
Mike Cao
e1a4934038
Generate explicit OpenAPI contracts for API routes
2026-09-01 15:09:10 -07:00
Mike Cao
5ce5664b29
Add OpenAPI schema generation and validation for API routes
2026-08-31 19:37:37 -07:00
Mike Cao
64e4cc1c3b
Add website annotations with chart markers and CRUD management
2026-08-27 00:09:03 -07:00
Francis Cao
cb9cb27fbe
fix(send): reset visit state on session drift and add missing 2FA translations
2026-08-19 22:06:19 -07:00
Francis Cao
c3a70b123d
fix(relational): prevent orphaned website_event sessions and keep event pagination stable. Closes #4462 .
2026-08-18 14:16:03 -07:00
Francis Cao
1a91b5f1f3
fix event_name parameter collision. Closes #4461
2026-08-18 10:49:14 -07:00
NoiceHax
319a09cdb5
fix(send): keep the root path when REMOVE_TRAILING_SLASH is enabled
...
The trailing-slash regex also matched the leading slash of the root URL, so with REMOVE_TRAILING_SLASH set every home page view was stored with an empty url_path: the home page vanished from the paths/entry/exit reports and could not be selected as a funnel step. Skip the match at the start of the path so "/" and "/#hash" are preserved while "/blog/" and "/blog/#hash" are still trimmed.
Closes #4152
2026-08-17 11:21:07 -07:00
Francis Cao
0a77e50da1
Harden 2FA APi routes and UI when 2FA env var missing. Closes #4443 .
2026-08-14 10:32:09 -07:00
Francis Cao
f94a5cfc02
Merge pull request #4450 from NoiceHax/fix/issue-4443
...
fix(2fa): gate two-factor auth when the encryption key is missing
2026-08-14 09:32:50 -07:00
NoiceHax
a40b418038
fix(2fa): gate two-factor auth when the encryption key is missing
...
TWO_FACTOR_ENCRYPTION_KEY has no default, so instances upgrading to 3.3
without setting it hit an unhandled throw from encryptSecret: the setup
dialog only reported "Something went wrong", and where 2FA was required
the blocking dialog made the whole app unusable. The status endpoint now
reports 2FA as not required while the key is missing or invalid, and
setup initiation returns 503 with a two-factor-error-not-configured code
that the setup dialog renders as a readable message. Also documents the
variable in the README and the example compose file.
Closes #4443
2026-08-13 22:39:31 +05:30
Nejc Tomažič
b58172c591
fix funnel step editor crash on null event values
2026-08-13 12:59:02 +02:00
Francis Cao
d4e864e4d9
Session/Event Property CSS fixes. Session Activity performance changes
2026-08-06 10:14:40 -07:00
Francis Cao
9e0034781a
recorder.js CORS header implementation. Closes #4426
2026-08-04 15:34:36 -07:00
Mike Cao
8efd5d7279
Avoid saving same-domain referrers and resolve path-only referrers correctly
2026-08-03 23:03:52 -07:00
Francis Cao
8b0492384f
disable self-hosted 2FA in cloud mode.
2026-08-03 13:46:54 -07:00
Mike Cao
adba113b04
Load subscription data from API before rendering replay and heatmap views
2026-07-28 14:07:09 -07:00
Francis Cao
44eb78f553
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-07-24 15:47:05 -07:00
Francis Cao
f9850f02b3
add session delete feature to relational only. add test, share conditions, and permissions. Closes #2940
2026-07-24 15:47:01 -07:00
Mike Cao
8148d775b0
Add coverage for send route and core permission and query logic
2026-07-24 15:27:17 -07:00
Francis Cao
3b4d5b9575
2FA reset feature
2026-07-24 10:46:19 -07:00
Francis Cao
896d63df94
add new test files and fix migration
2026-07-24 08:45:17 -07:00
Francis Cao
13d18c0880
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-07-23 11:50:39 -07:00
Francis Cao
d05d9c4f34
Session and event property filtering. Closes #2945 . Closes #4008 .
2026-07-23 11:50:35 -07:00
Mike Cao
aafe068bc1
Merge branch 'dev' into feat-2FA
2026-07-23 11:14:59 -07:00
Francis Cao
7db8c1e979
Merge pull request #4404 from shubhamOrgpathak1/fix/website-backend-validation
...
Validate website name and domain input on server side
2026-07-22 12:27:47 -07:00
Francis Cao
58ee28a55e
remove session recalculate and related queries
2026-07-21 12:33:41 -07:00
Shubham Pathak
715f306a48
Validate website name and domain input on server side
2026-07-21 21:25:14 +05:45
Mike Cao
eb9a77ea64
Return 404 when session is not found and add test coverage for GET session route
2026-07-20 17:15:52 -07:00
Francis Cao
9bf95ef112
updaet session stitching model for post-identify reads. fix fullPath search
2026-07-20 12:21:07 -07:00
Mike Cao
cb801230cc
Fix identified session ID generation
2026-07-19 10:43:21 -07:00
Mike Cao
4691a344c5
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2026-07-18 01:35:25 -07:00
Mike Cao
bc97f9f439
Enforce a per-plan team limit when creating teams in cloud mode
2026-07-18 01:35:13 -07:00
Francis Cao
f7b94c259b
add tracking code workflow for Add website. Add linked ID to session modal.
2026-07-16 11:32:32 -07:00
Francis Cao
7afc4ccf6b
session activity identify stitching
2026-07-15 11:20:27 -07:00
Francis Cao
8a75208d5b
fix permissions loop for charts route
2026-07-14 15:23:32 -07:00
Francis Cao
28230ee471
sync bucket labeling
2026-07-08 10:32:16 -07:00
Francis Cao
86b35475c0
Add sparklines to Website, Pixel, Link tables
2026-07-08 10:03:08 -07:00
Francis Cao
7bdc2f215e
harden report references in boards
2026-07-06 10:58:43 -07:00
Francis Cao
a4a0167515
enforce minimum 8 character slug on create/update. Closes #4376
2026-07-04 08:44:23 -07:00
Francis Cao
2efe6297be
implement board clone feature
2026-06-30 08:50:33 -07:00
Francis Cao
ab5b1bf354
Board component, security, test updates
2026-06-29 18:17:57 -07:00
Francis Cao
8a0bdc2727
heatmap migration/code clean-up
2026-06-23 15:01:00 -07:00
Francis Cao
727490269b
Invalidate auth sessions after password changes
2026-06-22 23:31:12 -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