stash/internal
1509x 9a1b1fb718
[Feature] Reveal file in system file manager from file info panel (#6587)
* Add reveal in file manager button to file info panel

Adds a folder icon button next to the path field in the Scene, Image,
and Gallery file info panels. Clicking it calls a new GraphQL mutation
that opens the file's enclosing directory in the system file manager
(Finder on macOS, Explorer on Windows, xdg-open on Linux).

Also fixes the existing revealInFileManager implementations which were
constructing exec.Command but never calling Run(), making them no-ops:
- darwin: add Run() to open -R
- windows: add Run() and fix flag from \select to /select,<path>
- linux: implement with xdg-open on the parent directory
- desktop.go: use os.Stat instead of FileExists so folders work too

* Disallow reveal operation if request not from loopback
---------
Co-authored-by: 1509x <1509x@users.noreply.github.com>
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2026-02-23 12:51:35 +11:00
..
api [Feature] Reveal file in system file manager from file info panel (#6587) 2026-02-23 12:51:35 +11:00
autotag Backend support for gallery custom fields (#6592) 2026-02-23 07:39:28 +11:00
build Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
desktop [Feature] Reveal file in system file manager from file info panel (#6587) 2026-02-23 12:51:35 +11:00
dlna fix(dlna): improve activity tracking accuracy and efficiency (#6483) 2026-01-12 11:12:03 +11:00
identify FR: Change Identify Settings to Use Gender Checkboxes (#6557) 2026-02-11 11:43:18 +11:00
log add lumberjack log rotation (#5696) 2025-11-18 14:04:22 +11:00
manager Backend support for Group custom fields (#6596) 2026-02-23 11:53:12 +11:00
static Performer image rewrite (#6566) 2026-02-16 15:06:10 +11:00