Skip to content

Yara ORM support, action-results refresh button, parallel tests (0.7.0)#134

Merged
vsdudakov merged 1 commit into
mainfrom
yara-orm-support
Jul 3, 2026
Merged

Yara ORM support, action-results refresh button, parallel tests (0.7.0)#134
vsdudakov merged 1 commit into
mainfrom
yara-orm-support

Conversation

@vsdudakov

Copy link
Copy Markdown
Owner

Yara ORM support

  • New YaraOrmModelAdmin / YaraOrmInlineModelAdmin and a fastadmin[yara-orm] extra.
  • Full model introspection and CRUD (FK, one-to-one, many-to-many), mirroring the other ORM adapters.
  • Runnable examples/fastapi_yaraorm app; docs, README, API reference and install matrix updated with cross-links to yara-orm.

Issue #132 — refresh button on action results

  • Adds a refresh button to the widget action results toolbar and the expand modal so results re-run in place without losing scroll position.

Parallel tests (xdist)

  • Per-xdist-worker SQLite files + busy timeout for Django/Pony fix the "database is locked" errors; make test and CI now use -n auto.
  • Restore ADMIN_USER_MODEL after each test so a torn-down ORM's model name can't leak into later tests.

Backend: 1935 tests / 100% coverage (parallel). Frontend: lint + 234 tests + build green. Docs build clean.

- Add YaraOrmModelAdmin / YaraOrmInlineModelAdmin adapter and fastadmin[yara-orm]
  extra; full introspection + CRUD (FK, O2O, M2M) mirroring the other ORMs
- Wire Yara ORM into docs, README, API reference and the install matrix; add a
  runnable examples/fastapi_yaraorm app; cross-link to the yara-orm project
- Add a refresh button to widget action results (toolbar + expand modal) so
  results re-run in place without losing scroll position (#132)
- Run the test suite in parallel: per-xdist-worker SQLite files with a busy
  timeout fix the Django/Pony 'database is locked' errors; Makefile/CI use -n auto
- Restore ADMIN_USER_MODEL after each test so a torn-down ORM cannot leak
- Release 0.7.0
@vsdudakov vsdudakov enabled auto-merge (squash) July 3, 2026 11:50
@vsdudakov vsdudakov disabled auto-merge July 3, 2026 11:51
@vsdudakov vsdudakov merged commit 192b574 into main Jul 3, 2026
12 checks passed
@vsdudakov vsdudakov deleted the yara-orm-support branch July 3, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant