31 Commits
Author SHA1 Message Date
TailScan Bot 48f844f5ea fix: disable elFinder thumbnails to prevent full-size image loads
- 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
2026-04-02 16:37:34 +00:00
TailScan Bot 29f3cd1910 fix: elFinder folder navigation + dark theme inputs
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
2026-04-02 16:33:23 +00:00
TailScan Bot fa32909781 refactor: full UI rework with Alpine.js + Shoelace
- 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
2026-04-02 16:28:31 +00:00
TailScan Bot f1dab10daf fix: taskbar home tab, web chips, guac direct URL, SMB share listing
- 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
2026-04-02 16:17:22 +00:00
TailScan Bot 331c3e62aa feat: taskbar + SMB path fix
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()
2026-04-02 16:10:38 +00:00
TailScan Bot 6788cb2ac2 feat: replace custom file browser with elFinder UI
- 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
2026-04-02 16:03:17 +00:00
TailScan Bot 0ff3d81b5d fix: SMB share enumeration fallback + manual share entry
- 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
2026-04-02 15:54:08 +00:00
TailScan Bot 90059807e9 feat: FTP/SMB file browser + SFTP in Guacamole
- 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
2026-04-02 15:48:53 +00:00
Pizza b1297225c7 v0.04: Guacamole deployed + integrated — green chips open SSH/RDP/VNC sessions 2026-04-01 22:14:30 -06:00
Pizza 32122ab694 v0.03: orange copyparty/file-transfer chips, add ports 3923/30266, fix guac chips tooltip 2026-04-01 22:04:22 -06:00
Pizza c96973711e v0.03: themes (Dark Slate + Rosé Pine), Guacamole green chips, click logo to cycle themes 2026-04-01 21:57:54 -06:00
Pizza 0992bf6e1d v0.02: proxy overhaul, form intercept, base href removal, window.location patch, version badge 2026-04-01 21:42:37 -06:00
Pizza 5c3265d83d docs: update README with port list; fix proxy query param passthrough; purple cached rows 2026-04-01 21:35:32 -06:00
Pizza 633a5d3081 feat: proxy ?t= URL format; device cache by exit node 2026-04-01 21:29:50 -06:00
Pizza 47b6a1a5a1 fix: keep rows visible while port scan pending/running 2026-04-01 21:07:33 -06:00
Pizza 37f21b3139 feat: expand port list to 100+ ports with service names 2026-04-01 20:42:02 -06:00
Pizza 6663addfdf feat: hide empty devices by default, show all toggle 2026-04-01 20:35:48 -06:00
Pizza 0b90343b39 feat: start port scan per-device as soon as IP discovered 2026-04-01 20:33:17 -06:00
Pizza 7c602a82ca feat: 60s IP rescan, 300s silent port rescan 2026-04-01 20:31:09 -06:00
Pizza 601112b723 feat: hide/show empty devices toggle 2026-04-01 20:28:30 -06:00
Pizza 1bf2d77d23 feat: port chip tooltips + click-to-browse via server proxy 2026-04-01 20:24:17 -06:00
Pizza 9480b06513 ui: compact port chips, drop hostname/ping/mac columns 2026-04-01 20:19:16 -06:00
Pizza 7394c692e4 feat: diff-update scan list, auto port scan after discovery 2026-04-01 20:10:51 -06:00
Pizza edc71b97b1 feat: streaming SSE scan, devices appear as discovered 2026-04-01 19:12:07 -06:00
Pizza b86a7a535e feat: per-device port scan button, fast ping sweep 2026-04-01 18:16:41 -06:00
Pizza 868d9c7230 feat: port scan + OS detection per device 2026-04-01 18:10:37 -06:00
Pizza 355ca4fa12 fix: subnet detection via exit node routes, prevent UI reset on scan 2026-04-01 17:08:21 -06:00
Pizza 4f8fe04274 fix: replace Tailscale SSO with simple password auth 2026-04-01 16:52:17 -06:00
Pizza 381e1d0357 fix: replace Tailscale SSO with simple password auth 2026-04-01 16:52:15 -06:00
Pizza fc03a9ff2a feat: initial TailScan implementation 2026-04-01 16:00:22 -06:00
Pizza 864c5caf11 feat: initial TailScan implementation 2026-04-01 15:56:01 -06:00