summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2026-08-09Attach an asset to a page from the asset's own pageerdgeist
The picker moves from assets/edit to assets/show, where the list of attached pages already is. A member route, POST assets/:id/attach_to_node, replaces the ride on #update. Supersedes the picker wiring in the previous commit; what remains of it is @attach_node in #create, the flash composition and the corrected hint.
2026-08-09Attach an asset to a page from its edit formerdgeist
2026-08-09Refuse destroying an asset that is still attachederdgeist
2026-08-09Attach assets to the draft instead of to every lifecycle rowerdgeist
Node#attach_asset! writes to the node's draft alone, creating one from the head when none is pending. It refuses when another user holds the lock, and when an autosave already exists The asset_attach verb goes with it. create_new_draft names the editor on the draft it creates and the publish entry's asset delta reports the attachment.
2026-08-08Move the external homepage onto the drafterdgeist
2026-08-07Show a pending address in the cockpit, the diff and the publish confirmerdgeist
2026-08-07Move the pending address from the node onto the drafterdgeist
2026-08-06Re-structure sitemap, all subpages collapsed by default, visually tightenederdgeist
2026-08-06Let editors set a node external homepage, gated and witnessederdgeist
2026-08-06Remove mis-leading flag for nodes in sitemaperdgeist
2026-08-06Rebuild the sitemap rows around the shared title and action patternserdgeist
2026-08-06Preload page titles for the sitemap, and order containers before leaveserdgeist
2026-08-06Make the events and assets lists work on a phoneerdgeist
2026-08-06Reduce the events list to title, when and actionserdgeist
2026-08-05Search assets and events, and order events by when they happenerdgeist
2026-08-04Tidy up headings on house keeping viewserdgeist
- Collapse page headers into one action row with an optional hint - limit will_paginate to one row
2026-08-04Give node lists a flag column and a shared action barerdgeist
2026-08-04Witness every promotion and demotion made through the roles formerdgeist
2026-08-03Require elevation before editing another accounterdgeist
2026-08-03Reroute events, tags, menuitems under /admin and reture events-without-a-page viewerdgeist
2026-08-03Share one flag stack between the account roster and the events listerdgeist
2026-08-03Render dates, booleans and counts through the locale fileserdgeist
2026-08-03Believe the file over the browser about what was uploadederdgeist
2026-08-03Run ImageMagick under a policy that travels with the projecterdgeist
2026-08-03Link each account to its own entries in the logerdgeist
2026-08-03Display stale accounts in users#indexerdgeist
2026-08-03Display last login date in users#showerdgeist
2026-08-02Log user logins and reconstruct last activity from logserdgeist
2026-08-02Report changing the end time of an event in action logerdgeist
2026-08-02Let an event start without endingerdgeist
2026-08-02Witness calendar entrieserdgeist
2026-08-02Prepare the user list for stacked account flagserdgeist
2026-08-02Add #edit_grid class to translation editor so that CSS rules will matcherdgeist
2026-08-02Witness account creationerdgeist
2026-08-02Pick an existing translation when none has changederdgeist
2026-08-02Say when a translation is unchanged and where to look insteaderdgeist
2026-08-02Keep the compared translation independent of the interface languageerdgeist
2026-08-02Let the sanitizer honour what the editor permitserdgeist
2026-08-01Add partial for disclosure realmerdgeist
2026-08-01Report validation failures without the exception preambleerdgeist
2026-08-01Derive the Atom feed timestamp from its entrieserdgeist
2026-08-01Require a second factor for elevation, not for holding adminerdgeist
2026-08-01tidy up user list, make otp flag more visibleerdgeist
2026-08-01Allow aggregate to order by slug and paint chapters list more nicelyerdgeist
2026-08-01Fix some spacing issues in user table and the wrappererdgeist
2026-08-01Let Redaktion grant and revoke its own roleerdgeist
Any holder may add or remove another account, witnessed as redaktion_grant/revoke so the vouching is legible. Not behind elevation: onboarding must not wait for a keyholder, and a compromised Redaktion account can already publish.
2026-08-01Show and extend the elevation windowerdgeist
A banner appears while elevated, counting down in minutes and carrying extend and drop controls. Three extensions of 30 minutes are allowed, so the window is at most two hours without a fresh code; a code resets the budget. The countdown is advisory, the server-side check authoritative, so it says "expired" rather than vanishing. The post-login flash tells an admin the timer has started.
2026-08-01Require a fresh second factor for user managementerdgeist
Administrative actions are gated behind a 30-minute elevation window: creating and retiring accounts, editing roles, clearing a second factor. Reading the list is not gated, and content work is untouched. elevated? is tied to is_admin?, so losing the role closes the window at once. The window opens when the second factor verifies at login, so an admin heading straight for user management is already elevated, and closes on logout with the other session state. Five wrong codes end the session, mirroring the login challenge. users#update carries no elevation filter, since self-service reaches it; the role field is gated in user_params instead and fails closed.
2026-08-01Declare role requirements per controllererdgeist
RoleRequired supplies require_redaktion and require_admin for surfaces that are not nodes and so cannot be reached by Node#restricted?. Navigation is content rather than plumbing, so menu_items requires redaktion. User management is janitorial and requires admin: index, new, create, reset_otp, deactivate, reactivate. verify_status now also covers show, without which any logged-in user could read any account by walking a small id space. Editing your own account stays open. The dashboard hides the Users and Navigation buttons from those who cannot use them; everything else stays visible to everyone. Both denials share one message and land on the dashboard. Adds redella (redaktion) and alufa (redaktion + alumni) fixtures.
2026-07-31Warn before the gate refuses, and check restore destinationserdgeist
nodes#new marks the kinds that place under /updates, derived from each kind's own path_prefix. The three parent pickers mark candidates the current user cannot publish into; menu_search returns needs_redaktion per result, computed per user rather than as a bare restricted flag, and the menu-item picker opts out. restore_from_trash! checks its destination: the restore is the move, applied rather than staged, so no later publish would have caught it. The node returns as a draft either way.