Parikshith
41139f2fd0
perf: add secondary FK indexes to core OSS schemas
...
Add 13 secondary indexes across 10 tables in the SQLite schema and
5 missing indexes to the PostgreSQL schema.
All list endpoints (listSites, listResources, listClients, listRoles,
listTargets, listUserOrgs) filter and join on these FK columns. In the
SQLite schema, no secondary indexes existed at all on these foreign keys,
forcing full sequential scans on every paginated request and session lookup.
SQLite changes (13 new indexes):
- sites.orgId
- resources.orgId
- targets.resourceId, targets.siteId
- newt.siteId
- clients.orgId, clients.userId
- labels.orgId
- olms.userId
- session.userId
- userOrgs.userId, userOrgs.orgId
- roles.orgId
PG changes (5 new indexes, rest already present):
- labels.orgId
- session.userId
- userOrgs.userId, userOrgs.orgId
- roles.orgId
- olms.userId
2026-08-31 17:04:01 -04:00
Owen
e57826d6e0
Session logs and usage logs should use seconds not ms
2026-08-26 10:50:16 -04:00
Owen
a74b0934fc
Allow changing the allow ssh and update shcmea
2026-08-17 14:12:39 -04:00
Owen
11daf4f927
Move certificates
2026-08-17 12:00:12 -04:00
Owen
f0f5e9219b
add niceId to provider
2026-08-14 10:51:58 -04:00
Owen
a2f5d830d6
Remove not null constraint where setting null
2026-08-13 10:20:35 -04:00
Owen
47ae017f94
add virtual api keys to budgets
2026-08-12 13:21:56 -04:00
Owen
bed5817da3
send, process, store, display virtual api key ai information in usage and sessions
2026-08-12 11:20:25 -04:00
Owen
f7aca85417
link the usage with the session to display together
2026-08-11 16:15:01 -04:00
Owen
bc2f291352
normalize the requests to also store in the log for viewing later
2026-08-11 14:45:25 -04:00
Owen
48c4b44f72
log chat sessions to database
2026-08-11 12:19:28 -04:00
miloschwartz
1e3a9fb921
add virtual api key schema and crud endpoints
2026-08-10 17:20:06 -04:00
Owen
8b8e7913dc
budget enforcement logic
2026-08-10 17:17:24 -04:00
Owen
b180d064d1
adjust conflict to be on unit<>period and add list endpoints for providers
2026-08-10 11:39:34 -04:00
Owen
dc1923ab1f
Remove budget periods
2026-08-10 09:57:01 -04:00
miloschwartz
9eafa067b9
improved provider picker ui on resource
2026-08-07 16:13:51 -04:00
miloschwartz
9e7b4afaec
support allow list and blocklist
2026-08-07 10:59:50 -04:00
miloschwartz
3d7e322bf9
add headers to provider
2026-08-05 17:42:58 -04:00
miloschwartz
39e06f2b6d
add api capabilities
2026-08-05 16:55:48 -04:00
miloschwartz
bcf6b86b84
add no auth and passthrough auth
2026-08-05 15:39:08 -04:00
miloschwartz
2e9bd50172
add provider specific auth modes
2026-08-05 15:17:50 -04:00
Owen
e1dd8965dc
Remove extra checks
2026-08-05 11:31:12 -04:00
miloschwartz
7759d87835
add basic ui for private inference resource
2026-08-04 16:54:23 -04:00
miloschwartz
e38359c74f
add crud for adding providers and models to resources
2026-08-04 15:54:24 -04:00
miloschwartz
ed8545f8a2
update schema to support models and provider access on inferences resources and add budgets
2026-08-04 14:50:07 -04:00
Owen
1073011a2a
first pass of traefik -> basic gateway
2026-08-04 10:15:49 -04:00
miloschwartz
6fa0009ebf
add targets and refactor endpoints
2026-08-04 10:15:49 -04:00
Owen
9d581f3897
Fix types
2026-08-04 10:15:48 -04:00
miloschwartz
e5ac6ec7cd
add default providers and support overrides
2026-08-04 10:15:48 -04:00
miloschwartz
730078597e
add basic schema
2026-08-04 10:15:48 -04:00
Owen
093097c619
send if we need to connect to the gerbil or not
2026-08-04 10:15:48 -04:00
Owen
2cdeb7c104
Add inference resource type
2026-08-04 10:15:47 -04:00
Owen
33dd10c670
Rename subnet for clarity, pick subnet on client
2026-08-04 10:15:47 -04:00
Fred KISSIE
832e382888
🚧 WIP: batch certificates
2026-07-23 22:00:31 +01:00
Owen
02d2e09709
Merge branch 'local-connection' into dev
2026-07-17 14:07:30 -04:00
miloschwartz
bb9b94a983
add persistent session and users to access tokens
2026-07-17 13:39:09 -04:00
Owen
08c5ec2be7
Add new column
2026-07-16 17:25:51 -04:00
Owen
cf9a17cc2e
Add status filter
2026-07-10 15:04:28 -04:00
Milo Schwartz
1e7863ce4f
Merge pull request #3342 from Fredkiss3/feat/geoip-country-is-not-rule
...
feat: add country `is not` rule in resource policies
2026-07-07 21:18:43 -04:00
Fred KISSIE
11c30b8b27
Merge branch 'dev' into feat/geoip-country-is-not-rule
2026-07-03 22:50:56 +02:00
miloschwartz
b53f80d317
use column for default view
2026-07-03 09:59:49 -04:00
Owen Schwartz
2a478eef6f
Merge pull request #3375 from fosrl/resource-launcher
...
Resource launcher
2026-07-01 21:19:19 -04:00
miloschwartz
f0efa4203b
basic functionality
2026-06-30 21:03:19 -04:00
Owen
af95052706
Update schema for tracking valid domains
2026-06-30 13:53:44 -04:00
Fred KISSIE
278375f7be
🚧 More country is not rule
2026-06-25 21:26:13 +02:00
Fred KISSIE
e54bd25516
🚧 add country is not rule
2026-06-25 20:28:57 +02:00
Owen
9d88683fc5
Reset resource info when on inline policy
2026-06-09 21:28:25 -07:00
Owen
772ac8af73
Remove browser gateway targets for regular targets
2026-06-05 15:30:42 -07:00
Owen
67b08ca61e
Properly do disable enterprise features this time
2026-06-04 21:18:04 -07:00
Owen
19feaf4bf2
Add the policy information into missing places
2026-06-02 15:47:55 -07:00