Commit Graph

  • 02029b3948 add schema sawka 2022-07-01 10:50:09 -0700
  • 3f01ff44c3 add migration commands into sh2-server (because migrate cli doesn't ship with sqlite3) sawka 2022-07-01 10:48:14 -0700
  • 7340d89089 get sh2-server compiling again sawka 2022-06-30 17:02:19 -0700
  • b6711e7428 sanitize packets to be 7-bit ascii without control chars. dont send data/dataend when no rundata present. use os.Executable to locate mshell if running locally. more work on detached mode sawka 2022-06-29 14:29:38 -0700
  • 4d8841a459 use RunPacketBuilder in server mode sawka 2022-06-28 22:05:47 -0700
  • c73691ac24 move static files from remotefd content to 'rundata'. send all rundata before command start. parse rundata before command start. compatible with detached commands sawka 2022-06-28 21:57:30 -0700
  • 9054c3cdcc got basic mshell --server functionality working to dispatch multiple commands sawka 2022-06-28 19:01:33 -0700
  • 1d44afc10e working on server mode. extract fdcontext as interface. create packet writer/reader for mpio. hook up to serverFdContext. sawka 2022-06-28 17:20:01 -0700
  • d7eb2526f0 refactor RunClientSSHCommandAndWait for server code sawka 2022-06-28 15:04:08 -0700
  • 9377619e4c write auto-detect logic for arch from uname sawka 2022-06-27 23:14:53 -0700
  • afd3bdb315 implement install command sawka 2022-06-27 22:39:16 -0700
  • 26479f59c0 pass uname back when mshell isn't found, parse, and give install command sawka 2022-06-27 18:42:56 -0700
  • ec4bd5eaa1 only send 1 line from pw file, explicitly close pw file descriptor before running command sawka 2022-06-27 15:59:14 -0700
  • 0f5ee87a76 allow mshell to execute local commands sawka 2022-06-27 15:10:17 -0700
  • dafe2b5a57 simplify argument parsing, hard code common ssh options sawka 2022-06-27 14:57:01 -0700
  • 6574402691 create packetparser type, refactor to use sawka 2022-06-27 12:14:07 -0700
  • 2a6791bcd6 combine sessionid and cmdid into one field ck (commandkey) sawka 2022-06-27 12:03:47 -0700
  • 1ea8393844 update docs with sudo example sawka 2022-06-26 01:53:07 -0700
  • 222deff0db implement sudo dance allowing passing the sudo password on stdin with sudo -S, and passing a different stdin fd to the command sawka 2022-06-26 01:41:58 -0700
  • e8ae01efae check for input termination before init packet sawka 2022-06-25 00:33:18 -0700
  • fec7721e32 refuse to run with ssh -t or -tt, detect nil runPacket sawka 2022-06-25 00:30:41 -0700
  • 935500f1f1 packet debugging with --debug sawka 2022-06-25 00:22:03 -0700
  • 43ed95f8fc clean up combining stdout and stderr into packet parsers, combine the channels and close appropriately sawka 2022-06-25 00:05:37 -0700
  • e6776bd974 checkpoint. transfer binary data as base64. handle cwd. detect open fds. working to transfer data in non-error cases. sawka 2022-06-24 23:42:00 -0700
  • 5223760a76 got basic mshell client working -- still need detectfds and extra files support sawka 2022-06-24 13:25:09 -0700
  • 0267836376 move multiplexed IO to its own package independent of SHExecType (to use in mshell client) sawka 2022-06-24 10:24:02 -0700
  • 4256ff5231 checkpoint -- cleanup and sync optimizations for remote client (basically working). beginning work on local client sawka 2022-06-24 00:02:18 -0700
  • 52831dc723 setup extrafiles using run packet's fds field sawka 2022-06-23 18:23:30 -0700
  • 29372be4ef working with fdreaders and fdwriters to properly buffer output and not exceed buffer size without acks sawka 2022-06-23 17:37:05 -0700
  • c43d3ecc85 checkpoint got stdout/stderr data packets working with new remote handler sawka 2022-06-23 12:48:45 -0700
  • 766d19f1bc checkpoint, switch name from sh2-runner to mshell sawka 2022-06-23 10:16:54 -0700
  • eb7ac5136e updates, switch to mshell package sawka 2022-06-23 10:15:56 -0700
  • 0b172cd689 add cdpacket sawka 2022-06-23 09:56:54 -0700
  • 7d059fe573 small change to fix bouncy scroll scolor sawka 2022-06-20 22:48:34 -0700
  • 4e18bbe44e process comment commands sawka 2022-06-20 21:57:23 -0700
  • 2c62890912 call SetWinsize to set terminal size always for pty sawka 2022-06-20 17:51:28 -0700
  • 92812bc613 update how usedrows is computed sawka 2022-06-20 17:49:14 -0700
  • c3626a6547 add session history sawka 2022-06-20 16:06:37 -0700
  • 15c3f2fc10 fix getDefaultSession, set foreground color to be not fff sawka 2022-06-20 13:19:53 -0700
  • d679ff7cf3 mock up a sidebar for scripthaus sawka 2022-06-20 13:03:20 -0700
  • 315a048f49 return username with init packet sawka 2022-06-17 18:11:49 -0700
  • 859a1611b8 get runnerproc args from init packet sawka 2022-06-17 18:11:16 -0700
  • 365e9c55a2 dark theme, follow content when at bottom, date format sawka 2022-06-17 17:54:14 -0700
  • 0cce8ad503 cmd input working sawka 2022-06-17 15:32:19 -0700
  • 0a6d8b8e9f input packet type sawka 2022-06-17 15:31:07 -0700
  • 848100247c got stdin fifo input working sawka 2022-06-17 15:30:42 -0700
  • b6a8550ab8 revert cmdtail to watch individual files (inefficient directory watching on osx). touch ptyout file before running (because of file watching) sawka 2022-06-17 12:27:29 -0700
  • c8f9022db4 close runout file in main runner sawka 2022-06-17 11:29:33 -0700
  • bb159bac5b got websocket ptyout tailing working sawka 2022-06-16 22:25:07 -0700
  • 3497f607ce fix bug in updateTailPos, add Close() for tailers sawka 2022-06-16 22:23:29 -0700
  • 2a5cde908a got streaming ptyout via websockets working sawka 2022-06-16 22:22:47 -0700
  • e58cd1c4ad checkpoint, getting websockets working sawka 2022-06-16 21:14:26 -0700
  • dc4baaea27 cmdtail now can support multiple tails on the same cmd with independent tail positions sawka 2022-06-16 17:24:29 -0700
  • bb37a829de moving model functionality into session.ts sawka 2022-06-16 16:34:46 -0700
  • 862014bd82 add windowid sawka 2022-06-16 15:51:41 -0700
  • 71c67a4cc2 checkpoint, session, window, termmap sawka 2022-06-16 15:51:17 -0700
  • a9f96dd983 flexible resizing logic, fix TermMap, work on ptyout sawka 2022-06-16 12:40:09 -0700
  • c6165f15f4 update tailer to send packets to a channel instead of hard coding to PacketSender sawka 2022-06-16 01:10:56 -0700
  • a5fedb3668 minor changes to ws sawka 2022-06-16 01:09:56 -0700
  • 4f2c75af0c small updates sawka 2022-06-16 01:08:56 -0700
  • 45cd98ef00 refactor term/ws into separate modules sawka 2022-06-16 00:31:54 -0700
  • 6f7a883cfd updates for websocket ping/pong logic, longer timeouts sawka 2022-06-15 18:13:16 -0700
  • 76ac2c4ff9 websocket connection/reconnection sawka 2022-06-15 18:12:22 -0700
  • 5176128346 updates to allow parsing non-packets into raw packets (to see stderr output), and new sessionwatcher sawka 2022-06-15 16:29:39 -0700
  • 0c1cacc20d capture stderr from runner process. new packet format to distinguish it from real packets. warn when the runner exits sawka 2022-06-15 16:27:22 -0700
  • f8f3ce65fb get cmddata sent via websocket connection sawka 2022-06-14 22:39:09 -0700
  • ecceb67f20 got session/command tailing working. server can send getcmd packets, and client responds with cmddata packets sawka 2022-06-14 22:16:58 -0700
  • 0be0da9c0a resize terminal viewer with content sawka 2022-06-14 16:02:20 -0700
  • 65094ad0ec updates, groundwork for tail, better parsing logic sawka 2022-06-14 14:17:36 -0700
  • 54a3b082fc updates to test terminal updating / xpos sawka 2022-06-14 14:16:32 -0700
  • df3b7a3bb0 run commands via run-command sawka 2022-06-13 11:12:39 -0700
  • d80517caa0 run command submitted via run-command sawka 2022-06-13 11:11:56 -0700
  • 22aa999a7b initial checkin of main-server sawka 2022-06-12 13:39:48 -0700
  • 1a3886c437 go runner / runner-single fork flow working sawka 2022-06-10 21:37:21 -0700
  • eeaeac8dc8 initial runner commit sawka 2022-06-10 00:35:24 -0700
  • 751914196b initial commit sawka 2022-06-07 17:25:35 -0700