Skip to content

Quite Admin v0.5.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 00:22
· 49 commits to master since this release

Added

  • Library-owned service storage: private, file-backed SQLite by default, optional
    SQLite/PostgreSQL/MySQL URLs and borrowed sync/async SQLAlchemy engines. Automatically
    initialize reserved quiteadmin_ tables with cross-worker locking, schema-version
    checks, namespace isolation and optimistic revisions for bounded JSON documents.

  • Activity history with searchable authenticated users, collection/action/result
    filters, a compact calendar popover with quick UTC presets, single-day/range selection,
    keyboard navigation, cancellation and inclusive UTC boundaries. Reuse the listing
    filter editor and shared chips for history conditions, with the period alongside them,
    and signed count-free pagination. Capture views, writes,
    exports, custom actions and login/logout. Show a dated activity journal with expandable
    field comparisons, persisted before/after values and record links. Add a Journal/Table
    toggle that preserves filters and pagination, with the journal as default. Exclude secrets
    and reapply current field/collection permissions when reading history. Enable history
    by default; Admin(history_enabled=False, ...) disables capture and hides the section.

  • Upgrade service storage automatically to schema 2, preserving legacy events and
    batching bounded change details. Keep diagnostic logs free of record values.

  • Count-free bidirectional keyset pagination on every native adapter and opt-in cursor
    collection lists with signed user/filter-bound cursors. Keep ordinary offset lists
    available for arbitrary sorting and exact totals.

  • Configurable read query deadlines for SQL reflection and SQLAlchemy/SQLModel on
    SQLite, PostgreSQL and MySQL, with sanitized 504 responses and connection cleanup.

  • Bounded BatchRelationAdapter reads enabled by default on all native adapters. Related exports
    use one joined query per relationship instead of per-record count/load queries;
    related exports require batch support. Remove the per-record fallback; retain all
    permission checks and scalar-only export for adapters without batch support.

Changed

  • Expand the standalone browser demo with editable DATE/DATETIME/TIME, TEXT, JSON and
    nullable booleans, shared inline-edit controls, grouped navigation, cursor-style paging,
    scalar CSV downloads and local activity comparisons with user/date filters and both views.
    Preserve existing local records when adding new demo collections. Add a bilingual 0.5
    interface tour, current screenshots and explicit browser/server coverage documentation.

  • Reuse presentation macros across built-in templates and one browser field factory
    for inline edits and the demo. Make switch/JSON enhancement idempotent, share calendar
    lifecycle/precision handling, cache calendar labels and schema ordering scores, and
    synchronize relationship options with a single indexed pass. Preserve backend and
    template API contracts, CSP, form values and no-script controls.

  • Reuse one themed calendar across forms, inline edits, filters, the browser demo and
    activity history. Use direct date/time inputs and a compact, one-click day calendar
    in record forms and inline edits, with optional precision/offset controls collapsed.
    Retain draft Apply/Cancel for filter ranges. Preserve exact microseconds and optional
    UTC offsets verbatim.

  • Reserve and hide the quiteadmin_ prefix in admin collections and SQL discovery.
    The default store needs a persistent writable directory (.quite-admin by default);
    application models/migrations remain unchanged. See the EN/RU storage documentation
    for container deployment, shared stores and audit failure/transaction boundaries.

Fixed

  • Keep invalid time precision fields focusable when reopening collapsed options in
    WebKit, and clear date/time filter drafts without validating discarded values.

  • Push scalar projections into native database queries, relationship reads and batches.
    Lists, pickers and exports request only their fields plus necessary keys/labels,
    avoiding unselected hidden/large values and preserving native scalar types.

  • Validate declared integer ranges before writes and filters, including MySQL unsigned
    integers, and translate expected SQL data/overflow errors into safe validation errors.

  • Keep explicitly registered SQL tables and their options attached to fresh reflected
    descriptors after refresh(), with and without automatic discovery.

  • Skip reflected tables without primary keys during auto-discovery, with an explicit
    warning, so unsupported tables cannot break other admin collections. Explicit
    descriptions still reject tables that cannot be addressed safely.