Commit graph

64 commits

Author SHA1 Message Date
Chris Estreich
2a8ab9dacb
Analytics progress (#21) 2025-05-16 16:20:59 -07:00
Canyon Robins
4bfb3ef193
Improve audit log implementation (#20)
* Replace date utils with library

* use drizzle-zod

* use drizzle types directly

* use server actions rather than routes

* slight refactor

* UI rollback on API failure

* slight refactor to reduce verbosity

* clean up
2025-05-16 16:12:24 -07:00
Canyon Robins
f228542f27
Make Audit logs write to and read from the DB (not vaporware) (#19)
* Add database schema for audit logs

* update audit log code to read from the DB rather than mocks

* use UUID not text for id

* backend endpoint for writing audit logs

* add stubs for provider whitelist update

* wip on sending audit logs

* remove oldValue field

* remove references to oldValue

* more

* change toast

* move querying to the backend

* fix fetch

* base URL

* use a server-side function rather than endpoint for audit log creation

* remove old_value

* remove route for querying audit logs

* don't take over date parsing

* simplify, review feedback
2025-05-16 14:56:44 -07:00
Chris Estreich
502425f739
Pull telemetry types from @roo-code/types (#18) 2025-05-16 13:41:55 -07:00
Chris Estreich
5fd53e9ee2
React Query + Updated @shadcn/ui components (#17) 2025-05-16 09:54:07 -07:00
Chris Estreich
f45e93b9ec
Start querying analytics data (#15) 2025-05-16 00:44:52 -07:00
Chris Estreich
81d3e375bd
Merge pull request #14 from RooCodeInc/cte/clean-up-i18n 2025-05-15 21:18:12 -07:00
cte
80a5553060 Clean up i18n stuff 2025-05-15 21:04:56 -07:00
Chris Estreich
5ca0844aec
Merge pull request #13 from RooCodeInc/cte/require-org 2025-05-15 15:33:17 -07:00
cte
6fa2a022f7 Require orgId in events 2025-05-15 15:31:22 -07:00
Chris Estreich
de2fbbe214
Merge pull request #12 from RooCodeInc/cte/fix-event-schema 2025-05-15 15:15:26 -07:00
cte
84f4931ec4 Fix event schema 2025-05-15 15:09:52 -07:00
Chris Estreich
ba56b931b1
Merge pull request #11 from RooCodeInc/cte/axe-landing 2025-05-15 14:52:51 -07:00
cte
7268e657c6 Axe landing, fix dashboard routes 2025-05-15 14:51:33 -07:00
Chris Estreich
3b0eb65457
Merge pull request #10 from RooCodeInc/cte/sync-types 2025-05-15 09:24:06 -07:00
cte
9432d4d146 Sync types to extension 2025-05-15 09:18:30 -07:00
Chris Estreich
38dce239d5
Merge pull request #9 from RooCodeInc/cte/clean-env 2025-05-14 22:17:10 -07:00
Chris Estreich
7c89c68a12
Update src/middleware.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-14 22:14:39 -07:00
cte
bbffb234af Fix props 2025-05-14 22:14:00 -07:00
cte
3127b69bfb Add check job 2025-05-14 22:09:36 -07:00
cte
61cdd7928d More env var fixes 2025-05-14 22:08:39 -07:00
cte
56c7f22503 Debug middleware 2025-05-14 21:58:28 -07:00
cte
2c52904e0e Organize includes 2025-05-14 21:42:20 -07:00
cte
eb9163f95a Ignore .next in tsconfig 2025-05-14 21:41:46 -07:00
cte
cf94d4b3cf Clean up env vars 2025-05-14 21:40:25 -07:00
John Richmond
02b7e22729
Merge pull request #7 from RooCodeInc/jr/events-error-codes 2025-05-14 17:49:47 -07:00
John Richmond
2f5212a2b1 Add /api/events error codes
400 for invalid event (schema violated)
500 for clickhouse error
2025-05-14 17:30:18 -07:00
Chris Estreich
3aff8994ae
Merge pull request #6 from RooCodeInc/cte/mock 2025-05-14 15:28:45 -07:00
cte
518dc02218 Danny's prototype 2025-05-14 15:28:15 -07:00
Chris Estreich
1fbd2de70b
Merge pull request #4 from RooCodeInc/cte/clickhouse 2025-05-14 14:52:08 -07:00
cte
a228c578ce Use Clickhouse 2025-05-14 14:14:38 -07:00
Chris Estreich
23087b29f5
Merge pull request #3 from RooCodeInc/cte/events-api 2025-05-14 09:59:51 -07:00
Chris Estreich
938418fc3f
Merge pull request #2 from RooCodeInc/jr/extension-auth 2025-05-14 09:58:59 -07:00
cte
93fc57bb0d Persist event data 2025-05-13 23:42:42 -07:00
cte
1fa656a012 Add events table 2025-05-13 23:24:02 -07:00
cte
331c26afec Pass state param through auth process 2025-05-13 22:59:20 -07:00
cte
1acc88c0a2 Add eslint ignore 2025-05-13 22:33:30 -07:00
cte
e674a1c720 Remove these 2025-05-13 21:55:33 -07:00
cte
70d7425ccb Events API 2025-05-13 21:50:55 -07:00
John Richmond
e062feba73
Apply suggestions from code review
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-13 14:46:33 -07:00
John Richmond
f84169b630 Copy Matt's ping endpoint 2025-05-13 14:37:45 -07:00
John Richmond
6a868d7c39 Allow extensions to auth
Add an endpoint to redirect to the extension with a Clerk sign in token.
2025-05-13 14:37:40 -07:00
Chris Estreich
6feaf74c60
Merge pull request #1 from RooVetGit/cte/modernize 2025-05-12 11:39:49 -07:00
cte
b4cd909650 Add tests 2025-05-12 11:38:02 -07:00
cte
6ee2266c36 More progress 2025-05-12 11:23:11 -07:00
cte
a65942d4fc Add ENV vars 2025-05-12 01:30:46 -07:00
cte
73983ccb4b More cleanup 2025-05-12 01:13:42 -07:00
cte
c1c7206525 Organize routes 2025-05-12 00:17:15 -07:00
cte
b8bb21a5da Fix filenames 2025-05-11 23:45:02 -07:00
cte
af2f0e6683 Fix filenames 2025-05-11 23:43:29 -07:00