The Locations page now shows only top-level locations by default; rows
with children get a caret that reveals sub-locations inline, indented
under their parent in the same table style.
Rearranging is gated behind a new "Sorting mode" toggle next to "Show
removed locations": when enabled, rows can be dragged onto another
location (or a drop strip to move to top level). The same toggle
appears on container array pages and gates drawer drag-to-swap. The
state persists across reloads so it survives post-move refreshes.
Dragging no longer selects text: drawer trays and draggable cards get
user-select: none, the drawer drag suppresses selection globally for
its duration, and mousedown on a tray prevents native selection.
Co-Authored-By: Claude Fable 5 <[email protected]>
The folder view's Edit Location/Edit Folder links pointed to GET
/admin/locations/edit/{id}, which only existed as a POST route and
fell through to the public wildcard. Add a GET route that opens the
edit form on the Locations page.
All not-found responses now render a styled 404 page with a Back to
Home button and an automatic redirect to the homepage.
Co-Authored-By: Claude Fable 5 <[email protected]>
Locations can now be container arrays (up to 20x20). Each drawer is a
child location with a grid position and color, shown in a 3D cabinet
view with hover/tap slide-out, content summary peek, drag (or touch
and hold) to swap, and a modal to rename, recolor, or relocate
drawers. Deleting a drawer leaves its slot empty.
Co-Authored-By: Claude Fable 5 <[email protected]>
Below 768px, multi-column layouts that previously forced horizontal
scrolling now collapse to a single column:
- Filter/search bar wraps with full-width controls (selects no longer
use fixed inline widths)
- Asset edit form grids (2fr/3/4 columns) stack vertically
- Asset detail grid and item visuals stack
- Page headers stack title above actions
Inline grid-template styles in items.html were extracted into reusable
.form-grid classes so the media query can override them. Data tables
keep scrolling within their card wrapper as before.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
The fixed 260px sidebar overlapped page content on phones. Below
768px the app container now stacks vertically: a full-width hamburger
top bar sits above the content, the sidebar slides off-canvas behind a
tap/Escape-dismissable backdrop, and the main content uses full width.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
- Fix XSS in showToast() by replacing innerHTML with safe DOM construction via textContent
- Add Secure flag to session and CSRF cookies when base_url uses HTTPS
- Prevent rate limiter bypass by only trusting X-Forwarded-For/X-Real-IP from private/loopback IPs
- Add Strict-Transport-Security header when running behind HTTPS
- Validate short link URLs to prevent open redirects (must be http, https, or relative path)
- Remove runtime config.toml file write from slug length update handler
- Pin Docker base image to alpine:3.20 instead of floating latest tag
Co-Authored-By: Claude Opus 4.6 <[email protected]>