- Look for an
lms_user_id
key when generating transaction idempotency keys, notlearner_id
.
- include only non-failed transactions in ledger balance calculation by default
- drop ExternalFulfillmentProvider name constraints
- Switch from
edx-sphinx-theme
tosphinx-book-theme
since the former is deprecated. See https://github.com/openedx/edx-sphinx-theme/issues/184 for more details.
- Add many help_text fields to model fields.
- Add some useful composite table indices.
- Add a "failed" transaction state.
- Some small developer QOL stuff.
- Better local development instructions in README.
- Remove docs from quality checks and ci.yml.
- Reasonable first pass at allowing for weak/strong admin editing ability depending on environment settings.
- Simple, first attempt at an idempotency key utility methods for ledgers and transactions that optionally take a subsidy and initial deposit, resp.
- Allow blank idp keys on the Ledger model, and set to a sane default if not provided on save().
- Remove JPY as an allowed unit.
api.create_ledger()
now seeds the ledger with an optional initial deposit.- Check if we're already inside a transaction when setting
durable=True
increate_transaction()
.
- Package renamed from edx-ledger to openedx-ledger
- First release on PyPI.