Commit Graph
384 Commits
Author SHA1 Message Date
inference-bot ffed06d492 loomio sync: a stamp must not outlive the membership
ci/woodpecker/push/woodpecker Pipeline failed
The invite stamp meant 'handed to Loomio once, EVER', so a member whose
membership was later revoked (a lapse that was reversed) or who deleted
their Loomio account was recorded as invited and never invited again.

- Stamp only the addresses Loomio actually returns in added_emails; an
  address accepted in the payload but not added stays eligible.
- Clear the stamp for an ACTIVE member stamped-but-absent from the live
  roster; the invite itself waits one pass so a single stale page cannot
  become an invite.
- Cap stamp clearing per pass (LOOMIO_RECONCILE_MAX, default 10): more
  stamped-but-absent members means a short roster read, not a mass
  re-invite.
- loomio_opt_out exempts members who deliberately left.
- Username fix falls back to the portal slug when a handle is already
  taken (Loomio handles are instance-global; every OC alias resolves to
  opencollective).
2026-11-22 19:45:20 +00:00
inference-bot 146bfaf45e manifest: pin to 20261121-b761136
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-21 19:43:12 +00:00
inference-bot b761136dd9 unmapped backers: a plain donation is not a member finding
ci/woodpecker/push/woodpecker Pipeline was canceled
A no-tier BACKER is only a member when it predates the tier system
(LEGACY_NO_TIER_BEFORE). Treating every no-tier BACKER as memberish made
the $75 Workers.VC donation mail info@ as a paid contributor with no
account. Mirror fetch_members() exactly; donations stay silent, and only
unattached credit packs keep the hold-and-notify path.
2026-11-21 19:42:36 +00:00
inference-bot ac39740acb manifest: pin to 20261121-a4b6aa5
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-21 18:20:40 +00:00
inference-bot a4b6aa5357 matrix sync: a transport error on one invite must not abort the pass
An httpx.ReadTimeout during an invite POST raised out of sync_matrix_space,
so every member after the timed-out one got nothing and the service-sync log
said only 'Matrix sync failed:' (httpx transport exceptions stringify to '').
One new member sat uninvited for a day that way.

- invite(): catch httpx.HTTPError per member/room, log the type, return False
- pass counts only members whose invite actually returned True
- room-membership snapshot, the retire half and the Cloudron users walk no
  longer abort on a transport error; the unreadable room/member is skipped
- service-sync now logs the exception TYPE (empty str(e) hid the cause)

Regression in tests/test_service_invites.py section 7: a timed-out member does
not stop the member after them, and the next pass retries them.
2026-11-21 18:20:00 +00:00
inference-admin d7c812ba07 manifest: pin to 20261120-34f2eed
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 20:08:53 +00:00
inference-admin 34f2eeddd7 security: reject hostile tokens cleanly and record webhook sources
secrets.compare_digest raises TypeError on str containing non-ASCII, so a
webhook path token or header token with one answered 503/500 instead of
401/403 — a scanner manufactured a false money-critical alert on 2026-11-20.
Compare UTF-8 bytes through _secret_eq and fail closed on empty.

webhook_failures now stores ip and user_agent; the sweep email names each
source and distinguishes a probe from an Open Collective delivery.
2026-11-20 20:08:12 +00:00
inference-admin 347f2cf720 manifest: pin to 20261120-3c36bdf
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 10:02:37 +00:00
inference-admin 3c36bdf2a9 security: cap MXID verification DMs per member per day
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-20 10:01:47 +00:00
inference-admin 3ed4d75898 manifest: pin to 20261119-637a8ae
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:19:35 +00:00
inference-admin 637a8aed13 security: require timestamped HMAC on the key feed when configured
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-20 00:18:43 +00:00
inference-admin f24f0c32f4 security: CODEOWNERS for CI config
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:15:12 +00:00
inference-admin 66b765d81d manifest: pin to 20261119-504200e
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:08:44 +00:00
inference-admin 504200e011 security: queue Matrix invites after MXID verification instead of blocking the request
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:06:37 +00:00
inference-admin f39a84ac14 manifest: pin to registry.inference.coop/code/member-portal:20261119-dc7c381
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:02:45 +00:00
inference-admin dc7c381bd8 security: verify control of external MXIDs before inviting (one-time Matrix DM code)
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-20 00:01:23 +00:00
inference-admin 96c0866c67 manifest: pin to registry.inference.coop/code/member-portal:20261119-3a2d608
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:45:05 +00:00
inference-admin 3a2d6088f2 security: expose MXID change date to the admin panel
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:44:10 +00:00
inference-admin c57dbdb62e tests: cover switch-group path in guest cancel
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:41:15 +00:00
inference-admin ac2ba4d2c1 manifest: pin to 20261119-a215b5f
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:35:21 +00:00
inference-admin a215b5f9c9 security: bound MXID changes, preserve Cloudron groups, refuse guest invites onto existing accounts, legacy no-tier cutoff, internal-only key feed
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:33:24 +00:00
inference-admin 4554bf3251 manifest: pin to 20261119-89e5ae6
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:26:25 +00:00
inference-admin 89e5ae6273 webhook: refuse an unresolvable order.processed instead of answering provisioned
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-19 23:25:39 +00:00
inference-admin 90b94904e8 manifest: pin to 20261119-c9726f4
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:23:52 +00:00
inference-admin c9726f4029 security: verify OC orders, fail-closed revoke, per-IP rate buckets, escaped guest email
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 23:22:51 +00:00
inference-admin 5a0a3decbe manifest: pin to 20261119-59d228b
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 22:45:32 +00:00
inference-admin 59d228b8d3 retire Open WebUI: drop rag_refresh job and its credentials; keep LibreChat path
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-19 22:44:49 +00:00
inference-admin 816494aee0 manifest: pin to 20261119-5f3519d
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 22:40:09 +00:00
inference-admin 5f3519d0af security: retire the legacy /v1/* key-injection proxy and PORTAL_SECRET
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 22:39:14 +00:00
inference-admin 1ea7cfc773 manifest: pin to 20261119-649392d
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 22:11:51 +00:00
inference-admin 649392d2e8 security: constant-time admin-token compare on four routes; legacy token off by default
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-19 22:09:38 +00:00
inference-admin 1f1d555125 manifest: pin to 20261118-4af22ca
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-18 17:44:49 +00:00
inference-admin 4af22ca4c4 portal: daily EUR/USD spot check against the pricing FX, alert only (no reprice)
ci/woodpecker/push/woodpecker Pipeline was canceled
Reads the ECB reference rate in the sweep, compares to FX_POLICY_EUR_USD (1.16),
and emails info@ only when the drift first crosses FX_ALERT_PCT (2%). Marker in
portal_state keeps a steady breach from mailing daily and resets when inside the band.
2026-11-18 17:44:00 +00:00
inference-admin 6b46dfee90 manifest: pin to 20261117-e4d9d7b
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-17 16:14:11 +00:00
inference-admin e4d9d7bf49 portal: stale-invite sweep skips addresses emailed in the last hour
ci/woodpecker/push/woodpecker Pipeline was canceled
An explicit resend followed by the sweep sent the same guest two identical invites.
2026-11-17 16:13:49 +00:00
inference-admin cddab4d759 manifest: pin to 20261117-0ae9634
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-17 16:13:02 +00:00
inference-admin 0ae9634f70 portal: setup links expire after seven days — say so, and offer a resend
ci/woodpecker/push/woodpecker Pipeline was canceled
Cloudron's account-setup links lapse after a week, so an unaccepted invitation goes
stale through no fault of the member. Both setup emails now state the lifetime and
where to ask for a new link. New admin routes: resend one invite (fresh link, never
to an activated account) and resend every unaccepted guest invite older than N days.
2026-11-17 16:12:40 +00:00
inference-admin e6db73c6bb manifest: pin to 20261117-58b9a52
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-17 16:12:00 +00:00
inference-admin 58b9a52e01 manifest: pin to 20261117-9023496
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-17 09:17:59 +00:00
inference-admin 9023496e94 portal: dues sum stacked subscriptions and record for manual members
ci/woodpecker/push/woodpecker Pipeline was canceled
_current_dues took only the newest live order, so evan-prodromou's $5 + $10 monthly
subscriptions displayed as $5. Sum per unit (monthly separate from yearly), never
mixing them. Also snapshot dues BEFORE the manual skip: manual members take no
membership decision, but the panel's Dues column is a read-model of OC truth and
was unreachable for them.
2026-11-17 09:17:37 +00:00
inference-admin 549a86a48c manifest: pin to 20261117-f7f6946
ci/woodpecker/push/woodpecker Pipeline failed
2026-11-17 09:09:26 +00:00
inference-admin f7f6946207 portal: dues = the co-op's share, not the donor's OC total
ci/woodpecker/push/woodpecker Pipeline was canceled
totalAmount includes the buyer's optional Open Collective tip, so a member who tips
showed a higher dues level than they pay us. Use amount.value — the base
contribution that reaches the co-op — and fetch it alongside totalAmount. The
webhook credit-pack path made this same mistake and already resolves it via the
public order API.
2026-11-17 09:08:58 +00:00
inference-bot a814a5f7f9 manifest: pin to 20261117-a135560
ci/woodpecker/push/woodpecker Pipeline was successful
2026-11-17 09:02:55 +00:00
inference-bot a135560899 portal: persist each member's current OC dues level
reconcile_allowances already matches every member's Open Collective orders;
it now records what those orders say the member currently pays:
dues_amount / dues_frequency / dues_updated_at (added via the lazy ALTER
pattern). Only a LIVE recurring order (MONTHLY/YEARLY, ACTIVE/PROCESSING)
counts — one-time orders are credit purchases, cancelled/errored ones are not
a current level, and anything unreadable is NULL rather than a guessed tier.

/admin/overview carries the three fields so the admin panel can show a real
Dues column instead of a credit figure. The write happens in report mode too:
it records OC's own truth and makes no membership decision.

tests/test_dues_level.py pins the extraction rules.
2026-11-17 09:02:22 +00:00
inference-admin 1216d9a873 manifest: pin to 20261117-9b90f89
ci/woodpecker/push/woodpecker Pipeline was successful
2026-11-17 08:14:29 +00:00
inference-admin 9b90f89135 portal: stray-credit email states the real floor — from $5/month, no suggested level
ci/woodpecker/push/woodpecker Pipeline was canceled
2026-11-17 08:14:05 +00:00
inference-admin 78bd79a933 manifest: pin to 20261117-d941961
ci/woodpecker/push/woodpecker Pipeline was successful
2026-11-17 08:07:29 +00:00
inference-admin d941961549 portal: stop telling stray-credit buyers the floor is $10
ci/woodpecker/push/woodpecker Pipeline was canceled
mmoya traced the false '$10 floor' to the stray-credit email: it said '($10-20/month,
sliding scale)' when Open Collective's flexible tier starts at $5 (suggested $10).
Copy now says 'from $5/month, suggested $10 — sliding scale'.
2026-11-17 08:07:01 +00:00
inference-admin 422bb1862a manifest: pin to 20261117-ea0f728
ci/woodpecker/push/woodpecker Pipeline was successful
2026-11-17 05:11:44 +00:00
inference-admin ea0f728af2 portal: member_aliases — credit a purchase made from a member's second OC profile
ci/woodpecker/push/woodpecker Pipeline was canceled
A person can hold two Open Collective profiles, one hiding its email. Purchases from
the hidden one have no email to match and no primary slug, so they land in held
credits. member_aliases maps extra slugs to a member email; the sweep's held-credit
pass resolves email -> slug -> alias before holding anything. Admin GET/POST
/admin/aliases manages rows; test covers grant and idempotency.
2026-11-17 05:11:16 +00:00