Commit Graph
25 Commits
Author SHA1 Message Date
Mike Cao 65bf19e067 Add OAuth-protected MCP server with generated API client packages 2026-09-03 16:58:47 -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 c0193ad7cd Address board share review feedback 2026-06-03 20:29:08 -07:00
Mike Cao a5f4a39f2b Fix board share entity authorization 2026-06-03 00:02:54 -07:00
Mike Cao 8bc49a29e3 Fix share token confusion vulnerability
Cache tokens from /api/send and share tokens were both signed with the same secret and parsed without distinguishing claim types, allowing a public cache token to be replayed as x-umami-share-token to read any website's analytics. Add explicit token type claims (share/cache) and require the matching type when parsing each.
2026-06-02 14:45:21 -07:00
Francis Cao a87d899e17 fix sharetoken permissions on mixed boards 2026-04-13 11:32:47 -07:00
Francis Cao 5e6f88f123 fix board share permissions 2026-04-13 11:15:28 -07:00
Francis Cao b823a6ca3e apply white-labeling to all share pages 2026-03-13 14:46:10 -07:00
Mike Cao 64bf4c378c Add sharing to pixel and link detail pages 2026-03-09 01:26:02 -07:00
Mike Cao c4226bc63d Add board share management UI 2026-03-08 22:24:24 -07:00
Francis Cao 4a3190b2da add name to createShare 2026-01-29 22:27:37 -08:00
Mike Cao 4a09f2bff6 Share page changes. 2026-01-24 02:47:09 -08:00
Mike CaoandClaude Opus 4.5 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
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
Mike Cao f84e67b0e6 White-label support. 2026-01-22 01:50:24 -08:00
Mike CaoandClaude Opus 4.5 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 CaoandClaude Opus 4.5 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 520c91c621 fix share api routes 2026-01-16 16:29:08 -08:00
Francis Cao 29f2c7b7d4 share api, queries, permissions, migration, entity lib 2026-01-15 16:25:56 -08:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike Cao b9fbbc6453 Split queries into prisma and sql. 2025-09-29 16:55:07 -07:00
Mike Cao 8525188e42 Changed import path. 2025-02-05 15:59:59 -08:00
Mike Cao 113022ed17 Imported libraries, removed next-basics. 2025-02-05 13:30:28 -08:00
Mike Cao 6c9f1ad06b Converted reports and share routes. 2025-01-28 10:21:56 -08:00