452a27a778
portal: guard against an implausible member list; redact the webhook token from logs
inference-bot2026-10-27 05:04:05 +00:00
c2369034ee
manifest: pin dockerImage to 20261027-5720a63 (security fixes: admin token split, credit-pack order verification, revoke on lapse)
inference-bot2026-10-27 03:34:29 +00:00
5720a63958
security: separate admin token, verify credit-pack orders, revoke access on lapse
inference-bot2026-10-27 03:31:40 +00:00
e55d8a3f1e
newsletter: operator accounts are not stale subscribers
Ubuntu2026-10-26 16:54:53 +00:00
250ca6e8f0
manifest: pin dockerImage to 20261026-9495daa (the image now running)
Ubuntu2026-10-26 16:45:22 +00:00
9495daa701
newsletter: the unsubscribe PUT needs the email field — it was a silent 400
Ubuntu2026-10-26 16:42:10 +00:00
7bb676eb68
newsletter: unsubscribe stale subscribers instead of deleting them; sweep: apply the documented fail-safe
Ubuntu2026-10-26 16:38:52 +00:00
ac0bdb6518
manifest: pin dockerImage to the deployed tag
Ubuntu2026-10-26 16:27:53 +00:00
492019088e
loomio: only rename auto-generated handles, never one a human chose
Ubuntu2026-10-26 16:19:42 +00:00
178a4aa360
loomio: sanitize usernames instead of falling back to another invalid one
inference-bot2026-10-26 16:07:23 +00:00
e24c272e2e
org-link fix: INSERT bound 4 values to 3 placeholders (500 on every link); slug = org slug
inference-bot2026-10-21 21:16:59 -06:00
d8d80d9594
newsletter reconcile: Members list mirrors ACTIVE members
inference-bot2026-10-21 16:32:36 -06:00
e4da4da2c6
pagination fix: OC MemberCollection has NO cursor pageInfo — use offset+totalCount pagination (verified against the live API); the cursor query 400'd, taking the sweep and org endpoints down
inference-bot2026-10-20 23:30:32 -06:00
42c664c076
OC member queries: cursor pagination via fetch_all_member_nodes() — members(limit:100) silently hid everyone past member #100 (same class as the Cloudron 25-per-page trap). Helper RAISES on any page failure so callers' fail-safes apply (never a partial list — the sweep would deactivate everyone missing from one); fetch_members returns [] on failure (sweep skips), fetch_org_backers propagates (sweep keeps linked accounts active), webhook payer lookup and /admin/org-link wrapped.
inference-bot2026-10-20 23:26:18 -06:00
fed4a7005e
audit fixes: two latent NameErrors in the org code — webhook org branch referenced undefined org_name (crashed on an unlinked org's first payment), org-links GET referenced undefined name (crashed when a linked org's dues show inactive)
inference-bot2026-10-20 23:21:51 -06:00
d87cbf9650
admin overview: expose matrix_mxid (dashboard-set external handle) per member
inference-bot2026-10-20 23:01:24 -06:00
394cccfbcb
org links: members table has no name column — drop it from org SQL/unpackings (names come from OC/Cloudron)
inference-bot2026-10-20 22:55:55 -06:00
72614f8f19
Organizational memberships: OC org contributors (type ORGANIZATION) never expose an email, so all three automated paths missed them (webhook email lookup, nightly sweep, /join). Add: members.org_slug link column + fetch_org_backers() (org BACKER/Membership nodes); sweep keeps linked accounts active while the org's dues are active and deactivates on lapse (fail-safe keeps active if the org fetch errors); webhook re-activates linked accounts on org dues and emails the operator for unlinked orgs; POST /admin/org-link (link + full provision incl. Cloudron signup link) and GET /admin/org-links (live dues status); admin overview gains an 'org' field.
inference-bot2026-10-20 22:45:37 -06:00
5425efee1f
overview: normalize float-residue spend (e.g. -5.55e-17 after cycle reset) to 0 so the panel never renders -0.00
inference-bot2026-10-19 11:42:58 -06:00
fd13bc6ea2
broker/matrix-mxid GET: local_mxid_for_email was async-def but never awaited — response contained a coroutine and FastAPI 500'd ('coroutine object is not iterable'), so the dashboard silently showed no registered Matrix ID. Make it a plain sync def (blocking urllib).
inference-bot2026-10-19 10:47:49 -06:00
97ebe69553
portal: /admin/librechat/keys — dedicated-token feed of member chat keys for the sandbox's key auto-load
inference-bot2026-10-18 23:15:38 -06:00
003689868f
Remove PublicAI; Regolo becomes the Apertus provider; emoji = feature tier (🌱 green for greenpt+regolo), qwen-image via image feature only
Inferencebot2026-10-16 10:48:10 -06:00
ced82b09d0
portal: filter image-gen models from chat picker by name (gateway strips mode from /v1/models)
Inferencebot2026-10-16 10:26:04 -06:00
5091c9e644
portal: add Regolo models to picker (Apertus 70B, Qwen 3.5 122B, Qwen Image); exclude image-gen from chat list
Inferencebot2026-10-16 10:24:27 -06:00
106b563748
sync: invite members to MATRIX_EXTRA_ROOMS too (restricted rooms aren't federation-discoverable until joined)
Inferencebot2026-10-14 16:40:35 -06:00
24f0c0f745
fix: import urllib.parse on the retire path (NameError broke the sweep)
Inferencebot2026-10-14 10:55:30 -06:00
b2689d9cd1
Matrix sync: revoke stale local-account invites too (directory hygiene + one-identity completeness)
Inferencebot2026-10-14 10:54:24 -06:00
49638ba36a
rag_refresh: retry attach up to 3x (transient 400 while file processes)
Inferencebot2026-10-12 19:29:17 -06:00
49376813ae
rag_refresh: parse OWUI files-list {items:[...]} shape; unfiltered list + client-side name filter
Inferencebot2026-10-12 19:26:06 -06:00
bca11a1657
Move docs-RAG refresh into the portal container (Gitea raw API + scheduler addon, 3:30am daily)
Inferencebot2026-10-12 19:23:00 -06:00
cb04958460
scheduler addon belongs under addons (manifest schema), not top level
Inferencebot2026-10-12 18:23:50 -06:00
b58929076e
Restore nightly membership sweep scheduler (3am daily) — was silently missing from manifest
Inferencebot2026-10-12 18:21:27 -06:00
81b640ba74
matrix-mxid: return invite_sent so the dashboard can confirm the invite is on its way
Inferencebot2026-10-12 09:01:22 -06:00
e56d0456bb
Chat models: silent auto-RAG via legacy FC (no knowledge tool, no narration)
Inferencebot2026-10-10 13:41:20 -06:00
92e7ddec05
Matrix sync: retire local @username:inference.coop accounts when a member sets a dashboard MXID (one identity per member)
Inferencebot2026-10-10 13:29:26 -06:00
05feed5f24
Strengthen docs-KB steering: firm negative instruction after soft hint proved insufficient
Inferencebot2026-10-09 22:44:00 -06:00
2eab2abb0d
Overview: separate admin/operator accounts into their own category (excluded from member counts)
Inferencebot2026-10-08 15:08:21 -06:00
a7a283d552
Steer docs-KB tool usage: params.system hint to query only co-op-relevant questions
Inferencebot2026-10-08 09:38:05 -06:00
1a227642d9
Attach co-op docs knowledge collection to every model (auto-RAG, no KB browsing wandering)
Inferencebot2026-10-07 10:52:08 -06:00
e18cd4b703
Provisioning: add new members to Open WebUI docs-RAG access group at signup
Inferencebot2026-10-07 10:38:32 -06:00
2a5277007e
Model list: also filter embedding models out of the chat picker
Inferencebot2026-10-07 09:44:15 -06:00
3d258e9a2d
Loomio sync: only invite activated members (avoid invite email before account setup)
Inferencebot2026-10-07 09:19:24 -06:00
38005127cb
Expose credits_remaining (purchased minus cycle overspend) in broker usage + admin overview
inference-bot2026-10-03 13:59:29 -06:00
052a109040
Fix credit model: allowance is a floor, credits add on top (max_budget = allowance + credits, not reduced by cycle overspend)
inference-bot2026-10-03 13:06:02 -06:00
82ada8c95b
Matrix: invite all active members to co-op Space + General room on every sync (SSO usernames via Cloudron lookup; MATRIX_EXTRA_MXIDS for federated accounts)
inference-bot2026-10-02 12:27:45 -06:00
cddd9b6e3c
Loomio username fix: allow hyphens in uids (was falling through to email local-part for inference-admin/bot)
inference-bot2026-10-02 08:41:03 -06:00
ef253d01a0
Loomio: fix auto-generated usernames after sync (b3 server API; prefer Cloudron uid, fall back to email local-part)
inference-bot2026-10-02 08:36:10 -06:00
070c6525cd
Broker usage: expose all_time_spend (member's lifetime total from SpendLogs) in both DB and HTTP paths
inference-bot2026-10-01 16:07:10 -06:00
7af02f6466
Model aggregation: order by requests (usage) not spend — matches leaderboard bars and member-facing intent
inference-bot2026-10-01 15:56:53 -06:00
19c04f37fa
Fix days-filter in aggregate_model_usage: COALESCE(startTime,'') is invalid SQL (empty-string not a timestamp) — windowed queries always failed to empty
inference-bot2026-10-01 15:54:58 -06:00
69beb9c002
Broker: co-op-wide model leaderboard endpoint for member dashboard (aggregate, anonymized)
inference-bot2026-10-01 15:35:57 -06:00
778a7f8fd2
Rate-limit the key-injector proxy path (120/min) — only unthrottled sensitive route left
inference-bot2026-10-01 09:51:57 -06:00
6f0c728513
Overview: expose all_time_spend per member + total_all_time_spend (SpendLogs aggregate)
inference-bot2026-09-30 22:22:17 -06:00
e00da486b5
Fix broker 403 for members beyond Cloudron's default 25-user page: paginate all /users reads (per_page=100)
inference-bot2026-09-30 07:46:03 -06:00
64d3c6aa83
Broker: resolve uid- identities (OIDC sub) to email — email-invited users have no username
inference-bot2026-09-29 21:53:46 -06:00
b93b208659
Broker usage: expose allowance and credits buckets to dashboard
inference-bot2026-09-27 22:39:54 -06:00
b7d239d9b6
Reset dates follow real billing: webhook re-pins budget_reset_at on every Membership payment (+30d); DB write (API drops the field)
inference-bot2026-09-27 22:38:05 -06:00
9b1d9edde4
Variable-amount credit pack: grant tip-free contribution amount via public OC order API
inference-bot2026-09-27 22:17:48 -06:00
315247e5db
Tier resolution via OC tiers API (TierId->face value+name, cached); credits at face value, not total-with-tip; remove debug payload log
inference-bot2026-09-27 22:14:56 -06:00
f163a5b375
Fix tier detection: OC webhook carries TierId only; parse tier name from order description
inference-bot2026-09-27 22:04:35 -06:00
a85369341c
TEMP: log full OC webhook payload to diagnose tier field shape
inference-bot2026-09-27 21:58:25 -06:00
8a320bfed7
Held credit packs: record non-member purchases, notify buyer, auto-grant on join, admin endpoints
inference-bot2026-09-27 21:54:34 -06:00
df740db283
Expose manual-member flag in admin overview (uses existing MANUAL_MEMBERS set)
inference-bot2026-09-27 21:18:43 -06:00
5fa2449037
Membership tied to Membership tier: sweep+webhook filter, credit packs HELD for non-members, MANUAL_MEMBERS for legacy
inference-bot2026-09-27 21:17:03 -06:00