Repository navigation
RustCMS v0.10.1
RustCMS v0.10.1. Install: https://irisvn.github.io/RustCMS/ (guide, install scripts).
Built from irisvn/RustCMS-Core v0.10.1.
— 2026-10-24
Added (0.10.1)
- The Media page shows the library as a grid of thumbnails (the
authorized file URL in an<img>, scaled by the browser; other files as
an icon) or as the usual table, a choice remembered per user in the
browser; the grid shows at most 24 thumbnails a page. Its Upload
files button sends several files through the panel's upload queue
(useUploads: at most 2 at a time, a 429 sent again afterRetry-After,
an idempotency key per file, the same on a retry). The media schema has
anuploadability (media.create);createstays refused. Images
inserted from the library take the file's alternative text; a trashed or
missing file shows "File unavailable" on its page and in the editor. - Media names and alternative text: a nullable
media.altcolumn
(framework migrationm20261201_000022_add_alt_to_media, re-runnable on
MySQL), and the media record's edit form changes exactlyname(a rename,
cleaned like uploaded names, never empty) andalt(at most 500
characters).MediaPolicyallowsupdatewithmedia.updateon one's own
files, and on others' only withmedia.manage_all(like trashing); every
other column stays refused.altis read with the record and returned in
MediaItem(alt?). The record page shows the file and what was detected. SettingField::media(name)andSettingField::media_list(name, max)
(with.accept(…),.max_size(…)): settings holding media ids
(Option<Uuid>,Vec<Uuid>), edited with the media input. A save checks
each changed reference as resource media fields are checked (exists, not
trashed, visible to the saver now, accepted type and size; rows locked
in the save's transaction). Boot refuses them without
AdminProvider::media()or with a non-empty default. Contract fixture
settings.brand.json.Action::visible_when(|ctx, record| …): whether an action is offered on
a record, decided by the server for each record (envelopeabilities) and
again on the locked record when the action runs: a run on one record it is
hidden on is refused (403); a run on several skips those records (reported
indenied, never handed to the handler). Oracle case.
Action::primary()(schemaActionSchema.primary) and
Action::destructive()(colordanger): a list row shows at most one
labelled action (the first primary one it offers) and a ⋯ menu with the
others, destructive ones last after a separator. Vocabulary 10.- Action outcomes:
Action::with_outcome(name, handler)(a new
constructor;Action::newis unchanged) takes a handler returning
AppResult<ActionOutcome>;ActionOutcomegainsmessageandopen
(ActionOutcome::message,ActionOutcome::open,with_message,
with_open).openmust behttps://(no credentials) or an absolute
path of this site (no//, dot segments, backslashes; at most 2,048
bytes), or the action fails (500) and rolls back; it is refused on runs on
several records (422one_record_only). The message is at most 500
characters. The panel shows the message and, after the commit, opens the
page in a new tab (noopener,noreferrer), with a link as fallback. TableColumn::hide_below(Breakpoint::Sm | Md | Lg)(a closed enum,
rustcms::admin::Breakpoint; schemaColumnSchema.hideBelow,
vocabulary 10): the column is hidden on narrower screens (640, 768,
1024 px) by static CSS classes (lists and relation tables); records are
unchanged.Action::submit_label(label)(schemaActionSchema.submitLabel): the
button of the action's form dialog; by default the action's label without
a trailing ellipsis (it was always "Run"). Action dialog titles drop a
trailing ellipsis too.
Fixed (0.10.1)
- Bulk actions were never offered on list rows, although
.bulk()means
"also offered for selections": every action is now a row action where the
row's abilities allow it. - Record pages and relation tables showed no actions: a record's page shows
the actions it offers (primary labelled, the others under ⋯), and the rows
of relation tables those of the related resource. - Record pages showed dates and times as wire text
(2026-10-24T02:00:45.857073Z): they are formatted in the user's
language, instants in the browser's time zone with its name (the exact
value stays in the<time datetime>attribute). Widget::recentshowed raw values (draft, ISO instants): each column
now carries itsvalueType, its form input'soptionsand its table
column, and each record its wiredata, so the panel shows option
labels, custom cells, badges and formatted dates (thevaluestext stays).- A rich text image whose file is missing or trashed rendered as a broken
image: it shows the "File unavailable" chip, as file fields now do. - Generated text: a
nullvalue on a record's page reads "Not set" (no
"(null)"); relation search boxes have a placeholder. - The media input reported its pending upload again on every render of its
form (a newonBusycallback each time), re-rendering the form without
end while a file was being uploaded.
Changed (0.10.1)
ActionOutcomehas two new fields,messageandopen(code building
it with a struct literal adds..Default::default()).- The navigation (and the dashboard's resource cards) lists resources in
registration order instead of by slug;ResourceMeta::sortstill
reorders them. media::entity::Modelhas a new fieldalt: Option<String>(code that
buildsmedia::ActiveModelliterals sets it).