9022 Commits
Author SHA1 Message Date
Owen db8168b05e Update the cli based on the cli version 2026-11-10 09:45:23 -05:00
Owen 8ae5a08b29 Get latest versions from the Fossorial API instead of GitHub 2026-11-09 16:23:49 -05:00
Owen 52dfcca0bc Check site access before adding an olm peer 2026-11-09 16:23:49 -05:00
Owen 34c2fb8e6b Rate limit user lookups per IP 2026-11-09 16:23:49 -05:00
Owen dbfb7ce400 Scope domain reads and rule deletes to their owner 2026-11-09 16:23:48 -05:00
Owen 3906c3633f Strip cookies from AI gateway upstream requests 2026-11-09 16:23:48 -05:00
Owen a00bfa942d Leave OIDC client credentials out of the internal IdP route 2026-11-09 16:23:48 -05:00
Owen 856d1dd716 Block duplicate hostnames on non-inference resources 2026-11-09 16:23:48 -05:00
Owen bfe6dda7e8 Require a target's site to be in the same org 2026-11-09 16:23:48 -05:00
Owen 361ae30ce2 Only read niceId and orgId from route params in access checks 2026-11-09 16:23:48 -05:00
Owen 0076018373 Rate limit header auth attempts 2026-11-09 16:23:48 -05:00
Alex CastilloandOwen 68fedc4252 fix(ai-gateway): read Bedrock invoke-with-response-stream usage from base64 chunks
invoke-with-response-stream wraps each model event as {"bytes":"<base64>"} inside event-stream frames, so the usage fields never appear in clear text. extractUsage returned null and the pipeline fell back to estimating tokens over the base64, losing real counts and cache tokens. Decode the chunks before scanning.
2026-11-09 16:23:48 -05:00
ParikshithandOwen a541cf261f fix(ai-gateway): compare budget windows in seconds so period budgets enforce
aiUsageRecords.createdAt is epoch seconds since e57826d6e, but
sumUsageForBudget still compared it against a lower bound in epoch ms, so
every budget except lifetime summed to 0.

Convert the bound to seconds for usage queries, leaving windowStart in ms
for aiBudgetBreachEvents. Sum model-scoped budgets per requested model in
SQL instead of loading every row in the window into JS.
2026-11-09 16:23:48 -05:00
Owen 26082712c6 Jit mode default false
Ref #3262
Ref #3793
Ref #4072
2026-11-09 16:23:48 -05:00
Owen d09f9c4124 Overwrite non-passed values so moving targets don't get old values 2026-11-09 16:23:48 -05:00
Owen 9ee43e8825 Add the redirect type back 2026-11-09 16:23:48 -05:00
Owen 2f693acfb3 Add the redirect type back 2026-11-09 16:23:47 -05:00
Owen SchwartzandGitHub 1452f613cf Merge pull request #4075 from pcbeingused333/fix/openai-responses-incomplete-usage
fix(ai): read usage from response.incomplete in OpenAI Responses streams
2026-11-09 09:54:01 -05:00
Alex Castillo 4932b8be2c fix(ai): read usage from response.incomplete in OpenAI Responses streams
extractOpenAiResponses only took response.usage from response.completed, so a
stream cut by max_output_tokens (response.incomplete) lost its usage and fell
back to estimateUsage over the whole SSE text, over-counting cost and budget.
Read response.usage from any event that carries it.
2026-11-09 04:04:08 -04:00
Owen SchwartzandGitHub 020c227827 Merge pull request #4066 from pcbeingused333/fix/gemini-tooluse-prompt-tokens
fix(ai): count Gemini toolUsePromptTokenCount as input tokens
2026-11-06 09:03:25 -05:00
Alex Castillo 64c9c85fc1 fix(ai): count Gemini toolUsePromptTokenCount as input tokens
Gemini reports the tokens of tool results (Google Search, URL context) in usageMetadata.toolUsePromptTokenCount, separate from promptTokenCount. The extractor ignored it, so usage and cost were under-counted.
2026-11-05 19:02:15 -04:00
Owen SchwartzandGitHub bedee9fbe2 Merge pull request #4060 from fosrl/dev
Fix the upsert
2026-11-04 14:48:57 -05:00
Owen 15d32da7ce Fix the upsert 2026-11-04 14:40:57 -05:00
Owen SchwartzandGitHub aaec7f44c4 Merge pull request #4059 from fosrl/dev
Update translations
1.26.0
2026-11-04 10:46:32 -05:00
Owen SchwartzandGitHub be5abd63b0 Merge pull request #4058 from fosrl/l10n_dev
New Crowdin updates
2026-11-04 10:45:23 -05:00
Owen Schwartz 94f0b07e14 New translations en-us.json (Norwegian Bokmal)
[ci skip]
2026-11-04 10:44:20 -05:00
Owen Schwartz 0af76ce185 New translations en-us.json (Chinese Simplified)
[ci skip]
2026-11-04 10:44:17 -05:00
Owen Schwartz 71b5408818 New translations en-us.json (Turkish)
[ci skip]
2026-11-04 10:44:15 -05:00
Owen Schwartz b18bf01ed5 New translations en-us.json (Russian)
[ci skip]
2026-11-04 10:44:12 -05:00
Owen Schwartz f04a259042 New translations en-us.json (Portuguese)
[ci skip]
2026-11-04 10:44:09 -05:00
Owen Schwartz da749ead89 New translations en-us.json (Polish)
[ci skip]
2026-11-04 10:44:06 -05:00
Owen Schwartz b6c05ca5e5 New translations en-us.json (Dutch)
[ci skip]
2026-11-04 10:44:04 -05:00
Owen Schwartz ff743e2601 New translations en-us.json (Korean)
[ci skip]
2026-11-04 10:44:01 -05:00
Owen Schwartz b6729236a1 New translations en-us.json (Italian)
[ci skip]
2026-11-04 10:43:58 -05:00
Owen Schwartz 7a4c030728 New translations en-us.json (German)
[ci skip]
2026-11-04 10:43:56 -05:00
Owen Schwartz 3a3b173164 New translations en-us.json (Danish)
[ci skip]
2026-11-04 10:43:53 -05:00
Owen Schwartz 46449911d2 New translations en-us.json (Czech)
[ci skip]
2026-11-04 10:43:51 -05:00
Owen Schwartz a69a4d5f34 New translations en-us.json (Bulgarian)
[ci skip]
2026-11-04 10:43:48 -05:00
Owen Schwartz d6ec17ada4 New translations en-us.json (Spanish)
[ci skip]
2026-11-04 10:43:45 -05:00
Owen Schwartz aa96b99569 New translations en-us.json (French)
[ci skip]
2026-11-04 10:43:43 -05:00
miloschwartz 55b1fe9b49 update text 2026-11-04 10:30:29 -05:00
Milo SchwartzandGitHub 31f8209dd2 Merge pull request #4057 from fosrl/dev
Dev
2026-11-04 09:46:11 -05:00
miloschwartz b1a6e82fbd add user and agent table filters 2026-11-04 09:44:11 -05:00
miloschwartz 52701ae8c4 update ios models 2026-11-04 09:25:07 -05:00
miloschwartz 71b03ae2b2 update screenshots 2026-11-03 17:41:44 -05:00
miloschwartz ddc4934ab8 make session revalidation private 2026-11-03 16:49:26 -05:00
miloschwartz 74ab6ab708 add device info to expanded row 2026-11-03 15:37:16 -05:00
miloschwartz 2df943f3f5 more visual changes 2026-11-03 14:54:34 -05:00
miloschwartz 4278490db0 Merge branch 'better-tables' into dev 2026-11-03 14:38:29 -05:00
miloschwartz 5a47f25b38 visual improvements 2026-11-03 14:34:16 -05:00