The first release carrying the 1.0 blocking set. 0.14.x finishes it — #25 (one
charge-access verdict) and #27 (a demurrage preview that matches the burn) — and
1.0.0 will then be this tree plus XenForo's encoded version IDs and nothing
else. No API change is planned on the way there (see
docs/adr/0003-what-1-0-promises.md).
Breaking (forum owners)
None. Upgrading from any 0.13.x is a normal add-on update with no manual steps.
Breaking (integrators)
None. Transact's documented methods, the oc_credits_adjust event, the
oc_credits_more / oc_credits_fewer criteria, the [charge] tag, and every
option, permission, route and widget id are unchanged.
Behavior changes
- Unverified accounts (awaiting email confirmation or moderator approval)
can earn and receive credits but can no longer send them or unlock premium
content; banned, rejected and disabled accounts can do none of the four.
This is what the docs already said — transfers were the one place the code
disagreed. Email-bounced members still count as active and may spend.
Balances already earned are untouched.- Moderated members now get an explicit refusal instead of a generic error.
- Redeeming against a currency balance cap floors the available headroom the
same way earning does, instead of rounding a sub-unit remainder up.- A daily log-in award blocked only by the balance cap is retried later the
same day rather than being suppressed until tomorrow. It still will not
retry when the daily faucet is exhausted.- Balance floor checks judge a movement on each member's net delta, so a
movement that debits and credits the same member is tested on its net effect
rather than on its negative legs alone.Fixes
- Lowering a currency's precision is refused while any member balance has
more decimal places than the new setting. Before this, the next write would
round those balances while the ledger kept its cents, and a rebuild would
disagree with the stored row.- Demurrage burns at the precision the pass started with, so changing a
currency's decimals mid-pass can no longer re-round amounts the pass already
computed.- [charge] premium posts parse the price once, and the unlock endpoint
charges that price instead of any submitted amount, so what the reader sees
and what they pay cannot diverge.- Postbit balances come from a single preloaded query instead of one lookup
per post.- Credit write endpoints go through XenForo's flood check.
- History pruning batches and resumes by member instead of running one long
request.
- Inflation hardening — the daily faucet is now tracked in its own ledger, so duplicating, disabling, or deleting an event mid-day can no longer move anyone's allowance; redeem codes count against it too. Demurrage passes are resumable and race-safe (a second runner gets "busy" instead of double-burning).
- Earning-event guardrails — saving an exact-duplicate active event (same trigger, currency, and scope) is refused, while scoped per-forum/per-group variants still work and deactivating always saves. Backfills and all earning paths skip banned, rejected, and disabled members.
- Premium posts — a new
[charge=10]…[/charge]BBCode shows a locked box in place of the content until the reader pays credits; the author is credited and sees how many members unlocked it (and what it earned). One purchase unlocks the post, so the post's price is the highest charge block it contains. Authors, staff, and a bypass permission see it free. This is a credits-gated display, not content protection.- Wallet — the
/creditspage now holds the balance, redeem, transfer, and paged history (10/page by default, with 10/20/50 per-page links).- Profile Credits tab — per-member balances plus a Send credits form; on single-currency forums your own tab loads the wallet.
- Display options — new toggles for the wallet redeem/transfer and the profile tab mode (auto/wallet/member), alongside the postbit, menu, profile-stat, and profile-tab toggles.
- Editor button — a lock button in the rich-text toolbar inserts the charge tag.
hardening patch, no new member features. Upgrade the usual way.
- Reaction re-farming closed (one award per reactor per content).
- Backfills run guarded and transactional, with per-member double-pay fixed.
- Earning events support forum and user-group scoping.
- Service layer fails closed on unknown users and inactive currencies.
- Chunked, resumable balance rebuilds and backfills for large forums.
- Full interface translation support (~110 new phrases).
- Test harness (PHPUnit), stricter CI, dev-docs checklist.
Cross-addon integration
Transact getBalance and documented adjust and transfer API in docs API reference
New oc_credits_adjust event fires on every committed change for other add-ons to hook
Admin tools
One-shot historical backfill with per-event, per-member, and force modes
Unified Tools directory with at-a-glance counts; result pages link back to Tools
Earning events grouped by currency with friendly labels; clarified award caps
Display control
Per-location toggles in Setup Options Credits: postbit, account menu, profile stat, profile tab
Public nav tab, permission-gated; history deep-links per currency
Correctness
Transfers and adjustments enforce allow-negative and refuse unknown or inactive currencies
Daily award serialized; rebuild atomic; member views gated; history links check view permissions