28 Commits
Author SHA1 Message Date
TailScan Bot 696a8e1bf9 fix: include ancestor entries in open response to keep tree visible
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.
2026-04-02 17:13:55 +00:00
TailScan Bot 6d07d8f282 fix: elFinder main pane empty — include options on every open response
- 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
2026-04-02 17:10:06 +00:00
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 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 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 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
TailScan Bot 8271bfb99f feat: built-in SOCKS5 proxy
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)
2026-04-02 15:34:31 +00:00
TailScan Bot 9a97898fc2 fix: mobile OSK and guac-launch intermediary page
- 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
2026-04-02 15:12:01 +00:00
TailScan Bot 063100fc5e fix: use request host for Guacamole client URL
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.
2026-04-02 07:37:59 +00:00
Pizza 63581fd486 chore: internal docker network, expose only 6226+6225 2026-04-01 23:04:56 -06:00
Pizza 31825cc45f chore: change ports to 6226 (TailScan) and 6225 (Guacamole) 2026-04-01 23:04:05 -06:00
Pizza 49367446e3 v0.04: Guacamole deployed + integrated — green chips open SSH/RDP/VNC sessions 2026-04-01 22:14:28 -06:00
Pizza 0935f63617 v0.03: themes (Dark Slate + Rosé Pine), Guacamole green chips, click logo to cycle themes 2026-04-01 21:57:51 -06:00
Pizza 3ce02f3d55 v0.02: proxy overhaul, form intercept, base href removal, window.location patch, version badge 2026-04-01 21:42:35 -06:00
Pizza e63bc7b63c docs: update README with port list; fix proxy query param passthrough; purple cached rows 2026-04-01 21:35:30 -06:00
Pizza 103423ad79 feat: proxy ?t= URL format; device cache by exit node 2026-04-01 21:29:48 -06:00
Pizza e4bb2092f9 fix: port labels always use curated names; proxy handles SPA navigation 2026-04-01 21:20:40 -06:00
Pizza b5d00ce19b fix: yield every device in SSE stream (indentation bug) 2026-04-01 21:11:58 -06:00
Pizza fc689b998a feat: scan all advertised subnets, not just the first 2026-04-01 20:40:07 -06:00
Pizza 40e885a702 feat: port chip tooltips + click-to-browse via server proxy 2026-04-01 20:24:15 -06:00
Pizza bf171d1fa5 feat: streaming SSE scan, devices appear as discovered 2026-04-01 19:12:05 -06:00
Pizza f98c0c72a9 feat: per-device port scan button, fast ping sweep 2026-04-01 18:16:37 -06:00
Pizza b91b4987dc debug: add logging to scan and exit node set 2026-04-01 17:20:42 -06:00
Pizza c942670ea5 fix: subnet detection via exit node routes, prevent UI reset on scan 2026-04-01 17:08:19 -06:00
Pizza 326a3ebeab fix: replace Tailscale SSO with simple password auth 2026-04-01 16:52:13 -06:00
Pizza b0105ae7ad feat: initial TailScan implementation 2026-04-01 16:00:19 -06:00
Pizza ab58d84ea8 feat: initial TailScan implementation 2026-04-01 15:55:57 -06:00