8217 Commits

Author SHA1 Message Date
Owen Schwartz
d6d923e972 Merge pull request #3628 from aithal007/perf/add-fk-indexes
perf: add secondary FK indexes to core OSS schemas
2026-08-31 17:05:04 -04:00
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 Schwartz
ebcdeab414 Merge pull request #3597 from shleeable/patch-11
Fix: License.check can fail silently
2026-08-31 17:02:53 -04:00
Owen
2cc7d03ace Update to fall back but still use cache 2026-08-31 17:02:03 -04:00
Shlee
34671c6b13 Update license.ts 2026-08-31 16:57:36 -04:00
Owen Schwartz
8dfc95347f Merge pull request #3655 from moverq1337/fix/access-token-delete-root-key
Fix access token deletion for root API keys
2026-08-31 16:54:18 -04:00
Owen Schwartz
0dece5fef1 Merge pull request #3665 from fosrl/dev
Fix domain namespaces and country is not in blueprints
2026-08-31 11:03:06 -04:00
Owen
e7f38c089f Merge branch 'main' into dev 2026-08-31 11:02:01 -04:00
miloschwartz
dd0a5a359a check for namespace domain before blocking org check 2026-08-31 10:59:50 -04:00
moverq1337
1650ece0c3 Fix root API key access in verifyApiKeyAccessTokenAccess 2026-08-28 22:45:31 +03:00
Owen Schwartz
bc56a2bed0 Merge pull request #3647 from argueta-xyz/country-is-not-rule-via-blueprint
Allow COUNTRY_IS_NOT rules to be created via Blueprints
2026-08-28 10:52:24 -04:00
Owen Schwartz
49dcc590ce Merge pull request #3651 from fosrl/dev
Update readme
2026-08-28 10:19:58 -04:00
Owen
da3e3ff33f Fix typo 2026-08-28 10:19:35 -04:00
Owen Schwartz
69d539f107 Merge pull request #3650 from fosrl/dev
Update readme, tel, and fix EE feature flag
2026-08-28 09:55:40 -04:00
Owen
872e0f9ae1 Merge branch 'main' into dev 2026-08-28 09:54:46 -04:00
Owen
5b3713a72f Update readme 2026-08-28 09:54:07 -04:00
Owen Schwartz
f02be1fdbf Merge pull request #3649 from fosrl/dependabot/npm_and_yarn/multi-2e40a8c091
Bump ws and socket.io-adapter
2026-08-28 09:21:25 -04:00
dependabot[bot]
0bf04cf0cd Bump ws and socket.io-adapter
Bumps [ws](https://github.com/websockets/ws) and [socket.io-adapter](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `ws` from 8.18.3 to 8.21.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.18.3...8.21.0)

Updates `socket.io-adapter` from 2.5.6 to 2.5.8
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io-adapter@2.5.6...socket.io-adapter@2.5.8)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.21.0
  dependency-type: indirect
- dependency-name: socket.io-adapter
  dependency-version: 2.5.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-28 13:12:35 +00:00
Alejandro Argueta
7cda28d685 Update RuleSchema to allow COUNTRY_IS_NOT rules to be created via blueprints as well. 2026-08-27 14:18:48 -07:00
Owen
60bc74c4df Add AI provider and usage metrics to telemetry data collection 2026-08-27 16:54:04 -04:00
Owen
48ab6c501f Fix #3646 2026-08-27 16:37:53 -04:00
Milo Schwartz
7a95e543d8 Merge pull request #3645 from fosrl/dev
Dev
1.22.0
2026-08-27 14:53:42 -04:00
Owen
b87b7c7e80 Fix timestamp handling in AI session logs to use seconds instead of milliseconds 2026-08-27 14:26:47 -04:00
miloschwartz
a47a68d8e1 update badger version 2026-08-27 11:40:46 -04:00
Owen Schwartz
ed0d6fb6b9 Merge pull request #3644 from fosrl/dev
1.22.0-s.2
2026-08-26 11:30:38 -04:00
Owen
a02d16fd58 Handle compression of ai session logs 2026-08-26 11:28:14 -04:00
Owen
331fee24d4 Make the default session storage 0 2026-08-26 11:02:39 -04:00
Owen Schwartz
5bdb12dafe Merge pull request #3643 from fosrl/dev
1.22.0-s.1
2026-08-26 10:53:37 -04:00
Owen
e57826d6e0 Session logs and usage logs should use seconds not ms 2026-08-26 10:50:16 -04:00
miloschwartz
3d4e143c1f normalize key in rate limiters 2026-08-26 10:25:29 -04:00
miloschwartz
10a25c184d fix get /site-resource/:siteResourceId always returning 400 2026-08-26 10:03:39 -04:00
miloschwartz
906099d1e1 fix org domain access check so unmapped domains are rejected 2026-08-26 09:55:40 -04:00
miloschwartz
9a5824900d strip encrypted ssh key from org response 2026-08-26 09:39:05 -04:00
Owen Schwartz
f3474dac98 Merge pull request #3641 from fosrl/dev
1.22.0
2026-08-25 17:19:46 -04:00
Owen
72d2c79793 Add migration for streaming table 2026-08-25 10:42:56 -04:00
Owen
23764feb4f Move the messaging out of the transaction 2026-08-25 09:27:02 -04:00
Owen Schwartz
d2809fbfd1 Merge pull request #3637 from fosrl/fix/generic-oidc-icons
Fix: Use variant instead of type only for the Org login IDPs
2026-08-24 16:46:38 -04:00
Fred KISSIE
2d18db3597 🐛 fix loginIdps using variant instead of type only 2026-08-24 22:32:40 +02:00
Owen
77cab56fa9 Add valueFormatter prop to ToggleableTrendChart and ChartTooltipContent so we see more decimals 2026-08-24 14:39:29 -04:00
miloschwartz
2051e5df37 fix syntax 2026-08-24 14:32:52 -04:00
Owen
26f9026621 Fix width too big by adding min-width constraints 2026-08-24 14:31:17 -04:00
Owen
85b40b7164 Fix expanded row display issue on page change in LogDataTable 2026-08-24 14:05:31 -04:00
Owen
753cbd45d0 Add AI disclosure request 2026-08-24 11:55:39 -04:00
Owen
1c2fe44c54 Fix #2648 2026-08-24 11:43:28 -04:00
Owen
5b782a842c Fix #2937 2026-08-24 11:42:35 -04:00
Owen
935410b15e Fixes #2612 2026-08-24 11:34:47 -04:00
Owen Schwartz
89066aa5b1 Merge pull request #3636 from fosrl/crowdin_dev
New Crowdin updates
2026-08-24 11:30:01 -04:00
Owen Schwartz
ddf89d0afa New translations en-us.json (Norwegian Bokmal)
[ci skip]
2026-08-24 11:23:51 -04:00
Owen Schwartz
e4ec6f7cbe New translations en-us.json (Chinese Simplified)
[ci skip]
2026-08-24 11:23:49 -04:00
Owen Schwartz
c1e5769003 New translations en-us.json (Turkish)
[ci skip]
2026-08-24 11:23:46 -04:00