When navigating into a subfolder elFinder removes tree nodes for any
directory not present in the files array. Include all ancestor path
entries so the sidebar tree stays populated.
- Always include volume options in open response (not just on init)
- Add options to non-root cwd entries so elFinder knows the path context
- Without options on every open, elFinder loses track of which volume
files belong to and doesn't render them in the main pane
Per-session auth_protocol doesn't apply when smbclient internally
re-authenticates after session expiry. Setting it on ClientConfig
applies it to all connections including background re-auths.
The default 'negotiate' auth tries Kerberos first which fails with
SpnegoError when there's no credential cache. Force NTLM explicitly.
Also disable require_signing since many consumer NAS devices don't
enforce it (TrueNAS, Synology, etc).
- Set tmb: False on all file entries so elFinder never requests
thumbnails (previously it would load the full file to generate them)
- Set loadTmbs: 0 in elFinder config
- Folders with lots of images should now open instantly
Folder navigation:
- All elFinder connector commands (open, ls, tree, get, file, upload,
mkdir, rm) now decode the share from the target hash instead of
relying on the connector URL share param
- This fixes empty folder listings when navigating into subdirectories
or SMB shares, since the share was being lost after the initial open
Dark theme:
- Complete elFinder jQuery UI dark overrides: all inputs, selects,
textareas, widget backgrounds, state variants
- Dialog button pane and close button themed
- Rename inline input and toolbar search input now dark
- Focus ring uses accent colour with subtle glow
- Replace all hand-rolled JS state with Alpine.js reactive data
- Replace custom CSS components with Shoelace web components:
sl-button, sl-input, sl-dialog, sl-spinner, sl-tag, sl-icon-button
- Shoelace themed via CSS custom properties mapping to existing
--bg/--surface/--accent/--border/--text vars, so both Dark Slate
and Rose Pine themes work automatically
- Taskbar and task panels fully integrated into Alpine state
- File browser credentials now use sl-dialog with sl-input fields
- Port scan queue, countdown, device table all reactive via Alpine
- Removed all direct DOM manipulation in favor of x-data/x-show/x-for
- Guac and proxy chip handlers bridge into Alpine app via _tsApp ref
- elFinder still jQuery-based internally, launched after Alpine mounts
- Taskbar: permanent Home tab always visible, clicking it returns to
main page without closing other tasks
- Taskbar: always visible (no longer hidden/shown), task panels overlay
only shown when a non-home task is active
- Web/Copyparty chips now open correctly in iframe tasks (removed
overly restrictive sandbox attribute)
- Guacamole: skip guac-launch redirect, load client URL directly in
iframe so it goes straight into the session instead of the lobby
- SMB: when share field is blank, enumerate shares via smbclient CLI
and return them as browseable directories in elFinder
- SMB: elFinder correctly encodes share name into hash when displaying
share listing, so clicking a share navigates into it
Taskbar:
- Fixed taskbar along the bottom, appears when first task opens
- Each task gets its own tab with icon, label, close button
- Task panels overlay the full viewport (above taskbar)
- Web/proxy chips open in iframe tasks instead of new tabs
- Guacamole sessions open as iframe tasks
- File browser (FTP/SMB) opens elFinder inside a task panel
- Tasks can be switched, minimised (click tab), closed individually
or all at once
- Taskbar hides itself when all tasks are closed
SMB fix:
- Refactor _smb_unc() helper for correct UNC path construction
- Fix _smb_conn() to not pass username/password kwargs when empty
(prevents 'invalid logon' errors on guest/anonymous shares)
- More robust stat() handling in smb_list()
- Add elFinder 2.1.66 as the file browser frontend (js/css/img/sounds
served from /static/elfinder/)
- Mount FastAPI StaticFiles at /static
- Add full elFinder connector at /api/elfinder supporting:
open, ls, tree, get, file (download), upload, mkdir, rm
for both FTP and SMB backends
- elFinder opens in a fullscreen modal with credential/share prompt
- Custom CSS overrides theme both Dark Slate and Rose Pine themes
by applying .elf-dark class with CSS var() references
- Remove old hand-rolled fb-modal and all associated JS
- Replace non-existent smbclient.listshares() with proper enumeration:
tries smbclient CLI, then impacket, then falls back gracefully
- When enumeration fails or returns empty, show manual share name input
instead of a dead end
- fbConnect now goes straight to browsing if share name is already filled
- Always reset SMB session before connecting to avoid stale auth cache
- Built-in FTP browser: list, download, upload, mkdir, delete
- Built-in SMB browser: share listing, browse, download, upload, mkdir, delete
- Orange chips for port 21 (FTP) and 445 (SMB) now clickable, open
the file browser modal directly in TailScan
- SMB via smbprotocol (pip), FTP via stdlib ftplib
- Guacamole SSH connections now have SFTP enabled (enable-sftp: true)
so the file transfer drawer works in terminal sessions
- File browser modal: credential fields, breadcrumb nav, upload/download,
delete, new folder, share picker for SMB
Adds a lightweight asyncio SOCKS5 proxy that starts with TailScan.
Supports both authenticated (user/pass) and unauthenticated modes,
IPv4/IPv6/domain targets, and full TCP CONNECT forwarding.
Configure via .env:
SOCKS5_PORT=1080
SOCKS5_USER=tailscan
SOCKS5_PASSWORD=yourpassword (leave empty for no auth)
- Add /guac-launch route that pre-sets Guacamole's inputMethod preference
to 'osk' in localStorage before redirecting to the session, so the
on-screen keyboard is available on mobile without needing to swipe-open
the Guacamole menu (which conflicts with browser back gesture)
- Route all guac-connect URLs through /guac-launch
Instead of hardcoding GUAC_BASE in the browser-facing URL, derive the
host from the incoming request headers. This makes the Guacamole link
work correctly whether accessed via localhost, LAN IP, or a domain name.
Internal server-side API calls to Guacamole still use GUAC_BASE.