Commit graph

15 commits

Author SHA1 Message Date
John Richmond
cdb9734b29
Add cloud settings (#49)
These are meant to be organization settings about roo code cloud, rather
than cloud managed non-cloud settings for the extension.
2025-05-29 20:48:16 -07:00
Chris Estreich
b0b85f5535
Organize server actions (#30) 2025-05-18 09:49:40 -07:00
John Richmond
82b0e45668
Extension api and db (#16)
Co-authored-by: cte <cestreich@gmail.com>
2025-05-17 16:47:51 -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
cte
6fa2a022f7 Require orgId in events 2025-05-15 15:31:22 -07:00
cte
84f4931ec4 Fix event schema 2025-05-15 15:09:52 -07:00
cte
9432d4d146 Sync types to extension 2025-05-15 09:18:30 -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
cte
a228c578ce Use Clickhouse 2025-05-14 14:14:38 -07:00
cte
93fc57bb0d Persist event data 2025-05-13 23:42:42 -07:00
cte
70d7425ccb Events API 2025-05-13 21:50:55 -07:00
John Richmond
f84169b630 Copy Matt's ping endpoint 2025-05-13 14:37:45 -07:00