Surfaces distinct visitors for the selected range as a headline figure, and
lets the current view be exported for use in filings without retyping.
Unique visitors are counted across the range as a whole rather than summed
per document, so one person pulling five filings counts once. Where visitor
IPs were never recorded the CSV leaves the cell blank instead of writing 0,
which would otherwise read as "nobody downloaded this".
Records every successful document download and surfaces the counts in the
admin area, so the docket owner can see which filings are being pulled and
how often.
- document_accesses table + DocumentAccess model
- DocumentController@download records each successful download with IP and
user agent
- documents:import-access-log backfills history from an archived nginx log
- Dashboard gains a 60-day downloads card and a most-requested list
- New Document Access page with a date-range filter and per-day trend
Client IPs were only captured from 2026-07-30, when the reverse proxy chain
started forwarding X-Forwarded-For correctly. Rows imported from the old
nginx log therefore have no IP, and the UI labels those periods as download
counts rather than unique visitors instead of showing a misleading number.