История коммитов

simba77
refactor(collections): drop the no-script fallbacks of the field form
The panel needs JavaScript for its interactive parts; the guide for templates now says so. The field form keeps posting and validating as a plain form, while reordering, picking defaults and choosing a related record work only through the script.
simba77
feat(collections): select items across the list and confirm bulk actions in a dialog
A box in the head selects the page, the selection survives the live list, and a bar at the foot offers the actions. The confirmation opens in the modal, names the field and record that keep an item from deletion, and can leave such items out. A form or button with data-admin-modal now posts into the modal.
simba77
feat(collections): sort the item list from the filters and the column heads
The order is a dropdown beside the filters and applies at once; sortable heads order by their column and turn the direction over on a second click. The list options card now only holds the extra filters a collection enables.
simba77
fix(files): lock a stored path while storing and deleting it
Identical contents share a path. A copy stored while the last other copy was deleted could end up as a row without its bytes; checking for the bytes and inserting the row, and checking for other rows and removing the bytes, now hold a lock of the path.
simba77
feat(collections): move and remove repeated values with icon buttons
The buttons sit beside the value; an arrow with nowhere to go stays disabled, and a single value offers only removal. A file in a row of a multiple field is removed with its row.
simba77
feat(collections): accept office, archive and media formats in file fields
The format of an upload comes from its content, and the name only tells apart what the content cannot, such as an office document inside an archive. An extension is kept only when it fits the format. A new field offers images and documents.
simba77
feat(collections): fit the field form to the type of the field
Settings a type cannot use are hidden, roles are chosen from a list and SEO roles require a text field, a new field goes after the last one, hints sit with the field, and a relation column shows the name of the item.
simba77
feat(collections): rework the file field of the item form
A file is dropped or uploaded at once, a chosen file becomes a card, and uploaded files are picked in a dialog with search and thumbnails. Ordinary form posts stay as the fallback without scripts.
simba77
feat(collections): group file types and show the server upload limit
simba77
fix(collections): lay out relation defaults as a plain list
The search comes first, chosen records follow as a vertical list with their ids, and an empty selection takes no space.